Skip to content

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

@johnokdk

Description

@johnokdk

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions