Description
iOS device model, version and app version
Model Name: iPhone 16 Plus
Software Version: 18.4
App version: 2025.1205
Home Assistant Core Version
Applicable to Home Assistant Core 2025.1 - 2025.5
Describe the bug
Sometimes - about half the time - when my wife uses a car for work with CarPlay she loses Home Assistant sensor updates from her companion app. Funnily enough, the only thing that keeps working is the device tracker entity. But all other sensors stop working. So for instance the geocoded location sensor and battery sensor(s) stop working. It only starts working again after restarting the companion app. My wife insists that she stopped using CarPlay, but that's the only common denominator I could find.
Controlling Home Assistant also still works perfectly. Only sensors stop updating.
To Reproduce
- Have Home Assistant iOS companion app running on mobile data with Wireguard VPN
- Connect to a wifi network that doesn't have internet (ie. CarPlay)
Expected behavior
That a wifi network that doesn't have internet access doesn't break sensor updates. Or at least that the app self recovers or actively retries after a short while (ie. 15 minutes).
Screenshots
Additional context
First of all I should also outline my networking setup. My Home Assistant instance is accessible from the internet through Cloudflare. Cloudflare blocks most regions with it's WAF, but it is reachable from both of our mobile networks. Other hosted services aren't available from the internet and are only available with a Wireguard VPN connection. Which my wife has and is enabled on-demand through the Wireguard app. Only including our home SSID. Internally I also have split DNS setup so that traffic to local containers isn't routed over the internet. This includes VPN traffic.
All of my hosted services / containers are proxied by Caddy and don't have any exposed ports. So we also don't have any internal URL configured. All traffic just goes over HTTPS. This includes HTTP/1.1, HTTP/2 and HTTP/3, both TCP and UDP. Where the latter can be considered a bit exotic for home use 😛 .
I mention this, because I found this Community thread from last year that pretty much describes the same thing: Apple Carplay causing problems with IOS device tracker updates?.
I also have a log dump from her phone from the moment on the day this triggered, but it contains too much sensitive information to share here.