i’m looking from some time for a reliable solution for a door sensor.
I’m using wemos D1 board and i’m interested in more info how to wake up from sleep the esp only when the door is opened not at a specific time interval.
I’m having pain now trying this solution https://www.instructables.com/id/ESP-01-Motion-Sensor-With-Deep-Sleep/ i replaced the PIR sensor with the door sensor … can anybody point me in a right direction pease?
Maybe some of you have a schematic or some info that could help me proceed further with my project ?
thanks in advance
Hello Teodor, have you tried this tutorial? https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/
It should do exactly what you are looking for…
Thanks for quick answer but your tutorial doesnt have deep sleep. My main question was how can i run a door sensor in deep sleep without timer. The ESP should wake up only on door open, thanks
Hello Teodor, you’re right. I wanted to send you this project instead: https://randomnerdtutorials.com/esp8266-wi-fi-button-diy-amazon-dash-button-clone/
Basically, instead of a pushbutton you could connect a Reed switch that restarts the ESP when it closes or opens the door. Then, after sending the request it goes to deep sleep.
thank you so much Rui, this is exactly what i need it and is easy to customise to my needs,