So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By jhumphr
#63689 I have a door that can swivel 180 degrees, 0 degrees is open, 90 is closed, 180 is open the other way. I would like to monitor the state of the door with an esp, probably the esp12e, but I want to know what you guys think. I was thinking three different reed switches, one on each side of the door to detect each open state, and one on top to detect when closed. The goal is to make the reed switches wake the esp from deep sleep and then the esp can read which reed switch is active. Is this a good way to approach this?