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 ...
  • Наука та технологія

КОМЕНТАРІ • 855

  • @TechStudyCell
    @TechStudyCell  2 роки тому +37

    ⚠️ 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 роки тому +1

      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 роки тому +3

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

  • @gauravganguly953
    @gauravganguly953 3 роки тому +6

    Your videos are an awesome treat !!!❤️

  • @HRTechnologyProR
    @HRTechnologyProR 3 роки тому +9

    Thank u brother for making this video . ❤

  • @fredmunyao787
    @fredmunyao787 Місяць тому

    Thanks very much. This works for me. Continue with the good work

  • @nfachannel7928
    @nfachannel7928 2 роки тому

    VERY GOOD TUTORIAL, THANK YOU FOR SHARING THE SCIENCE

  • @sivaphysio8276
    @sivaphysio8276 3 роки тому +2

    Excellent work bro super pentastic , and congratulations bro

  • @davisjohnson8677
    @davisjohnson8677 2 роки тому +1

    You are really a PRO bro 😎

  • @jawadmuzaffar913
    @jawadmuzaffar913 Рік тому

    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?

  • @omegamix7750
    @omegamix7750 2 роки тому +1

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

  • @comsocchannel
    @comsocchannel Рік тому

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

  • @marcing8672
    @marcing8672 2 роки тому

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

    • @gunal2669
      @gunal2669 2 роки тому +1

      Did you try this project ?

  • @mariamamart8086
    @mariamamart8086 2 роки тому +1

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

  • @fro6350
    @fro6350 3 роки тому

    Thanks for amazing content

  • @prafuldate2881
    @prafuldate2881 2 роки тому

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

  • @danyboy1477
    @danyboy1477 3 роки тому

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

  • @sakshitayade2440
    @sakshitayade2440 2 роки тому +1

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

  • @trizordgaming8383
    @trizordgaming8383 7 місяців тому

    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

  • @timlytle8254
    @timlytle8254 4 місяці тому +3

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

  • @smithpwm
    @smithpwm Рік тому

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

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

  • @LearnWithPKO
    @LearnWithPKO 10 місяців тому +1

    Thank you for this project.

  • @Hewagej
    @Hewagej 6 місяців тому +1

    Thank you so match for your video

  • @ranjankumarrath575
    @ranjankumarrath575 3 роки тому

    Much waited video

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

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

  • @varunaggarwal1510
    @varunaggarwal1510 2 роки тому +1

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

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

  • @guangyang8596
    @guangyang8596 Рік тому

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

  • @shijilt
    @shijilt Рік тому

    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.

  • @MahmoudMohamed-jc7io
    @MahmoudMohamed-jc7io 3 роки тому

    Thank you man really thank you so much

  • @ColourGarden
    @ColourGarden Рік тому

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

  • @mdmarufahmed9323
    @mdmarufahmed9323 2 роки тому

    thanks a lot, you make my jam and jelly

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

  • @lakshminitc
    @lakshminitc 3 роки тому +2

    you're a lifesaver!!!!!

  • @mohamedrebouj6508
    @mohamedrebouj6508 2 роки тому

    Very very impressive sir
    Thanx from Morocco

    • @walou9952
      @walou9952 3 місяці тому

      khoya wach khdem lik mzyan?? khani n9dm projet ista

  • @ungraduateengineer
    @ungraduateengineer 3 роки тому

    op bro
    you really explain well

  • @ArtisanPallet
    @ArtisanPallet 3 роки тому

    Very useful smart home system. Thanks for sharing

  • @technologyties3735
    @technologyties3735 3 роки тому +1

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

  • @ikehsamuelifeanyi4925
    @ikehsamuelifeanyi4925 2 роки тому

    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!

  • @lalrinchhani7224
    @lalrinchhani7224 2 роки тому +1

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

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

  • @RoMecha_lb
    @RoMecha_lb 3 роки тому +3

    Great video dear👍

  • @prajitkumar1745
    @prajitkumar1745 2 роки тому

    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?

  • @skq786
    @skq786 3 роки тому

    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

  • @entertainsremy6808
    @entertainsremy6808 9 місяців тому

    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

  • @SAMSUNGTABLET-uh9is
    @SAMSUNGTABLET-uh9is 4 місяці тому +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

  • @tanesetriyuda237
    @tanesetriyuda237 3 роки тому

    Wow i like this project

  • @proč4033
    @proč4033 Рік тому

    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

  • @srivatsansrinivasan2837
    @srivatsansrinivasan2837 Рік тому

    until relay module I can able to control via voice command when I say light 1 turn on the "IN 1" turns on but the bulb connected from IN1-IN4 does not glow up pls let me know where i have gone wrong

  • @sinatajik8887
    @sinatajik8887 2 роки тому

    thank you bro ♥️♥️♥️♥️

  • @tariq4846
    @tariq4846 2 роки тому

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

  • @shaktielectronics2234
    @shaktielectronics2234 3 роки тому

    Very helpful project

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

  • @charlesiuslambertus2997
    @charlesiuslambertus2997 2 роки тому

    Thanks for your video, so awesome 👍👍🙏🙏

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

  • @noelmorona8724
    @noelmorona8724 3 роки тому +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 2 роки тому

      1 node Mcu can handle max 4 connection

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

  • @vijaypanchal5737
    @vijaypanchal5737 2 роки тому

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

  • @condriya
    @condriya Місяць тому +1

    Bro … in a ideal mode nodemcu is disconnecting and connecting automatically… please give e solution

  • @sb-ov7856
    @sb-ov7856 2 роки тому +1

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

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

  • @user-um3hk8qt5f
    @user-um3hk8qt5f 10 місяців тому +1

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

  • @arnoldaddo2642
    @arnoldaddo2642 3 роки тому

    Pls my esp8266 is not connecting to d internet with this sketch. But when I upload my old program it does

  • @AliyazHandicrafts
    @AliyazHandicrafts Рік тому

    Excellent informations

  • @salembaabbad8783
    @salembaabbad8783 2 роки тому

    U R a real professional 😉

  • @sidhuhari5363
    @sidhuhari5363 3 роки тому

    Hello sir ..I need ur help .. my program is problem
    esptool.fatalerror failed to connect to esp8266 timed out waiting for packet header

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

  • @C2Learn
    @C2Learn 2 роки тому

    Awesome Sir 🔥💯

  • @venug2617
    @venug2617 3 роки тому +1

    Excellent........

  • @sunilmadina5149
    @sunilmadina5149 3 роки тому

    Hi Subhajit Das manual switch is not working when i power off the nodemcu please help

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

  • @lusho96
    @lusho96 3 роки тому

    How many lights can I connect with the physical switches?

  • @sinatajik8887
    @sinatajik8887 2 роки тому

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

  • @sarkhezfarooqui1146
    @sarkhezfarooqui1146 3 роки тому +1

    Excellent project

  • @AbouBakar_000
    @AbouBakar_000 2 роки тому

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

  • @ajishkhantm6147
    @ajishkhantm6147 2 роки тому

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

  • @TechMyo
    @TechMyo 3 роки тому +1

    Awesome 😎👍🏻

  • @WawanSetiawan-xn3ke
    @WawanSetiawan-xn3ke 11 місяців тому

    Bagus banget semoga ilmunya berkah pa guru..salam.

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

  • @SHIVAMKPATEL
    @SHIVAMKPATEL 2 роки тому

    I had a problem with Design
    I have mounted all components
    When I power up the system Only nodemcu turns on
    Power led and other led aren't glowing and relay not working
    Can any one help to figure out this problem?

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

  • @CarlosRuiz-nx3vm
    @CarlosRuiz-nx3vm 3 роки тому

    Great, thanks.

  • @sinatajik8887
    @sinatajik8887 2 роки тому

    thank you

  • @hameedhameed7496
    @hameedhameed7496 2 роки тому

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

  • @Pendu_music_2.0
    @Pendu_music_2.0 Рік тому +1

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

  • @djzatka
    @djzatka Рік тому

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

  • @dishendra.
    @dishendra. Рік тому

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

  • @dilwarhossain5237
    @dilwarhossain5237 Рік тому +1

    Thanks

  • @maniisshgonela3944
    @maniisshgonela3944 2 роки тому +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 4 місяці тому

      bro yeh project work Kiya ki nhi tumhara

  • @firstworldpilipinas
    @firstworldpilipinas 9 місяців тому

    can i use relay for my water motor pump?

  • @doangiangmercedesbenz
    @doangiangmercedesbenz 2 роки тому

    oh thanks you this video is great so u can show proteus system for us , i hope can watching it soon thannks bro

  • @maazsaraff1797
    @maazsaraff1797 2 роки тому

    Sir, in sinric pro website the switch is offline and the node wifi is also connected with my mobile hotspot,sir please help me to complete this project 🙏.

  • @aakashvishwakarma2496
    @aakashvishwakarma2496 Рік тому

    How to make an app(which connects the hardware online)for this circuit .

  • @digantkulkarni1605
    @digantkulkarni1605 2 роки тому

    What Set of wires are used in the model?

  • @nishanthaatthanayake8549
    @nishanthaatthanayake8549 Рік тому

    Cant compile.massage shown as error compile for board Node mcu1.0 ESP12E.why that.pls tel me

  • @YadavVlogs4014
    @YadavVlogs4014 Рік тому

    sir i am getting this error
    exit status 1
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).

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

  • @jeremytiempo9639
    @jeremytiempo9639 2 роки тому

    How can i made this without a toggle switch ?? Only voice command or ui of the on i control it?