Generate event from a calculated attribute
Hello, I hope you can help me, I have a gps teltonika brand. It does not generate the sos event because this event is output from an external sensor. The traccar reads the attribute of this sensor as di1. I added an attribute calculated as follows:
di1 == "1"? "sos": null
The attribute di1 handles 0 or 1. 1 when pressed.
The calculated attribute is of type event.
But it does not generate the event, or alert, or anything.
Seems like you are comparing integer to a string. I don't think it's going to work. Why is "1"
in quotes?
Generate event from a calculated attribute
Hello, I hope you can help me, I have a gps teltonika brand. It does not generate the sos event because this event is output from an external sensor. The traccar reads the attribute of this sensor as di1. I added an attribute calculated as follows:
di1 == "1"? "sos": null
The attribute di1 handles 0 or 1. 1 when pressed.
The calculated attribute is of type event.
But it does not generate the event, or alert, or anything.