Page 1 of 1

Power Outage Detection using Power Control Expansion

Posted: Sun Oct 18, 2015 7:48 pm
by Dadof2boys
I need help coding for a power outage. I have our router on a UPS and have my RA on a UPS. What I would like to do is have the 12v power control expansion module plugged into a standard surge protector that is plugged into the wall. When the RA looses communication with the PCE then it would cause a notification to be sent to my email or phone through the notification app. Is there a way to do this? What about setting a flag if power is lost to the PCE?

Re: Power Outage Detection using Power Control Expansion

Posted: Sun Oct 18, 2015 8:08 pm
by lnevo
Look at the CheckPower function in my INO. The link is in my signature.