Device sends a lot of repeated data

Ernesto 3 months ago

Hello traccar community and team. I have version 6.2 of the traccar server, I have a problem with the amount of data from some Sinotrack st901 devices, at specific times they randomly send a large amount of repeated data with the same location and timestamp.

1.jpg

So much information fills the database quickly and makes viewing the reports almost impossible.
I have incorporated several filters and the data is still being stored.

<entry key='filter.enable'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.maxError'>900000</entry>
<entry key='coordinates.minError'>1</entry>
<entry key='filter.future'>172800</entry>
<entry key='filter.duplicate'>true</entry>
Anton Tananaev3 months ago

Coordinates filter doesn't actually filter positions completely, so it's probably not what you want.

Track-trace3 months ago

What if you use filter.distance ?

Coordinates.minError with a value of 1 seems very small

Ernesto 3 months ago

Thank you for response, the big problem is how to eliminate the duplicated coordinates, I have tried with several types of filters and I still have not able to avoid store a large number of repeated coordinates randomly over time, I thought that perhaps some streams of packets with coordinates incorrect will arrive at the same time as a result of a error in the GPRS network and Tracar will replace those with the last known coordinate, the value of 1 meter is because for larger values, for example 15 meters, when the device was just before stopping and then it It stopped before the next 15 meters. The last coordinate was the movement one, and the one with 0 speed was not stored because it was filtered because it was very close less than 15 Meyers and in the website the vehicle remains as if it were moving.

Ernesto 3 months ago

Filter distance wasn't able to solve the problem, large amount of this packed skip this filter even when are duplicated, any way I will include it again, but I don't know how to solve the problem vehicle send package before stop speed different from 0 and if move lees than filter.distace and speed is 0 send al least one packet with 0 speed to update web view motion status, if there is any suggestions will be nice, best regards

Ernesto 3 months ago

Have a question, coordinates filter coordinates.filter cancel distance filter filter.distance?

Anton Tananaev3 months ago

Coordinates filter happens before the normal filter and it does zero the distance.