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

High CPU Load #384

Closed
henfri opened this issue May 19, 2024 · 1 comment
Closed

High CPU Load #384

henfri opened this issue May 19, 2024 · 1 comment

Comments

@henfri
Copy link

henfri commented May 19, 2024

Version of the custom_component

1.1.6

Configuration

all default

Debug log

I have created a profile with the profiler addon of home assistant. I can provide that

This integration - and also the official one , which I checked as a reference - use almost 50% of the CPU time of HomeAssistant and the CPU load of the System increases quite a bit when activating it
chrome_C6MJz6edL1

This seems not justified and it would be great if you could check if this can be improved.

Greetings,
Hendrik

@ekutner
Copy link
Owner

ekutner commented Jun 8, 2024

The screenshot refers to the built-in HC integration and in there to sseclient, which is a python library that supports SSE. I'm using the same library but on my machine I only see about 10% CPU usage in total, so didn't even try to profile.
If you're still having this issue please uninstall the built in integration and upload a clean profile log file. Also upload a screenshot of CPU usage from the Settings->System->Hardware screen in HA. That said, considering that library has not been updated since 2020 I doubt there will be anything I can do about it.

@ekutner ekutner closed this as completed Jul 10, 2024
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

2 participants