Skip to content
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

Main Dashboard is too slow responding #77

Open
stefanoferrario opened this issue May 23, 2022 · 10 comments
Open

Main Dashboard is too slow responding #77

stefanoferrario opened this issue May 23, 2022 · 10 comments

Comments

@stefanoferrario
Copy link

Hi,

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

Anyone has the same problem?

@mindvisionro
Copy link

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

@jgosnell56
Copy link

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.

@stefanoferrario
Copy link
Author

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?

@jgosnell56
Copy link

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

@stefanoferrario
Copy link
Author

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?

@jgosnell56
Copy link

You will still see it in History dashboard.

@mindvisionro
Copy link

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

@shakin89
Copy link

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.

@maury77
Copy link

maury77 commented Jun 25, 2022

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?

@M4lmostoso
Copy link

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants