Alexa Home Automation project with Manual Switches using NodeMCU & ESP8266 | IoT Projects

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2020
  • In this IoT project, I have shown how to make Alexa home automation project with manual switches using NodeMCU or ESP8266 and relay module. With this internet of things project, you can control 4 home appliances from Alexa and manual switches with and without internet. So this is a very useful homemade IoT based home automation system that you can easily make with NodeMCU, Relay Module, Push Buttons, and Alexa Echo Dot devices.
    For this Alexa smart home project, I have not used any custom design PCB or any third-party IoT Apps. I have used Amazon Alexa App to connect NodeMCU with Alexa Echo Dot, so after watching this tutorial video you can make this useful NodeMCU project at home.
    Previous Videos on Alexa smart Home Project ideas:
    • Alexa Smart Home Autom...
    Download Code for this Alexa home automation project from the following article
    iotcircuithub.com/alexa-home-...
    Required components for this project from amazon.com (Affiliate link):
    1. NodeMCU amzn.to/2WoR2A2
    2. 4-channel Relay Module (5V) amzn.to/3r2HuJ4
    3. Push Buttons
    4. Alexa Echo Dot Smart Speaker amzn.to/37sSd84
    Required components for this project from amazon.in (Affiliate link):
    1. NodeMCU amzn.to/3fJA4EG
    2. 4-channel Relay Module (5V) amzn.to/2BQ5Y3o
    3. Push Buttons
    4. Alexa Echo Dot Smart Speaker amzn.to/2PkTOTe
    During the video, I have shared the circuit and code for this IoT project. So after watching the complete tutorial video you can easily make this ESP8266 Alexa smart home project.
    There is a limitation, the NodeMCU, and the echo dot smart speaker should be connected with the same wifi network.
    Soon I will publish the complete article on my website and share the link here.
    If you face any issue please let me know in the comment section.
    #alexa #homeautomation
    ------------------------------------------------------
    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
    How to make Smart Home using Arduino Bluetooth IR & Sensors
    • How to make Smart Home...
    Home Automation using Google Assistant, Blynk, IFTTT, NodeMCU
    • Home Automation using ...
  • НаукаНаука

Комментарии • 231

  • @devangchawla3053
    @devangchawla3053 3 года назад

    Thanks a lot Buddy!!....there came no mistake in ur code..and even worked very well....👍

  • @sharishtmr
    @sharishtmr 3 года назад +8

    Bro, based on your video I did same perfectly working for me! Kudos

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Great 👍

    • @karthikganjam296
      @karthikganjam296 3 года назад

      did u exactly do what they said, any problems u faced??? pls reply

    • @vijaylathiya0356
      @vijaylathiya0356 4 месяца назад

      ​@@karthikganjam296 wifi is connected but in Alexa not descover device

  • @rogerio3640
    @rogerio3640 3 года назад +2

    Está de parabéns, sua automação tem código simples e eficiente.

  • @abobobo943
    @abobobo943 3 года назад

    Fantastic.thank you for sharing.

  • @dipaksonone3699
    @dipaksonone3699 3 года назад

    Very nice explained sirji....

  • @ferdywillibrordus307
    @ferdywillibrordus307 3 года назад +2

    Thank you for the word Alexa all the light are off now!

  • @electronic7979
    @electronic7979 3 года назад +2

    Excellent project

  • @Sailingon
    @Sailingon 3 года назад

    Just replicated your project and reversed the state, driving solid state relays. thank you for your work. Where can we donate to help fund you making more things?

  • @markopalikko6986
    @markopalikko6986 3 года назад +1

    Excellent tutorial! Very clear and to the point. Thank you sir!

  •  3 года назад +6

    Hello my friend, I really liked your video! Do you think it is possible to do this using a switch instead of a push button, to reuse the infrastructure of the house

  • @kpinnovations6613
    @kpinnovations6613 3 года назад

    This is very helpful for me pls sir.

  • @ignition_electronics2520
    @ignition_electronics2520 3 года назад +1

    🔥🔥🔥

  • @erikhoffman
    @erikhoffman 3 года назад

    Desperate to have at least 8 outputs please
    I could not add any!!!!!
    Also would love to have an LCD display to show on/off operation
    Thanks so much for a wonderful project
    I made one a few years ago but Amazon stopped supporting it and here you are!
    Best regards
    Erik

  • @erikhoffman
    @erikhoffman 3 года назад

    Waiting!

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Already published the video. Please check out our last video.

  • @adilabusafa
    @adilabusafa 3 года назад +1

    أهلا وسهلا مشكور.

  • @vihaan3931
    @vihaan3931 3 года назад

    Nice project

  • @koteswararaoneelapu3432
    @koteswararaoneelapu3432 3 года назад

    Superb sir

  • @joshitoshi9835
    @joshitoshi9835 3 года назад +2

    Thanks for the tutorial. I have already requested and i am again requesting for a detailed video on SAFE wireless 220ac solenoid water pump control system with water level and manual on/off button and that with 12v relay. All the videos available on youtube are with wired system which is not practical in most cases bcoz tank is usually at 3rd or 4th floor so running wires is tedious in that case. So please take a time and make one. Thanks

    • @TechStudyCell
      @TechStudyCell  3 года назад +1

      Sure.. Added in to do list.. thanks

    • @joshitoshi9835
      @joshitoshi9835 3 года назад +1

      @@TechStudyCell Thanks for swift response and waiting eagerly for that video. Here are some points and specs to note:
      - Working voltage should be 12v dc
      - 12v dc relay must be capable of controlling 2hp solenoid pump
      - Must have water level indicator in terms of leds or 7 segment or small display screen.
      - Must have Manual switch to turn on/off motor at any time (can be further connected with ESP8266 relay to on/off with mobile phone)
      - 433Mhz RF module can be used as its cheap and its range is more than enough in my opinion but you can use any other module which you think is better than that.

  • @marcelorussi1106
    @marcelorussi1106 3 года назад +1

    Thank You! keep the good work.

  • @karthikganjam296
    @karthikganjam296 3 года назад

    Thankyou so much, it worked perfectly for me, but one change is we need to add latest version of espalexa library

    • @varunaggarwal1510
      @varunaggarwal1510 2 года назад

      can you please help me with it? its not working for me

  • @carlosmendez2672
    @carlosmendez2672 3 года назад +1

    No much of you guys have the talent and patience that you have tks for share your knowlege.congratulations!

  • @nazmulhaque4481
    @nazmulhaque4481 3 года назад

    wonderful. How many loads can be controlled by a single NodemCU?

  • @SSATechInTelugu
    @SSATechInTelugu 3 года назад +1

    Hi bro your project excellent working push button but upgrade to the the our project manual switch please take video I no English spelling mistakes thank you

  • @yusuf120581LED
    @yusuf120581LED 3 года назад +1

    Coools

  • @erspoa
    @erspoa 3 года назад +1

    Hi Im really liked your project, I put it in two different places and it works normally. But this week I believe that there was an update to the echo dot 4 generation, so my two projects no longer find the devices. Already updated the libraries, restarted the two Alexas which are in different locations with different networks.
    Today I took the same codes and recorded them in other nodemcu and didn’t find anything else. Have you caught more cases like this? Hugs.
    Ícone "Verificada pela comunidade"

  • @vijayasundaramgounder2171
    @vijayasundaramgounder2171 3 года назад +1

    excelant

  • @harmindersinghsaini8167
    @harmindersinghsaini8167 3 года назад

    hi sir i love your projects please upload of manual switches instead of tongel switch and post it in your telligram channel please sir waiting for your more projects

  • @JANKRLO76
    @JANKRLO76 3 года назад

    Hola, genial. Solo funciona con ECHO DOT? o con la aplicación para el móvil funciona?

  • @harrydutoit4907
    @harrydutoit4907 3 года назад +1

    This project is awsome, It does however take a couple of tries to get Alexa to discover the device. I have a slight issue in that if you switch the relays on/off change the current state with the push button, the status change is not reflected in alexa. Any constructive input is very welcome.

  • @5432604
    @5432604 3 года назад +1

    good

  • @raajasekard1358
    @raajasekard1358 3 года назад

    Thanks for the video. Is it possible to connect more than 10 devices to alexa (in this method). If so please guide me.

  • @niladri2202
    @niladri2202 3 года назад

    I think we should replace the push button system with a ir remote system
    Because that will be more beneficial
    And remove " if else " wifi connection clause.then we can use it simultaneously with an ir remote and alexa

  • @SandeepYADAVggn
    @SandeepYADAVggn 3 года назад +4

    This Project has issue. If we use manual control, the status of relays not upated in Alexa. i.e. If on the go I want to switch off relay 3 by switch, the relay will switch off but alexa will show its status as swich ON in Alexa App.. Even in case of manual operation of switch , the status of relay/lamp should be updated in Alexa App.

  • @shantanumuni7344
    @shantanumuni7344 3 года назад

    Excellent project, request same code which should work with Blynk, Alexa along with Google assitant together

    • @TechStudyCell
      @TechStudyCell  3 года назад +1

      Thanks for the feedback. If you can control the relays with Alexa App, then why you need Blynk.

  • @joshitoshi9835
    @joshitoshi9835 3 года назад

    Nice video, i have two questions here;
    1. Can we make it three way switch by adding another manual switch?
    2. Can more than one phones control this relay? for example i want all my siblings can also control my room lights and fan etc from their phone.
    If both features are possible i would suggest to make another video bcoz this kind of video tutorial is not available on youtube.

  • @skq786
    @skq786 3 года назад

    Hi,
    I would like to ask do you have any modules for Windows curtains/blinds?
    Thanks

  • @TBL_stevennelson
    @TBL_stevennelson 3 года назад

    I like your project
    Upgrade the project with RF controller so you can call it Remote controlled.
    Finialy you could add options for other WiFi Systems.
    Using free apps online to control switches the same as Alexa but different.
    Thanks for. Listening

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Thanks for the feedback... To avoid Alexa you can also refer this video ruclips.net/video/fRCVx6yKoYw/видео.html

  • @akhiljames4863
    @akhiljames4863 3 года назад

    Any relay flickering issue on startup? You connected it to pin 0 and 3.

  • @emanuelefiorentino8934
    @emanuelefiorentino8934 3 года назад

    Buongiorno , esiste una configurazione da poter installare su homeassistant?

  • @fredisbaltais4429
    @fredisbaltais4429 3 года назад

    Hi. Fantastic job You done. Is it possible to added MQTT control?

  • @arnoldaddo2642
    @arnoldaddo2642 3 года назад

    Because I built a voltage divider fan regulator and wanted a platform that would see all four speed as one device(fan) and not 4 sperate relays. Can i use if statement and edit your sketch to do that by reducing it to one device?

  • @k.s.saravanesh1756
    @k.s.saravanesh1756 3 года назад

    sir, Instead of push button can we use TTP223 touch capacitive switch

  • @maazrehan5360
    @maazrehan5360 3 года назад

    Appreciated sir.. sir i wanna ask that, is esp32 is that powerful that we can use it regularly with in a years

    • @TechStudyCell
      @TechStudyCell  3 года назад

      I have not tried that. But it should work.

  • @bablukokirkar7908
    @bablukokirkar7908 3 года назад +1

    👍

  • @realistik01
    @realistik01 3 года назад

    really nice job, i bought a nodemcu devkit 1 but windows dont reconize it, i had the esp01 working goos so i assume my driver where good, anyway i did try to download all thenm and uninstall one by one and even that, nothing happen, i do have a blinking red/blue and i do see a wifi, witch i can connect but only telling me its a test page, any help ?

  • @adailhorst1816
    @adailhorst1816 3 года назад

    Very Thank you about this video... Can you help-me with a issue? I can compile, upload the code, see in serial monitor the esp8266 as connected... but... Alexa never locate the Lights... I already do the "echo reboot" and still not working...
    Is a Echo v1

    • @TechStudyCell
      @TechStudyCell  3 года назад

      In this video I have used echo dot V3

  • @pratikadsul2129
    @pratikadsul2129 3 года назад

    Hey hi, i m beginner in iot can you help me out in to connect Node mcu with laptop and fetch IP ADDRESS

  • @sazamaut3321
    @sazamaut3321 3 года назад +8

    Bro... Do the same thing using Google Home mini...

  • @deepachavali2424
    @deepachavali2424 3 года назад

    will this work on failsafe state..? (i.e after power cuts/restore) state of the switch will restore with pervious condition.

  • @mohammadanish1380
    @mohammadanish1380 3 года назад

    Thanks sir but programming in mobile se programming please videos

  • @Aashutoshkumar-xu1zy
    @Aashutoshkumar-xu1zy Год назад

    Sir, can I make this using esp12f module only not nodencu only esp12f module, and upload code using arduino uno as a programmer?

  • @anshulgupta9893
    @anshulgupta9893 3 года назад

    Fantastic Dada.. Can you please send code for Manual Buttons... Without SINRIC.....

    • @TechStudyCell
      @TechStudyCell  3 года назад

      What is manual button? push button or switch?

    • @anshulgupta9893
      @anshulgupta9893 3 года назад

      @@TechStudyCell I mean Switch, a simple ON/Off switch used in home... not push button.
      Please send code of with use of only Alexa and Switches, same like this video...

  • @mohitjaisingh8482
    @mohitjaisingh8482 3 года назад

    Hello, I am not able to update the device state when switching the relays through push button. Can you please let me know if that is possible to do, and how to do it.

  • @vishaljain6130
    @vishaljain6130 3 года назад

    please provide code of manual switch instead of push button. I will be highly obliged . overall you are marvelous DADA

  • @shamimahmed-ux4jy
    @shamimahmed-ux4jy 3 года назад

    Can i control lights with fire tv stick remote

  • @smpskalamboli7389
    @smpskalamboli7389 3 года назад

    Can we operate it over a any app. like we can turn on and turn off using any app

    • @TechStudyCell
      @TechStudyCell  3 года назад

      You have to use official Amazon Alexa App

  • @ambroribo6079
    @ambroribo6079 2 года назад

    Good day , it is Me again: The project is working very well but I found that if the relays are controlled locally by using the relevants discretes, Alex does not report the correct relays status. So by activating the the realys by their discretes buttons , I can not see the relevant status on the Alexa application on my cell phone. Is there any possibility to implement a real status feedback to alexa application please ? Thank for all . regards, Bye

  • @nitinsikka86
    @nitinsikka86 3 года назад

    Hello , My relay is not working when I power it using ESP module. But as you have shown it works for the given project... Please assist.

  • @firmbutton6485
    @firmbutton6485 3 года назад +1

    Smashing project but with your last one I had trouble with Alexa recognising the devices, is this new project sorted now thanks?

    • @TechStudyCell
      @TechStudyCell  3 года назад +1

      Yes. For devise not found error, you have restart the echo dot. I have covered this in the new video.

    • @firmbutton6485
      @firmbutton6485 3 года назад

      Thanks will
      Give
      It another go:-)

  • @laswinspereira5148
    @laswinspereira5148 3 года назад +3

    Sir can you make a Arduino and IR remote based fan regulator, please
    Thank you sir 😄

  • @MeghdeepBasu
    @MeghdeepBasu 3 года назад

    Is it works with smart life app

  • @norviniinasol7993
    @norviniinasol7993 3 года назад +1

    Hi sir, how about 8 channel relay? Can i still add a manual switch? Thanks.

    • @TechStudyCell
      @TechStudyCell  3 года назад +1

      Yes you also connect 8-channel relay. I will publish the video in next week.

  • @Crazyrider_Simha
    @Crazyrider_Simha 3 года назад

    Sir can i connect this circuit to main switch board ????

  • @drakkorvladimir4012
    @drakkorvladimir4012 2 года назад

    For buttons, how can they work with no de-bounce?

  • @shafiqjee473
    @shafiqjee473 3 года назад

    sir ap 8 relay home automation malti fungsional sistem bluetooth & remote & ttp223 touch sensor with eprom bana kar dikhye or cod b share kare

  • @amitjha1072
    @amitjha1072 3 года назад

    What is the item wise cost of this project

  • @thomasfuegert8105
    @thomasfuegert8105 3 года назад

    Great skill!!! You are awesome!! I'm new in this controller's and rebuild like your video. Can use 2 3 4 relais with button but 1 not working. I can't get wifi connected. Any help available?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      First check the circuit. Restart the echo dot. Then try to connect all devices again.

    • @thomasfuegert8105
      @thomasfuegert8105 3 года назад

      Thanks for answer! Will do!

  • @drelectronics13
    @drelectronics13 3 года назад +1

    Sir can't we use Google assistant in mobile to control this things because including me many people don't have Alexa so any help

    • @smilykittu
      @smilykittu 3 года назад +1

      Yes, please do a video on both Alexa and google assistant

  • @peru6671
    @peru6671 2 года назад

    Sir i want full project ready to use so you can provide full assembly in delhi

    • @TechStudyCell
      @TechStudyCell  2 года назад

      Yes. Please send email to connect.techstudycell@gmail.com

  • @plamenpetrov7234
    @plamenpetrov7234 3 года назад +1

    Hello
    Very good project, Thanks a lot for sharing the code.
    Everything works perfectly. Can it be done so that when a channel is activated, the relay is on for 2 or 4 seconds? To control, Blind, Garage door, Curtain?
    If it's possible, and it is, but I don't know exactly how to write the code, I would pay for it.
    Thanks a lot
    Mr. Petrov

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Yes possible. You have to modify the code. I will try to make video on it. thanks.

    • @plamenpetrov7234
      @plamenpetrov7234 3 года назад

      ​@@TechStudyCell Hello
      This is great, I look forward to this video.
      This is my email: pplamen29@yahoo.com
      If you can send me your email, I want to ask you something if it's convenient of course
      Thanks a lot

  • @sanu7210
    @sanu7210 3 года назад

    How you geeting ok feedbacks ?

  • @MrNixified
    @MrNixified 3 года назад

    How about connecting it to blynk app?

  • @OscarMartinez-wg2io
    @OscarMartinez-wg2io 3 года назад

    Hello friend, can I do this only with the cell phone? without the Alexa echo dot Smart speaker?

  • @adiiew
    @adiiew 3 года назад

    since it appear as a smart home device to alexa, can it work in the same way with google home?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      no. without IFTTT, connecting the Google Home a bit complex.

  • @balabhadragopalakrishnamur7767
    @balabhadragopalakrishnamur7767 3 года назад

    Bro can u do any coading

  • @dipaksonone2917
    @dipaksonone2917 Год назад

    how can we add manual switches (latches) instead of push button...plz must replay sirr

  • @pardeepgoyal3065
    @pardeepgoyal3065 3 года назад

    Can I use 10 amp relay for switch on 1.5 tone ac or i have to use 30 amp relay

  • @asulliv1954
    @asulliv1954 3 года назад

    I had been trying all these gadgets & spent $100’s of dollars for all different modules raspberry pi 1,2, & 3 and stopped using all of it cause it never worked from the neopixels to the rtc nothing ever worked so now it sits waiting for a home!!

  • @dipaksonone2917
    @dipaksonone2917 3 года назад

    Sir can we also controlled relay using Google assistant? If yes please tell us how?

  • @KumaranA512
    @KumaranA512 3 года назад

    Does this project have power fail save state of the relays?

    • @TechStudyCell
      @TechStudyCell  3 года назад

      It can fetch the previous States from Blynk server.

  • @Cholarpoth1234
    @Cholarpoth1234 3 года назад

    Ardino stair light switching system

  • @ambroribo6079
    @ambroribo6079 3 года назад

    good day to all; I uploaded the sketch on my ESP after having changed SSID/psswrd and everything was fine and working very well. Later on I changed the device names BUT the names where not change in tha Alexa application. I did several changes: reload the original names, reset the PC / ide , power on/off Echo dot, removed the four devices in the Alexa App, uninstall Alexa App from my mobile BUT Alexa does NOT find_out the ESP devices anymore . Any suggestion Please ? Thanks in advance, Ambro

    • @TechStudyCell
      @TechStudyCell  3 года назад +1

      Remove all the devices one by one from Alexa app. restart echo dot. the smartphone, echo doe and nodemcu should be connected with same wifi. then try again.
      you can also refer this page: github.com/Aircoookie/Espalexa

    • @ambroribo6079
      @ambroribo6079 2 года назад

      @@TechStudyCell Thanks it is working well now

  • @vishaljain6130
    @vishaljain6130 3 года назад

    my Alexa could not search my devices, please help me out, considering I have echo dot 4th generation

  • @smpskalamboli3887
    @smpskalamboli3887 3 года назад

    boss mobile me alexa app install kar ke operate kar sakte hai kya bina echo dot device ke.

    • @TechStudyCell
      @TechStudyCell  3 года назад

      If you don't have echo dot, please refer this video ruclips.net/video/Sx9akwBwK4g/видео.html

  • @ssj8101
    @ssj8101 3 года назад

    I am using phone charger 5v 2amps samsung make for powering my circuit for both 4channel relay board and esp8266 node mcu , facing a challange like iam only able to control only 1 relay other 3 relays are not triggering but signal LED is blinking i am controlling through blynk app.pls help sir.

  • @aadityanagpal6245
    @aadityanagpal6245 3 года назад

    Sir i want to connect it to google too how can i do so

  • @adiiew
    @adiiew 3 года назад

    I am trying my best to replicate this, and am using the same code as you, same library, same board, same everything. but for some reason both of my new nodemcu 12e modules arent picked up by my alexa thru the dlink router. i have tried reinstalling the ide, libraries, swapping the board, and also changing the wifi network, yet the same result. its brand new bnodemcu board. should I flash it first? what flash file to use? please help me outtt

    • @rajatkumar2612
      @rajatkumar2612 2 года назад +1

      same problem i faced. the solution was to just update your board manager and libraries.

  • @yogeshitaliya473
    @yogeshitaliya473 3 года назад

    भाई इसको एप्लिकेशन के साथ भी बनाई ये

  • @lathiyavijay9548
    @lathiyavijay9548 Год назад

    brother Alexa app note finde devices

  • @ravibhushansharma5216
    @ravibhushansharma5216 3 года назад

    I have 2 ch relay, then?

  • @asharfpinjari2515
    @asharfpinjari2515 2 года назад +2

    Alexa not showing devices

  • @pushpendra140
    @pushpendra140 2 года назад

    without wiring can we test it will alexa only without manual switches one more thing led is not lighting once wifi is connect.
    On the serial monitor wifi is displaying as connected, even if once I try to add in alexa no device found!
    I am new in this please help me !!!!

  • @mohitmohata7480
    @mohitmohata7480 3 года назад

    Please Help, My Relay not Triggering with blynk buttons but relay led glow very dim almost invisible but when i connect relay input pin with nodemcu ground pin then its triggered, so please guide me what i have to do.

    • @TechStudyCell
      @TechStudyCell  3 года назад

      Please let me know in which project you are facing problems. In this video I have used active low relay module. So to turn on relays I have to give LOW signal in contact pins.

  • @satyanarayanapokathota
    @satyanarayanapokathota 3 года назад

    Power restore?

  • @diyhemantprojects2841
    @diyhemantprojects2841 3 года назад

    Can we use manual switch instead of push button.

    • @TechStudyCell
      @TechStudyCell  3 года назад

      You have to use Acebutton library and modify the code.

  • @daurenabdikadyr1763
    @daurenabdikadyr1763 3 года назад

    Excellent project sir, now I'm trying to do this project and I have a problem, when I uploaded the sketch to the Nodemcu Arduino IDE gives a problem "Hard via resetting pin..."? How can I fix this? Can anybody help me?

    • @arshadkhankhan4981
      @arshadkhankhan4981 3 года назад

      Thats not a problem it means codes are uploaded correctly and u have to push reset button on modemcu

  • @kartolosatu3932
    @kartolosatu3932 3 года назад

    how using google assistant

  • @adialone9574
    @adialone9574 2 года назад

    Bro make 8 channel with nodemcu

  • @rajivkumar1230you
    @rajivkumar1230you 3 года назад

    Can u please make it for me

  • @harmindersinghsaini8167
    @harmindersinghsaini8167 3 года назад

    bro please upload a code for a normal on off switch insted of tongel switch plz sir