Wifi Smart Home Automation system with Manual Switches using NodeMCU ESP8266 & Blynk | IoT Projects
ฝัง
- เผยแพร่เมื่อ 23 พ.ย. 2020
- In this IoT project, I have shown how to make wifi smart home automation system with manual switches using NodeMCU ESP8266, Blynk, and relay module. With this internet of things project, you can control four home appliances from the Blynk app and manual switches with and without internet and you can also monitor real-time feedback in the Blynk App. So this is a very useful homemade smart home device that you can easily make with NodeMCU, Relay Module, Push Buttons.
For this ESP8266 home automation project, I have not used any custom design PCB. I have used the Blynk IoT applications to control the relay from the smartphone through WiFi. And instead of pushbuttons, you can also connect manual switches or touch sensors to control the home appliances.
Previous Videos on Blynk NodeMCU Project ideas:
• Home automation using ...
Download Code for this NodeMCU Smart home project from the following articles
iotcircuithub.com/nodemcu-esp...
Timestamps of this IoT based Home Automation project
01:56 Circuit of this NodeMCU project
02:06 How to configure the Blynk App
03:36 How to program NodeMCU with Arduino IDE
06:23 How to control Relay module with Blynk and manual switch
Required components for this Smart House System:
1. NodeMCU amzn.to/3fJA4EG
2. 4-channel Relay Module (5V) amzn.to/2BQ5Y3o
3. Push Buttons or Switches
4. Blynk App
During the tutorial video, I have explained this NodeMCU project with code and circuit diagram, so after watching this tutorial video you can easily make this DIY home automation project at home.
If you face any issues please let me know in the comment section.
#homeautomation #iotprojects
------------------------------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
Find out more such projects: easyelectronicsproject.com/
Find us on Facebook: / techstudycell
-------------------------------------------------------
Other smart home IoT projects:
Latest ESP32 projects playlist:
• ESP32 Projects
Home Automation using Arduino and WiFi module ESP01
• Home Automation using ...
Home Automation using Google Assistant, Blynk, IFTTT, NodeMCU
• Home Automation using ... - วิทยาศาสตร์และเทคโนโลยี
Please check recent video on NEW Blynk + ESP8266 + IR + Sensor: th-cam.com/video/UQ8hPqLkrac/w-d-xo.html
There is no option like COM 7
It's not uploading wt to do
bro 8 channel relay ke liye code bato ESP8266
The subject aside, the way you explain is very well articulated. I can easily say that you are in top 3 in explaining technique in home automation in the world. Earned my sub.
Thank you for the video, I have a question?
How do I setup a smart relay to a push button switch (door bell switch) so that i can switch it on using a phone app ?
I can say one thing, You'll gain a lot of subscribers. Just keep uploading this types of quality content. Btw, Can it remember the last state during blackout?
Thank you for such a good video. I had one question. Which simulator did u use to make the circuit diagram?
Hi and thank you very much for the video. I will subscribe. Could you please tell me if i'm doing the same setup as you did, it is also possible to control an rgb led strip with the same esp8266? there are enough pins or in this case i need to use esp32?
This is the new way to control our home appliances 👍and i think this the best way
Thanks for your exceptional good video, patience and the hard working behind all of these. Is it possible to make the AC Dimmer which runs both Blynk app by using slider button (or "+ve" & "-VE" buttons instead of slider ) and two physical touch sensor switches (say 4 pcs TTP223 or 1 PCS TTP 224 for controlling 4 steps ...etc. ) for manual Control (Increasing or decreasing the bulb intensity or fan speed ) , If so please make a video particularly in coding part, It is difficult to relating the physical two buttons with Blink slider in coding part.
It is more better to add 2 more button for controlling 2 ac loads (Just on and off ). Thanks
Nodemcu have more than 8 Gpio can I use it for control more than 4 relays.what is the maximum Gpio's can I use thank you
Can this also work with Google assistant using webhooks or are there complications?
HI Great video, Is there anyway to add a switch to the ESP8622 board to turn the output on/off, I have already set up the ESP8622 with WLED to control ambient lights, so yes i can use the WLED app but i would like to add a switch on the wall to turn them off without using the app on my phone, Thank you in advance
Good explain, I don't know about nod mcu and programming, but want to make it soon, I think the mannual swich is bell switch. I can't understand the diagram
Can you tell connection and program for single relay module
Thanks so much for the incomparable & helpful video...Sir, tech studycell must be among the awarded learning platform in the world, by God's grace it will become one of among 10 in the. I love this platform. If I should have the opportunity to support or contribute to your platform I will, because you deserve a wonderful kudos from the people or Engineering students...
thanks buddy for push switch option!
Welcome
Yes brother yahi chahiye tha
Thank you so much. What will be the code if I use EEPROM in this project. TIA
wow! I've been looking for like this tutorial, direct to the point and very accurate. thanks brother! 1 thumbs-up for you! 👍 and a heart ❤
You are Welcome
After power cut does it remember it's last relay state or does it start new please tell me
Hi... Which is the relay.. as 2 types are available
.
Sir, In Place of Bulb, Can I Use 5V DC Motor?
Can we use this for pwm pulse generation through Arduino uno
didn't even make this exact project but this was still helpful
Glad it helped
Well explained IoT Project... Keep it up.....
Thanks for sharing👍👍👍👍
You are welcome
Brother please tell me if main electricity gone after on the light or is the light on after electricity come back
Very good & useful project 😍😍💕💕💕💕
hello wonderfull project
but my 1 question how many switch connect in nodemcu (manual + blynk app)
please give me answer
Thank You
At which range of distance it will work? if we're not present in home n losed wifi connection then ?
anh là người chỉ dạy thật lòng nhất tui từng thấy,thực hành được 100%,chúc anh nhiều sức khỏe cảm ơn rất nhiều.
excellent project friend, I only loaded a query to an esp but it does not connect to the internet, and I do everything but it does not work.
can we turn onn ac from this
or any high load electric applinces
Helo! Greetings from Brazil! Thank you for your sharing! Great videos!
Sorry for my ignorance, but I have a question. May I use (for example) two buttons as a "push" instead "switch"?
I've modified only on Blynk, but I noticed when I press (and hold) the physical button, the Blynk (virtual) button keep blinking.
Excuse-me! English is not my first language...
Thanks a lot!
Regards, my friend!
Thanks. If you want to use switch instead of push button, then you have to modify the code. For reference you can check this video th-cam.com/video/Sx9akwBwK4g/w-d-xo.html
hello, I'm doing the esp32 project. I ran into a small problem, I would appreciate it if you could help. Please
sir can we add ir in case when their is no internet?
No need any arduino to programme the node mcu?
Sir, how to add voice control , IR control & display for the circuit.
Dear friend.Thank you so much for a good project, everything works perfectly.You can do the temperature control on the DS18B20 I would be very grateful.Thanks a lot
When we connect nodemcu to 5v supply there all lights are turning on firstly,and also controlling later what can I do
can we use DC battery to power the bulb instead of AC power supply ?
i wanted to automate my house with dimmer as well but i wanted atleast 8 relays so i tried to edit the code but then saw that you used random digital pins and as i am no professional i couldnt find out which pin to use to add more relays
How we can use mannual button instead of push button in this video code?
Is it possible to control the appliances if you are using a different internet connection?. Ex. the Arduino is connected to your house's internet while your phone is using the internet connection of your neighbor or even in the office. Hope you will notice this, Thank You!!! Great Video!
you are great keep going ** can I add multilabel wifi ssd to code with same function by duplicate it
What if any kid pressed the recommended switch for a long time ? Will it not be reset ?
Thank you bhaya for the video...🙏🙏
bhai plz make a video of all in one, like 4 light and fan also with speed slow & fast with blynk app..
u made me biggest fan of ur interesting videos
No it can't use as a regulator , it's signal to relay for on and off
Can we charge a mobile and show it in the school project
Bro your video is super and made my own home automation using your guidance but only one problem I face, I have done as you done this project but 1 relay in 4 channel starts to work abnormal. (e.g. it's turning on and off automatically without any inputs). Can you guide in this difficulty..Thanks in advance
Hey bro
Check the relay module led with its respective channel
If its not working maybe the problem is with your relay channel
And if the led is working properly
Then the relay must be damaged
simple & perfect!
Thanks
Does this work if it’s connected to Wi-Fi at my house and I’m 30km away ??
hi is the a way to incorporate this with esphome?
Sir how many relays can we connect in the nodemcu
Very good project. I have a similar project installed in my house, but I use a mega arduino and an Ethernet Shield W5100.
I would like the puso buttons to work when there is a lack of internet.
Would you have a solution for that?
Push button will work with & without internet.
Hi, I can't flash the sketch. BlynkSimpleEsp8266.h: No such file or directory
Nice project 👍
Is there no way to stop the reset on a power on ?. Because all the relays are on.
great tutorial can you make the same thing in home assistant platform
In the example code I got from blynk the physical button doesn't work without internet. Sometimes it works for a short period of time but with a slow response.
No sir it work every time I used in my house
Cool brother, need a 8 channel with feedback as a upgraded version of this
For 8 channel you have to use ESP32
@@TechStudyCell sure, can u make a video regarding this
@@TechStudyCell can't do 8 channel in esp 8266?
please reply sir
Second video from your channel that I'm watching and loving! Do you think it is possible to do this using a switch instead of a push button, to reuse the infrastructure of the house
Not possible.
@@mohitjaisingh8482 Watch the latest videos
@ I saw, not the best solution as the switch holds its position regardless of the status of the load
You're very good at this, no doubt. All I am saying is the push button solution appears better to me. 😁
How did you make the connections for push-button? Is it by connecting directly without jumper wire?
Push-buttons are connected across GND and GPIO pins. please refer to the circuit shared during the video.
Hello Sir
Need your help
Program uploaded successfully but device not getting configured for Blynk IoT app, please help us
Can you attach the links the library functions
i want to connect this setup with pzem 004T energy device..can you provide me for this circuit diagram..& necessary code for measurement power,volatge,amp with pzem004t with nodemcu & 4 channel relay board
It would be cool to see it expanded with MCP23017 to 8 buttons and 8 relays, or even more with additional MCP chip.
I will publish the ESP32 with 8-channel relay module in this week.
@@TechStudyCell That is good, but it is another thing than using expqnder chip which can be expanded to 128 GPIO if needed over just 2 wires. Pretty usefull. Think about it. ;)
What is the range of node mcu
I couldn’t get to set my esp8266 and esp32 running in my Arduino ide even after installing Python 2.7.3 and pyserial from adafruit. I have downloaded the drivers and installed the board in Arduino ide. The port is “com 28” and I think I used “nodemcu 1.0 module 12E” for esp8266 or there about! ( I am using CP2102 chip) The device manager shown that the hardware was properly installed and ready to use. If I try to open the serial monitor in Arduino it will never open, instead I will see “error com port 28 busy” If I upload code on the boards it pops out bunch of errors among which is “error opening serial port” or something like that.
I am frustrated, I need help please!
Instal a driver
Bro I don't know how to thanks you.my circuit works 🙏🙏🙏🙏❤️❤️❤️❤️ 1000000 thanks
Great 👍
I want to use with touch switch with the led showing that it is on and off..... Dont know how to adapt to that project
thank you friends, i can already, request the attiny85 program with ir sensor to turn on the relay ..
Tanks from indo 👍👍👍👍
Hi, I went through your video and tried to implement the same. Unfortunately I don't have a push button, so I just touched the two points and removed quickly like it works in a push button. Can you kindly help if I am missing something.
Did it work? Otherwise please refer to following video th-cam.com/video/6yeHGnpKo0k/w-d-xo.html
how can i use it with ttp223 capacitive touch switch
Nice vedio so much informative
I have a question If I turn off wifi and change the led state once .
Then it will updated on dashboard when I connect to wifi again?
For eg-
*Wifi on*
0,0,0,0
*wifi off*
0,0,1,1
Will this new state be shown on dashboard as I turn wifi ON
Great video, to the point video
Thanks
in which software simulate is circuit plz help me
But how to control light dimmer or fan speed control?
Super bro
my board is not showing "serial port COM7", there is only COM10, COM9, COM3, COM9. I have chosen the same board as you have shown.
Bro did you got COM7??
Please can you connect with datat base
Sir, in Data Stream
Int 1/255, it is coming sir, how?
how can i retrive the toggle status when power goes and comes back
How do I change old code to Blynk legacy code?
Brother blynk application is updated and we don't have same buttons and processes
can you make this code with inter ssid and password without hard code?
Hi, i just finished this project and everything works well. I want now to control my RGB led strip using the same setup, could you please help me? I have to control 4 switches and 1 RGB led strip. Thank you
Great. Will make video on this.
@@TechStudyCell Thank you very much. I can't wait to see how this can be done. I subscribed to your channel, great content.
well explained sir
Please give 8 relay code for live status and manual controller switch
How I'm manage different user with different esp with single app in home automation
Brother i can not be able to upload my code neither on esp 32 and esp8266
Sir I used your code for home automation, I am controlling 3 appliances and my esp8266 keeps disconnecting from the server. Then I need to reset the nodemcu manually. Please help me out. Thank you in advance.
If you are using 3 appliances the don't use SD3 pin. Check the WiFi credentials and try again
Touch sensor apart from Bhai push button Can we do it and can get its code, brother
By which wires do we have to connect the node mcu board , relay module and the push buttons?
Please refer to the circuit shared during the video
@@TechStudyCell sir i tried it out but the connections are not happening correctly
It is the same code if use 8 channel relay? or this code only for 4 channel relay?
To control 8 channel relay you have to use ESP32. I will cover that in upcoming videos.
After upload the code, the nodemcu wifi blue led not turning on although it already connected to wife
Sir what are the libraries need to download
It's not uploading for port com 8 or 9 as there is no option of com 7
Sir how to download blink library to this nodumcu
What name written for esp32s in sketch
Very Good we are really enjoying learning new project can learn us hot to add a touch sensor instead of pus button
ok
how you running that code.. may i know?
I really like your channel, I have a problem with pushbutton no.1 which is connected to the SD3 pin, this button doesn't work so relay 1 can only be controlled with the blynk application, how to fix it?
You can use D4 instead of SD3.
@@TechStudyCell thanks