skiptAttribute if "event" is not 0

jafar habibi2 years ago

Hello all,

I have a few teltonika devices and I configured the traccar like this

<entry key='filter.distance'>5</entry>
<entry key='filter.skipAttributes'>result,alarm,io246,io252,io251,io249,io244,io255</entry>

the "event" attribute always present in teltonika protocol and it's value is 0 if no event is ocuured.
some attributes like "movement" in teltonika always present in sending packets, and when the value of movement chnges the distance filter dose not allow to get a new record and hence traccar does not allow to generate a notification for motion alert?

are there any way to skip the filter if "event" value of teltonika is not zero?

Anton Tananaev2 years ago

Not possible out of the box.

jafar habibia year ago

is there anyway to use computed attributes to skip filtering?