android icon indicating copy to clipboard operation
android copied to clipboard

Geolocation (HASS) entity not getting updated (but companion does show correct)

Open malosaaa opened this issue 2 years ago • 4 comments

Issue with Geolocation on Android Car Head Unit in Home Assistant

I have the latest version of Home Assistant running on my Android car head unit. I use an automation that unlocks my front door 10 seconds after the geolocation matches my home.

In the Companion app, the geolocation appears to be correct. However, the geolocation of my car head unit (as seen in the Home Assistant entity) is incorrect. I have configured it to update entities and sensors upon change, and it seems to do so.

Observations: Correct in Companion App: The geolocation displayed in the Companion app is accurate. Incorrect in Home Assistant: The entity in Home Assistant doesn't reflect the correct geolocation. Update Settings: The geolocation sensor is set to update on change for immediate updates, while other sensors are configured to update manually every minute. Unexpected Behavior: The geolocation sensor stops updating after a while. Other sensors continue to function correctly. Previously Functional: This setup used to work fine, but after a recent update, the issue started occurring. Unfortunately, I can't recall the exact version I was using before the update. Sometimes it works For some reason sometimes it does actually work, but i really don't know why this happens.. As said before the companion app does show the correct location, but not the geolocation entity in hass..

Android version 10,

Any insights or suggestions on how to resolve this would be greatly appreciated.

malosaaa avatar Dec 03 '24 09:12 malosaaa

what happened to the issue template here? all important information is missing. Please update and provide more information like screenshots of the issue.

dshokouhi avatar Dec 03 '24 16:12 dshokouhi

what happened to the issue template here? all important information is missing. Please update and provide more information like screenshots of the issue.

Screenshots of what ?, there are no logs to look a, it just updates the location normal but doesn't throw an error or warning I already checked the debug logs, nothing interesting in there, otherwise i would have posted it. So the important information is in my first post.

I will try to fix it when i have time, and report back. As it does work 80% of the time, and the other 20% it doesn't so i need to investigate more. But as stated before logs don't show anything.

regards

malosaaa avatar Dec 09 '24 10:12 malosaaa

We still need logs and more data. The issue template is still missing and we do need logs even if you feel we don't. Your issue is hard to follow so that is why we need more data in the template we originally provided.

dshokouhi avatar Dec 09 '24 14:12 dshokouhi

Closing due to lack of response and missing requested data

dshokouhi avatar Jan 24 '25 15:01 dshokouhi