Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPSLogger randomly jumping between locaitons #1155

Open
sirs2k opened this issue Jul 22, 2024 · 1 comment
Open

GPSLogger randomly jumping between locaitons #1155

sirs2k opened this issue Jul 22, 2024 · 1 comment

Comments

@sirs2k
Copy link

sirs2k commented Jul 22, 2024

Hi,

I've been using gpslogger for at least 5 yrs and I've never had this problem before. It's really weird and frustrating

My phone is the poco f3 and everything has been running great as usual
My wife's phone which is a samsung flip4, the gps coords are jumping between home and the current location where the phone is at.
Or, sometimes there's a delay in reporting the updates until all of a sudden, the whole drive is reported at once. So you have a drive that took 20 minutes, which in home assistant looks like it was done within seconds

At first, I thought it was a home assistant problem until I enabled the location tracking in the companion app (with high accuracy).
I've since had a couple of instances where gpslogger had that jumping problem, but the HA device tracker has not

Both phones have the exact same gpslogger settings
Here's the issue on the HA github home-assistant/core#121441

Any ideas?

@mendhak
Copy link
Owner

mendhak commented Jul 22, 2024

Without actually seeing it, I think there might be two issues at play here.

First one is the jumping back and forth - this can happen when locations are cached. The phone's GPS provider is reporting a cached location while it gets the real one, then gets the real one. You could have a look in performance settings. Do you have network and satellite and passive enabled? Try disabling passive. Try enabling either network or satellite, to see if that reduces the jumping.

The other issue you described where the whole thing is reported at once, sounds like network. The app is configured to send the data only when a network connection is available. That is, if the OS reports that it has a 'stable' internet connection, it will report it. There's a sub-setting to that which is 'wifi only', which means, if the OS reports it has a stable internet connection and is on WIFI, it will send the location.

It could be that the points are being collected but no stable OS connection exists, so it's just waiting.

Another thing that could be blocking updates is doze mode, but that only applies if the phone is off in that duration, it's in doze mode, and the app is allowed to send requests every 15-20 minutes.

The only real way to know for sure is through a debug log, but I'm giving some pointers based on the behaviour described, maybe it helps. It'll also help to know which version you used and what settings you had, and if this started happening recently and does it work in the previous version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants