since a few weeks Home assistant became all of a sudden super slow. What I did before I relized the dramastic change in reaction time is:
Upgrade to Homeassistant OS 2024.1
Added a new dashboard with 5 views, quite some tile cards and auto-entities
My RAM is at approx 55% and abt 35%. My host is a RPI4 with a SD-card.
To gain abetter undestanding, I would like to know what might have affected the change.
What I DO NOT want to discuss is whether this is an appropriate set of hardware or not (I plan to upgrade in future anyhow). Before everything was fine, but now somthing drastically changed, and I appreciate understanding the cause of it.
I would check your database size and try starting in safe mode to see if it settles down - if it does then you can start digging into non-standard add-ons to see if one of them is the culprit by systematically disabling them until you find the bad actor.
Database is at ~500MB. Shouldn’t be to heavy, right?!
Thanks for the advice for the safe mode. Just for my understanding: Basic function (e.g. controlling Zigbee devices via Zigbee2MQTT) are still working in safemode?
Thanks for the advice. Homeassistant has never been as fast as in save mode
Can I activate non-standard add-ons in the save mode or do just just advice to deactivate safe mode again and then deactivate non-standard add-ons in normal mode?
Safe mode is more of a diagnostic mode, I don’t think you can add anything to it like that (but I may be mistaken). I would just bounce between normal and safe as you make changes until you dial things in the way you need the to be.
Not sure this is relevant but just in case. I was using a card named collapsable-cards [sic], had 13 of them, and it worked fine. I added title cards to them and my UI started crawling. I emphasize that this problem isn’t directly with collapsable-cards, because it didn’t arise until I added title cards.
I’m now using conditional cards which are actually easier to style and operate, though they require many input_booleans, and my UI is very fast. If you have a lot of card types, perhaps try disabling some and see if the problem corrects. FWIW
Many thanks for the advice!
By “disabling” do you mean delete them from the dashboard or is there a way how to deactivate the card with the possibility to reactivate it later on?
Sorry for the delayed response. I guess you could comment the cards with a # but I would probably just excise them – I paste into a text file to make it easy to add back.