Home Assistant app on iPad freezes daily at random times
iOS device model, version and app version
Model Name: iPad Air (5th gen) Software Version: iPadOS 18.1.1 App version: 2024.11 (2024.978)
Home Assistant Core Version
2024.11.3 Describe the bug For me the app crashes or rather freezes regularly, but only after a day of running or so. I use it as a permanent-on device in a dock on my desk.
Most of the time in the form of a black screen, with just the yellow cogwheel on the bottom. Always unresponsive. I have to force quit the app and restart to get it going again.
To Reproduce Cannot reproduce on demand, happens after some time after starting Expected behavior No freeze/crash Screenshots
Additional context
I think it only happens on a particular home screen I have defined, but am not sure. Previously reported in #2810 Logs have been uploaded to the requested location. Last occurrence of freeze I noticed at 16:49, after which I restarted the app
I, too, am experiencing a similar problem. But not necessarily on an iPad. Mostly on my iphone 16 Pro Max. I chalked it up to potential 18.2 beta. But it was happening even. before then.
Can you try on the latest testflight build?
Nice, did you already find something? Updating now to 2024.1006, will report back.
Not specific for your case but for the last weeks I've been fixing some performance issues, so let's start debugging from this latest version.
Just froze again. Exported and submitted new logs!
Do you know exactly what time did it happen? It worth trying as well with the testflight release I made available yesterday, I removed some realtime state subscription that will make it less CPU intensive.
I don't know exactly when it happened. I saw it was frozen on black screen with 2 partial graphs and the yellow cogwheel at 18:22. Then force closed the app and restarted at 18:23.
Just updated the app to 2024.1022 and will keep monitoring.
Is the cogwheel tappable? Because if it is then the app is not frozen, just the home assistant frontend itself that lost it's connection for some reason
No it's totally frozen
@bgoncal Today I saw the issue happening at 13:12, made a little video after this. This time the yellow cogwheel was responding. Not sure if I just remember incorrectly from before or it behaves different now or maybe it becomes unresponsive after a little while.
I uploaded the logs and also the video to my google drive. I will share this with you specifically. Hope it brings some light to the situation
I'll check your logs next week, please remove your logs from this thread since it contains personal information.
Also, can you try App Store version 2024.12.1? (Released yesterday)
Should be good, the file was only shared with you. Happened with app version 2024.12.1
fyi: Happened two more times, both times I could bring up the menu with the yellow cogwheel. In Settings I noticed 'WebSocket' had status Connecting.
Quitting and restarting the app always fixes it.
I couldn't find anything relevant for a freeze/crash in your logs, I left my iPad ON since last friday and it is all good. Can you try 2 things for me?
1 - Instead of the App, leave the home assistant open in your iPad Safari browser until it freezes (or not) 2 - Then try with 2024.12.2 app version (it will become available tomorrow probably)
With the browser I haven't had any issues, other than that one camera entity (Buienradar integration) doesn't show on Safari. No crashes or disconnects in 3 days. Now running the App Store 2024.12.2 version. Will report back after it acts up or a couple of days.
Thanks for the update
Found the app frozen today, shared the logs on Google drive.
Fyi, another two instances of where the app seemed frozen but with the yellow cogwheel at the bottom which I could select. These last two times the WebSocket status was 'Connected' when I checked.
I've been testing with different dashboard layouts on my iPad, too see if it was a specific card or component that would trigger the freezing or crashing, not sure what to call it.
I found that it would only freeze or crash when the camera entity from the Buienradar integration was on the dashboard. This normally uses the 'Picture Entity' card configured with a camera entity, but it also happens when I show the camera using the 'Frigate card'.
Hope this can help in finding the cause.
@bgoncal I can confirm 100% that the issue only occurs when the Buienradar camera entity in on the dashboard. Is this anything you can work with or is there anything else I can do to help debug?
Thanks
I'll set a reminder to test that on my dev environment, but I bet this will be hard to fix unfortunately
@hapklaar whats the version of the app you are now? freezing only happens in iPad? Not iPhone? Do you see error logs on home assistant itself (not app logs)
@hapklaar whats the version of the app you are now? freezing only happens in iPad? Not iPhone? Do you see error logs on home assistant itself (not app logs)
I'm on app version 2025.1073 on my iPad and don't have an iPhone to test with.
Don't see any relevant errors in HA logs. (only an MQTT update error for some other device at the approximate time of the event, last seen 17:29 today)
One thing that might be relevant the fact that this 'Buienradar camera' does not show in Safari (or Edge on Ipad for that matter). It only shows a little square box with a question mark in place of the widget, seems to be of incompatible format or encoding. Maybe this has something to do with it. These issues don't exist on Windows or Android.
Oh, if it doesn't show in Safari it won't show in the app as well (or behave incorrectly), you need to ask for help of the developer which created that, perhaps drop an issue in core since buinradar comes builtin HA right?
Although, I configured it and I can see it fine in Safari and all apps
It does show correctly in the companion app for me, but not in Safari. Curious it does work for you as others also have issues with it on iOS in Safari... Wonder what could explain the difference... iPad vs iPhone maybe?
Maybe I'll give the iPad a factory reset and test again :)
I dont use it for real, I just configured to see if it would work, do you have any special configuration that I should try? But as a rule, if it has issues in Safari, report to frontend, they need to address the issue on that level, the app will (with some exceptions) reflect safari