iOS
iOS copied to clipboard
Local push disabled on internal URL
iOS device model, version and app version
Model Name: iPhone 14 Software Version: 18.1 App version: 2025.2 (2025.1117)
Home Assistant Core Version 2025.1.4
Describe the bug Local push and SSID's are enabled in the settings for internal URL. But I see a status of being connected internally, where local push remains disabled
To Reproduce
Expected behavior Can't judge if either the status is displayed wrong, or local push actually doesn't switch on when connected internally
Screenshots
Additional context Maybe relevant: my external url is identical to the internal because I use an on-demand VPN connection to my home when I'm not connected with one of my own SSID's
Issue still persists on latest version 2025.1175
Do you have location permission "Always" allowed?
Also please try rebooting your phone
@bgoncal Location Always is allowed and my phone was rebooted several times since reporting the issue. Not sure if the status reported in the settings is wrong, or local push is indeed disabled. Is the a way to verify that? Best Eric
When I saw your report I tested it in several devices at my place in 3 different networks and I couldn't reproduce, is it possible that you have the SSID incorrectly there? Perhaps one trailing space or something like this. If you also have a way to try in a different network, it would be interesting to debug.
Meanwhile after you try that, drop me your companion app logs please https://forms.gle/Uoqz127Phx4mMTpS6
Done. SSID's are correct (App also mentions it is using the internal URL). Did another reboot of the phone before uploading the logs. Hope it helps
@bgoncal where the log files of any use? Can I do more?
Sorry for the late reply, I was on vacations, I couldn't find the root cause yet by checking the logs, it's on my todo list to investigate this
Update - I noticed this debug-user limits menu item in the companion app:
I received several notifications today. So does that imply local push notifications are enabled, but it's just the state in the menu that suggests not?! Or do I misunderstand?!
This is still broken, however I have discovered that iOS updates (and/or perhaps app updates) turn local push off in the companion app settings. Local push can be turned on again by clicking on "internal URL" in the server settings of the companion app settings in HA, then restarting the HA app.
@Gazoonky
Thanks that works. I missed the need to restart the app after enabling local push on the internal URL.
I now have this:
No clue what the number (0) means?! Update: the number of notifications send
@bgoncal Based on the new insights, it seems we have two issues with local push:
- setting local push gets disabled after an update (iOS and / or app?!). I recently updated both. So can't confirm which of these updates disabled it
- enabling local push requires an app restart to become active
setting local push gets disabled after an update (iOS and / or app?!). I recently updated both. So can't confirm which of these updates disabled it
Correct, due to high battery consumption and the average user not even knowing what local push is, it was decided to turn it off by default, so a side effect of one of the latets updates was having it turned off.
enabling local push requires an app restart to become active
The root cause of this is still unknown to me, I was also able to make it work again by turning off wifi waiting a bit and turning it on again.
I'll add that, for me, the only reason I know what local push is is that a couple months ago it became the only way I get push notifications from HA. Non-local push notifications had just stopped working, and when I looked into it, I discovered local push and that it worked. And then when local push would stop working too, I would notice each time.