Request: Add button under 'Advanced' to re-setup the GPIO pins #396
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.