Traccar Client Configuration
- Device identifier - unique device ID you should use on the server side
- Server URL - server URL (should be a full valid URL and not just a host name); the correct port in the latest version of Traccar is 5055
- Location accuracy - here are rough guidelines for what each level means, but there's no exact one-to-one mapping:
- Highest - at this level GPS stays always on get the most accurate and consistent tracking
- High - usually GPS, but can fall back to lower-accuracy location if GPS is not available
- Medium - typically WiFi + cell location
- Low - usually cell-only, but it depends on the system
- Distance - main parameter that indicates you want location updates every N meters when moving; the exact result is not always guaranteed and depends on many factors like battery optimization, GPS signal, etc
- Interval - if distance is set to 0 (Android only) or accuracy is highest, this parameters allows time-based tracking; again, the result is not guaranteed
- Angle - if accuracy is set to highest, this field will trigger location updates on heading change; value is in degrees
- Stationary heartbeat - the new app uses a concept of two different states: moving/stationary; when moving, it uses distance or interval, but when stationary it uses the heartbeat interval
- Advanced settings
- Fastest interval - if you don't want location updates to be too frequent, it's possible to restrict the maximum frequency using this parameter
- Offline buffering - stores locations locally if the network is unavailable and uploads them to the server later
- Wake lock - this option is available on Android only; it enables a partial wake lock when in motion. This means your device will not go into sleep mode, which improves reliability but impacts battery life
- Stop detection - by default, the moving/stationary state is detected automatically, but this setting allows you to disable automatic detection; when disabled, a switch will appear on the main screen to manually change between the three states
Also make sure you allow unrestricted background usage for the app. Otherwise, the phone may randomly go into deep sleep mode, resulting in large data gaps. Check the Don't Kill My App! website for details on your specific device.