Send Email when GPS Device Teltonika Main Power is removed and connected

ken5 months ago

Hi all i been reading in the forums how to set an alarm when the device FMB120 is removed and connect from main power source. I tried the build in ower Cut, Power Restored, Power On, Power Off, Tampering, Removing, General, Low Battery, but no luck then I created a computed attribute event ? (event == 252 ? (io252 != null ? (io252 == 1 ? "Source Disconnected" : "Source Connected") : null) : null) : null , but i can't see how to set attribute to device as in the old versions there was an option but in the lates i can't find it. Can somone help please.

Thanks

Cristian5 months ago

You must create the calculated attributes, then assign them to the device and finally create the notifications.
IMG_2067.png
IMG_2066.png

ken5 months ago

Hi Christian thanks for your reply how to Assign them to the device please as i can't find from where

Anton Tananaev5 months ago

Settings > Devices > Connections > Computed Attributes

Cristian5 months ago

Exactly as Anton says, and right there you assign the notifications.
IMG_2068.jpeg
IMG_2069.jpeg

ken5 months ago

Thanks Guys as when you reopen the the connections all fields are blank but I found out if you click on the field it shows what has been set

Thanks

Anton Tananaev5 months ago

That's correct. We don't want to preload all the data. It's pretty expensive API calls.

ken4 months ago

Thanks Anton