I appreciate this is a vague problem, with lots of similar past questions in the forum. I’ve searched, tried lots of suggestions and still not been able to solve this, so thought I’d post for help…
Basically the problem is that my front end (both web and Android app) has become progressively slower and slower, but also quite inconsistent. Clicking between pages on a dashboard or even sometimes in settings/config can take 10-20 seconds, but at other times it’s very fast. Using devices (eg switching a scene on) in Lovelace also sometimes takes 10-20 seconds. Rebooting sometimes seems to help but again, it’s inconsistent, and it’s slower far more often than it’s not. I had a low-spec Amazon Fire tablet where the slowdown really first became noticeable, but it’s also now noticeable on a current-gen smartphone using the Android app, and even on the direct web front end on a PC.
Other than keeping things updated, I’ve not made any significant changes in probably a year. I do have quite a busy setup with multiple addons and integrations, around 20-30 Zigbee devices via a ConBee2 and deCONZ, and at least 50 Zwave devices via an Aeotec stick and Zwave JS. I also run 6 Unifi Protect cameras with low res RTSP streams on one of my Lovelace pages. All of this used to run quite happily, and I could interact with Lovelace fairly speedily on any of the devices I used.
I run HAOS on an Intel NUC, with fairly decent specs: it’s a 10th gen i3 with 8GB RAM and a 120GB M2 SSD. It has a wired connection. Processor and RAM utilisation stay low; processor usually hovers around 6-8%.
Versions:
Home Assistant 2023.1.2
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230104.0 - latest
I run MariaDB, recorder does keep a lot but my DB stays around about a gig and has a commit interval of 30.
I’m not sure what to look for in my logs, and although there are usually a fair few errors, I can’t see anything that sounds like it could be causing the slowdown.
What else can I look at to try and troubleshoot this? Any tips or ideas much appreciated!