kloggy/HA-Irrigation-Version2

Main Dashboard is too slow responding

Opened this issue · 10 comments

Hi,

I have installed all components and configured my smart irrigation but the Main Dashboard is very slow responding.

Anyone has the same problem?

Hi, yes, I have the same problem with an 8gb Raspberry Pi4

My dashboard was also a little slow to initially populate on a VM but it seems to have sped up dramatically since I moved away from the HA internal database for the recorder (historical data/statistics) and now use an external MySQL db. Not sure why that would really matter since the Irrigation configuration only needs historical data from your zone switches.
Anyways, may be worth a shot if you have the ability to setup an external db and point HA to it.

My dashboard was also a little slow to initially populate on a VM but it seems to have sped up dramatically since I moved away from the HA internal database for the recorder (historical data/statistics) and now use an external MySQL db. Not sure why that would really matter since the Irrigation configuration only needs historical data from your zone switches.
Anyways, may be worth a shot if you have the ability to setup an external db and point HA to it.

Thank you! How did you setup your external database?

Thank you! How did you setup your external database?

I used this video as a reference, but I did not install anything via "Add-Ons" within HASS. I spun up containers for MySQL and PHPmyAdmin on my UnRaid server and then pointed Recorder to that IP and db name.

https://www.youtube.com/watch?v=A-52iT43FQs

Thanks!
In this way I have to use Grafana or similar to show historical datas or I will see all data in History dashboard as now?

You will still see it in History dashboard.

I already use mysql but it still works quite hard, but only this integration goes slowly

I have the same problem too, rpi4 4 gb ram, the interface is so slow....
i don't think it's related to the database. from my laptop with chrome the speed is quite acceptable, from the mobile app it takes between 1 or 2 minute to respond.
I think it's related to some javascript code.

the problem is also for me on mobile device the problem seems complex js in the page

would there be the possibility in a future release to create customized views?

It seems that main issue is related to the conditional cards of the item_cycle_zone_duration_line.yaml, in particular the "zone day buttons".