App is extremely slow

I too have this problem. See post in github issue here: Companion app extremely slow on Iphone · Issue #20728 · home-assistant/frontend · GitHub

I have reset the app (v. 2024.5.1), deleted the server and re-added in the app and updated HA to 2024.6.3 and the problems persists. It takes more than 1 minute to load the dashboard in the iOS app (iphoneX iOS v. 16.7.8) whereas in the 2023.12 version of the app it was very fast (~1-2 secs) on the same device.

See logfile here: Home Assistant.txt log file relevant time window while iOS app hanging · GitHub

Only thing I see in the above log is a bunch of the following message repeating multiple times a second:
[hakit-work-queue] [Environment.swift:71] init() > WebSocket: Received: event: for HARequestIdentifier(rawValue: 31)

Any ideas on what to troubleshoot or where to look next?? Please.

Cross-posting from github issue to here

FYI, I managed to get some significant improvement by starting over with my lovelace dashboards. I have not isolated which card was causing the problem, but load times improved drastically. If you are at a loss for what to try, this is my suggestion.

I went into the “raw configuration editor” copied everything to notepad and starting adding items back in.

It seemed that culprit was one of custom:weather-chart-card custom:mini-graph-card custom:apexcharts-card or my file sensor.videos:

      - type: custom:gallery-card
        entities:
          - sensor.videos

FWIW.

Just lumping in on this thread not with anything useful other than to say that I too am having this problem, any action takes about 3-4 seconds to complete!

i’m also having this issue on ios only. works fine on pc. i’m now on ios 18.1 dev beta, but i started having the issue probably back in early july – when i was still on ios 17 (i think 17.5).

1 Like

I have had the same issue in the companion app on iPad and iPhone.

For me, browser mod had gone bananas and registered over 1000 clients with over 16000 entities. I uninstalled, and installed again. All entities gone and I configured to not auto register clients. Then it works smooth in IOS for me.

I keep my db small and records just a few entities for 5 day, 24 Gb

Image of the weird registered clients and the settings I use know.


I have (had) the same problem. iOS 16.7.10 on iPhone X. I worked backwards and found out that the problem started after the Core 2024.9.0 update. I’ve just restored to the previous update and the iOS companion app is working smoothly as before. Companion app is the latest version. So I guess that teh problem is more related to the core update in relation to the iOS companion app. On my laptop everything was working fine, even after the 2024.9.0 core update.

Update: just installed the core 2024.9.1 update and the problem was right back, now back to core 2024.8.3

I’ve had this issue for months. What finally fixed it for me was to reset the frontend cache in the app. It’s under Settings->Companion App->Debugging.

Update Short term fix, after a few uses, its back to slow again. Does this on all our iphones. Clearing the cache helps for a short bit only.

App on both my iPad and iPhone is uselessly slow, didn’t use to be. Tried clearing the front end cache, no help, any other ideas, suggestions, help?

This is incredibly frustrating and has been going on for months. My iOS app is so slow now it’s just locking up and crashing.

I know this is open source… and we shouldn’t have any expectations, but it’s frustrating to see this project in this state.

With the new sections function I decided to redo my home page. I am believing at this point that one of the add in objects must have been causing the slowdown or possibly the graphs I previously had. My home page is now working at a good speed again. This is on my ios devices, never had a slowdown on the web pages on my computer.

I’ll jump in here too because I was having the same issue for months. It would take 2-3 minutes after opening for the app to be responsive. Even got a new phone in that timeframe and still had the issue. For me it was my “Overview” dashboard showing all my entities. I took control of that dashboard and left it blank. Even though I have a “mobile” dashboard that I set to the default on my phone, I notice occasionally it will revert back to the overview dashboard. By blanking that dashboard, this has fixed my issue.

1 Like

Just “hid” most of the entries on my “Overview” dashboard and the app is working perfectly now. Thanks!