filter coordinates real time through the api

jose juan3 years ago

Good afternoon, I am using the filter coordinates, it works perfectly but the values ​​of the attributes are no longer updated, such as: Battery level, Sensors, Etc, is there any way to continue obtaining the values ​​in real time through the api?

<entry key='filter.enable'>true</entry>
<entry key='filter.distance'>45</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.accuracy'>70</entry>
<entry key='filter.duplicate'>true</entry>
<entry key='filter.zero'>true</entry>

<entry key='coordinates.filter'>true</entry> 
<entry key='coordinates.minError'>60</entry>
Anton Tananaev3 years ago

It looks like you also have regular filtering, not only coordinates.

jose juan3 years ago

sorry, I'm only using

<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.minError'>60</entry>
<entry key='coordinates.maxError'>120</entry>

When making a query to the api, the values ​​that it shows are those of the last frame registered in the database, there is some way to obtain the information before filtering.

In order to show the status of the sensors, battery level, etc., in real time by filtering the coordinates

Anton Tananaev3 years ago

You should have all the information.

jose juan3 years ago

The device appears online, but the attributes stop updating, in the photo the battery level shows 33% and my device has 17% after 1 hour, and the platform does not update the information.

Description text

Anton Tananaev3 years ago

As the log shows, your positions are filtered out, so seems like you lied about not using regular filtering.

jose juan3 years ago

My question is if I can filter the coordinates and still get the attribute values.

Example a parked car with filtered positions to avoid jumps but that sensors such as temperature keep updating is it possible?

Anton Tananaev3 years ago

The answer is YES, but I can't help you when you provide false information.

jose juan3 years ago

In my first comment I used.

<entry key='filter.enable'>true</entry>
<entry key='filter.distance'>45</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.accuracy'>70</entry>
<entry key='filter.duplicate'>true</entry>
<entry key='filter.zero'>true</entry>

<entry key='coordinates.filter'>true</entry> 
<entry key='coordinates.minError'>60</entry>

In my second comment after you answered me I decided to only use.

<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.minError'>60</entry>
<entry key='coordinates.maxError'>120</entry>

It is as I currently have my setup, I apologize, but my English is bad, I wish you could support me.

Anton Tananaev3 years ago

I decided to only use ...

And yet your log shows that you are still using filter.distance.

jose juan3 years ago

Would you later allow me to upload a 2 minute video to show you my log settings and what I'm trying to do please?

Sanjay Shah3 years ago

Jose kindly use filter.skipAttributes