New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inactive Lovelace UI #1801
Comments
This is happening to me on official iOS 15 release |
This is also happening to me on iOS 15, but force quitting the app and re-opening solves the issue. Need to do that once or twice a day now. |
The same for me. |
Same. Starting to get like that even on desktop (Mac, Big Sur 11.6, Safari 14). Here's my log. HA 2021.9.7 on Rpi4. |
If it helps ... iOS 15.1 actually Iphone 12 Pro Max Browser_mod Release 1.3.0 My lovelace resource modules: Homekit-panel-card/homekit-panel-card.js |
I'm having the same issue. iphone 11Pro, iOS 15.0.1 Browser_mod Release 1.5.0 My lovelace resource modules: |
I have the same issue as well, can someone point me in the direction of ios app specific log files so I can share? |
not only happens on iOS, but also on windows with edge browser (and chrome). |
This started happening for me as well with the iOS 15 betas in July and has continued with the official releases. |
Installed iOS 15, and got the same issue on 2021.10.5 |
The issue started with iOS 15 on iPad… the UI does not refresh (sensor data), buttons or sliders react but do not show any function. This is very annoying since I use the iPad as dashboard in guided access mode. |
Just adding that setting "Automatically close connection" to OFF in the Profile settings screen has NO bearing on the situation, as do not any settings of Background Refresh in IOS Settings. Nor does using external vs internal IP. Everything eventually fails to communicate with the backend without any acknowledgment of the fact. |
Just checking in if this was looked at, I believe its affecting quite a bit of folks now... |
Yes, no change as of 2021.11.1. |
Also, no change with the new 2021.11 version of the official HA companion app for iOS. Issue is still present. |
Also everything up to date and issue still present. |
I have the feeling it is better now on my side. I disabled the background refresh on iOS level for the HA app and it seems that the app is connecting every time I open it. |
You may be onto something. Man it's been almost a decade since I had issues with Background refresh! I'll try for a day and report back. Thanks! EDIT: looks like that's it! |
Man that seems so counter-intuitive but I'll give it a shot too because this is a painful bug on my end, its like every 10 minutes or less sometimes. |
It is also not the solution. I still have the issue from time to time. But it seems more responsive |
Yes, same. It is better (not placebo) but not fixed 100 %. I'm not a dev but weren't there some changes to app backgrounding in iOS 15? |
not sure where it have started. Noticing it for a month or so. As mentioned, it seems that application doesn't refresh its state when needed. It remains responsive but doesn't communicate with HA. Currently I'm using app v 2021.11, ios 15.0.1 Edit: Not sure what is Lovelace and what is not. I just found it's not only about lovelace views. I called NodeRed from side menu causing the app to infinitely load NR ui. Pull-down gesture forced it to load immediately. |
I've had similar issues with other websocket reliant apps. I've found disabling "NSURLSession WebSocket" on Safari desktop helped with that, and have just done so for iPhone, but not sure if web views inside apps are affected by this setting. |
Any updates ? No one is looking into the issue? Anything we can provide? |
I've tried this, but didn't help.... |
Yes, they are. I've been reporting this for three months now, and got zero response from developers. |
Seems worse than before using Ha 2022.2.0.dev20211225 so much it even needs a true reload ( kill app because window won't load at all) |
Yes, much worse. I usually have to kill the app too. |
Our attempt at fixing this in core-2021.12.4 is causing the page to die occasionally like this. Pulling to refresh should still be possible when it happens; hopefully in the new year we can do another around on this fix. |
Usually now (HA 2021.12.5, app 2021.327 from Testflight, iOS 15.2) when I get back to the app, the window is completely empty (which is new, this never happened) - just to clarify. |
Yeah, the totally empty thing is the new problematic behavior. |
Small additional information (hope it helps): My device is a wall mounted iPad Air (1st gen with the last iOS 12 Version and 2021.12.1 App Version on it), triggered by a notification which loads the app from the background - almost every time to a blank screen instead of a dashboard. |
Please update to core-2021.12.6 (released earlier today) - it includes a fix for the blanking screen issue, which hopefully means iOS-2021.12's workaround will help most cases where the connection is silently dead now. |
It's much better but there's a new (small) bug: where I was getting completely blank screen before, now I sometimes get nothing but the top bar (the Lovelace panels row). But any scrolling action brings the content back, no refresh is necessary. Otherwise, seems much better than the last version, that one was pretty bad. I'm also happy with the Tuya status reporting fix. |
On my iPhone 11 with iOS 15.2 is not really better. I have to refresh now every time |
On an iPhone XS with iOS 15.3 public beta, I must also refresh a lot. |
I have updated core to 2021.12.6 |
somehow I have the feeling it is even now worse on my Windows PC |
yes, I have mixed feelings too.... my Mac desktop browser is acting up like never before. The lockups the app was experiencing are now happening on my desktop ? Never had to 'refresh' the browser before on that device if happening, the frontend seems to be responding ok, but its not until refresh the commands get applied to the backend devices... need to investigate further to be able to precisely pinpoint the issue though |
Yep I am now also seeing the same in a desktop browser. Actions seem to happen when pressed (for example dismiss a persistent notification) but the frontend doesn't update until refreshed |
Looks like the desktop side is fixed by home-assistant/frontend#11042 see that PR for related frontend issues |
I have the feeling that since the update to 2021.12.7 it is much better |
Yes, I think it very obviously reconnects more often but that's fine. I'm not getting the inactive state now. |
It seems that since about around the time this was fixed, I now occasionally experience Lovelace loading over and over again. Many others have reported this on Reddit (e.g. https://www.reddit.com/r/homeassistant/comments/snz9g0/every_time_app_loses_focus_causes_lovelace_to/?utm_source=share&utm_medium=ios_app&utm_name=iossmf). Has anyone else experienced this? Is it a side effect of this fix or a new bug? |
Can you share your internal and external URLs? It's unlikely to be this workaround, though possible - if it is, it may require looking at full device logs which you can drop here and I can take a look; export them from App Configuration > Debugging. |
I’m using Nabu Casa so it’s using the generated address. I’ll grab a log the next time it does it. It’s not every time. I’ll also ask the other guy that started the Reddit thread. |
This is still happening in 2022.2. Makes the HA app unusable for actually controlling anything unless you have 30 seconds to kill. I'll try on 2022.3. |
@melyux that's kinda weird, I haven't had that happen for months now, on both desktop (Safari and Edge) and the iOS app... For me the HA app version from Testflight (essentially a public beta) fixed it months ago but even the release version is fine now. |
Some report about the unresponsive app are also in this already closed issue (latest comments) #2008 Got the hanging splash screen on a regular bases on my older iOS 12 ipad Air. Details in the issue I linked. |
+1. Having the same problem. I have been following https://community.home-assistant.io/t/ios-15-beta-and-public-release-safari-companion-app-freezing/323755/55, hoping to see any community input. 22.3.6 with IOS 15.3.1. Problems with the HA app as well as any IOS browser appearing to time-out. I keep having to pull-down to refresh and only some of the time it helps. |
Same issue on Android. Please fix this issue! |
Is this still an issue with latest versions of app and core? Feel free to reopen if needed |
Straight out of the gate, I’m running iOS 15 public beta 3, so not sure if that’s the culprit or not.
Basically when using the companion app, I can interact with the Lovelace ui, and the buttons, switches, etc respond in the ui, but nothing actually happens. Also, if the app is open, and I say turn on a light from a different device, it won’t update in the app.
The app will only become responsive and update changes if I do a pull down to refresh.
There is no such issues on Safari on the same iPhone.
I’ve tried deleting and reinstalling the app with no luck.
Also, I used to see “connection lost, reconnecting” upon reopening the app. This no longer happens. It’s still popping up in safari.
Edit: just experienced the same issue on safari now. Companion app working fine on my iPad running iOS 14.
The text was updated successfully, but these errors were encountered: