CommentStreams:8cf54b09ac6edf0a0c9e99e61a0a6fd8

I would like to understand how the X708 achieves a proper shutdown before removing power. When I look at the python scripts it appears to just kill power after toggling GPIO 13, simulating a button press of > 3 seconds.

I am try to use the X708 on MotionEye OS which is a stripped down version of Raspbian and write my own scripts. I would like to understand how the X708 uses GPIO 5, 12, and 13 so that I can monitor GPIO 6 and gracefully power down after a number of minutes.

Do I turn 13 high for 3 seconds and then X708pwr.sh will see GPIO 5 trigger and do a graceful power down?