Skip to content

Other plugins can force RPi.GPIO as the default crashing the app when using a button #17

@thomst08

Description

@thomst08

Using a different app that requires the RPi.GPIO library, this can cause the plugin to crash when on a later version of OctoPrint.

This happens because gpiozero will automatically choice between lgpio or RPi.GPIO depending on what's installed, if another plugin is running and using RPi.GPIO, it will use this library instead to avoid conflicts, however, this will cause the plugin to crash if using a button to control the light, this is because RPi.GPIO does not work correctly with that later versions of the Linux kernel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions