Hello
I got data from my device:
7e0200006305637251338401460000800000000000030c60850103dbde000000000000260218070347010400000050300114310100320100330100cd020000e10106cc1438393433303130333532343238353232333930339f163236302c30332c653137312c343361353731342c3230f87e
Its event about low battery, in Traccar log I see general info:
Event id: 056372513384, time: 2026-02-17 23:03:47, type: alarm, notifications: 0
Is it custom event from device manufacturer, not for Huabao device and if I want to generate low battery level should I modify Traccar source or this data should generate low battery event? If should be generate I can try to create pull request.
Depends on how it's sent. It might be possible to use computed attributes.
Maybe you can help, that is possible to fix "problem" in Traccar or should I change way to implement it.
I created computed attribute alert: "batteryLevel != null && batteryLevel < 20 ? "lowBattery" : null". Alert works but when device is moving in position events is sending attribute lowBattery so generate every time lowBattery event (multiple time).
I will want to get one event only, there is any way to do it with Traccar only?
It shouldn't duplicate alarms, unless it was removed and added again.
Hello
I got data from my device:
7e0200006305637251338401460000800000000000030c60850103dbde000000000000260218070347010400000050300114310100320100330100cd020000e10106cc1438393433303130333532343238353232333930339f163236302c30332c653137312c343361353731342c3230f87eIts event about low battery, in Traccar log I see general info:
Event id: 056372513384, time: 2026-02-17 23:03:47, type: alarm, notifications: 0Is it custom event from device manufacturer, not for Huabao device and if I want to generate low battery level should I modify Traccar source or this data should generate low battery event? If should be generate I can try to create pull request.