Hi.
I have a wish that i can shut down RS by pressing a hardware switch, and not have to reach RS by network. I read that there is gpio`s that can be adressed to perform this task.
BUT, im not a coder!
Can someone here help with a solution, i will be greatfull.
Regards
Lasse
1 Like
Hello Lasse,
I have looked around the internet, and it seems that you’ll need a bit of a mix between hardware and software.
Probably, the most straightforward guide is this one: Adding Power Switch on Raspberry Pi
Followed by this other one: Raspberry Pi Safe Reboot and Shutdown Button - SparkFun Learn
Other resources can be found here too:
- https://www.instructables.com/Simple-Raspberry-Pi-Shutdown-Button/
- Raspberry Pi Smart Power Button: A DIY Solution for Raspberry Pi Up to Model 4 | Elektor Magazine
- How to Add a Power Button to Your Raspberry Pi – Howchoo
As a reminder, some of those guides indicate pins on the Pi board that are actually occupied (our GPIO reference can be found here) by our Shake hat board. You’ll have to see if you can adapt what the guides describe to our Shake pin configuration.
Hope this can be of help!