attributes

ubiteca year ago

Greetings, I am trying to generate an alert on some GPS devices that have a digital input, the input is marked in traccar with the name io4 and the value when it is connected is 46424,,, with this sytanxys in calculated attributes it responds either TRUE or FALSE when The cable is connected or disconnected, but I want you to put "door" for the door alert, could you tell where to correct it?, thanks

io4 ? io4 == 46424:"door"
Cristiana year ago

You can try that and see if it works for you

https://ibb.co/GR8vk4R

ubiteca year ago

Thanks, that gives me an error, but using it as a reference, I managed to make it work with io4 == 46424? "door" : null