Power Outage detector

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
asuz
Normal user
Posts: 108
Joined: 31 Oct 2018, 18:22

Power Outage detector

#1 Post by asuz » 16 Jul 2019, 15:25

How can I monitor presence of the electricity at my wall socket? There is no need to monitoring voltage or current just presence of the electricity ? I already have ups or backup energy for if need sensing and reporting devices like internet connection. Should I use a relay or contactor that always plug to wall socket and report 1 state then if the electricity off it reports 0? Just need a safe way. Need advice.

User avatar
ThomasB
Normal user
Posts: 771
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Power Outage detector

#2 Post by ThomasB » 16 Jul 2019, 18:34

There is no need to monitoring voltage or current just presence of the electricity? {snip} Just need a safe way.
One safe way is to power the ESP device without UPS or backup battery. Have it send periodic heartbeat message using timer rule. When power is lost the heartbeat message stops and this condition can trigger your host controller to report/log/do-something/etc.

- Thomas

xury
Normal user
Posts: 44
Joined: 02 Apr 2018, 12:54

Re: Power Outage detector

#3 Post by xury » 18 Jul 2019, 14:45

You can use a optocupler connected to gpio.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 21 guests