android: Android Mobile App Intermittently Slow
Home Assistant Android app version(s): 2023.1.1-full Android version(s): 13 Device model(s): pixel 4a Home Assistant version: 2023.2.5 HA OS Last working Home Assistant release (if known):
Description of problem, include YAML if issue is related to notifications: The Android mobile app is intermittently slow to startup (5-10 seconds to start) and slow when navigating in the app (up to 5 seconds to navigate to a different screen). The issue is persistent when it occurs until the phone is rebooted. This issue has been reported by others in the Home Assistant Forum
https://community.home-assistant.io/t/ha-app-has-become-slow-on-android/534341/6
Companion App Logs: homeassistant_companion_log_1-28-2023_5-59-6.txt
Screenshot or video of problem:
Additional information: WebView version: 110.0.5481.153 No custom cards No HACS components
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 37
- Comments: 94 (17 by maintainers)
How can you say that “you don’t have problems” when you need to pay for an app to clean the cache daily? By the way, the last time you posted here, you were advertising another paid application. Are you here for spam?
I’m advertising?? No man im saying what helped with my issue, i know that the app have problems bht what can i do??? Do you have fix maybe so i can use Homeassistant without delays??? No you dont! And also i changed that crap app because it was not working as it should. As for Sd Maid SE you have trial so you can try, and 1$ for a year is not much so i can live as i should in my home for now until there is a real fix for the app. And no i am not advertising. You are free to use Homeassistant with lags.
I still dont have problems after ~month i use auto clear cache every day only for HomeAssistant, i use Sd Maid SE for the auto cleaning on Android 13.
Also experiencing this issue for the last 2months or so, it even affects the ble transmitter, so my espresense setup thinks I’m not home because the app stops broadcasting. I use the persistent websocket connection if that changes anything.
Notifications are also significantly delayed during this time, I have some door open notifications which will trigger 5 mins after sent instead of <1 second
When I open the app it’s very slow to open, complains about ha server being unreachable then eventually starts up, but navigating between dashboards is very slow.
I just force stop the app and re open and it’s fast again.
Just to update, I tested it, and it has apparently helped for a while. Just like cleaning the app cache does.
But the problem returns.
I am experiencing this issue consistently. Clearing cache or killing the app did not help. I see a very slow start with a msg server is not available, which dissapears after a few seconds. Then it slowly loads, going to settings and for example devices takes a long time with nothing on the screen.
I installed the web version from chrome and that works instantly and without any issues.
Pixel 6 latest ha, app.
Edit: Restarting the phone helps.
Also see this exact problem on pixel 6 pro with the latest version of the companion app. Loading HA via a browser on the same phone works quick.
Confirming! It even times out and shows a popup with the option to change the URL or wait/retry. This doing on local network, or remotely.
Sorry guys, maybe I was not clear. I think it would be interesting to know if some people don’t use notifications but also have this problem, so we could exclude that the issue is related to notifications.
Can you try filling it in and restarting and removing it again?
When the application starts running slowly, I looked at what it shows in debug mode. It seems that in addition to the main instance, there are also several others that are marked as detached. Killing/reloading the application not only does not help, but after each kill/reload a new detached instance appears. The only thing that helps is rebooting the device or force stop. This helps for a few days or a week, then everything happens again.
@dshokouhi Edited original post with requested details. I have not had a recurrence since original post yet.
I can confirm the behavior described by @ciB89. It becomes so slow at some point that the message is shown. The slowness is the same on Wi-Fi or 4G, using internal or external URL. It’s like having a throttling preset to Slow 3G enabled.