devicetime and fixtime are different

brm 8 years ago

Hello, I use gt06 protocol, when gps device ignition off, I receive different times
devicetime = 2017-09-06 22:44:55:000
fixtime = 2017-09-06 20:35:36:000

The correct is devicetime.

Any ideas?

thx

Anton Tananaev 8 years ago

When ignition is off device doesn't send GPS location, so Traccar uses last known fix time.

brm 8 years ago

Ok, I understand, in this case why in my traccar log I can see the device es connecting but same lat and lon?
How I can stop saving same positions.

Anton Tananaev 8 years ago

You can enable duplicate filtering.

brm 8 years ago

Thank so much

jplopez 8 years ago

Hello everyone,
Regarding the filter that removes duplicate records, I am using the recover.py script and with the filters activated and the records are repeated

Anton Tananaev 8 years ago

Assuming that filters are configured correctly, it means data is coming in the wrong order.

jplopez 8 years ago

Hi Anton
The filters I use are these:

     <entry key = 'filter.enable'> true </ entry>
<entry key = 'filter.skipLimit'> 15 </ entry>
     <! - <entry key = 'filter.limit'> 3600 </ entry> ->
     <entry key = 'filter.invalid'> true </ entry>
     <entry key = 'filter.zero'> true </ entry>
     <entry key = 'filter.duplicate'> true </ entry>
     <entry key = 'filter.distance'> 50 </ entry>

And I execute the same log that leaves the tracker-server.log 3 times and leaves 3 equal records

Anton Tananaev 8 years ago

First of all, your XML is wrong. There are some extra spaces that should not be there.

Secondly, I think you don't understand how it works. Duplication filtering only checks last known location. It does not check full database.