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

Home Assistant becomes unresponsive when using average sensor #222

Open
3 tasks done
Simsala91 opened this issue Feb 13, 2024 · 0 comments
Open
3 tasks done

Home Assistant becomes unresponsive when using average sensor #222

Simsala91 opened this issue Feb 13, 2024 · 0 comments

Comments

@Simsala91
Copy link

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

I've used the average sensor to determine the average of a few entities for a long period of time (a month). These entities update very regularly (~every 5 seconds) and after I configured the average sensors, Home Assistant has become very unresponsive. It seems like every time the entities update, the average sensor gets recalculated, pulling in data for ~100.000 changes per entity. Every time it does this, there is severe input lag in Home assistant. Even Zigbee devices have been reacting very poorly and were reacting fine after I disabled the sensors again.

Describe the solution you'd like

Make the calculation of the average sensors in a seperate, low priority thread if it isn't doing that already?

Add an option to change the update frequency for certain average sensors? I don't need the average sensor for data of a month to update every 5 seconds.

Describe alternatives you've considered

Implement this in my own way?

Additional context

Home assistant becoming almost unuseable while average sensor is active

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

1 participant