You should probably post your configuration file.
Here is my configuration file:
<!-- MySQL database -->
<entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost/traccar?zeroDateTimeBehavior=round&serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
<entry key='database.user'>root</entry>
<entry key='database.password'>root</entry>
<!-- logging settings
available options: off, severe, warning, info, config, fine, finer, finest, all -->
<entry key='logger.level'>config</entry>
<!-- notification config -->
<entry key='notificator.types'>web,mail,traccar,telegram</entry>
<!-- Traccar push notrification config -->
<entry key='notificator.traccar.key'>xxxx</entry>
<!-- E-Mail notification config -->
<entry key='mail.smtp.host'>smtp.xxx.de</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.from'>traccar@xxx.de</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>traccar@xxx.de</entry>
<entry key='mail.smtp.fromName'>Control</entry>
<entry key='mail.smtp.password'>xxx</entry>
<!-- Telegram config -->
<entry key='notificator.telegram.key'>xxx</entry>
<entry key='notificator.telegram.sendLocation'>true</entry>
<!-- Geolocation config -->
<entry key='geolocation.enable'>true</entry>
<entry key='geolocation.processInvalidPositions'>true</entry>
<entry key='geolocation.reuse'>true</entry>
<!-- Google -->
<entry key='geolocation.type'>google</entry>
<entry key='geolocation.key'>xxx</entry>
<!-- filters in use -->
<entry key='filter.enable'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.accuracy'>100</entry>
<entry key='filter.maxSpeed'>25000</entry>
<entry key='filter.relative'>true</entry>
<entry key='filter.skip.Attributes.enable'>true</entry>
<entry key='filter.skipAttributes'>PowerOn,Restart,PowerOff,Sos,LowBattery,Error,CallForSms</entry>
<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.maxError'>50</entry>
</properties>
This is almost definitely the source of your problem:
<entry key='coordinates.maxError'>50</entry>
This is extremely dangerous option that almost nobody should be using. And if you do use it, it should usually be a large value.
Ok, thanks. I wonder that it caused problems until now. But I'll it and see if it helps.
Wouldn't there be an entry in the logfile if a position was filtered?
I hope you understand what this parameter does. If you do, then it should be fairly clear that it can work fine in some case, but in other cases it will completely block position updates.
I think, I do. ;-) I only wonder that it worked fine until now... I deleted the coordinates.filter and coordinates.max entries now. I'll let you know if it solved the problem.
Imagine the situation where the first position you receive from the device is very inaccurate or outdated. Or imagine if the device didn't have GPS for some time and you moved away from the last position for more than 50 meters. In both of those cases updates will completely stop until you return within 50 meters of the last known location.
I understand. But it never behaved like that. I can send you a screenshot via PM. Maybe, it works now correctly after the with the update to 6.11.1.
(I was using the filter to avoid jumps that occur sometimes even if the tracker isn't moving. I started with a large value and reduced it more an more.)
Thank you, Anton. Problem solved. You were right as always.
But that leads me to another question: Isn't there a log entry if a filter is applied?
Not for coordinates filter.
Hi,
yesterday I updated to Traccar 6.11.1. Now, position changes of the trackers aren't recognised anymore.
Two examples. You can see in the second line that the updated position wasn't recognised by the platform.
Traccar Client, pos. 1:
Traccar client position 2:
GPS tracker, position 1:
GPS tracker, position 2:
What could be the reason for this?