I'm doing custom programming along with a contact sensor through one of the relays on mine to detect a loss of power. It checks the relay state once a day in the early AM and also when the project loads at controller boot up. When it determines power has been lost because the really is now open, there is a 15 minute delay to make sure everything is booted and settled, a cancel command is sent, then a home command, then a sleep command.