Can only turn on light and psu. Not off
johnokdk opened this issue · comments
johnokdk commented
I can suddenly only turn on light and psu. Not off. Also my hardware buttons has stopped working. I get this error in the octoprint.log. How do i fix it?
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_enclosure/init.py", line 934, in update_ui_outputs
val = GPIO.input(pin) if not output['active_low'] else (not GPIO.input(pin))
ValueError: The channel sent is invalid on a Raspberry Pi
It has worked for a very long time, and suddenly not. Maybe an update (python) broke it?
johnokdk commented
I fixed it with pressing the "Cleanup plugin data" under plugins and the reintering all the data again (Same values as it said before the reset). That seemed to fix it.