Attributes comouteds Door

Antonio Junior6 days ago

Greetings.
Using computed attributes in traccar, how do I take the in2 event and transform it into a door? How can I do this?

Anton Tananaev6 days ago

You have examples here for almost exactly the same thing here:

https://www.traccar.org/computed-attributes/

Antonio Junior6 days ago

I know there are examples, Anton, but it didn't work the way I did. Could you give a practical example for a door, since the input2 event doesn't override the door. Attribute: door

in2 ? in2 == 1 : false

Anton Tananaev6 days ago

What you have look correct to me.