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

CPU Usage while polling and Temperature on Raspi Zero 2 #43

Open
MrFly72 opened this issue Nov 13, 2021 · 3 comments
Open

CPU Usage while polling and Temperature on Raspi Zero 2 #43

MrFly72 opened this issue Nov 13, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@MrFly72
Copy link
Contributor

MrFly72 commented Nov 13, 2021

Describe The Bug:

When using Govee, http shows the proces. Quite often as Top process.
I noticed, when I am running the Govee plug-in, that the temperature of the RaspiZero2 is about 6-8 degree Celsius higher then without the plug-in.
Maybe someone can have a look if polling is too often or maybe that the polling process it self consumes too much cpu-power? Looks like throttling the cpu down is not as effective when running the plug-in.

To Reproduce:

Activate plug-in for some time, look at the cpu temperature then disable it and look again at the cpu temperature

Expected behavior:

Would expect the plug-in to behave cpu friendly and m"bye let me configure now often to poll the devices.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version: 1.1.2
  • Homebridge Version: 1.3.6
  • Node.js Version: 16.13.0
  • NPM Version: 8.1.0
  • Operating System: Raspbian
@MrFly72 MrFly72 added the bug Something isn't working label Nov 13, 2021
@MrFly72
Copy link
Contributor Author

MrFly72 commented Nov 13, 2021

Did a debugging.
In 8:15 Minutes the 3 devices (one of them is not mine, wherever that is but I cannot exclude it from checks) have been check 143 times.

@MrFly72
Copy link
Contributor Author

MrFly72 commented Nov 14, 2021

Just checked again. Enabling Govee Plugin brings the RaspiZero2 pretty fast from 54 to 61 degree celsius (standard case).
Turning it off, brings it back to 54.

@cortes-mira
Copy link

Hey @MrFly72, just tried this on my RPi 4B and have the same results. I think I saw a file where you can state how many times the data is polled from the RPi. I'll post if I can find info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants