IoT Project using ESP RainMaker with Google Assistant Alexa & Manual Switch - ESP32 Projects 2022

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • In this ESP32 project, I have shown you how to make IoT Project using ESP RainMaker with Google Assistant Alexa to control relays with voice commands and manual switches. I have used all the free tools for this IoT-based home automation system.
    To try out the FREE trial version of Altium, click here - www.altium.com...
    During the ESP Rainmaker tutorial video, I covered the following topics:
    01:40 Control relays with Google Assistant and Alexa using ESP32
    03:03 Control appliances manually with switches.
    04:34 Required Components for this IoT project.
    04:49 Circuit diagram of ESP32 home automation project.
    05:44 Source codes for the ESP Rainmaker Project.
    07:38 Program ESP32 with Arduino IDE
    08:02 Update WiFi details through OTA with ESP Rainmaker.
    09:24 Connect Amazon Alexa with the ESP Rainmaker app.
    10:08 Connect Google Home with the ESP Rainmaker app.
    Required Components for the ESP32 home automation system
    1. ESP32 Devkit.
    2. 4-channel or 8-channel 5V SPDT Relay Module.
    3. Switches or Push Buttons.
    Amazon India Affiliate links:
    ESP32 : amzn.to/331pohb
    4-channel 5V Relay Module : amzn.to/2BQ5Y3o
    Echo Dot Alexa(4th Gen) : amzn.to/3srCiPA
    Amazon United States Affiliate links:
    ESP32: amzn.to/3mBjCch
    4-channel 5V Relay Module: amzn.to/3r2HuJ4
    Help my projects on Patreon: / techstudycell
    Feel free to donate any amount: paypal.me/sdaspay
    Download the Code for ESP32 IoT project with ESP Rainmaker from the following article:
    iotcircuithub....
    Download PCB Gerber File of ESP32 control 8 relays:
    drive.google.c...
    Important points:
    1. You don't need any Amazon echo device for this IoT Project.
    2. You need to install ESP Rainmaker, Google Home, and Amazon Alexa IoT application on mobile.
    3. You can control relays from any WiFi network if ESP32 is connected to WiFi.
    4. Update the Preference URLs to install the ESP32 board version 2.0.3 as shown in the video.
    5. To generate the QR code, press and hold the ESP32 BOOT button for 4 seconds.
    6. Please watch the complete video, otherwise you may face some issues.
    **Please take proper safety precautions while working with high voltages.
    Previous Video links:
    How to program ESP32 using Arduino IDE
    • Programming NodeMCU ES...
    During the internet of things tutorial video, I explained all the steps to make this IoT-based home automation system, and how to connect Rainmaker with Google Assistant and Amazon Alexa app.
    In this ESP32 project, you can control the relays without internet from the manual switches. ESP32 will automatically connect with the IoT cloud when the internet comes back.
    If the ESP32 is connected with Wi-Fi, 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.
    #iotprojects #esp32 #homeautomation
    -----------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more projects: iotcircuithub....
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudy...
    -----------
    -----------
    WARNING:
    This video is for demonstration and educational purposes only.
    Each demonstration presents risks and hazards that must be fully understood before attempting.
    And should be performed only by professionals
    -----------
    Other useful IoT projects:
    Latest ESP32 projects playlist:
    • ESP32 Projects
    Latest NodeMCU projects playlist:
    • NodeMCU Projects
    Arduino Home Automation Projects playlist:
    • Arduino Projects
  • Наука та технологія

КОМЕНТАРІ • 348

  • @prajwalhn311
    @prajwalhn311 2 роки тому +2

    Was exactly waiting for this!! Thank you!

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

    I thank you for this. Three days on the wait. Thank you and following every detail.

  • @pqrst931
    @pqrst931 Рік тому +3

    I tried this project and it really work and I'm really happy from it thank you for this video i just have 1 issue with this project is that when ever esp32 restart it sets all the relays to off mode. Is there any way to make it remember which relay was on and which was off . Please reply

    • @simpleproject6848
      @simpleproject6848 2 місяці тому

      Can you gine me code I faced some issues in if you want help me you can

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

    Thank you very much for my first step of making diy smart home.
    Respect!

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

    It works really well. Thank you for the code.
    added OLED display to show status of 8 relay and WiFi connectivity, it works really well.
    Unlike Blynk Rainmaker is really good. Blynk used to cause lots of issues if offline.

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

    The very practical project, thank you very much.

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

    I did it and it's working fine....I used the vin pin from esp to supply power to Relay module and used a 5v 1amp charger adapter to power up the esp...

  • @arrieventer1691
    @arrieventer1691 4 місяці тому

    Great video. Thank you

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

    Thank u so much Tech study cell 😃🙂

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

    Thank you very much for all the work you have done and shared. well done my friend

  • @Maii22.c
    @Maii22.c 4 місяці тому +1

    Hi! Nice video, could you teach how to conect two Relays and a stepper motor (or cc motor) to open, close (or set height with percentages) a roller blind?

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

    Definelly the best channel of IOT. 👏👏

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

    thank u man last video i mention comments do rainmaker project now u done You are great
    can u add more sensor related to home like door sensor security alram, motion sensor

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

    Excellent work!

  • @contalivreemaberto1385
    @contalivreemaberto1385 2 роки тому +4

    Excellent very educational video.
    Could you please make another one with the thermostat function.
    With DS18B20 and also with DHT11
    I thank you in advance

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

    I really like this project, thank you sir.

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

    Can we do this project with esp8266

  • @trafficrider1258
    @trafficrider1258 7 місяців тому +1

    Bhaiya please help kar do, in my case mere mai kabhi kabhi light ya fan apne aap band ho jate hai and app mai bhi band show hote hai jabki agr relay mai problem hoti toh ye app mai show nahi hota pr app mai show ho raha hai ki turned off hai, mujhe smjh nahi aa raha issue kya hai? 😢😢

  • @luisenriquehernandezzamora2432
    @luisenriquehernandezzamora2432 9 місяців тому +1

    thanks for the amazing but i have a question in case i don't have an ESP32 board, can i use an ESP8266 instead?

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

    Excellent brother.

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

    1.thank you working
    2.not working with server without internet
    3.how i change relay state for last state?

  • @ShamimAhmed-rj9kr
    @ShamimAhmed-rj9kr 2 роки тому +2

    Good work

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

    Please can you tell us what is the parts in side PCB ?

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

    What should I change in code to use Active HIGH relay? Because I have only Active High relay at this moment.

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

    What is difference of esp32dev kit v1 and esp32 dev

  • @paulhowes3788
    @paulhowes3788 5 місяців тому

    Great project. I got this working no problem. Is it possible to have 2 of these on the same network and within rainmaker? What needs to be changed in the code to make each esp32 unique.
    Many thanks

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

    At 8:19, after a 4 second press of the boot button, no text or barcode appeared for "4Relay_Button" sketch.

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

    Sir the project is very nice please add 3rd speed fan dimmer to it

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

    I have been an ardent follower of your videos and have constructed most of your circuits. In this one, is there any way to remember the last state of relay before power cut?

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

    Awesome. Thank you.

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

    Wonderful, amazing. Thanks my dear

  • @balajibg1537
    @balajibg1537 2 роки тому +2

    Excellent Demonstration Bro. I have gone through your steps and after scanned QR code from ESP Rain maker, device is not getting connected in my ESP rain maker mobile app eventhough WIFI and BT is turned on. Blue LED started in ESP32 module. Any change to be done in your code? Help please.

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

    nice video, only issue is that once net is down it becomes useless for any remote control mechanism, basically it becomes a dead switch just like our non smart regular home switches, at lease if the wifi is available irrespective of internet, then we should be allowed to locally use the controls, lik esphome or homeassistant or even tasmota, or esp purna, but rainmaker becomes uselss once you are without internet. This was only limitation otherwise it is very good overall.

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

    Could you please share the Gerber for 4 relay module..!

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

    Can you make a project with Fan speed control!

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

    Sounds like a great project to me. What would happen if I want the relay to act only for a second, since what I need is just an impulse, for example to open a gate

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

    Thanks bro with this wonderful tutorials. Please how to implement local network control without internet?

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

    Bro I have done this after watching this video, the problem for me is the mannual switches works only if I press the switches 2times ,pls provide me a solution bro...

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

    very amazing, but please help how to turn one of the switches into a push button like a doorbell button? thanks

  • @IoT-InternetDasCoisas
    @IoT-InternetDasCoisas 2 роки тому +1

    Perfect, complete and detailed video tutorial, I made it here and it worked correctly, please, can you make a Tutotial like this, with ESP Rainmaker and MQTT together?
    Congratulations on the video and the channel!"

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

      I will try. Thanks

    • @IoT-InternetDasCoisas
      @IoT-InternetDasCoisas 2 роки тому

      @@TechStudyCell Please, try to do it, I found RainMaker very interesting and if you have it with MQTT, it would be perfect, I'll count on you, Success always!😍

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

      @@IoT-InternetDasCoisas sir please help to solve error i cant connect esp rainmaker app

  • @Sanjay-cp8qh
    @Sanjay-cp8qh Рік тому +2

    Can we upload a code by using mobile ..?

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

    Very nice project & detail explanation. Please make a project using RainMaker with fan speed controller.

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

    Excellent work

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

    great work

  • @ancelmosd
    @ancelmosd 11 місяців тому

    vou testar amanhã.

  • @venkateshbharadwaj3677
    @venkateshbharadwaj3677 2 роки тому +4

    As usual awesome project Sir.
    I have a question, Can I use touch switches TTP223 instead of the Push Buttons, if yes will there be any change in the code?

  • @sivaprakash7093
    @sivaprakash7093 10 місяців тому

    anna your videos are super doing a great job i have dought can i use esp8266 instead of esp32 it will work or not

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

    Bro please make automation using Google assistant, blynk ,timer ,and manual switch using esp 8266

  • @MuhammadRidho-qu9ey
    @MuhammadRidho-qu9ey 7 місяців тому

    Can you make a video of an IoT project with an ESP32 cam for video streaming and can monitor home security with face recognition or something else?

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

    thanks very much very well done

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

    Hi, when switch 1 is at ON state in rainmaker app than esp pin is also ON
    When esp is deprived of power and when power re supplied to esp board the pin comes to OFF status.
    And due to sync rainmaker app also goes to OFF status at switch 1.
    Unlike blynk.
    This should be other way around.
    On resume of power to esp board the board should get all values from rainmaker to resume it's state after power is Normal to esp board.

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

    Nice 👍 one there but please I read that rainmaker support local control

  • @mesutyenigun7609
    @mesutyenigun7609 2 роки тому +2

    Thank you very much. I've simple question could you reply it? There are lots of NodeMcu modul in market. Like as ESP-01 ESP-12 E CP2102 CH340. Which one is most reliable and easy to use. What is the difference between ESP2866 ESP32. I want to control 8 relay and 4 sensor

    • @Aashutoshkumar-xu1zy
      @Aashutoshkumar-xu1zy 11 місяців тому

      ESP32 have both function Bluetooth and wifi and powerful processor then ESP8266 have only wifi function.

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

    Hi there great video always, do u have a 16 channel settings

  • @arunsuthartravelvlog3578
    @arunsuthartravelvlog3578 2 роки тому +2

    What about provisioning error ?
    I got this error when I scans the QR it is fail to step 2

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

    hello Friend thats very nice to control all the equipment without wifi ......
    Can we control this item on the basis of time control means to control any equipments on a specific time for a specified time period without wifi??????

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

    Our HMI displays can work with STM32, ESP32 and Arduino by UART communication.
    Could you please make some Sponsored videos for our HMI LCD?

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

    Can you teach me how to use esp32 with apple homekit? THANK YOU

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

    Great video, I mounted it and it worked fine, but my esp connects to the internet only when they are connected to the computer by USB, when I remove the USB cable it disconnects from the internet. :(

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

    Error compiling for board ESP32 dev module......not compatible with version of windows you are running. I'm using windows 8

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

    Superb

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

    Hello once again my regards to you and your team and thank you for making us IoT gurus in our small world with your tutorials.Please it is possible to for the esp32 rainmaker keeping memory for the on and off switch functions like the other projects which remember their on and off state?My regards

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

    Hii sir.. i have a problem.
    Actually .maine esp rainmaker app me 8 switch set ki hai and alexa me bhi set higayi hai.but ab mai esp rainmaker me alag esp32 se 8 switch set kar raha hu to esp rainmaker me set to sari hojaa rahi hai.but alexa me shirf last wali 8 number ki switch set ho rahi hai.
    Kya alexa app me limitations hai devices add karne pe?

  • @m.shayanshamim6351
    @m.shayanshamim6351 2 роки тому

    Sir please tell me how to add ir remote feature in this project ? Which changes is required in the coding ?

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

    That's awesome, 👍

  • @yaeeen19-37
    @yaeeen19-37 Рік тому

    Resistor value in switch button??

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

    can you pass me the Rmaker.h library please

  • @HarbansSingh-ce2tm
    @HarbansSingh-ce2tm 2 роки тому

    Good job bro.....

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

    Good project
    Will it work with node mcu esp8266 +hc05 Bluetooth module

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

    Can we use this to operate heavy machine like water pump, AC or other

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

    Great, Please Update Without Switch With ESP32 - I2C To 16 Channel Relay Home Automation Feedback

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

    I expect more project from esp rain maker different version

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

    Nice thanks,.
    Want to design for ceiling light, pls make one video for that......

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

      I am working on that. Thanks

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

      Pls make one video for that by esp8266, pls

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

    Excellent video Sir, Can we control multiple ESP32 modules with ESP Rainmaker?

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

    regarding to your lora nodmcu project (Code_NodeMCU_Lora_TX_feedback) , i can program to nodmcu without error , but its restarting with
    ets Jan 8 2013,rst cause:4, boot mode:(3,7)
    wdt reset.
    is it related software serial ? can u help me the nodmcu working smoothly any other sketch.

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

    Sir can I replace push button with TTP223 touch module? Or not , how can I use the TTP223 touch sensor?.. please tel me ☺️

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

    Please help,
    I cant see any QR code in serial monitor, although a no of code running again and again in serial monitor window

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

    just looking for it for my new gaming studio

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

    Use EEPROM Code in ESP32 Projects. We're waiting for it.
    Thank you for developing such type of free projects for us.
    Guys, Please donate some fund and keep subscribing, sharing the containt to encourage n kind support.

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

    I've done the same thing as you, but I want the led on the relay to turn off when it's done booting up.

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

    O esp 32 não reconecta ao app rainmaker quando é reiniciado. Como resolver?

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

    If it is included with Fan speed regulation then it would be great

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

    can i use 2 complete modules of this proyects in diferents houses but with the same wifi and google assitant acount?

  • @maheshprajapati7928
    @maheshprajapati7928 2 роки тому +2

    please add fan speed control

  • @ANANTHAKRISHNANS-ny3di
    @ANANTHAKRISHNANS-ny3di 4 місяці тому

    Please share the 16 ch Relay connection with esp 32 code

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

    perfect!!!!!

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

    Very good project,
    But wifii is not reconnecting after lost wiffi connection....I have to restart esp32 to do so ...please give a solution...

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

    Sir....why I only add 3 switch....if more... rianmaker app error connection....?

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

    Can you make energy meter using bl0937 and esp8266 ?

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

    This project can use with ESP826 or not

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

      Hellow. Allow me to contribute.
      Esp8266 is not supported by esp rainmaker because it lacks bluetooth connectivity. Esp32 has both bluetooth and wifi on the same chip. Esp rainmaker first communicates to esp32 for you to enter wifi details and then shuts off bluetooth and shifts connectivity to WIFI full time. Thank you.
      I had an i dea.
      What if esp8266 is first interfaced with hc05 0r hc 06 bluetooth module in some way so that its able to have both capabilities of bluetooth and wifi.... Please someone help

  • @dewkigaming7681
    @dewkigaming7681 6 місяців тому

    2 days it's work perfectly but Suddenly wifi led not blink and I didn't connect to wifi please help me

  • @ReneeRios
    @ReneeRios 10 місяців тому

    Is it possible to increase more modules? 16 or 32 modules?

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

    hello, thank you very much for this amazing video, after test (switch) I noticed that if the light is off, I turn it on with rainmaker, and press the switch, the light does not turn off I have to press twice as if I had a button

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

      For switch, there is specific on and off position. If you press the switch off position, the relay will turn off

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

    // define the Chip Id
    uint32_t espChipId = 5;
    In your code what does this mean please?

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

    Thanks for a good project.
    Please add a functionality to turn off Or on switch at particular time.
    Can we operate the switch from any where using rainmaker app?

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

      Yes. You can control from anywhere.

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

      @@TechStudyCell thanks for reply, Can we schedule the switch ON OFF using rainmaker app?

  • @ermsridharan548
    @ermsridharan548 11 місяців тому

    While uploading code on Esp 32... the error shows Serial port not connected or not exist... how can I resolve it..

  • @enginecheck971
    @enginecheck971 10 місяців тому

    Plz help. I made this project. And its working fime. But i want one relay to inching mode becoz it will be use with door lock plz help. I dont understand the coding. Plz help

  • @Rouf999
    @Rouf999 11 місяців тому

    Can you please add soft ap support in the code

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

    do you know how could use my own app instead rainmaker?

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

    If the Esp32 is off for some , would the project work with only manual buttons