SkipAttributes

tambiu7 years ago

Hi,

I have filter by distance, and I would like to not filter when ignition is on, so I did this

<entry key='filter.skipAttributes.enable'>true</entry>
<entry key='filter.skipAttributes'>ignition</entry>

I am using Traccar 4.2

Now it is not filtering by distance any more.

My Tracker is TK110 using port 5002.

help please.

thanks.

Anton Tananaev7 years ago

That's not how it works. When you enable skipAttributes, it will not filter messages that have that attribute present. Value of the attribute doesn't really matter.

tambiu7 years ago

So, how to filter by the value of the attribute ? Or there is no way to do that ?

Anton Tananaev7 years ago

You can create a computed attribute and skip filter based on it.

tambiu7 years ago

Allright, I will search how to do that, thank you.