Power Outage Detection using Power Control Expansion

Do you have a question on how to do something.
Ask in here.
Post Reply
Dadof2boys
Posts: 11
Joined: Sat Oct 10, 2015 7:46 am

Power Outage Detection using Power Control Expansion

Post 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?
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Power Outage Detection using Power Control Expansion

Post by lnevo »

Look at the CheckPower function in my INO. The link is in my signature.
Post Reply