[Feature request] Configurable delay interval on GPIO inputs #374

Open
opened 2020-11-28 15:33:43 +00:00 by numo68 · 2 comments
numo68 commented 2020-11-28 15:33:43 +00:00 (Migrated from github.com)

I am building a box with some added hardware where I want to start and stop the raspberry using a button. I want to use the same button to switch the hardware on and off; to protect against accidental shutdowns I would however like to require the user to hold it for at least a second.

There is a GPIO shutdown plugin where this can be parametrized, I however feel that this might be actually a common request in the scenarios the enclosure plugin is used for and maybe it would be nice to add the possibility to make the debounce interval configurable instead of the fixed one.

Many thanks

I am building a box with some added hardware where I want to start and stop the raspberry using a button. I want to use the same button to switch the hardware on and off; to protect against accidental shutdowns I would however like to require the user to hold it for at least a second. There is a GPIO shutdown plugin where this can be parametrized, I however feel that this might be actually a common request in the scenarios the enclosure plugin is used for and maybe it would be nice to add the possibility to make the debounce interval configurable instead of the fixed one. Many thanks
vitormhenrique commented 2021-01-11 06:21:00 +00:00 (Migrated from github.com)

could you send me a link for the plugin that you mentioned?

could you send me a link for the plugin that you mentioned?
numo68 commented 2021-01-11 16:01:35 +00:00 (Migrated from github.com)
https://plugins.octoprint.org/plugins/GPIOShutdown/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#374