Device_tracker and geocoded location 'Unknown'

after having updated the iOS app on one of our phones, the device_tracker and geocoded location sensor remain ‘unknown’

The other sensors work, and immediate I should add. connecting power immediately changes the state to Charging, proofing the sensors and device are correctly seen by HA/the App.

I did reinstall the app after having deleted it from the HA settings in the integrations page.

any hints as to what I could try to get it to work again? Pemissions are all on, all buttons show allow.

thanks

same for latest huawei mobile phone without google map.

1 Like

yeah no update on these entities still. already reinstalled after having deleted the integration and the app once more…

For what it is worth, I had the same issue. I was having inconsistent results with my device_tracker geocode location so I removed the IOS app and reinstalled. My geocode location was “unlnown” for quite some time until I rebooted my iphone, then it came back. You know this, but make sure you go into the “location services” on your phone for Home Assistant and set the “allow location access” to always.

My two cents.

Experienced something similar, just stopped working and always reported “Unknown” for me. Tried everything, enabling and disabling permissions and stopping/starting and rebooting.

Finally I solved it by changing the “Minimum Accuracy” it defaults to 200 and after changing it to 2000 I got my location and now I can see that my accuracy is reported as 600 so, that was my problem.

I dont know why my accuracy suddenly changed, but that not Home assistants fault.

But, I would be great if it still showed the position, and noted that its our of accuracy range.

1 Like

I’ve just been having trouble with this and it was down to background location being turned off in the sensors section of the app configuration menu. This was Android but hopefully it’s transferrable.

1 Like

Where to change this minimum accuracy?

I had the same problem before I realize there is a setting in the Home Assistant App - App Configuration - Sensor (Manage Sensor) - Search for the location and enable it… and it works

6 Likes

Thank you! Rebooting the device fixed my issue. Surely the “reboot fix” is a Windows thing only? :slight_smile:
Thank you again!

Maybe the slowest response, but if other find this :slight_smile:

Find the App/Companion App settings.

Mine are under Settings

Settings / Companion App / Manage Sensors / Location Zone

Cheers

2 Likes

i have this issue on s22 ultra and the app has no “Location Zone” at all in sensors

Strange, have the homeassistant app access to Location services?

to access the localisation parameter in compagnon app, disable the wifi before to start the application then settings will appear , goto manage sensor and you can changed them and reboot the phone.
work on samsug A52 for me.

Thanks for this one. I allowed location services for HA in the Android settings (Samsung phone) But then you apparently also HAVE to allow the Android device to connect to other devices in the local network. I declined this option, so the location service inside the app (not the Android device) was turned off, while trying to turn this setting on :wink:

2 Likes

Enabling “Nearby device scanning” in the Android Settings → Networks-> More options (and reinstall the HA app) solves the issue for my Samsung Phone.

1 Like

Chaning the accuracy worked for me, on my wife her Android phone, too!

Thanks to everybody contributing to this topic.

On my Huawei Mate 20 Pro I found plenty useful sensor settings:

  1. Open the Home Assistant App on Phone
  2. Hamburger → Settings → Companion App:
    Find all necessary Settings here.
1 Like

I was having the same issue on my Android phone and nothing on this topic helped me. Turns out the F-Droid release lacks several features like location tracking and Wear OS integration (hence the “minimal” on the version number). So I had to install the Google Play Store version for everything to work properly.

This was also hint for iOS as well.

For iOS, yesterday I just got it from not working to working:
HA settings > device > mobile device > deleted all of false registered mobile devices and even current one > close app(probably forced logout) > make sure ios settings home assistant app location setting as always allow > open home assistant app > login > go to setting > companion app > you home assistant name > privacy settings to be location sent exact, sensors sent all > go back one menu > “location” > update location > check device location entity get updated

The key step was to force delete all of false registered current device. Basically deleted current mobile from HA instead simple logout