iOS app loses connection

Hello,
I am having the problem that the iOS app often loses connection to Home assistant while it was in the background. So when I pull the app up, it shows a blank screen. The only solution then is to kill the app and force a relaunch.
This is all local. No external address defined.
Is that a known issue or a configuration problem?
thank you!

I have a somewhat similar issue with the iOS Companion App losing connection when in the background. When opened the black “Lost Connection” bar appears at the bottom of the page. However, all I need do is refresh the page to recover. iOS 18.5, App 2025.5.

Hi Gary. In my case there is no lost connection message and refreshing doesn’t seem to help. Will investigate further. I heard that it may be more stable to use an IP address instead of a DNS hostname. Just testing that.

I’m seeing a similar thing although refreshing the page almost always restores it. I also get pages with icons missing but again a page refresh fixes.

Having similar issues and while refreshing the UI does bring it back it is causing havoc with my automations. I have a toggle that I set before leaving work etc. that will automatically open my front gate when my phone is detected entering the zone setup around my home. However, because the companion app effectively goes to sleep in the background most times, it is really hit and miss if my automation works. So frustrating.

Having similar issues, sometimes refresh does not bring it back. Is there a log file I can review the connection issues?

I’ve been having a similar problem with the iOS app running on a wall-mounted iPad. The iPad is configured to run with HomeAssistant always running in guided access and wake up to a push notification triggered by a motion sensor.

The connection lost message frequently appears at the bottom of the screen and pulling down on the content causes a successful refresh. I’ve tried with my internal URL, an external URL, and both configured. No difference.

Got similar problem, but this has been a problem for 6 months now.
Not sure how to solve this, any suggestions where to start?

I have the same setup and problem. It used to not do this, and started a few months ago. It’s very annoying.

I’ve tested and come up with a work around for my particular issue (location based automations not working).

I need to have an app like Waze running in the background to force the Home Assistant app to update my location regularly enough so that my front gate opens as I turn onto my street.

If I don’t do this, the automation will pretty much never work. Kinda frustrating but it’s a 100% success rate doing this.

App still constantly shows lost connection message when opening it up though and only way to get it back is the swipe down to refresh.

This may, or may not, be related to my local loss of connection issue. Recently (2025.11.0) I’ve also been losing my remote Nuba Casa connection. The mobile app will initially connect to the server remotely, but like the local connection, will drop when placed in the background. Once dropped, the HA mobile app will not reconnect remotely. HA server websocket connection reports disconnected. Deleting and re-adding the server in the mobile app has not solved the issue.

The following appears on screen:

Server:
Installation method Home Assistant OS
Core 2025.11.1
Supervisor 2025.11.1
Operating System 16.3
Frontend 20251105.0
Mobile App 2025.10.0 (2025.1443)

Not sure if this is related, but I lose connection to Home Assistant when using the IOS companion App when I access a web page though Home Assistant only when my phone is using SIM data. If using a fixed WiFi connection at any location all is good. My fix has been to use Safari to access my Home Assistant instance. I have set up a short cut (using add to home screen) and use this instead of the HA companion App. All works well.
For clarity the web page I try to access is a Node Red server which uses an http rather than https address.
My guess is that it fails using mobile data because the phone’s IP address is constantly changes and maybe the companion App can’t keep the connection live.