Duplicate custom alerts

Luiz Killa year ago

I've defined a custom alert based on the device battery level. The server then fires the alarm repeatedly, since the positions keep carrying the same battery level for days. Is there a workaround for this? I mean, how could I somehow fire the alarm only once when the battery level goes below x%?

Anton Tananaeva year ago

Have you tried event.ignoreDuplicateAlerts configuration parameter?

Luiz Killa year ago

Yes, this parameter is enabled by default. Looking at the events report I guess the TK905 device sends the battery level in a randomic fashion. I'll try to copy the batteryLevel from the last position, maybe this will give what event.ignoreDuplicateAlerts needs to work.