Request: Add button under 'Advanced' to re-setup the GPIO pins #396

Open
opened 2021-02-12 03:58:10 +00:00 by RFBomb · 0 comments
RFBomb commented 2021-02-12 03:58:10 +00:00 (Migrated from github.com)

Is your feature request related to a problem? Please describe.
GPIO pins can be cleared, and this comes with the warning that it may break other plugins. Unfortunately, it breaks this one too.

Describe the solution you'd like
Add a button below the 'Clear GPIO' button that triggers setting up all the defined GPIO for this plugin.

Describe alternatives you've considered
only alternative is restarting the server, or modifying every gpio that was set up.

Additional context
I found myself fighting an issue where an incorrectly assigned pin # caused the setup routine to exit unexpected without warning. (Was using Pin 14 0v on a pi4 instead of pin 13). Once it went to configure pin 14, the script broke and aborted, making no pins configured.

**Is your feature request related to a problem? Please describe.** GPIO pins can be cleared, and this comes with the warning that it may break other plugins. Unfortunately, it breaks this one too. **Describe the solution you'd like** Add a button below the 'Clear GPIO' button that triggers setting up all the defined GPIO for this plugin. **Describe alternatives you've considered** only alternative is restarting the server, or modifying every gpio that was set up. **Additional context** I found myself fighting an issue where an incorrectly assigned pin # caused the setup routine to exit unexpected without warning. (Was using Pin 14 0v on a pi4 instead of pin 13). Once it went to configure pin 14, the script broke and aborted, making no pins configured.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#396