android icon indicating copy to clipboard operation
android copied to clipboard

My location is not updated

Open evertoon2040 opened this issue 2 years ago • 5 comments

My cell phone suddenly stopped updating its location. Now it remains as "unknown" and this message appears in the logs

location in the background. very old location

I've restarted the HA, I've restarted the phone, I've uninstalled and reinstalled the HA and the problem continues

evertoon2040 avatar Nov 25 '24 13:11 evertoon2040

what happened to the issue template here? we are missing critical information like what device and app version

please follow teh troubleshooting steps https://companion.home-assistant.io/docs/troubleshooting/faqs/#device-tracker-is-not-updating-in-android-app

if the issue still exists we need to see location tracking history

dshokouhi avatar Nov 25 '24 14:11 dshokouhi

Exact same issue here, same timeframe, and nothing from the guide helps (permissions are fine, no data limiting, gps on, etc). I'll try to get some logs tomorrow off my phone, but the gist of it is that most location updates are skipped as old or very old, even when it correctly detects a geofence exit.

Edit : from yesterday, entering my geofence gets picked up but is not sent to my server.

Created: 2024-11-29 13:56:39.756 Trigger: FLP_BACKGROUND Result: SKIPPED_OLD Data: UpdateLocation(gps=[48.7117051, 2.1705264], gpsAccuracy=4, locationName=null, speed=3, altitude=202, course=187, verticalAccuracy=16)

Location: 48.7117051, 2.1705264 Accuracy: 4 Server: Home

Created: 2024-11-29 13:56:39.778 Trigger: GEOFENCE_ENTER Result: SKIPPED_OLD Data: UpdateLocation(gps=[48.7116335, 2.1705786], gpsAccuracy=4, locationName=null, speed=4, altitude=202, course=149, verticalAccuracy=16)

Location: 48.7116335, 2.1705786 Accuracy: 4 Server: Home

Created: 2024-11-29 13:57:17.692 Trigger: FLP_BACKGROUND Result: SKIPPED_OLD Data: UpdateLocation(gps=[48.7114783, 2.1707991], gpsAccuracy=4, locationName=null, speed=4, altitude=199, course=94, verticalAccuracy=1)

Location: 48.7114783, 2.1707991 Accuracy: 4 Server: Home

Epithumia avatar Nov 29 '24 21:11 Epithumia

i have also a location problem, its slight different though.

https://github.com/home-assistant/android/issues/4870

malosaaa avatar Dec 03 '24 13:12 malosaaa

but the gist of it is that most location updates are skipped as old or very old, even when it correctly detects a geofence exit.

old updates are always skipped if they are deemed too old, check the logs on the previous page to see how old they are as we show the 2 timestamps. They are probably either older than the last sent report or more than 5 minutes old which is not acceptable.

dshokouhi avatar Dec 03 '24 16:12 dshokouhi

Closing due to lack of response from the author, for the other who may still have the issue please create a new issue and provide all requested data in the issue template

dshokouhi avatar Feb 04 '25 17:02 dshokouhi