jackw01 / led-control

Advanced WS2812/SK6812 RGB/RGBW LED controller with on-the-fly Python animation programming, web code editor/control interface, 1D, 2D, and 3D display support, and E1.31 sACN support
https://jackw01.github.io/led-control/
MIT License
162 stars 35 forks source link

ledcontrol service needs manual restart after klipper restarts #40

Open drelich opened 2 years ago

drelich commented 2 years ago

Hi,

I'm in a process of setting up my corexy printer running on Klipper. Love your 'plugin' that lets me control the Neopixel LEDs via RPi GPIO. I do have one small problem though: every time I do changes to printer.cfg, it restarts Klipper, at which point the ledcontrol service is not responding and needs to be manually restarted via terminal.

Probably just missing something but is there a way to automatically recover the ledcontrol service upon Klipper restart? This would also help with turning off/on the printer. I don't turn off the RPi itself so again - printer starts up, Klipper starts up but the ledcontrol service is not responding.

Thanks.