This is expected. That's how most GT06-based devices work. They don't send location when stationary.
It is repeatedly sending the same location, wasting chip data and generating unnecessary positions in traccar.
Chip data? It doesn't actually send location, as I said.
This generates unnecessary internet data consumption!
But wasn't it only supposed to send the location to the platform once according to the time set on the tracker?
Read what I said earlier.
I read it my friend, but I want to solve the problem that every 180 seconds it sends the same location, with the time set on the tracker being 3600 seconds, disturbing the route when I use the traccar replay.
That's a device problem, not server.
Lucas Bezerra try this:
Device side:
Server side:
time.override
filter.distance
and/or filter.static
I tried to use filter.duplicate to filter this repeated data but without success!
<entry key='filter.duplicate'>true</entry>
<entry key='filter.enable'>true</entry>
according to the configuration file documentation: Filter duplicate records (duplicates are detected by time value).
Are you sure you don't have any other parameters in the config?
My Traccar.xml file:
<entry key='config.default'>./conf/default.xml</entry>
<entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost/traccar?serverTimezone=UTC>
<entry key='database.user'>XXXXXX</entry>
<entry key='database.password'>XXXXXX</entry>
<entry key='notificator.types'>web,mail,traccar</entry>
<entry key='notificator.traccar.key'>XXXXXXX>
<entry key='filter.duplicate'>true</entry>
<entry key='filter.enable'>true</entry>
This is all? And you haven't changed anything in default.xml
? If yes to all, then the filtering should work. Remember that filtering applies to the new data only. What's already in the database won't be deleted.
My default.xml:
<properties>
<!--
DO NOT MODIFY THIS FILE. Use traccar.xml instead.
-->
<entry key='web.port'>8082</entry>
<entry key='web.path'>./web</entry>
<entry key='web.override'>./override</entry>
<entry key='web.sanitize'>false</entry>
<entry key='web.persistSession'>false</entry>
<entry key='web.showUnknownDevices'>true</entry>
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>locationiq</entry>
<entry key='geocoder.key'>pk.689d849289c8c63708068b2ff1f63b2d</entry>
<entry key='geocoder.onRequest'>true</entry>
<entry key='geocoder.ignorePositions'>true</entry>
<entry key='logger.level'>info</entry>
<entry key='logger.file'>./logs/tracker-server.log</entry>
<entry key='logger.rotate'>true</entry>
<entry key='filter.enable'>true</entry>
<entry key='filter.future'>86400</entry>
<entry key='event.ignoreDuplicateAlerts'>true</entry>
<entry key='media.path'>./media</entry>
<entry key='notificator.types'>web,mail,command</entry>
<entry key='server.statistics'>https://www.traccar.org/analytics/</entry>
<entry key='commands.queueing'>true</entry>
<entry key='database.ignoreUnknown'>true</entry>
<entry key='database.changelog'>./schema/changelog-master.xml</entry>
<entry key='gps103.port'>5001</entry>
...
<entry key='valtrack.port'>5255</entry>
</properties>
I didn't change anything in the default, it continues like this even placing the filter and restarting the server to apply it
Hello, I have a J16 tracker version J16-MASCSA-B38 2023-06-10-1 V4.41 which I am having problems with repeated positions with the ignition off, as shown in the log!
In other words, with each ping that the tracker sends to the platform, it shows the same position and the same time.
I would like to know how to solve this problem, my version of traccar is 5.5, protocol used GT06, any solution?