Traccar Client 9.4.1

coniman11 hours ago

Hi again Anton! I’ve discovered that all my problems with the app not updating location in background was because of the Active Movement switch. If it’s enabled it reports location event no movement detected (that’s what I want), but when app gets closed the switch automatically goes to an off state. When you open the app again the switch is off. Is this a bug?

Anton Tananaev11 hours ago

No, it's just the way it works.

coniman11 hours ago

And there is no way of leaving Active Movement enabled forever? Because waiting for the phone to detect movement take a little bit of time and I loose some location points.

Anton Tananaev11 hours ago

That's just how it works currently.

Turbovix6 hours ago

These settings will ensure the device sends location updates every 30 seconds or 50 meters while moving, and a heartbeat update every 10 minutes while stationary.

On the Settings Screen:

  1. Accuracy: Set to "High".

    • Explanation: Using "Highest" accuracy can override the distance filter, which would interfere with the 50-meter update requirement.
  2. Distance: Set to 50.

    • Explanation: This will trigger a location update every 50 meters the device travels.
  3. Interval: Set to 30.

    • Explanation: This triggers a location update every 30 seconds, regardless of the distance traveled.
  4. Heartbeat Interval: Set to 600.

    • Explanation: This value is in seconds (600 seconds = 10 minutes). It ensures the device sends a status update every 10 minutes when stationary.
  5. Advanced: Toggle this switch on to reveal additional options.

  6. Fastest Interval: Set to 30.

    • Explanation: This ensures the app will not send updates more frequently than every 30 seconds.
  7. Buffer: Toggle this switch on.

    • Explanation: The buffer temporarily stores location data when there is no internet connection and sends it once connectivity is restored.
  8. Wakelock (Android only): Toggle this switch on.

    • Explanation: Wakelock prevents the Android OS from putting the app to sleep, ensuring continuous tracking and heartbeat updates in the background.
  9. Stop Detection: Toggle this switch on.

    • Explanation: This setting is crucial for the Heartbeat Interval to function correctly. When disabled, the app may not detect that the device is stationary and will fail to send heartbeat updates.

On the Main Screen:

  1. Tracking: Toggle this switch on.

    • Explanation: This is the primary switch to start and stop location tracking.
  2. Motion: This is an indicator, not a setting. It automatically shows the device's current state (moving or stationary). You do not need to change it.

Summary of Settings to Enable:

  • Main Screen: Tracking
  • Settings Screen: Advanced, Buffer, Wakelock (Android only), Stop Detection.

With this configuration, the Traccar Client will send updates every 30 seconds or 50 meters while moving, and a heartbeat update every 10 minutes while stationary.

coniman4 hours ago

I finally found a setting that works in background at any moment. Even when booting the phone without opening the app. Just apply this settings and reboot both client and server.

IMG_3132.png
IMG_3133.png