Inconsistency between device_tracker GPS location showing Home and sensor.app_geocoded_location showing other place
distante opened this issue · 5 comments
The problem
My persons are being shown as being at home, with the GPS coordinates of home, but the only attached device (a phone with the companion app) reports a complete different - and correct - position in their GPS sensor entity.
What version of Home Assistant Core has the issue?
core-2024.10.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Mobile App
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mobile_app/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
The only location sensor I have on the phone is Geo location. If I enable Precise Location and Location Zones, the Person sensor updates with the Zone where I am currently at.
I have not tried being outside of a "known" location with those two sensors but I was under the impression that the Geo location sensor should be enough to say if I am Home or not.
Additional information
No response
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (mobile_app
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of mobile_app
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign mobile_app
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
mobile_app documentation
mobile_app source
(message by IssueLinks)
This is not a bug the 2 can indeed have different values. If you have issues with the device tracker check the companion app docs for troubleshooting steps. If you continue having issues log a bug with the android app and make sure to include logs.
@dshokouhi is the companion app in charge of show the person "home" or "away"? I though it was HA core.
the companion app provides the data for both the geocoded sensor and the device tracker. HA core determines you are in a zone or away with the device tracker GPS data only. Geocoded location is not meant for location tracking.
this guide will help you make sure teh device tracker is setup properly and also provides location history to troubleshoot any issues
Ah ok, then this is a "non-issue" although I still think that the Geocoded location could be used to update the tracking since it already has the coordinates.
Thank you for your answers!