Sensors with Push notification is always fun. In this article we will Connect a door sensor to wifi using ESP8266, so that, we can send push notification to our mobile, when somebody opens or close the door. Bellow will be the flow of our project.
Door sensor——–> Node MCU—– > Our Server Side Code—– > instapush——> android application
Let’s start one by one.
Door Sensor:
Inside a door sensor, there are reed switch, which make a close connection when somebody place a magnet near to it.