ESP32 Alexa Home Automation System with Manual & Voice Control Feedback | IoT Projects 2021

Поделиться
HTML-код
  • Опубликовано: 8 мар 2021
  • In this IoT projects, I have shown how to make the ESP32 Alexa home automation system with manual & voice control 8 devices. You can also monitor the real-time feedback in the Amazon Alexa app. With this Alexa smart home project, you can also control the relays from the manual switches without the internet.
    $2 for 1-4 Layer PCBs, sign up to get $18 new user coupons: jlcpcb.com/RHS Discount Coupon Code:- JLCPCBcom
    Download PCB Gerber file for this ESP32 IoT based home automation project
    drive.google.com/uc?export=do...
    During the ESP32 tutorial video, I have covered all the following topics:
    00:30 How to control 8 relays using ESP32 from Alexa App and switches.
    03:02 Circuit diagram of the ESP32 Home Automation project.
    04:37 Programming the ESP32 with Arduino IDE
    06:46 How to add IoT devices & ESP32 with Amazon Alexa App.
    07:49 Connect 8 home appliances with the smart relay module.
    07:57 Controlling 8 appliances with voice and switches using the ESP32 control relays.
    Required Components for this ESP32 home automation system
    1. ESP32 DEV KIT V1
    2. 8-channel 5V SPDT Relay Module
    3. Switches or Push-Buttons
    4. Amazon Alexa Echo Dot or any Alexa Devices.
    Amazon United States Affiliate links:
    ESP32 DEV KIT V1 : amzn.to/3mBjCch
    8-channel 5V Relay Module : amzn.to/3p50UeH
    Amazon India Affiliate links:
    ESP32 DEV KIT V1 : amzn.to/331pohb
    8-channel 5V Relay Module : amzn.to/3mTWyVZ
    Amazon Echo Dot (4th Gen) : amzn.to/3srCiPA
    Required Components for the ESP32 control Relay Module PCB:
    1. Relays 5v (SPDT) (8 no)
    2. BC547 Transistors (8 no)
    3. PC817 Optocuplors (8 no)
    4. 510-ohm 0.25-watt Resistor (8 no) (R1 -- R8)
    5. 1k 0.25-watt Resistors (10 no) (R9 -- R18)
    6. LED 5-mm (10 no)
    7. 1N4007 Diodes (8 no) (D1 -- D8)
    8. Push Buttons (8 no)
    9. Terminal Connectors
    10. 5V DC supply
    Download Code for this ESP32 smart house automation project
    iotcircuithub.com/esp32-alexa...
    Previous Video on Alexa smart home:
    ESP32 Alexa control relay without Alexa Echo dot
    • ESP32 Home automation ...
    ESP8266 Alexa control relay without Alexa Echo dot
    • Smart Home with Google...
    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 ESP32 Alexa smart home project.
    There is a limitation, the ESP32, 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 issues please let me know in the comment section.
    #internetofthings #esp32 #Alexa
    -------------------------------------------------------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more such projects: iotcircuithub.com/
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudycell/
    -------------------------------------------------------
    Other useful IoT projects:
    Latest ESP32 projects playlist:
    • ESP32 Projects
    WiFi Door Lock using ESP32 CAM & Blynk
    • WiFi Door Lock using E...
    Home Automation using Google Assistant, Blynk, IFTTT, NodeMCU
    • Home Automation using ...
  • НаукаНаука

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

  • @christopherlawes9286
    @christopherlawes9286 3 года назад +13

    This looks AMAZING!!! Thank you so much for showing us this and NOT using Blynk etc., but using Alexa app. Perfect!

  • @eng.ahmedtaha3342
    @eng.ahmedtaha3342 3 года назад +1

    Excellent, I tried it after ordering the PCB and it worked properly. Many thanks for your creative ideas

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

      Glad it helped. You can also share some pictures of home automation project at connect.techstudycell@gmail.com, we will showcase those in our website iotcircuithub.com

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

    Thanks for the video, you helped a lot !! Don't stop recording videos that teach you how to program and assemble the setups. Thanks!!

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

    Very cool Project / A lot of work / The PCB looks very nice / It´s 1 of my next projekts. Thank you

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

    That is exactly what I was looking for. Thank you very much.👍

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

    I liked the most. Really wonderful as perform superb and at last all devices connected to Echo Dot. in this Home Automation Project, no need 3rd party App, this is the main features which is all above. Once again thanks a lot.

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

    You solved my problem. you're fantastic. Thank you!

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

    Very useful home automation project using Alexa. Thanks for sharing.

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

    hi, could you please tell me the kind of connection that the light switch have so I can try find the same compatible, thanks...

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

    Very simple and professional approach. Especially loved the way you designed the PCB. Kudos!!

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

    Excellent, thanks bro :)

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

    complimenti per il tuo lavoro. volevo chiederti se è possibile comandare anche i motori delle tapparelle? Grazie

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

    You always amaze with your new videos now make next video on mit app inventor with control of home automation by both wifi and bluetooth connection without any third party

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

    if the power goes out do the switches remember their state? i.e if it was on before power loss do they turn back on on power resume and vice versa?

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

    excelente trabajo. saludos desde México.

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

    Amazing product.thanks for sharing.

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

    How can we apply the same (getting the feedback) while using the manual swtiches (that take power from home service panel) ?
    Thanks

  • @buffplums
    @buffplums 3 месяца назад

    Thank you sir for sharing

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

    Thanks
    Worth trying
    Can you make video about linking esp32 to smartthings app

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

    Excelente implementación ingeniero gracias por compartir, un cordial saludo

  • @SantoshKumar-sc6mr
    @SantoshKumar-sc6mr 3 года назад

    Great project
    But I have a question
    Agar hamne relay 1 ya 2 ya koi bhi relays ko on kar rakha h via manual switch or electricity jane ke bad dobara ati h to kya vo relay activat hongi jo hamne manually ya blink app se on karke rakhi thi ?

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

    nice, how can you apply this to a real life situation? If the switch is turned off you can with the Alexa turn it on the lamp? thaanks

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

    Awesome video !

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

    Can I use NODEMCU v3 instead of Esp32? What will be the changes in the code for it .
    I want to use NODEMCU v3 board and control 8 channel relay without blynk or any IFTTT apps

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

    you produce such great videos!!, how hard is it to add Blynk into this, as I am converting a camper van project and want Alexa voice control but also use Blynk that allows me to have battery status, solar charge status, turn valves on etc from a central iPhone/iPad screen in Blynk (just learning and your videos are a great help...
    . thank you in advance for your help

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

    I understand that we can control fr bothe places..BUT...what happens to the manual switch logic.. if turn on the manual switch and then switch it off from internet?

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

    If there is no internet even then also the manual switch either works or not

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

    Can you help me .
    Need to do smart parking by using raspberry pi 3 .

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

    can I use doorbell switches as push-button?

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

    ok, I would like to know if you have a link where I can buy the components on Aliexpress? I really liked the project, congratulations 👏

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

    How to connect the Google home with same this process instead of alexa

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

    a question can be put an esp 8266 instead of an esp 32

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

    do you have a code for one relay module only? Because I only want to control one light bulb

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

    hello, I really liked your project! I tried using the same code for my setup but I’m having trouble with it because Alexa keeps discovering espalexa devices that no longer exist. How can I fix this issue?

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

    Hey can you please suggest me how can I use Google assistance without ifttt because it's only letting 3 applets

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

    Would This work Only with echo dot... Or any other Alexa devices?

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

    is it compulsory to have echodot to add this switches

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

    Excellent

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

    Preciso disso para um projeto de automação. Onde consigo uma placa igual com 10 canais?
    Ou vc tem no canal alguma automação com placa de 10 canais?
    Pode linkar?
    Abraço!

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

    Bro can you modify this project with controlling all appliances with dedicated Android app and also entering wifi credentials through app not from the code. Please try this project

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

    Can we use push button or electric switch with same code? Please reply

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

    Wich programa you use to design your PCB?

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

    hi buddy..as this video..its means the esp32 is powered with 5v?

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

    please make a video on wi-fi universal remote using esp8266 nodemcu & Alexa

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

    Hy. Is it possible that we make two 8 channel PCBs and use it on amazon alexa app to make 16 channel home automation ?? Or in other words can we use multiple 8 channel control boards with multiple esp32 to make many channel home automation

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

    Can this same be used for powerplugs

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

    thanks . but can we do this without echo dot? caz in the video the echo dot was restarted to identify switches. whats the use of echo dot in this project?

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

      Hello, ROK!
      I have no Echo Dot. I did this project using the Android app Amazon Alexa and the switches weren't found by the app.
      My smartphone and switches are on the same wifi. And I restarted both (smartphone and switches). Alexa coudn't recognize the switches.

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

    Bro the wifi in esp32 board not auto connecting when we switch off hotspot and on. is there any way for that?

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

    hello, when I compile I get the error "
    button1Handler was not declared "and so on with all of the following (buttonNHandler). I followed everything step by step, load the libraries. What could it be? Thanks excellent video!!

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

    Impressive and super useful as usual.
    Can you make a tutorial how to increase esp32 pins using 16ch multiplexer please ?

  • @muradabdel-karim3636
    @muradabdel-karim3636 3 месяца назад

    Is there a way to communicate with an inverter DC compressor? 2kw power

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

    Will it update the status after connecting internet again i mean What if internet is disconnected and button is on and connected with internet again will it change status on Alexa?

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

    My Alexa echo dot 4th generation could not search devices, please help me out. Thanks

  • @shija1999
    @shija1999 9 месяцев назад

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

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

    great video but manual switch design have issue that always turn on and off one way in different meaning where switch on it turn relay on where switch is off it turn relay of it cant turn relay off from switch where switch is off

  • @hameedhaji6759
    @hameedhaji6759 18 дней назад

    Hi I had an issue when uploading
    The program is bigger that allowed for esp32

  • @Vinay._.7
    @Vinay._.7 2 года назад

    idont have Alexa speaker can I able to use this code for phone controlling

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

    What a great video, is the app made by you ? If yes what platform do you use and if you have a video for it I would be helpful

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

      I meant fir I mean for the smart home system where you use the app to turn on the lights

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

    Or can it be used for air conditioning

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

    Nice project work perfectly,Sir can you update this project with add credentials without hard codeded.

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

    Sir, i have one dout, instead of using ESP32, if we use ESP8266, will the project work 'with and without internet' ?

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

    Hello i need help here WiFi.mode(WIFI_STA); error message exit status 1
    'class WiFiClass' has no member named 'mode' where is the problem?

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

    is it compulsory to have echodot to add this devices

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

    Very good Bro, please make the same video without Alexa device, control with mobile through alexa

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

      Already done. Links shared in description.

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

    Thanku sir wonderfull

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

    bro how are you , thank you very much for sharing such knowldge ,now the 8 way relay code i have tried it was uploaded to esp32 everything ok i am able to ping the ip address , but i am not able to add in alexa ,when i search for new devices but it says not found new devices, i have deleted from the alexa before i have uploaded even after also not able to find new devices , i just checked that your new code 10 hours keep alive wifi led ,after 10 hours it was gone offline
    thank you

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

    can we make alexa and google home automation with nodemcu8266 like this without sinric pro

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

    Thanks for idea😊 does this system remebers it's past state when power goes of and comes back?

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

      No, but soon I will make the same project with Tasmota, there it can remember the previous States

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

      I'm eagerly waiting for that please can u make it..I'm ready with parts to make it for my room😅

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

    That worked well especially when sinric is expiring. I see that I have an echo dot in my living room, so all devices there work but without an echo dot in the same wifi, the devices fail to operate on wifi. Any solution to that?

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

    relay are normally close or Normally Open ?

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

    Bro can we control fan speed use thi project ?

  • @SACHIN-bc4iy
    @SACHIN-bc4iy 2 года назад

    Hello sir i am an college student and we are going to work on a ev project so i need this kind of this to switch on/off car and control all the feature. so can this circuit be helpful

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

    Is it possible to do this project with Google Home instead of Alexa?

  • @user-RK1648
    @user-RK1648 3 года назад

    Google home useing can you do

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

    What range are control it

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

    This Great Man.. I made it, But only problem is, it cannot work if Echo Dot is off....
    Is it possible if echo Dot is off it can work through alexa mobile app...

  • @shan.p
    @shan.p 3 года назад

    Do we really need Alexa echo dot for this cant we do it with Alexa or Google assistant app??

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

    I want order pcb with assembly but told me that you want some files is not on like with Gerber file could you please send me it

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

    Hi Friend, congratulations from Brazil ! I have one question , if my internet is out I have some option to turn on my ligths?? Something like manual solution ?

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

      If there is no internet then you can control lights from switch manually.

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

    Can u add eeprom to this please sir because this is the best project without any third-party app or platform only eeprom needed.

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

    Can this be done using Google home app also??

  • @XYZ-qn7bd
    @XYZ-qn7bd 2 года назад

    can i use node mcu ?

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

    I am trying same ,but the esp32 board is not detecting by alexa app in android !!

  • @NaveenKumar-mg3lh
    @NaveenKumar-mg3lh 3 года назад

    hey.. can i use nodemcu esp8266??

  • @shamimahmed-ux4jy
    @shamimahmed-ux4jy 2 года назад +1

    Can i use esp8266 instead of esp32

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

    sir pcb mangbane me custom duty kitni lagegi and isko pay kese karenge

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

    Sir if I use 5v relay which you were use .
    For control daily time
    Then can I face any problem???
    I mean this relay maximum load (watt/amp)
    Please suggest me

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

      If I use this relay for controlling my fan .. then can I face any problem ... ?
      Likely relay may be damage??!?

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

    Can we use mobile Alexa to use it ?

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

    can you please provide the pcb design please

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

    Does it work with Home Assistant?

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

    sir manual switches are not working when it disconnect from internet or from wifi

  • @abinash.mohanty
    @abinash.mohanty 3 года назад

    Superb video ❤️
    Can we do this project using 4 relay module??
    Just by adding only 4 appliances in the code??

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

    Can i use alexa app from google play store ?

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

    Great video. How to make the lamp automatically turn off after 30 minutes?

    • @neicardoso1373
      @neicardoso1373 11 месяцев назад

      Basta colocar como uma tarefa em sua assistente virtual, Alexa ou siri ou Bixbay. Ou seja… coloque: Alexa, acender luz do quarto, desligar após 30 minutos de ligada!

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

    I have 2 channel relay module which says 5v . I tries using them with esp8266 but it is not working properly. I think because esp32 and 8266 have 3.3v output only... what should I do??? How to use 5v relay with 3.3v ???

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

    How to connect with google assistant?

  • @enginecheck971
    @enginecheck971 7 месяцев назад

    bhai ec project mi aik relay ki modifation kesy ho gi ?.....door lock kay ley...jab bhi on karin to 3seconds bad khod off ho jay plz help .code kesy modifi ho ga?

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

    Very nice project. Is it possible to make it with 24 relays instead 8?

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

      No. You can connect max 10 appliances

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

    how much load can I put on it

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

    very good video, if you can user sonoff is better regards