billmania / roboquest_core

The backend functionality for the RoboQuest project
1 stars 0 forks source link

Monitor the HAT shutdown pin #58

Closed billmania closed 10 months ago

billmania commented 10 months ago

updater.py v11 monitors the HAT shutdown pin. When that pin changes state, a clean shutdown is initiated and completed before the HAT cuts power to the RaspPi.

Tested by connecting the browser to the RQ UI, clicking on various buttons, and then depressing the HAT power button. As soon as the first progress bar is complete, the shutdown begins. Log entries are added to /opt/updater/updater.log.

https://github.com/billmania/roboquest_core/issues/53