Hardly any location updates

Thomas 3 months ago

I use Traccar Client on Android 15 (iodeos with microG) on a Pixel 8a and (LineageOS with microG) on a Pixel 2XL.
On the Pixel 8a, the client is set as follows:
Position accuracy: Highest
Distance: 10 metres
Interval: 10 seconds
Angle: Disabled
Standstill heartbeat: 300 seconds
Fastest interval: Disabled
Offline buffering: Enabled
Wakelock: Enabled
Stop detection: Disabled

Despite these settings, I cannot get a current location on my self-hosted Traccar. Even when I drive with a sat nav on my mobile phone, I only get a location about every 30 minutes. Battery optimisations are disabled. If I send the location manually, it arrives immediately.

Anton Tananaev 3 months ago

Have you tried phones with official Google Play?

Thomas 3 months ago

You mean Google Services or Stock ROM?
Yes, I had tried this a few months ago and that had worked well.
So it may be due to microG or missing Google location services.

Anton Tananaev 3 months ago

Yes services.

Thomas 3 months ago

So is your statement that it doesn't work with Custom ROMs without Google Services?
Then I have to look for an alternative.

Anton Tananaev 3 months ago

I don't know if it does or doesn't. But we only test with official Google services.

Anton Tananaev 3 months ago

You can alternatively try older version of the app that doesn't require Google.

Thomas 3 months ago

These are no longer updated. Sooner or later, this will probably not work anymore.
Maybe I look for other solutions that do not have Google dependencies like Owntracks or uLogger.

HJvD 3 months ago

Thank you @Thomas for pointing out Owntracks. I was not aware this free and open-source software existed. I use it now for a few days and it's much more intuitive and with good help-documentation than the Traccar Client. I really didn't get that working correct. It even has a page how to make it work with Traccar server.