Smart Home with Google Assistant & Alexa using NodeMCU ESP8266 (Manual + Voice) | IoT Projects 2021

  Переглядів 1,170,045

Tech StudyCell

Tech StudyCell

3 роки тому

In this IoT projects, I have shown you how to make the smart home with Google Assistant & Alexa using NodeMCU ESP8266 to control relays with voice commands and manual switches. I have used all the free tools for this IoT-based home automation system.
$2 for 1-4 Layer PCBs, Get SMT Coupons: jlcpcb.com/RHS
Download PCB Gerber file for this NodeMCU IoT based home automation project
drive.google.com/uc?export=do...
During the tutorial video, I have covered the following topics:
00:22 Control appliances with Google Assistant and Alexa using NodeMCU
01:11 Control appliances manually with switches.
02:36 Required Components for this NodeMCU project.
02:49 Circuit diagram of NodeMCU home automation project.
04:07 How to create and configure Sinric Pro account.
05:37 Program NodeMCU with Arduino IDE
07:37 Setup Amazon Alexa App to add IoT devices.
08:41 Setup Google Home App to control NodeMCU with Google Assistant.
09:46 Control relays with voice using Google Assistant
Required Components for each room for this NodeMCU home automation
1. NodeMCU
2. 4-channel 5V SPDT Relay Module
3. Switches or Push Buttons
Amazon India Affiliate links:
NodeMCU : amzn.to/3fJA4EG
4-channel 5V Relay Module : amzn.to/2BQ5Y3o
Echo Dot Alexa(4th Gen) : amzn.to/3srCiPA
Amazon United States Affiliate links:
NodeMCU : amzn.to/2WoR2A2
4-channel 5V Relay Module : amzn.to/3r2HuJ4
Required Components for the NodeMCU control Relay Module PCB:
1. Relays 5v (SPDT) (4 no)
2. BC547 Transistors (4 no)
3. PC817 Optocuplors (4 no)
4. 510-ohm 0.25-watt Resistor (4 no) (R1 -- R4)
5. 1k 0.25-watt Resistors (5 no) (R5 -- R9)
6. LED 5-mm (5 no)
7. 1N4007 Diodes (4 no) (D1 -- D4)
8. Push Buttons (4 no)
9. Terminal Connectors
10. 5V DC supply
**Here I can control all 4 relays manually with switches. But as I have used the free Sinric Pro account, so I can control 3 devices with Google Assistant and Alexa. To control the fourth device, you have to purchase 1 device in Sinric Pro.
**If you use Switch, then the Switch-2 must be turned off during the booting process of NodeMCU. But for push-button, there is no such limitation.
**You don't need any Alexa devices like Echo Dot or Google Home Mini. You can just use Google Home App and Alexa App for this IoT project.
Download Code for this NodeMCU smart house automation project from the following article
iotcircuithub.com/smart-home-...
During the internet of things tutorial video, I have explained all the steps to make this NodeMCU ESP8266 smart home system with Sinric Pro to control the home appliances with and without internet. I have made this Google Assistant control smart home system without IFTTT. If the NodeMCU connected with WiFi then you can control the relays from anywhere in the world with Alexa and Google Assistant. And you can also monitor the real-time feedback in the Amazon Alexa and Google Home IoT applications. So with this smart house project, you can convert any appliance to IoT devices and control them through the internet.
So, now you can just ask Google Assistant, "Hey Google, turn off lights", or "Alexa, turn on light". that's it.
#internetofthings #homeautomation #googleassistant
-------------------------------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
Find out more such projects: iotcircuithub.com/
Facebook: / techstudycell
Instagram: / techstudycell
Telegram: t.me/techstudycell/
Twitter: / techstudycell
-------------------------------------------------------
Other useful Internet of things projects:
Latest NodeMCU projects playlist:
• NodeMCU Projects
Latest ESP32 projects playlist:
• ESP32 Projects
ESP32 Smart Home System with Amazon Alexa app & Manual Switches
• ESP32 Smart Home Syste...
Alexa Home Automation project using NodeMCU
• Alexa Home Automation ...

КОМЕНТАРІ: 840
@TechStudyCell
@TechStudyCell 2 роки тому
⚠️ This video took a long time to make if you would like to buy me a coffee to say thanks, link below: ☕ PayPal: paypal.me/sdaspay Patreon: www.patreon.com/techstudycell
@flowcommunity1
@flowcommunity1 2 роки тому
Just joined your Patreon monthly. Great stuff! I have some questions - let me know if your coffee comes with conversation as well!
@sathiyakumarthusan156
@sathiyakumarthusan156 2 роки тому
Can you make video for esp32 and 8 channel relay using sinric pro
@sujitdube9853
@sujitdube9853 2 роки тому
Sir plz send live photos of installation
@ozoveheibrahim7603
@ozoveheibrahim7603 2 роки тому
How can I talk to you in private?
@vinayakhate6622
@vinayakhate6622 Рік тому
I check out the pcb it was for 7 dollars but the shipping fee is 40 to 50 dollars, for how much did you bought the customized pcb(5 quantity) shown above
@govindsisodiya2589
@govindsisodiya2589 Рік тому
Excellent one.... suitable price range of needed components is best suited to one's budget 💯 Thanks for such creative projects..
@AbhishekBalsara
@AbhishekBalsara 2 роки тому
Great video👍 I had a question wrt the Channel Relay, is there a specific one required or any relay is fine. Since i have a relay module lying around but whenever i tried it doesn't work. Your thoughts.
@timlytle8254
@timlytle8254 Місяць тому
Dude! Thanks for turning on all the lights in my house less than 5 minutes into your video!😂
@cryzz0n
@cryzz0n 2 роки тому
To connect more lamps you need a hub or server, por example the program home assitant in raspberry pi, and the custom firmware tasmota, and devices with esp8266 like sonoff to control outputs for control infinite lamps
@gauravganguly953
@gauravganguly953 3 роки тому
Your videos are an awesome treat !!!❤️
@TechStudyCell
@TechStudyCell 3 роки тому
Thanks for the feedback
@Sandesh_Mishra
@Sandesh_Mishra 2 роки тому
Bhagwan se to dar mere bhai
@hobbycollector
@hobbycollector 2 роки тому
Works like a charm! Thanks for the video, it help me a lot!
@isaacbabu8634
@isaacbabu8634 9 місяців тому
Hlo
@HRTechnologyProR
@HRTechnologyProR 3 роки тому
Thank u brother for making this video . ❤
@TechStudyCell
@TechStudyCell 3 роки тому
You are welcome
@LearnWithPKO
@LearnWithPKO 7 місяців тому
Thank you for this project.
@TechStudyCell
@TechStudyCell 7 місяців тому
Our pleasure!
@nfachannel7928
@nfachannel7928 Рік тому
VERY GOOD TUTORIAL, THANK YOU FOR SHARING THE SCIENCE
@WawanSetiawan-xn3ke
@WawanSetiawan-xn3ke 8 місяців тому
Bagus banget semoga ilmunya berkah pa guru..salam.
@davisjohnson8677
@davisjohnson8677 2 роки тому
You are really a PRO bro 😎
@jawadmuzaffar913
@jawadmuzaffar913 11 місяців тому
I have esp 8266 Lolin v3 & i am facing problem in the video you use sd3 for switch 1 and in my esp8266 there is (S3) instead of SD3 what should I do?
@comsocchannel
@comsocchannel 11 місяців тому
thank you for sharing this video it was very educational and we are eager to try this at school
@omegamix7750
@omegamix7750 2 роки тому
شكرا لك على كل المجهودات المبذولة thanks a lot my friend
@hunaiddharani3308
@hunaiddharani3308 2 роки тому
Bro I need you help in this project
@rismiris4033
@rismiris4033 Рік тому
Hi from Czechia, thx for videos..... But this is exactly what I need as a time relay, to automatically turn on different channels at a set time? Can you recommend software for this? Thanks
@cyrobyte69
@cyrobyte69 2 роки тому
is square on pcb negative or positive . i have to connect led idk in which do i solder led
@varunaggarwal1510
@varunaggarwal1510 2 роки тому
Can you please share the source of circuit diagram i need to change relay dimensions to get pcb printed
@vidya7596
@vidya7596 2 роки тому
Thank you for making such awesome videos, if possible please help making a combined circuit with light and fan controller as it will be really helpful
@TechStudyCell
@TechStudyCell 2 роки тому
Noted.. Thanks
@technologyties3735
@technologyties3735 3 роки тому
Hi bro, can you trigger a audio file (USB) with sonar sensor using NodeMCU or ESP32... Reply will be solicited.
@sivaphysio8276
@sivaphysio8276 2 роки тому
Excellent work bro super pentastic , and congratulations bro
@TechStudyCell
@TechStudyCell 2 роки тому
Thanks
@tariq4846
@tariq4846 2 роки тому
Can we do project with relay, nodemcu and switches only and removing transistors, resistors, etc as it needs electronic knowledge
@prafuldate2881
@prafuldate2881 Рік тому
Awesome project Sir. I will try my level best to make it sucess.
@guangyang8596
@guangyang8596 Рік тому
Hi, the ESP8266 so near with relay didn't cause the EMI problem because of the AC power line?
@lalrinchhani7224
@lalrinchhani7224 2 роки тому
Sir, can use esp32 and 8relay module,8manual switches?
@mariamamart8086
@mariamamart8086 2 роки тому
Very good content !!!!!!! 👌🤙💪 👏👏👏👏👏👏
@bhanuchander5558
@bhanuchander5558 2 роки тому
HI @TechStudycell Hello sir, Thanks for the wonderful and useful project. am created the same project, but am facing an issue... is that, when where the power (electricity) resumes, all the loads or relays turns to ON. The node MCU not storing the last status memory. is there any solution for that.
@trizordgaming8383
@trizordgaming8383 4 місяці тому
I have 2 channel relay and i only want to add two switches what changes should i do in the code + in the circuit diagram
@hameedhameed7496
@hameedhameed7496 Рік тому
Hi Thanks for very good Does any of those module work with zigbee ?
@sithumabeygunawardana2896
@sithumabeygunawardana2896 2 роки тому
Best Home Automation video...... Keep it up!!
@TechStudyCell
@TechStudyCell 2 роки тому
Thanks
@Shubham-po2tp
@Shubham-po2tp 2 роки тому
@@TechStudyCell Hey can we control things independently
@aminulislam2123
@aminulislam2123 2 роки тому
@@TechStudyCell Can you please tell me the board dimension?
@entertainsremy6808
@entertainsremy6808 8 місяців тому
Please urgent assistance needed. What is the VCC used and where can I get it
@ahmadalhayashi1709
@ahmadalhayashi1709 Рік тому
Hi, I have a question, I need to used LCD so I need ports D1 and D2, but they already been used, so wha should i do.
@smithpwm
@smithpwm Рік тому
I like your video. I always want to setup home automation and now i can try. Thanks for sharing.
@TechStudyCell
@TechStudyCell Рік тому
Go for it!
@fro6350
@fro6350 3 роки тому
Thanks for amazing content
@isaacbabu8634
@isaacbabu8634 9 місяців тому
Does the circuit diagram work ?
@danyboy1477
@danyboy1477 3 роки тому
lol my google assistant understood your command it's kinda amazing considering it as a hard time with my own voice?
@ColourGarden
@ColourGarden Рік тому
How can I add AC voltage switches which can control lights manually without powering the NodeMCU and relay
@ArtisanPallet
@ArtisanPallet 3 роки тому
Very useful smart home system. Thanks for sharing
@shija1999
@shija1999 7 місяців тому
Hi Can you please send the BOM and pick and place files for SMT services to use this pcb
@noelmorona8724
@noelmorona8724 2 роки тому
Nice tutorial but is there any diagram for 8 to 16 lines or what is the max line that NODE MCU can handle? Thank you for the response
@RoboticLife722
@RoboticLife722 Рік тому
1 node Mcu can handle max 4 connection
@ranjankumarrath575
@ranjankumarrath575 3 роки тому
Much waited video
@IRONLDU
@IRONLDU Рік тому
thanks bro your project its amazing. i've got one question do you thinkt that its possible to replicate this project but using micropython? for the ESP8266?
@skq786
@skq786 2 роки тому
Hello sir, I'm looking for smart switch for curtain motor 24v dc , please can you help me make this circuit/module? Thanks Kind regards
@orenshumtsoe362
@orenshumtsoe362 Рік тому
Excellent project,keep it up. Sir please make fm radio using node mcu esp8266 ,your explanation is very clear, thank you in advance.
@TechStudyCell
@TechStudyCell Рік тому
Ok. Thanks
@SAMSUNGTABLET-uh9is
@SAMSUNGTABLET-uh9is Місяць тому
Buenos días, perdón por no saber inglés. Mí pregunta es ¿éste sistema funcionará con Alexa o con Google, sin tener el servicio de internet? , gracias
@user-um3hk8qt5f
@user-um3hk8qt5f 7 місяців тому
please help ,how to download the sinricproswitch library in arudino software
@marcing8672
@marcing8672 2 роки тому
Very good job !!! Everything works!!! Thanks
@gunal2669
@gunal2669 2 роки тому
Did you try this project ?
@sb-ov7856
@sb-ov7856 2 роки тому
can you tell me about software for designing PCB.? please.
@aslamrahim5935
@aslamrahim5935 3 роки тому
PCB the components you solder in which all positions like that is not clear .... So can you do a video on PCB soldering the components....🙏🙏
@shijilt
@shijilt 10 місяців тому
does it trigger the relay if there is no internet in a loop ? which happens to me while using Blynk, if modem is off, the relay will trigger every 1 minute.
@Hewagej
@Hewagej 3 місяці тому
Thank you so match for your video
@rushabhkulkarni363
@rushabhkulkarni363 2 роки тому
hey brother, thanks a lot for such a brief and awesome informative video, i have few questions though, will the sinric pro be running for long years or it may be closed. for how long we could use the app? what if he just shut downs itself? like app closed
@varunaggarwal1510
@varunaggarwal1510 2 роки тому
Ideally we dont need any third party link blynk or sinric. As you can host your own webserver to control things from your MCU
@ahmadgazali5023
@ahmadgazali5023 2 роки тому
@@varunaggarwal1510 How to do that? Where can I learn that?
@MuhammedArhaan
@MuhammedArhaan 7 місяців тому
how did you make the gerber file of this project ???
@sakshitayade2440
@sakshitayade2440 2 роки тому
Thank you so much sir. It really helps me.🙏
@TechStudyCell
@TechStudyCell 2 роки тому
Glad it helped
@ungraduateengineer4998
@ungraduateengineer4998 2 роки тому
op bro you really explain well
@sampathkumarspace9162
@sampathkumarspace9162 2 роки тому
Giving switching control with nodemcu had lot of mal function. Relay Automatically turns on or off if some switch turns on from other room which means does not has physically connection to nodemcu Junction. Sometime can't able to communicate with nodemcu needs to restart complete. It's really difficult to remove from Junction and reset. Note : you can't find these issues with demo session , you need to test real-time which means need to connect in home switch board or Junction and where you using regularly.
@rishitakumari6659
@rishitakumari6659 8 місяців тому
Isme sinricpro. h no such file or directory bata raha hai sir kya kare
@aboubakarbinmushtaq1447
@aboubakarbinmushtaq1447 Рік тому
in which software u r using to design Circuit diagram and then draw PCB..
@vijaypanchal5737
@vijaypanchal5737 2 роки тому
Do we connect 8 channel relay to esp12e board oor it can be controlled by switch, voice please tell me
@ajishkhantm6147
@ajishkhantm6147 2 роки тому
Is sinric pro doesn't have any limit or retention for the 3 device button Is it full free
@qbslayer7297
@qbslayer7297 3 роки тому
Sir plz making a video on 4 channel home that can be control with Blynk and google assistant and manual. THANKYOU
@tanesetriyuda237
@tanesetriyuda237 2 роки тому
Wow i like this project
@mdmarufahmed9323
@mdmarufahmed9323 2 роки тому
thanks a lot, you make my jam and jelly
@r.chestertanshanovash2163
@r.chestertanshanovash2163 4 місяці тому
Is it possible to get one number pcb which you used in this project. If it so please give the link for purchase with details.
@lusho96
@lusho96 2 роки тому
How many lights can I connect with the physical switches?
@aether4193
@aether4193 4 місяці тому
Sir can you please tell me where did you upload that code during that upload section
@getthegeet
@getthegeet Рік тому
With your program cab I connect this to smarthings app?
@tylermcnally8232
@tylermcnally8232 2 роки тому
Yea cool but power it from the same circuit it controls or it's less waste of batteries.
@dishendra.
@dishendra. Рік тому
How to tackle back emf issue with connecting inductive loads like ceiling fan
@vctoons
@vctoons 3 роки тому
How to make voice automation with esp32 works on Google without any 3rd party app or website like not using IFTT AND SINRIC
@sinatajik8887
@sinatajik8887 2 роки тому
thank you ♥️♥️♥️♥️♥️
@lakshminitc
@lakshminitc 3 роки тому
you're a lifesaver!!!!!
@gungunmaurya7957
@gungunmaurya7957 3 роки тому
Sir it is the perfect video for home automation till now with Google and Alexa both but fan speed is missing somewhere pls try to make it , any how I liked this video very much
@TechStudyCell
@TechStudyCell 3 роки тому
Thanks. Noted. But it will take time.
@sidhuhari5363
@sidhuhari5363 2 роки тому
Hello sir ..I need ur help .. my program is problem esptool.fatalerror failed to connect to esp8266 timed out waiting for packet header
@electronic7979
@electronic7979 3 роки тому
👏👏👏👏
@ikehsamuelifeanyi4925
@ikehsamuelifeanyi4925 Рік тому
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!
@melam_rahul
@melam_rahul Рік тому
Sir the manual switches are work when there is no power for the system??🤔🤔
@user-mf7hp2mr2j
@user-mf7hp2mr2j 7 місяців тому
What if I use 12 v relay module
@HarshGupta-lc4tg
@HarshGupta-lc4tg 7 місяців тому
In how much amount, this project get ready?
@sinatajik8887
@sinatajik8887 2 роки тому
thank you bro ♥️♥️♥️♥️
@entertainsremy6808
@entertainsremy6808 6 місяців тому
Please I really need help with this connection my presentation is on tuesday... I found out that after connecting everything all components read well except the diodes, it's like it's shorted. It reads in both directions when connected to the PCB and hence the relays don't power when plugged into 5v supply. My presentation is on Tuesday please I need help
@PINOYTECHMARLON
@PINOYTECHMARLON 3 роки тому
Thanks for amazing content sir
@TechStudyCell
@TechStudyCell 3 роки тому
You are welcome
@PINOYTECHMARLON
@PINOYTECHMARLON 3 роки тому
SIR I TRY YOUR CODE BUT WHEN I USE TURN ON IN GOOGLE HOME OR ALEXA , WHEN I COMMAND LIGHTS OFF THE LED BECOME ON IT REVERSE ,AS OF NOW I DONT USE SWITCH
@prajitkumar1745
@prajitkumar1745 Рік тому
Hello, How do I integrate the library into the code? (when i type "", I can see that on your screen it changes to an orange colour font...but for me it doesn't...What do I do?
@venug2617
@venug2617 2 роки тому
Excellent........
@firstworldpilipinas
@firstworldpilipinas 6 місяців тому
can i use relay for my water motor pump?
@Pendu_music_2.0
@Pendu_music_2.0 10 місяців тому
Bro I have esp8266 but it is cp2102 and have not 5v pin it have 3v pin can it work
@mohamedrebouj6508
@mohamedrebouj6508 2 роки тому
Very very impressive sir Thanx from Morocco
@walou9952
@walou9952 7 днів тому
khoya wach khdem lik mzyan?? khani n9dm projet ista
@02hikari23
@02hikari23 3 місяці тому
Bro can the rellay withstand the power of a regular home water motor
@djzatka
@djzatka Рік тому
Can we use it on 440 volt, 3 phase motor?
@maniisshgonela3944
@maniisshgonela3944 2 роки тому
Hello mate, I am very well impressed with your hands on experiment. Is there any clear document regarding this project? which helps us for Practical
@diksha4613
@diksha4613 Місяць тому
bro yeh project work Kiya ki nhi tumhara
@12rai18
@12rai18 2 роки тому
Nice video sir Can control power supply switch also
@sivakumar.j7382
@sivakumar.j7382 2 роки тому
We can insert old phone charger pin for program in node mcu ah bro pls tell pls respond bro
@ronaldjoseph5023
@ronaldjoseph5023 2 роки тому
Please say me bro how to connect the lines to the lamps bro. I don't know about basic wirings knowledge
@yowisbenid6202
@yowisbenid6202 Рік тому
That is regular AC switch or no ?
@Gr8beast
@Gr8beast Рік тому
hey, in my case the alexa found the devices but the commands didnt execute !, it says devie un responsive and even in the serial monitor which i set the bound rate to 9600 i get garbage data but when i set it to 115200 i get this wdt reset load 0x4010f000, len 3460, room 16 tail 4 chksum 0xcc load 0x3fff20b8, len 40, room 4 tail 4 chksum 0xc9 csum 0xc9 v000661e0 ~ld
@dilwarhossain5237
@dilwarhossain5237 Рік тому
Thanks
@nightwing8164
@nightwing8164 3 роки тому
Great tutorial bro, Can you make more advanced tutorial using sinric pro ? Something like blinds, sensors, send ir codes etc.
@TechStudyCell
@TechStudyCell 3 роки тому
Noted. Thanks
@yogendrajamsariya1193
@yogendrajamsariya1193 3 роки тому
Still waiting for fan Speed control ❤️
@nightwing8164
@nightwing8164 3 роки тому
@@yogendrajamsariya1193 I believe you are using sinric pro right ? Go to examples there's a fan example test it.
@nightwing8164
@nightwing8164 3 роки тому
@@yogendrajamsariya1193 I'm too busy these days, just give me some time and I will give you the best solution for your problem bro.
@yogendrajamsariya1193
@yogendrajamsariya1193 3 роки тому
@@nightwing8164 😉 I am waiting bro ,
@jonathwyllams
@jonathwyllams Рік тому
If you order to turn on, and It alread on, what its back? Turn off, turn on(mean do nothing) or answer "its on"?
@michaelrotter5143
@michaelrotter5143 11 місяців тому
Hi mate. Greetings from Germany. Thanks for doing this video 👍👍 I have a question regarding to your project: is it possible to turn them on/off while I am at work?
@vidux9668
@vidux9668 6 місяців тому
yes since this is linked to google or alexa you can control it from anywhere in the world as long as your circuit is connected to wifi
@letmetellsomething8297
@letmetellsomething8297 2 роки тому
What modification I want to made with the coding if I didn't uses the switches
Home Automation 32CH Distribution Board DIY | Smart IOT Project 2023!
17:33
15 Brilliant IoT Projects for Beginners!
9:25
ToP Projects Compilation
Переглядів 753 тис.
I Tried Building the PERFECT Smart Home: What I Learned (Mistakes Included)
14:51
Arduino To ESP32: How to Get Started!
9:26
Robonyx
Переглядів 137 тис.
Photo Changing Replace And Edit Backgrounds 65mn With These 10 Tips
0:53
Irfan AN Tech
Переглядів 260 тис.
Как открыть дверь в Jaecoo J8? Удобно?🤔😊
0:27
Суворкин Сергей
Переглядів 913 тис.
''Бесплатные умные'' домофоны для глупых людей. За чей счет банкет?
12:48
Вадим Шегалов.Оккультные игры элиты
Переглядів 28 тис.
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 485 тис.