You have to create a computed attribute to convert event code into an alarm.
Hi, thanks for your reply.
I created computed attribute like
Description: Power Fails
Attribute: Alarm
Expression: event ? event == 66 : null
After this, i can see Alarm appearing in Type column of Reports>Events , whenever event 66 is received.
In Notification section , for the above computed alarm, when i go to add new notification and select "Alarm" in type, so what should i select in alarm field option to receive notification.
Continued from my last post:
when I add computed attribute like
Description: Power Fails
Attribute: Alarm (no further alarm name option is available)
Expression: event ? event == 66 : null
I observe the red warning appear next to vehicle name in vehicle list , it shows message "Alarm: undefined"
create these 2 calculated attributes and assign them to the device
https://ibb.co/df5NCBr
then you create the power failure and power restore alarm notifications and assign them to the device as well.
that should work, let us know if it works for you.
you must have this configured on your fmb920
https://wiki.teltonika-gps.com/view/FMB920_Parameter_list#Unplug_Detection
You actually need to return the alarm key in your expression. Something like this:
event ? (event == 66 ? "powerCut" : null) : null
Thank you for nice support.
It is working now
when power disconnect of FMB 920 , data receive on traccar5.6 with event ID 66, and it seems in event column of route reports.
How this event can set in Notification, so i could receive notification under "bell button"?
I tried Alarm type> power cut option, but it doesnot work.