One push-button for on/off

Good evening everyone. I would like to install a pushbutton that has two positions to be able to switch on or off my raspberry. There are three pins: +, -, and for the integrated led. I saw tutorial to either turn on or turn off the house raspberry nothing for these two actions with a single button. I may have to play with the + 3.3v. Anyone would have an idea? :slight_smile: thank you in advance.

Please refer to this for relevant discussion and solutions.
On the SW side, GPIO-button plugin does the trick: another lighter solution will come soon, after next Volumio update.

Hy macmpi
Thanks for your Response :slight_smile: