iPhone BSSID refresh issue
iOS device model, version and app version
Model Name: iPhone 16 Pro Max Software Version: 26.1 App version: (2025.11.2(2025.1537))
Home Assistant Core Version
Home Assistant Core:2025.4.4 Describe the bug My iPhone BSSID only refreshes when the Home Assistant app is open. I have two Wi-Fi access points (APs) in my home, and the network only works well when I'm in the bedroom and connected to the bedroom AP. Sometimes, even when I'm in the bedroom, the network is still connected to the AP outside the bedroom, so seamless roaming isn't great. I have a smart home gateway in my bedroom with controllable LED lights. I wanted to set up an automation so that the lights turn on when connected to the AP outside the bedroom and turn off when connected to the AP inside the bedroom. This way, I could always know which AP I was connected to. However, after setting up the automation, I found that when the app is in the background, switching between different APs doesn't change the light on the smart home gateway in the bedroom. It only changes when the app is open. For example, when I switch from the bedroom AP to the AP outside the bedroom, the smart home gateway light doesn't turn on; it only turns on immediately after I tap the Home Assistant app. Even when the app is in the background and connected to the bedroom AP, the light doesn't turn off immediately; it only turns off immediately after the app is opened. To Reproduce
Expected behavior
Screenshots
Additional context
Make sure:
- Location permission "Always" and "Precise" are set;
- Background refresh is ON
- Local push (Companion App settings > Your server name > internal URL) is enabled
Reboot your phone.
- internal URL
I checked and the location settings are fine. The internal URL isn't set; I only set the external URL. Is this problem related to the internal URL?
I'll try again when I get home and adjust the internal URL.
I checked and the location settings are fine. The internal URL isn't set; I only set the external URL. Is this problem related to the internal URL?
It's not a problem but the local push is the only "workaround" to have sensors reporting more often, otherwise the App won't update information in realtime. iOS just doesn't allow.
I checked and the location settings are fine. The internal URL isn't set; I only set the external URL. Is this problem related to the internal URL?
It's not a problem but the local push is the only "workaround" to have sensors reporting more often, otherwise the App won't update information in realtime. iOS just doesn't allow.
This means that this is due to a limitation of the iOS system itself. iOS limits the frequency at which apps can update sensors, and using an internal URL is slightly better than using an external URL.
Using the internal URL is not what makes the difference, but the local push feature can only work when there is an internal URL, and local push is the workaroung that keeps the connection with HA open in background. Even though it's "best effort", not guaranteed