Hey guys - I posted a Node-RED solution for shutting down and restarting the hub in case of power outages (Shutdown and restart Hub in case of power outage (Node-red solution) - LONG READ).
Thought I would link it here in case anyone wanted to take a look.