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
Device tracking does not work anymore #2583
Comments
Was this working at some point with the same VPN setup? When do you connect to the VPN? |
Yes, it was. The VPN setup did not change and it works. When I am away, I have access to Home Assistant, dashboards and I am able to control everything. But the location is not updating. A restart of my phone was not successful. I know from others who have the same problem, too (Android and iOS). |
Same problem here (also IOS). My setup is without a VPN. |
Checkout location history and share what you see there please. Also you can enable notifications for when you enter and exite zones, if you do that, let me know how it goes. |
It looks like I solved it on one of the iPhones. After some digging, I saw an error in the companion app (Webhook failed with status code 503). After deleting the server from the app and reconnecting it it worked again. For the people who don't know where you can find the logs from the companion app:
|
Thanks @NielsAutomation! It seems to work for me, too. |
This happened to me after the latest update. Only if I delete my server and try to re-add it, I see this: Edit: it turns out my problem was that something about my current setup is causing HA to come back up very slowly and haphazardly, and a couple of integrations weren’t properly loaded yet, including mobile devices which wasn’t clear to me at first. A couple full system restarts later and there’s no specific issue with mobile devices. |
Also seeing an issue with multiple iOS device locations not updating. iOS 17.3.1 |
Model Name:
iPhone 14 Pro & iPhone 12 Pro
Software Version:
iOS 17.3.1
App version:
Home Assistant Companion App 2024.1 (2024.535)
Home Assistant Core Version:
2024.2.1
Description of the bug:
The location of my device is not updating anymore. That is why I am always home although I left the home zone. I checked all preferences in iOS settings as well as the settings of the HA App (Location, Background activities, ...). VPN works well. My girlfriend has exactly the same problem.
The activity protocol in the app shows a lot of errors. Perhaps it helps to solve the problem. The errors are always the same:
Expected behaviour:
When I am leaving the home zone, Home Assistant changes my status into "away".
The text was updated successfully, but these errors were encountered: