Conditional Computed Attributes and others questions

FBoscaratoa year ago

Hi,
i'm newbie in GPS trackers .
I bought a Teltonika FMC920 and now i'm setting up.
I'm trying to create e conditional notification based on computed attribute, i want only one notification when the device leave a geofence and engine igniton is off.

So i create the expression:
event ? (geofenceIds==null && ignition==0 ? "geofenceExit" : null) : null and an allarm notification "geofence exit".
It works, but isn't correct because geofenceIds==null continue triggering notification. How can i fix it? i need to create a more complex espression using java, variables and cycles?

Another thing, i want to add some information in device manager, as motorbike battery (power) and device battery percentage (computed attribute?)

traccar2
I have green roudend the area where i wish to display this information. How can i reach this result?

I read the documentation and a lot of topics here in forum, but i didn't find solutions.
I apologize if I'm asking for obvious things

Thank you very much.

FBoscaratoa year ago

Hi,
Any suggestion for help me?

Bryan Zambrano10 months ago

Crea este atributo
Bateria %
batteryLevel
io113 ? io113 : null
number