you can also use the gpio button plugin and then use gpio pin 3.
that way you can shut down the raspberry pi and start it up again with the same button.
I don’t know if it will work with a digi one on top.
IIRC Volumio currently uses systemd version 215. According to this readme the “gpio-shutdown” overlay additionally needs a udev rule if systemd version is older than 225:
I gave that plugin a try. Shutdown works on GPIO pin 3 but not with any of the other pins I tried.
Also odd, I thought i needed to connect the selected pin (GPIO 3) to ground in order to trigger the shutdown . Here I just need to touch the pin with a piece of metal and it shutdowns. Is this correct?
you need a Push momentory button, one on gpio 3 (pin number 5) and the other on ground (on pin number 6, not gpio) which is normally opposite.
and indeed when your gpio 3 directly makes a short connection to the ground (for example a small copper cable) then the raspberry pi will indeed shut down, a mommentory push button does exactly the same.
Be careful with this because before you know it you accidentally short circuit.