Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By zayigo
#62247 Hi guys!

I'm trying to use my Wemos d1 mini to send me a push notification on my phone every time the postaman deliver something in my mail box. I found this project http://www.whatimade.today/esp-8266-mai ... and-blynk/ but I think the explanation is a little bit messy.

I would like to use a microswitch to detect when the lid of the mail box is open, if it is, the nodemcu would wake up, connect to the wifi network, send the data including the battery level to Adafruit IO and enter a sleep/shutdown state because there could be a big parcel holding the lid open and I don't want to drain the battery if this happens.

Can someone help me figure out a way to make it work?

Thanks :D