You have examples here for almost exactly the same thing here:
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
What you have look correct to me.
Greetings.
Using computed attributes in traccar, how do I take the in2 event and transform it into a door? How can I do this?