YouTube Video Use For Reference
Load the start_script.ino
to your esp01
download listen_for_shutdown.py
to your /home/pi/
folder
type in terminal
sudo crontab -e
add this to the end of crontab
@reboot /usr/bin/python3 /home/pi/listen_for_shutdown.py >/dev/null 2>&1