Unreliable tracking, missing points

Meteopool7 days ago

Hi, it's me again. After reading some threads and troubleshooting together with some users I decided to do a test track on my own. The result is...well...far from what I expected and what I was used to with the previous app. So without changing anything it's impossible to have proper results after the update. And even with different / changed settings I can't make it work. There are huge gaps and inaccurate tracks, resulting in "zig zag" data. We really struggle with the new app and it caused some chaos here. I can not support our community when I don't have good results myself. So in order to stop the chaos, I would like to find solutions for the new update and when everything works again, I will make a community post to all our members. I need help, any idea what I could change?

GPS & WiFi was good at all times.

My settings:

Device ID: 1234 (ID matches with out database / auth system)
Continous tracking: ON
Server URL: link to our API
Accuracy: Highest
Distance: 50
Interval: 5
Angle: deactivated
Heartbeat: 60

Advanced Settings

Fastest interval: 30
Offline buffering: Off
Wakelock: On
Stop detection: On

Test track - extract 1

Test track - extract 2

Test track - extract 3

Test track - extract 4

Test track - extract 5

Anton Tananaev6 days ago

Have you disabled battery optimization? What device(s) have you tested on?

Meteopool6 days ago

Yes, I deactivated it (it's called "battery optimization" on my Android device). It's a Samsung S10.

Anton Tananaev6 days ago

Have you checked logs to see what happened during those periods of missed data?

Kalabint18 hours ago

I usually get zig-zags when Energy Saver is enabled, because this setting overrides optimization exclusions.

PowerMode

You also have Stop Detection enabled, which occasionally takes a bit time to detect movement status changes.

If power availability isn't an issue, or if you require the highest possible accuracy, disable Stop Detection, and replace it with the Active movement toggle.

You could try the following settings, with these Traccar is as power hungry as before the update.

  • Continuous tracking: Enabled
  • Active movement: Enabled
    Only has an effect when Stop detection (see below) is disabled; works as a manual override on/off switch, if I understand this correctly.
  • Stop detection (advanced): Disabled ← this is probably the most important setting of them all
    Prevents Traccar from going to 'sleep' even if the device remains motionless for minutes, BUT needs to be combined with the Active Movement Toggle on the main Page!
  • Location accuracy: Highest
  • Distance filter: 15 m
  • Interval: Disabled, I hope this forces the GPS to stay on.
  • Angle filter: 15 °
  • Stationary heartbeat: 60 s
  • Fastest interval: Disabled
  • Offline buffering: Enabled
    Not sure if this is even relevant for your use case.
  • Wake-lock: Enabled

Hope this works for you!