Closed Nelluk closed 2 months ago
I am having the same issue with a similar setup, however I have noticed that Home Assistant remains stuck on reporting the App Version as 2024.8 even though the current version of the app is 2024.8.3
It appears that the app does not correctly send data over a cellular connection and/or Home Assistant does not receive the data that was sent.
@DarthGaymer Current App version is 2024.8.1 (released today) so yours is correctly reported
@Nelluk I see you have
"state": "Aldie VA 20105\nUnited States",
"unique_id": "geocoded_location",
being reported, perhaps the \n
is breaking the logic (of course if that's the case we can fix this), does this also happens when the location reported is something else?
@bgoncal You helped me resolve this on the HA Discord - it ended up being Cloudflare tunneling blocking the location updates when not on home wifi. Thanks again.
Model Name: iPhone 13 Software Version: iOS 17.5.1 App version: 2024.5.1 (2024.684) HA Core version: 2024.5.5
Describe the bug
I’ve been trying various things to get my iOS companion app to update my server with my location when I am away from home. This has been going on since I started using HA iOS in March.
My server is accessible remotely via Cloudflare tunneling. I can open the app and view the server remotely no problem. I use it frequently when I'm away from home.
All of the permissions are enabled, including background updating, exact location, and all the update triggers.
Even if I open the app and click on the manual location update, nothing will be reflected on the server side. The location history on the app is all correct and shows me leaving my home zone and entering other zones in the neighborhood. But that is never sent to the server (even with a manual trigger).
I have deleted the app, deleted the iPhone device within HA, reinstalled the app, re-checked the settings, and the behavior is identical. I have also deleted the server from within the companion app, restarted the app, and signed back in as a new device.
Most of the sensors update as you would expect (see screenshot). The notable exceptions are SSID and Connection Type which make it look like I have never left my home wifi.
To Reproduce
The log snippet and the screenshot below covers a period of time where I did this, leaving zone.home around 2:30 and arriving at zone.mtes around 2:45, spending around an hour there, and then walking back and arriving back at Home just before 4:00. Also the screenshot covers my second outing that day where went to another zone around 5:45 and back home around 8:00. I can provide those logs on request. During that second outing I notice several errors in the log of the form of
Didn't update: the operation couldn't be completed (Shared.BackgroundTaskError error 0
Screenshots I went to two defined zones outside of the home on this day. One I entered a new zone around 2:40 and back home just before 4:00, and another zone around 5:45 and back home just after 8:00.
Logs