01-26-2022, 02:19 PM
I don't think you need the GPIO Button handler because the script is launched at startup from rc.local and it does its own monitoring of the specific GPIO pins.
Post some info
Post some info
Code:
ls -l /home/pi
cat /home/pi/shutdown-press-simple.py
cat /etc/rc.local