wifi smart home automation system with Manual switches using ESP8266 & Blynk Application

In this NodeMCU ESP8266 project, I have shown how to make a home automation system using NodeMCU and Blynk App. With this IoT project, you can control four home appliances from the smartphone and manual switches. If there is no WiFi available then you can control the relay module from manual push buttons.

With this smart home project, you can also monitor the real-time status of the relay module in the Blynk app. If WiFi is available the ESP8266 will automatically connect with the WiFi.

First update the Preferences –> Aditional boards Manager URLs: https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json

Then install the ESP8266 board from the Board manager or Click Here to download ESP8266 Board.

After that install the Blynk library. Click Here to download the Blynk library.

Code for Blynk Home Automation Project



















































After uploading the code, the blue LED connected with pin D0 should turn on as shown in the picture.

If the wifi is not available, the blue LED will turn off. Then you can control the relay module with push buttons.

If the internet comes back the NodeMCU will automatically connect with the WiFi and the blue LED will turn on

Now, connect 4 home appliances with relay module as per the above circuit.

Please take proper safety precaution while working with high voltage.

NodeMCU ESP8266 Home Automation System is now ready.

You can also control the home appliances manually from the push buttons. even if there is no internet sill you can use the push buttons to control the home appliances.

I hope you like this Smart house IoT projects idea with the ESP8266 and Blynk app.

Click Here for more such ESP8266 projects.

Please do share your feedback on this IoT project. Thank you for your time.

Post a Comment

0 Comments