sahilchaddha / homebridge-magichome-platform

Homebridge Plugin for MagicHome LED Strips with Preset Scene Automation Support (Cycle Color/Fade/Strobe)
MIT License
47 stars 12 forks source link

CPU usage #33

Open ghost opened 4 years ago

ghost commented 4 years ago

I have random cpu usage hovering around 25% and sometimes shows up multiple times @ 25 each. I have to restart homebridge or kill the task/process.

ghost commented 4 years ago

The command name in task manager starts with python then has the path to flux_LED.py with the ip of the controller. I like the functionality of this plugin but id rather have a maintenance-free homebridge instance.

janwiesemann commented 3 years ago

Over a year later and I've got the same problem. ps -aux reports

100998   3637836 91.2  0.1  18420 10272 ?        R    20:55  59:57 python /usr/lib/node_modules/homebridge-magichome-platform/src/flux_led.py *.*.*.254 -i
janwiesemann commented 3 years ago

This plugin seams to be based around flux_led. you can find this project at https://github.com/Danielhiversen/flux_led. I've created an issue in this project. https://github.com/Danielhiversen/flux_led/issues/81

valentinvarbanov commented 2 years ago

@janwiesemann I experienced the same issue and created a safeguard to protect from the flux_led failing. You may check #13 .