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 usage on RPi4 #3

Open
ubuntu748 opened this issue Dec 13, 2021 · 0 comments
Open

High CPU usage on RPi4 #3

ubuntu748 opened this issue Dec 13, 2021 · 0 comments

Comments

@ubuntu748
Copy link

ubuntu748 commented Dec 13, 2021

While using this plugin on RPi4, I noticed that the CPU was very high ~55%
Checking the logs showed a heartbeat of 1 second, while the comments in plugin.py said "# Simple heartbeat with a 10 secs interval". Changing the heartbeat to 10 seconds reduced the CPU to ~20%
Was this a typo in the value or changed for a reason?

Setting this to 60 seems to have no effect on the system and reduces the CPU usage to <1

Also in the description "pip3 install PyP100" does not work on an RPi as the default install path is not in the python $PATH.

I used pip3 install PyP100 --target <INSTALL_DIR>/plugins/Domoticz-Tapo
Where default INSTALL_DIR is /home/pi/domoticz/

Also confirmed working with Tapo L510 smart bulb (No dimming just on/off)

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