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

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 เม.ย. 2021
  • 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 ปีที่แล้ว +34

    ⚠️ 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 ปีที่แล้ว +1

      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..

  • @hobbycollector
    @hobbycollector 2 ปีที่แล้ว +2

    Works like a charm! Thanks for the video, it help me a lot!

  • @cryzz0n
    @cryzz0n 2 ปีที่แล้ว +1

    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

  • @timlytle8254
    @timlytle8254 หลายเดือนก่อน +1

    Dude! Thanks for turning on all the lights in my house less than 5 minutes into your video!😂

  • @HRTechnologyProR
    @HRTechnologyProR 3 ปีที่แล้ว +8

    Thank u brother for making this video . ❤

  • @gauravganguly953
    @gauravganguly953 3 ปีที่แล้ว +5

    Your videos are an awesome treat !!!❤️

  • @AbhishekBalsara
    @AbhishekBalsara 2 ปีที่แล้ว +3

    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.

  • @nfachannel7928
    @nfachannel7928 ปีที่แล้ว

    VERY GOOD TUTORIAL, THANK YOU FOR SHARING THE SCIENCE

  • @comsocchannel
    @comsocchannel 11 หลายเดือนก่อน

    thank you for sharing this video it was very educational and we are eager to try this at school

  • @davisjohnson8677
    @davisjohnson8677 2 ปีที่แล้ว +1

    You are really a PRO bro 😎

  • @omegamix7750
    @omegamix7750 2 ปีที่แล้ว +1

    شكرا لك على كل المجهودات المبذولة thanks a lot my friend

  • @sakshitayade2440
    @sakshitayade2440 2 ปีที่แล้ว +1

    Thank you so much sir. It really helps me.🙏

  • @varunaggarwal1510
    @varunaggarwal1510 2 ปีที่แล้ว +1

    Can you please share the source of circuit diagram i need to change relay dimensions to get pcb printed

  • @cyrobyte69
    @cyrobyte69 2 ปีที่แล้ว

    is square on pcb negative or positive . i have to connect led idk in which do i solder led

  • @prafuldate2881
    @prafuldate2881 ปีที่แล้ว

    Awesome project Sir. I will try my level best to make it sucess.

  • @smithpwm
    @smithpwm ปีที่แล้ว

    I like your video. I always want to setup home automation and now i can try. Thanks for sharing.

  • @lalrinchhani7224
    @lalrinchhani7224 2 ปีที่แล้ว +1

    Sir, can use esp32 and 8relay module,8manual switches?

  • @technologyties3735
    @technologyties3735 3 ปีที่แล้ว +1

    Hi bro, can you trigger a audio file (USB) with sonar sensor using NodeMCU or ESP32... Reply will be solicited.

  • @sivaphysio8276
    @sivaphysio8276 2 ปีที่แล้ว +2

    Excellent work bro super pentastic , and congratulations bro

  • @tariq4846
    @tariq4846 2 ปีที่แล้ว

    Can we do project with relay, nodemcu and switches only and removing transistors, resistors, etc as it needs electronic knowledge

  • @entertainsremy6808
    @entertainsremy6808 8 หลายเดือนก่อน

    Please urgent assistance needed.
    What is the VCC used and where can I get it

  • @fro6350
    @fro6350 3 ปีที่แล้ว

    Thanks for amazing content

  • @noelmorona8724
    @noelmorona8724 2 ปีที่แล้ว +6

    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

  • @shija1999
    @shija1999 7 หลายเดือนก่อน

    Hi
    Can you please send the BOM and pick and place files for SMT services to use this pcb

  • @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

  • @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.

  • @vidya7596
    @vidya7596 2 ปีที่แล้ว +8

    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

  • @ArtisanPallet
    @ArtisanPallet 3 ปีที่แล้ว

    Very useful smart home system. Thanks for sharing

  • @danyboy1477
    @danyboy1477 3 ปีที่แล้ว

    lol my google assistant understood your command it's kinda amazing considering it as a hard time with my own voice?

  • @marcing8672
    @marcing8672 2 ปีที่แล้ว

    Very good job !!!
    Everything works!!!
    Thanks

    • @gunal2669
      @gunal2669 2 ปีที่แล้ว +1

      Did you try this project ?

  • @mariamamart8086
    @mariamamart8086 2 ปีที่แล้ว

    Very good content !!!!!!!
    👌🤙💪
    👏👏👏👏👏👏

  • @isaacbabu8634
    @isaacbabu8634 9 หลายเดือนก่อน

    Does the circuit diagram work ?

  • @guangyang8596
    @guangyang8596 ปีที่แล้ว

    Hi, the ESP8266 so near with relay didn't cause the EMI problem because of the AC power line?

  • @user-um3hk8qt5f
    @user-um3hk8qt5f 7 หลายเดือนก่อน

    please help ,how to download the sinricproswitch library in arudino software

  • @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

  • @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?

  • @Hewagej
    @Hewagej 3 หลายเดือนก่อน +1

    Thank you so match for your video

  • @MuhammedArhaan
    @MuhammedArhaan 7 หลายเดือนก่อน

    how did you make the gerber file of this project ???

  • @LearnWithPKO
    @LearnWithPKO 7 หลายเดือนก่อน +1

    Thank you for this project.

  • @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

  • @vijaypanchal5737
    @vijaypanchal5737 2 ปีที่แล้ว

    Do we connect 8 channel relay to esp12e board oor it can be controlled by switch, voice please tell me

  • @ColourGarden
    @ColourGarden ปีที่แล้ว

    How can I add AC voltage switches which can control lights manually without powering the NodeMCU and relay

  • @miguelfran_F
    @miguelfran_F 2 ปีที่แล้ว +1

    tengo una duda, en el caso que los switch manuales los ponga a positivo en vez de negativo, habra algun cambio???

    • @royx1236
      @royx1236 ปีที่แล้ว

      No change i guess

  • @PINOYTECHMARLON
    @PINOYTECHMARLON 3 ปีที่แล้ว +1

    Thanks for amazing content sir

    • @TechStudyCell
      @TechStudyCell  3 ปีที่แล้ว +1

      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

  • @hameedhameed7496
    @hameedhameed7496 ปีที่แล้ว

    Hi
    Thanks for very good
    Does any of those module work with zigbee ?

  • @aboubakarbinmushtaq1447
    @aboubakarbinmushtaq1447 ปีที่แล้ว

    in which software u r using to design Circuit diagram and then draw PCB..

  • @lusho96
    @lusho96 2 ปีที่แล้ว

    How many lights can I connect with the physical switches?

  • @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.

  • @ungraduateengineer4998
    @ungraduateengineer4998 2 ปีที่แล้ว

    op bro
    you really explain well

  • @rushabhkulkarni363
    @rushabhkulkarni363 2 ปีที่แล้ว +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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@varunaggarwal1510 How to do that? Where can I learn that?

  • @sb-ov7856
    @sb-ov7856 2 ปีที่แล้ว +1

    can you tell me about software for designing PCB.? please.

  • @ajishkhantm6147
    @ajishkhantm6147 2 ปีที่แล้ว

    Is sinric pro doesn't have any limit or retention for the 3 device button
    Is it full free

  • @getthegeet
    @getthegeet ปีที่แล้ว

    With your program cab I connect this to smarthings app?

  • @WawanSetiawan-xn3ke
    @WawanSetiawan-xn3ke 8 หลายเดือนก่อน

    Bagus banget semoga ilmunya berkah pa guru..salam.

  • @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.

  • @MahmoudMohamed-jc7io
    @MahmoudMohamed-jc7io 3 ปีที่แล้ว

    Thank you man really thank you so much

  • @sithumabeygunawardana2896
    @sithumabeygunawardana2896 2 ปีที่แล้ว +9

    Best Home Automation video...... Keep it up!!

    • @TechStudyCell
      @TechStudyCell  2 ปีที่แล้ว +1

      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?

  • @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.

  • @firstworldpilipinas
    @firstworldpilipinas 6 หลายเดือนก่อน

    can i use relay for my water motor pump?

  • @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?

  • @mohamedrebouj6508
    @mohamedrebouj6508 2 ปีที่แล้ว

    Very very impressive sir
    Thanx from Morocco

    • @walou9952
      @walou9952 6 วันที่ผ่านมา

      khoya wach khdem lik mzyan?? khani n9dm projet ista

  • @jhonybrave9030
    @jhonybrave9030 3 ปีที่แล้ว

    Bro in u r previous led strip uv sterilizer, is it can powerup the 3 set of uv strip with 24v supply? Is it cause Any change of brightness issues?

  • @sunildubey3305
    @sunildubey3305 2 ปีที่แล้ว

    Sir agr isme fan ko connect kerna hoga to kaise karenge?? Please make video for this.. 🙏🏻

  • @mdmarufahmed9323
    @mdmarufahmed9323 2 ปีที่แล้ว

    thanks a lot, you make my jam and jelly

  • @sinatajik8887
    @sinatajik8887 2 ปีที่แล้ว

    thank you bro ♥️♥️♥️♥️

  • @tylermcnally8232
    @tylermcnally8232 2 ปีที่แล้ว

    Yea cool but power it from the same circuit it controls or it's less waste of batteries.

  • @mohdaiemandaud933
    @mohdaiemandaud933 ปีที่แล้ว

    sir , if i add lcd display .
    what code need i add to make the device id into name in lcd

  • @susmitasaikia6191
    @susmitasaikia6191 2 ปีที่แล้ว +1

    Sir can u teach me this project on software so that I can simulate

  • @sivakumar.j7382
    @sivakumar.j7382 2 ปีที่แล้ว

    We can insert old phone charger pin for program in node mcu ah bro pls tell pls respond bro

  • @aether4193
    @aether4193 4 หลายเดือนก่อน

    Sir can you please tell me where did you upload that code during that upload section

  • @IvanMusic7
    @IvanMusic7 3 ปีที่แล้ว +1

    hello friend, can you help me with something. when I do the project it works perfect. but when I mount it in my room that I make all the connections the manual function does not work for me. It is possible that it is because the cables that go from the ESP8266 to the push button I am passing them next to the alternating current cables 120 AC

    • @faisalfaisi6822
      @faisalfaisi6822 2 ปีที่แล้ว

      not push buttons use only normal one way switch

  • @djzatka
    @djzatka ปีที่แล้ว

    Can we use it on 440 volt, 3 phase motor?

  • @rishitakumari6659
    @rishitakumari6659 8 หลายเดือนก่อน

    Isme sinricpro. h no such file or directory bata raha hai sir kya kare

  • @SAMSUNGTABLET-uh9is
    @SAMSUNGTABLET-uh9is หลายเดือนก่อน +1

    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

  • @aslamrahim5935
    @aslamrahim5935 3 ปีที่แล้ว +1

    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....🙏🙏

  • @qbslayer7297
    @qbslayer7297 3 ปีที่แล้ว +1

    Sir plz making a video on 4 channel home that can be control with Blynk and google assistant and manual. THANKYOU

  • @xuantran07
    @xuantran07 2 หลายเดือนก่อน

    like the way he said hey gulgun

  • @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.

  • @dishendra.
    @dishendra. ปีที่แล้ว

    How to tackle back emf issue with connecting inductive loads like ceiling fan

  • @sidhuhari5363
    @sidhuhari5363 2 ปีที่แล้ว +1

    Hai ..sir please make a this program
    How to program two light swrichs and fan switch with speed control in esp8266

  • @subhodeep2012
    @subhodeep2012 3 ปีที่แล้ว +1

    can you tell me what the 4 edge hole is called and what is the purpose of its? I want to screw it in pcb instead of soldering it using that 4 holes.
    is it feasible?
    please reply

  • @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.

  • @ranjankumarrath575
    @ranjankumarrath575 3 ปีที่แล้ว

    Much waited video

  • @letmetellsomething8297
    @letmetellsomething8297 2 ปีที่แล้ว

    What modification I want to made with the coding if I didn't uses the switches

  • @melam_rahul
    @melam_rahul ปีที่แล้ว

    Sir the manual switches are work when there is no power for the system??🤔🤔

  • @02hikari23
    @02hikari23 3 หลายเดือนก่อน

    Bro can the rellay withstand the power of a regular home water motor

  • @Pendu_music_2.0
    @Pendu_music_2.0 10 หลายเดือนก่อน +1

    Bro cp2102 ke liye driver install kese kare pc win7 32bit

  • @Pendu_music_2.0
    @Pendu_music_2.0 10 หลายเดือนก่อน +1

    Bro I have esp8266 but it is cp2102 and have not 5v pin it have 3v pin can it work

  • @entertainsremy6808
    @entertainsremy6808 8 หลายเดือนก่อน

    Please what did you use as the VCC and how can I get it.

    • @TechStudyCell
      @TechStudyCell  8 หลายเดือนก่อน +1

      it +5V DC

    • @entertainsremy6808
      @entertainsremy6808 8 หลายเดือนก่อน

      @@TechStudyCell ok but please I'm still confused on the circuit part you used for the VCC. On the circuit board the part labelled VC/JD, what circuit part is soldered there?
      I'm having a very hard time finding the particular part that is. Please help.

  • @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

  • @sinatajik8887
    @sinatajik8887 2 ปีที่แล้ว

    thank you ♥️♥️♥️♥️♥️

  • @dilwarhossain5237
    @dilwarhossain5237 ปีที่แล้ว +1

    Thanks

  • @sinatajik8887
    @sinatajik8887 2 ปีที่แล้ว

    thank you

  • @quarantineparidhabangal7750
    @quarantineparidhabangal7750 2 ปีที่แล้ว

    Can the jumper wires handle 240V with 1.5 Amps running through it? Can we build this setup in a breadboard?

  • @ainglieur4353
    @ainglieur4353 2 ปีที่แล้ว

    thank bro

  • @franklawrencevidal3988
    @franklawrencevidal3988 ปีที่แล้ว

    is it working the manual switches if the nodemcu not connect in wifi?

  • @user-mf7hp2mr2j
    @user-mf7hp2mr2j 6 หลายเดือนก่อน

    What if I use 12 v relay module

  • @riteshsinha5900
    @riteshsinha5900 3 ปีที่แล้ว

    any alternative for sinric pro .so that i can use all 4 relays and was planning to use 8 relay module .

  • @digantkulkarni1605
    @digantkulkarni1605 2 ปีที่แล้ว

    What Set of wires are used in the model?