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

Поделиться
HTML-код
  • Опубликовано: 15 июл 2022
  • 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/yt/techstudycell
    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.com/iot-project...
    Download PCB Gerber File of ESP32 control 8 relays:
    drive.google.com/uc?export=do...
    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.com/
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudycell/
    -----------
    -----------
    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
  • НаукаНаука

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

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

    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.

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

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

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

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

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

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

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

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

  • @pqrst931
    @pqrst931 Год назад +1

    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

  • @scaredcrew
    @scaredcrew Год назад +1

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

  • @luisenriquehernandezzamora2432
    @luisenriquehernandezzamora2432 6 месяцев назад +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?

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

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

  • @contalivreemaberto1385
    @contalivreemaberto1385 Год назад +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

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

    Was exactly waiting for this!! Thank you!

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

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

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

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

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

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

    Hello, please I need help to fill *Sample-BOM_JLCSMT* and *JLCSMT_Sample_CPL1* files finally to order the pcb board with the assembly on the JLCPCB platform ... thanks in advance

  • @Dexter.lab2019
    @Dexter.lab2019 Год назад

    Is it posible to connect multiple esp32 in 1 dashboard? Like the one we can do with blynk iot. Thanks in advance.

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

    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

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

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

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

    bro in 4 channel relay when i turn off the turmimg inot on state and vice versa . what is the problem could you explain

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

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

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

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

    Hello Tech StudyCell, can you help me with a 16 relay version? I already tried it but it gives me an error, I'm using the ESP32 38 Pin ESP WROOM 32 WIFI, Bluetooth, your code of 8 does load it but I have a 16 relay module and it won't let me load it. Could you help me with the code and how to do it? the connections please?

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

    Hello, I don't have the status in ESP Rain Maker when I turn it on and off by manual switch.

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

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

  • @abdulhadialdarweesh3886
    @abdulhadialdarweesh3886 Год назад +1

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

  • @tlar1272
    @tlar1272 Год назад +1

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

  • @Maii22.c
    @Maii22.c Месяц назад +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?

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

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

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

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

    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?

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

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

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

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

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

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

  • @3ifishfarms661
    @3ifishfarms661 Год назад

    am farmer
    I required program to monitor 4 moisture sensor readings and
    4 ldr sensor readings and 4 humidity tem readings with 1 single Esp8266node mcu with new blynk app.
    Can u help me out with program and circuit diagram

  • @MuhammadRidho-qu9ey
    @MuhammadRidho-qu9ey 5 месяцев назад

    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?

  • @gregorybustamante386
    @gregorybustamante386 5 месяцев назад

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

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

    Will it work without Internet . Using the esprainmaker mobile app

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

    rainmaker can support up to 8 relay board?

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

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

  • @NAGARAJU-fx8cl
    @NAGARAJU-fx8cl Год назад

    Bro how to get the partition scheme as rainmaker for esp32 board

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

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

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

    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.

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

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

    I really like this project, thank you sir.

  • @sivaprakash7093
    @sivaprakash7093 8 месяцев назад

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

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

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

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

    Bro i want fan speed control in esp rainmaker and please change using switch alternately use touch sensors

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

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

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

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

    Hello friend, I need help to solve IRremote coding. Whenever I press a remote control it just FFFFFF on the serial monitor. I'm struggling here. Help please, what can I do so that monitor shows out the real IR CODES?

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

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

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

    Can you make energy meter using bl0937 and esp8266 ?

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

    Thank u so much Tech study cell 😃🙂

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

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

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

    how do you resolve this "no wifi connection named(prov_xxxxxx) is picked up from the device by my phones wi-fi scan."

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

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

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

    Hello sir
    Esp32 supported Eeprom memory or not

  • @yoginishinde-ys7lu
    @yoginishinde-ys7lu Год назад

    Can I use ESP8266 or ESP32S instead using of ESP32

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

    My blynk app says incorrect device what can be the possible issue

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

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

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

    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

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

    HOW DO I INCLUDE THE LIBRARIES OF RMAKER AND ACEDBUTTON?

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

    Thank you very much. I m your follower but in this proyect when i try to upload the progra i have this error
    exit status 1
    expected unqualified-id before '-' token
    please help mi hello from colombia sa

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

    Can i use nodemcu in this project?

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

    que solución se le puede dar si el código de la aplicación no aparece?

  • @mr_arvind_3208
    @mr_arvind_3208 Год назад +1

    What is difference of esp32dev kit v1 and esp32 dev

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

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

  • @trafficrider1258
    @trafficrider1258 5 месяцев назад +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? 😢😢

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

    Awesome. Thank you.

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

    How many device can be added to rainmaker...is it unlimited?

  • @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 8 месяцев назад

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

  • @mrlokesh7502
    @mrlokesh7502 10 месяцев назад

    Can we connect tow esp32 to one app

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

    Can you make a project with Fan speed control!

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

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

  • @user-yo9vs7sw7s
    @user-yo9vs7sw7s 7 месяцев назад

    sir share the pcb gerber file ecternal switches not push button.

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

    Hello Bhai I am uploading code in esp3266MOD but it is not uploading and showing problem status 2 how to fix it please help me bro

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

    The very practical project, thank you very much.

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

    Excellent work!

  • @Garagebd.
    @Garagebd. 2 года назад +1

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

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

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

  • @user-yo9vs7sw7s
    @user-yo9vs7sw7s 7 месяцев назад

    sir share the pcb gerber file external switches not push button

  • @s.b.birdcare1117
    @s.b.birdcare1117 Год назад

    Esp8266 se kara ja sakta hain keya....??

  • @DinhThanh-nk5bj
    @DinhThanh-nk5bj Месяц назад

    Mine is also esp32 dev kit v1 but why is there an error?
    rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff0030,len:1448
    load:0x40078000,len:14844
    ho 0 tail 12 room 4
    load:0x40080400,len:4
    load:0x40080404,len:3356
    entry 0x4008059c
    ets Jul 29 2019 12:21:4

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

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

    Excellent brother.

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

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

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

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

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

    error while connecting esp rain maker app "Error in changing user role to admin" please help me anyone .can anyone make this please help

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

    Esque ça marche avec esp8266 ???

  • @yaeeen19-37
    @yaeeen19-37 Год назад

    Resistor value in switch button??

  • @ANANTHAKRISHNANS-ny3di
    @ANANTHAKRISHNANS-ny3di 2 месяца назад

    Please share the 16 ch Relay connection with esp 32 code

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

    Can we do this project with esp8266

  • @uongphanminh6420
    @uongphanminh6420 6 месяцев назад

    Hi Pro, I'm having this problem, can you help me?.
    Traceback (most recent call last):
    File "gen_insights_package.py", line 56, in
    File "gen_insights_package.py", line 30, in main
    File "shutil.py", line 435, in copy2
    File "shutil.py", line 264, in copyfile
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Aladin\\-.bin'
    [9600] Failed to execute script 'gen_insights_package' due to unhandled exception!
    exit status 1
    Compilation error: exit status 1

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

    Hi,
    i am getting below error Writing at 0x000c1a33... (43 %)
    Writing at 0x000c72ca... (44 %)
    Writing at 0x000cccce... (46 %)
    A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.
    Failed uploading: uploading error: exit status 2
    can you help me

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

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

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

    Cant we use ESP8266 instead of ESP32 ??

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

    I have an error when connecting to my 2 wifi routers...confirming wifi connection provisioning failed..