Chat freely about anything...

User avatar
By Landixus
#58831 Use 2 ESP Modules for Window contact (Low Power)

I have the idea to use 2 ESP8266 12E Modules to check the Status with a
NC/ NO Door Window Contact.

Both Modules are in deep sleep (current status window closed).

Now the window gets open, the 1 ESP start sending status (MQTT or similar), then go back to deep sleep.
Then Window gets closed, the 2 ESP start send status, and go back to deep sleep.

I think the ESP are so inexpensive, thats this solution the cost effective one?
I will Power with 3 Mignon (AA) Batteries and a low drop MCP <2µA
I hope for a battery lifetime > 1 year, because modules are most in deep sleep.

What do you think? Some ideas to solve this easier, or any programming ideas?
User avatar
By eduperez
#59001 Just my two cents:

* Rechargeable batteries only output 1.2v, so you can use three of them (use three AAA if you have space constraints) for a safe 3.6v, and forget about the MCP.

* I guess you already found this thread: viewtopic.php?f=11&t=4458

* If you manage to wake-up one ESP both from the "window is open" and "window is closed" events, please let me know; even if I could wake it on a "window is open" using a NC switch, it would be fantastic.