Skip to content
thatguy-za edited this page Sep 24, 2022 · 3 revisions

A basic python script that lets you use physical buttons for power and restart with an LED indicator.

It was built and tested on a Raspberry Pi 3B+.

To run this script at startup, add the following line to the end of your crontab by running crontab -e:

@reboot python /home/pi/controller.py &

Clone this wiki locally