Can only turn on light and psu. Not off #490

Open
opened 2022-09-19 13:17:59 +01:00 by johnokdk · 1 comment
johnokdk commented 2022-09-19 13:17:59 +01:00 (Migrated from github.com)

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?

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 2022-09-22 13:13:49 +01:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#490