Best ESP32 project with Alexa Google Home Automation using ESP RainMaker - IoT Projects 2022

Sdílet
Vložit
  • čas přidán 9. 09. 2022
  • In this IoT project, I have explained how to make an ESP32 project with Alexa, and Google Home Automation using ESP RainMaker to control relays with voice commands, IR, and manual switches and store the last state in ESP32 flash memory (EEPROM). I have used all the free tools for this IoT-based smart home 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:
    00:27 Quick demo for the ESP32 IoT Project using ESP RainMaker.
    02:41 How to use Preferences library to save data in ESP32 NVS memory
    04:17 Example sketch to save the last GPIO state in ESP32.
    06:31 Required components for ESP32 project.
    06:38 Circuit diagram of ESP32 home automation project.
    07:12 Source codes for the ESP32 IoT Project.
    10:20 Add device in ESP RainMaker app.
    Required Components for the ESP32 internet of things project.
    1. ESP32 Devkit V1.
    2. 8-channel 5V SPDT Relay Module.
    3. TSOP1838 IR receiver (with metallic casing)
    4. Switches or Push Buttons.
    Amazon India Affiliate links:
    ESP32: amzn.to/331pohb
    8-channel 5V Relay Module: amzn.to/3mTWyVZ
    Echo Dot Alexa(4th Gen): amzn.to/3srCiPA
    Amazon United States Affiliate links:
    ESP32: amzn.to/3mBjCch
    8-channel 5V Relay Module: amzn.to/3p50UeH
    Help my projects on Patreon: / techstudycell
    Feel free to donate any amount: paypal.me/sdaspay
    Download the Code for the ESP32 project using ESP Rainmaker from the following article:
    iotcircuithub.com/esp32-proje...
    Download PCB Gerber File of ESP32 control 8 relays:
    drive.google.com/uc?export=do...
    Important Links:
    Preferences library tutorial: iotcircuithub.com/esp32-prefe...
    QR code to add devices in ESP RainMaker: iotcircuithub.com/wp-content/...
    Previous Video on ESP Rainmaker: • Home Automation using ...
    Steps to program ESP32 with Arduino IDE: • Programming NodeMCU ES...
    Get the HEX codes from IR remote: • Smart Home with Amazon...
    GitHub Page: github.com/espressif/arduino-...
    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 applications on mobile.
    3. You don't need to install Preferences.h separately.
    4. You can control relays from any WiFi network.
    5. Update the Preference URLs to install the ESP32 board version 2.0.3.
    6. To reset the WiFi details, press and hold the ESP32 BOOT button for 4 seconds then scan the QR code.
    7. IR receiver sensor must have a metallic casing. Otherwise, you may face issues while trying to get the Hex code.
    8. Please watch the complete video, otherwise you may face some issues.
    **Please take proper safety precautions while working with high voltages.
    During this ESP32 IoT tutorial video, I explained all the steps to use the Preferences library to save data permanently in ESP32 NVS flash memory.
    In this ESP32 project, you can control the relays without internet from the IR remote & 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 on Amazon Alexa, and Google Home app. So with this IoT 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.
    #esp32project #iotprojects #esp32
    -----------
    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
  • Věda a technologie

Komentáře • 138

  • @TechStudyCell
    @TechStudyCell  Před rokem +1

    Please Help my projects on Patreon: www.patreon.com/join/techstudycell
    Feel free to donate any amount: paypal.me/sdaspay

  • @techiesms
    @techiesms Před rokem +8

    This is really awesome, useful and a new learning for me.
    I have implemented this logic for my tomorrow’s video right now is last moment but it was worth it!!!
    Thanks once again ✌🏻

    • @saleemsadruddin4326
      @saleemsadruddin4326 Před rokem

      Love from Pakistan. I watch both channels and my house has esp32 controlled in most areas. Big Thanks to iotcircuit, I have ordered PCB from jlcb using their Gerber files

    • @drelectronics13
      @drelectronics13 Před rokem

      Yo I was going to share this project to u glad u saw it befor and don't forget to gv this bro credits he is just awesome ,btw u lose this time 🤣he added eeprom function before u any ways it goes like keep sharing keep learning

    • @TechStudyCell
      @TechStudyCell  Před rokem +1

      You are welcome...🙏

    • @techiesms
      @techiesms Před rokem

      @@drelectronics13 I have given the credits in the description of the video and also shared his video link 🙌🏻

    • @saleemsadruddin4326
      @saleemsadruddin4326 Před rokem

      @@techiesms isi Khushi mei aap bhi Gerber file public karde.

  • @mayankpatel6715
    @mayankpatel6715 Před rokem

    Thanks to picking up my comment 00:10. I realised today you're reading all comments which we do. Thanks to making such videos this would be next level project.
    i usually watched techiesms channel they had good content but many Indian can't understand too quickly his language. You makes complicated project in simple way and teach the codes in simple terms so anybody can make its own projects with help of you.
    Lots of thanks

  • @victor7ultimate
    @victor7ultimate Před rokem +2

    Actually implemented this project following this video guide. It was fun and interesting.

  • @bacdesilva
    @bacdesilva Před rokem

    Can we use this preferences library with nano iot 33 as well? Or how do you store permanent data in nano iot 33?

  • @novajaboticabal7439
    @novajaboticabal7439 Před rokem +2

    Great
    Could you make a video teaching how to make a thermostat with rainmaker on esp32 and DHT22.
    I'm counting on your help.
    thank you in advance

  • @flbeats3538
    @flbeats3538 Před rokem +1

    Thank you so much 😊

  • @albinbiju6018
    @albinbiju6018 Před 7 měsíci

    Thank u so much😃 broo can i use water pump it is overload device in same project

  • @aniketpol1502
    @aniketpol1502 Před rokem

    Sir another request... Can you add OTA code upload features using AsyncElegantOTA library

  • @naveenraja1856
    @naveenraja1856 Před rokem

    Hi bro.....Bro why not interface the Bluetooth control it is applicable or not pls tell bro....

  • @iamrafic
    @iamrafic Před rokem

    Much waited project, thanks bro. Keep up the good work.

  • @albinbiju6018
    @albinbiju6018 Před 7 měsíci

    Its work broo perfectly

  • @hamzaomari584
    @hamzaomari584 Před rokem +1

    Well done

  • @Pendu_music_2.0
    @Pendu_music_2.0 Před 4 měsíci +1

    I have esp8266 can it work

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 Před rokem +2

    Always top!

  • @drelectronics13
    @drelectronics13 Před rokem

    Thanx man u did it now we can make the perfect home automation

  • @NTcreations_22
    @NTcreations_22 Před rokem

    Sir in this video we will use ESP32 am I replace in ESP8266

  • @rabeeusman520
    @rabeeusman520 Před rokem +1

    my esp32 not connecting to wiffi automatically after went offline please guide me to resolve this issue

  • @arifhossain6845
    @arifhossain6845 Před rokem

    As per your instructions first upload Gpl stale code and check boot bullom then upload HEX Code then after 8relay model code Apps satup my big problem is not including HEX Code your other video which doesn't have remote it is ok after code upload but device off relay run onn and device off relay tun onn ... it works .... and problem manage library doesn't include ESP32 band 2.0.3 mine is andino 2.1 vanson plz help

  • @SabirHussain-yy9zi
    @SabirHussain-yy9zi Před rokem +1

    Hy sir my ir remote is not working??? How to solve this problem???

  • @Romiqtiink
    @Romiqtiink Před rokem

    wow what a brilliant and inspiring idea. if you add a motor to the curtain it will definitely be more interesting.

  • @allenhiyas3979
    @allenhiyas3979 Před rokem

    this project is so great!... can you make this project with ethernet port (w5500 lan module) i want to connect this to my internet thru cable... thanks...

  • @saleemsadruddin5211
    @saleemsadruddin5211 Před rokem

    Sir, it's not working perfectly. Sometimes after power cutoff and restore it takes values from physical switch position.
    Blynk was best as it used to take data from blynk cloud

  • @aniketpol1502
    @aniketpol1502 Před rokem

    Hey sir, It would be great if you can add fan speed dimmer and also a way to upload new codes to the board through OTA... As I've installed my project in the wall and to upload new code I have to always remove the esp32 from it

    • @tejapavanbonthu6043
      @tejapavanbonthu6043 Před rokem

      Please add fan dimmer+6appliances,ir, temparature senser,push button,esp rainmaker

  • @aniketpol1502
    @aniketpol1502 Před rokem

    Great video

  • @harishsekar6020
    @harishsekar6020 Před rokem +1

    Awesome

  • @user-lf9to9kr9c
    @user-lf9to9kr9c Před 9 měsíci

    Compile windows7 not work how to fixed?
    Windows 10 work

  • @sohinideb7843
    @sohinideb7843 Před rokem

    Well explained👍👍Thank you for sharing ....😃😃

  • @chiszmutez
    @chiszmutez Před rokem

    It can't reconect to wifi autmatically after i restart the wifi,any solution??

  • @buddhimaamarasinghe9997

    Excellent presentation, If possible, put an LDR and make a program, Then you can see the feedback in the lights(If the light does not work properly). Add a new video on how to turn ON/OFF all lights with the help of a timer. We got a lot of knowledge from watching your videos. Thanks.

  • @pritambakshi6936
    @pritambakshi6936 Před rokem +1

    Welldone 💯💯

  • @biswajitcreativity7294

    When the wifi signal is lost and come back wifi signal the ESP 32 not connect automatically in the wifi .
    And I turn off and on ESP 32 then the network connect.
    Not automatically connected why sir

  • @hassanzaenali9266
    @hassanzaenali9266 Před rokem

    Please RGB control with esp rainmaker

  • @koteswararaoneelapu3432

    Superb working sir cod
    Sir ,how many board working this code

  • @diaryiklanlucudiarylancu8367

    Thanks a lot sirr...added feedback lcd sir 🙏🙏🙏

  • @TechnoSAP
    @TechnoSAP Před rokem +2

    Nice 👍

  • @koteswararaoneelapu3432

    SUPERB SIR

  • @khatrichaitanya1981
    @khatrichaitanya1981 Před rokem +1

    your skill absoluto fine and amazing with new trend ,your coding skill very high but project somehow not practical due to some minor bugs or improvement needed
    when esp reboot any reason it will connect wifi
    but any reason wifi hotspot restart not connect to wifi .why?
    it is not practical to each time reboot esp module ,
    this problem not only me but many user in your subscriber ,
    kindly look this matter
    with out support making new project not possible ,
    kindly do some little help to me
    kindly update and upload same code with auto reconnect feature .
    i hope you understand my concern

  • @TheArither__2805
    @TheArither__2805 Před rokem

    Sir when I set up and enter wifi name then device autamatically disconnected as we have a need for connecting our phone and nodemcu with same wifi please tell me I follow all your projects and all are working but these didn't

    • @Bachelorkitchen7378
      @Bachelorkitchen7378 Před rokem

      May be your node mcu will be damaged plz ensure that try to a new node mcu for Testing

  • @iamrafic
    @iamrafic Před rokem

    Hi Bro,
    Any Special coding needed for WIFI reconnect? with your 8 Channel relay, wifi is not reconnecting automatically after disconnection.

    • @TechStudyCell
      @TechStudyCell  Před rokem +1

      It may take some time, but it should reconnect automatically.

    • @iamrafic
      @iamrafic Před rokem

      @@TechStudyCell ok thanks bro

  • @ALLINONE-ec9jq
    @ALLINONE-ec9jq Před rokem

    Please make solar panel power monitor esp32

  • @manojnathaneal.s4921
    @manojnathaneal.s4921 Před rokem

    Bro please make a video for fire detection and alarm system using blynk 2.0 app bro... That will be much useful

  • @asmorodronenow
    @asmorodronenow Před rokem

    Thank you very much sir👍can you help me how to create push button like door bell on android rainmaker? ..thanks

  • @vipinvg2048
    @vipinvg2048 Před rokem

    Also add IR blaster

  • @ashishsbhavsar8731
    @ashishsbhavsar8731 Před 7 měsíci

    It's not reconnect automatically to wifi when router restart , have to press button or restart the esp32 module to reconnect to wifi
    Except this error the Project is Amazing as I'm using this from last 8 months in my home.
    Please provide solution for auto reconnect.

  • @ravirajmokashi546
    @ravirajmokashi546 Před rokem

    One of best Project. Awesome Idea.
    Sir buc can same Program work or not in Node MCU ESP 8266.
    If not then make vdo on that with EEPROM or Preference Lib using Node MCU ESP8366. Thanks and Regards.

    • @drelectronics13
      @drelectronics13 Před rokem +1

      Rainmaker doesent support node mcu and node mcu is now for slow and small project

    • @TechStudyCell
      @TechStudyCell  Před rokem

      Working on it

  • @Ashishinsightss
    @Ashishinsightss Před rokem

    Report node config failed. PLZ HELP

  • @ravirajkala
    @ravirajkala Před rokem

    If wifi also goes down with the power supply, the esp does not reconnect with the wifi after power is restored. Please solve this problem.

    • @aniketpol1502
      @aniketpol1502 Před rokem

      Yes same problem here... I have to manually restart esp32 whenever my router power supply is down...

  • @kifayat030
    @kifayat030 Před rokem

    Sir g mujay full system chaheyay Jo apnay banaya hay plz

  • @gyaniworld663
    @gyaniworld663 Před rokem

    Sir can you please make a video on fan control in same project

  • @penketechnicalyoutubechann6302

    super bro.
    can you make fan dimmer control using rainmaker

  • @topnotchgamer4167
    @topnotchgamer4167 Před rokem

    Thanks a lot sir. 🥰

  • @spaulll
    @spaulll Před rokem

    Please make a project with the help of motion sensor and clap switch

  • @drelectronics13
    @drelectronics13 Před rokem

    Bro esp rainmaker app says no device found while provisioning ,tried all method .
    also i forgot all devices in my bluetooth still problem exist ,the esp32 boards are brand new ,what could be the cause as not only i nlbut many are facing the issue ,plss help👍

    • @TechStudyCell
      @TechStudyCell  Před rokem +1

      First delete the previous Projects from ESP RAINMAKER app, then unpair the ESP32 ble from mobile Bluetooth settings. Factory Reset the board and try again. If issue not resolved, create a new esp rainmaker account and try again.

    • @drelectronics13
      @drelectronics13 Před rokem

      @@TechStudyCell thnx for the reply i did this already ,it never seems to work ,though it work with the board i had lying for years, but now i brought 2 new boards from techiesms and they dont work here is the link of drive showing the issue plss check drive.google.com/file/d/1BlRB4Pq2uStkQjR83TJ-sR9bp83Ij19G/view?usp=drivesdk

    • @HuyBui-fs6yo
      @HuyBui-fs6yo Před rokem +1

      i have same problem

    • @drelectronics13
      @drelectronics13 Před rokem

      @@HuyBui-fs6yo I brought new boards and it's working, probably some boards which looks cheap are not working with it ,u should see the details written on the chip cover more info means original board and less info means it's fake one

  • @abanoubalfy5054
    @abanoubalfy5054 Před rokem

    Pin 35 is not responding ir

  • @koteswararaoneelapu3432

    Sir I am using yours code
    Excellent work sir thanku so much
    But I want small issue
    I am two esp32 using same coade sir so
    one board automatically WiFi signals faild wat is the problem sir 🙏

    • @khatrichaitanya1981
      @khatrichaitanya1981 Před rokem

      Actually same issue with my project i think no answer from project maker

  • @souvikmajumdar5341
    @souvikmajumdar5341 Před rokem

    rainmaker connection problem disconnected device

  • @flbeats3538
    @flbeats3538 Před rokem

    can we do it with blynk iot platform

    • @TechStudyCell
      @TechStudyCell  Před rokem

      Yes. You can use the Preferences for any ESP32 projects

    • @flbeats3538
      @flbeats3538 Před rokem

      brother my esp32 not pairing in esp rainmaker app it saying No bluetooth device found

    • @flbeats3538
      @flbeats3538 Před rokem

      and manually when you turn on switch after a minute it automatically turning off

  • @matthiash.454
    @matthiash.454 Před rokem

    Again a great video :-)
    Short question: Can you also make a video where only 4 relays are controlled with the appropriate PCB ?

    • @drelectronics13
      @drelectronics13 Před rokem

      Why no use rain this time 🙂👍he did best on youtube

  • @drelectronics13
    @drelectronics13 Před rokem

    As now we have best home automation pls make next video on ota update with rainmaker it is possible and shown on their web

    • @TechStudyCell
      @TechStudyCell  Před rokem +1

      Wifi details is not hard-coded. You can update the wifi details anytime from ESP RAINMAKER app. Please watch the complete video

    • @drelectronics13
      @drelectronics13 Před rokem

      @@TechStudyCell I watched whole video already I mean to say what if we want to update code ,ota?

  • @laxmiram19
    @laxmiram19 Před rokem

    Dream project for me, amazing and great work.

  • @koteswararaoneelapu3432

    sir am triying somany times but not uploading code, showing esp32 nodemcu error please tell me sir pleese

  • @flbeats3538
    @flbeats3538 Před rokem

    brother my esp32 not pairing in esp rainmaker app it saying No bluetooth device found, and manually when you turn on switch after a minute it automatically turning off please help brother 🙏

    • @TechStudyCell
      @TechStudyCell  Před rokem

      First, remove the previous device from esp rainmaker app. Unpair the Bluetooth, turn on gps and Bluetooth. Now press the boot button for 4 seconds and tryto scan the QR code.

    • @flbeats3538
      @flbeats3538 Před rokem

      @@TechStudyCell i tried that also but not working

    • @HuyBui-fs6yo
      @HuyBui-fs6yo Před rokem

      i have same problem

    • @flbeats3538
      @flbeats3538 Před rokem

      @@HuyBui-fs6yo is there any solution

    • @HuyBui-fs6yo
      @HuyBui-fs6yo Před rokem

      @@flbeats3538 someone tell me that should brought new boards and it's working, your board could be broken or fake one

  • @user-yi5ko8tj1n
    @user-yi5ko8tj1n Před rokem

    Mobile se coding kaise Kara

  • @rohitpawar2394
    @rohitpawar2394 Před rokem

    Sir add fan speed control your program esp ranimeker

  • @ketul.Malaviya
    @ketul.Malaviya Před rokem

    Sir isme mit app inventor kese add kare

  • @arifhossain6845
    @arifhossain6845 Před rokem

    ir recover code doesn't work

  • @khatrichaitanya1981
    @khatrichaitanya1981 Před rokem

    excellent but support required

  • @Sonamsingh-vz1ex
    @Sonamsingh-vz1ex Před rokem

    Fr

  • @user-yi5ko8tj1n
    @user-yi5ko8tj1n Před rokem

    Sir please Mobile se program kejia

  • @hasnainraja3781
    @hasnainraja3781 Před rokem

    💞💞💞💞💞💝💝💝💝💕💕💕

  • @AlokKumar-xn7zx
    @AlokKumar-xn7zx Před rokem

    hello sir I'm getting this error please help
    esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x4310
    E (74288) esp-tls: Failed to open new connection
    E (74288) TRANSPORT_BASE: Failed to open a new connection
    E (74294) MQTT_CLIENT: Error transport connect
    E (74296) esp_mqtt_glue: MQTT_EVENT_ERROR

  • @nandusahu9799
    @nandusahu9799 Před rokem

    सर कोड कंपाइल करते हैं तो एरर आता है मोबाइल फोन अपलोड
    प्रॉब्लम सॉल्व कीजिए
    sketch_jan31f.ino:16:20: fatal error: RMaker.h: No such file or directory

  • @contalivreemaberto1385
    @contalivreemaberto1385 Před rokem +1

    Great
    Could you make a video teaching how to make a thermostat with rainmaker on esp32 and DHT22.
    I'm counting on your help.
    thank you in advance