fmalekpour / OctoPrint-Gpioshutdown

12 stars 13 forks source link

Gpioshutdown not working when Plugin LED Strip Control runs #20

Open mcmusic2 opened 3 years ago

mcmusic2 commented 3 years ago

Hi, I have used the plugin "GPIO Shutdown" for a while, it did run well. Thanks alot for this useful plugin. Used Pins: Shutdown GPIO17, LED=GPIO27.

Now I have activated in addition the Octoprint Plugin LED Strip Control. Used Pins: Red Pin=16=GPIO23, White Pin = 12 = GPIO18. Green and blue pins=0, unused.

If I have both plugins activated, LED Strip Control works, GPIO Shutdown neither lits the LED nor shuts down when triggered with a "0" at the Shutdown pin.

I do not know which of the two plugins need a code correction.

It would be nice if the problem could be solved. Of course, I will run tests if necessary. If you suspect the error on the other side, I can add the issue there.

Greetings,
mcmusic2

mcmusic2 commented 3 years ago

Answering my own issue. I suspect the plugin "LED Strip Control" to be the cause, but I am not sure. It is archived now, no issues can be placed there. I have uninstalled it and replaced the function with the relatively new plugin "LightControls". With this, both functions work.

Greetings, mcmusic2