Brand new HA user so I’m still trying to figure things out.
I just installed the HA Companion app for iOS (version 2024.12) on 2 iPhones. Both of them can automatically detect my HA server using the http://192.168.x.x:8123 address. Both properly bring up the login screen and then both give this error:
The operation couldn’t be completed.
(Shared.ServerConnectionError error 0.)
Error code: Shared.ServerConnectionError 0
In the application settings I have unchecked and rechecked access to the local network. I don’t think this is the problem as the login page shows up properly which I believe comes from the HA server.
When I connect using Safari I get the same login page, but it actually lets me in, and I see my devices.
Any tips or suggestions would be much appreciated.
Are you sure?
Today there was an update for the home assistant app for ios.
After the update I was not able to use the app anymore, I got the same error like the OP.
In the settings I saw than, that you have to put in your lokal SSID to be able to access the internal IP-address of home assistant.
I am sure I didn’t do these settings before.
On my ipad, old home assistant app, is still working
Hey folks, just a context of why location permission is not required to use the internal URL:
Starting on 2024.12 the App will only use the internal URL when an SSID (or hardware address in case of macOS) is defined and location permission is granted, the App will not fallback to the internal URL in case the external URL is not available unless those options are defined.
Background: This is to protect most users which have internal URL configured with an unsecure connection (http) to expose their tokens in public networks.
Options:
Set the external URL instead (not recommended due to the security concerns above)
Give the App the permissions needed and define your local network (SSID) so the App knows when it’s safe to use the internal URL.
Based on some feedbacks I know the communication of this change was not done properly, so because of that I paused the phased release of 2024.12 and the next patch release will add more details and also an option to fallback to internal URL without location permission (on your own risk).