Alarm event does not disappear

Tracker 2 years ago

Good evening, could anyone tell me if there is any way to remove the alarm event, for example vibration? Even though the event no longer exists, it has an alarm icon in deviceRows.

Anton Tananaev 2 years ago

It probably means your device has not reported a message without alarm.

Tracker 2 years ago

Yes Anton, the information is from the old event, last event. My question would be if there is a way, I don't know if it would be with attributes, to not insert this in the attributes since the positionId and eventId are not the same as the current one. Could you tell me if there is a way to not display this old information? thanks.

Anton Tananaev 2 years ago

If device keeps reporting it, we will show it. You can reset it using computed attributes if there’s a way to tell that the alarm is finished.

Tracker 2 years ago

Would you have any example of how to use the Anton attribute, I have never used this feature? thanks.

Anton Tananaev 2 years ago

Have you checked the documentation first?

Tracker 2 years ago

Yes, I thought it could be this, but I don't know how to use it. database.saveOriginal

Anton Tananaev 2 years ago

How is that related to computed attributes? We have a dedicated documentation page for computed attributes.