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

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ย. 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 138

  • @TechStudyCell
    @TechStudyCell  ปีที่แล้ว +1

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

  • @novajaboticabal7439
    @novajaboticabal7439 ปีที่แล้ว +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

  • @techiesms
    @techiesms ปีที่แล้ว +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 ปีที่แล้ว

      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 ปีที่แล้ว

      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  ปีที่แล้ว +1

      You are welcome...🙏

    • @techiesms
      @techiesms ปีที่แล้ว

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

    • @saleemsadruddin4326
      @saleemsadruddin4326 ปีที่แล้ว

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

  • @iamrafic
    @iamrafic ปีที่แล้ว

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

  • @mayankpatel6715
    @mayankpatel6715 ปีที่แล้ว

    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

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว +1

      Thanks for your support 🙂

  • @flbeats3538
    @flbeats3538 ปีที่แล้ว +1

    Thank you so much 😊

  • @victor7ultimate
    @victor7ultimate ปีที่แล้ว +2

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

  • @albinbiju6018
    @albinbiju6018 5 หลายเดือนก่อน

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

  • @albinbiju6018
    @albinbiju6018 5 หลายเดือนก่อน

    Its work broo perfectly

  • @hamzaomari584
    @hamzaomari584 ปีที่แล้ว +1

    Well done

  • @bacdesilva
    @bacdesilva ปีที่แล้ว

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

  • @Romiqtiink
    @Romiqtiink ปีที่แล้ว

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

  • @drelectronics13
    @drelectronics13 ปีที่แล้ว

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

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 ปีที่แล้ว +2

    Always top!

  • @allenhiyas3979
    @allenhiyas3979 ปีที่แล้ว

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

  • @aniketpol1502
    @aniketpol1502 ปีที่แล้ว

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

  • @sohinideb7843
    @sohinideb7843 ปีที่แล้ว

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

  • @koteswararaoneelapu3432
    @koteswararaoneelapu3432 ปีที่แล้ว

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

  • @naveenraja1856
    @naveenraja1856 ปีที่แล้ว

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

  • @diaryiklanlucudiarylancu8367
    @diaryiklanlucudiarylancu8367 ปีที่แล้ว +1

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

  • @NTcreations_22
    @NTcreations_22 ปีที่แล้ว

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

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

  • @manojnathaneal.s4921
    @manojnathaneal.s4921 ปีที่แล้ว

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

  • @penketechnicalyoutubechann6302
    @penketechnicalyoutubechann6302 ปีที่แล้ว

    super bro.
    can you make fan dimmer control using rainmaker

  • @pritambakshi6936
    @pritambakshi6936 ปีที่แล้ว +1

    Welldone 💯💯

  • @Pendu_music_2.0
    @Pendu_music_2.0 หลายเดือนก่อน +1

    I have esp8266 can it work

  • @aniketpol1502
    @aniketpol1502 ปีที่แล้ว

    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 ปีที่แล้ว

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

  • @aniketpol1502
    @aniketpol1502 ปีที่แล้ว

    Great video

  • @ravirajmokashi546
    @ravirajmokashi546 ปีที่แล้ว

    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 ปีที่แล้ว +1

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

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว

      Working on it

  • @laxmiram19
    @laxmiram19 ปีที่แล้ว

    Dream project for me, amazing and great work.

  • @gyaniworld663
    @gyaniworld663 ปีที่แล้ว

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

  • @harishsekar6020
    @harishsekar6020 ปีที่แล้ว +1

    Awesome

  • @khatrichaitanya1981
    @khatrichaitanya1981 ปีที่แล้ว +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

  • @ALLINONE-ec9jq
    @ALLINONE-ec9jq ปีที่แล้ว

    Please make solar panel power monitor esp32

  • @saleemsadruddin5211
    @saleemsadruddin5211 ปีที่แล้ว

    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

  • @TechnoSAP
    @TechnoSAP ปีที่แล้ว +2

    Nice 👍

  • @hassanzaenali9266
    @hassanzaenali9266 ปีที่แล้ว

    Please RGB control with esp rainmaker

  • @koteswararaoneelapu3432
    @koteswararaoneelapu3432 ปีที่แล้ว

    SUPERB SIR

  • @vipinvg2048
    @vipinvg2048 ปีที่แล้ว

    Also add IR blaster

  • @asmorodronenow
    @asmorodronenow ปีที่แล้ว

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

  • @SabirHussain-yy9zi
    @SabirHussain-yy9zi ปีที่แล้ว +1

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

  • @rabeeusman520
    @rabeeusman520 ปีที่แล้ว +1

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

  • @kifayat030
    @kifayat030 10 หลายเดือนก่อน

    Sir g mujay full system chaheyay Jo apnay banaya hay plz

  • @topnotchgamer4167
    @topnotchgamer4167 ปีที่แล้ว

    Thanks a lot sir. 🥰

  • @user-lf9to9kr9c
    @user-lf9to9kr9c 7 หลายเดือนก่อน

    Compile windows7 not work how to fixed?
    Windows 10 work

  • @arifhossain6845
    @arifhossain6845 ปีที่แล้ว

    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

  • @drelectronics13
    @drelectronics13 ปีที่แล้ว

    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  ปีที่แล้ว +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 ปีที่แล้ว

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

  • @ashishsbhavsar8731
    @ashishsbhavsar8731 5 หลายเดือนก่อน

    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.

  • @matthiash.454
    @matthiash.454 ปีที่แล้ว

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

    • @drelectronics13
      @drelectronics13 ปีที่แล้ว

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

  • @spaulll
    @spaulll ปีที่แล้ว

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

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

  • @iamrafic
    @iamrafic ปีที่แล้ว

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

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว +1

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

    • @iamrafic
      @iamrafic ปีที่แล้ว

      @@TechStudyCell ok thanks bro

  • @koteswararaoneelapu3432
    @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 ปีที่แล้ว

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

  • @rohitpawar2394
    @rohitpawar2394 ปีที่แล้ว

    Sir add fan speed control your program esp ranimeker

  • @TheArither__2805
    @TheArither__2805 ปีที่แล้ว

    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 ปีที่แล้ว

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

  • @chiszmutez
    @chiszmutez ปีที่แล้ว

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

  • @drelectronics13
    @drelectronics13 ปีที่แล้ว

    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  ปีที่แล้ว +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 ปีที่แล้ว

      @@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 ปีที่แล้ว +1

      i have same problem

    • @drelectronics13
      @drelectronics13 ปีที่แล้ว

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

  • @souvikmajumdar5341
    @souvikmajumdar5341 ปีที่แล้ว

    rainmaker connection problem disconnected device

  • @abanoubalfy5054
    @abanoubalfy5054 ปีที่แล้ว

    Pin 35 is not responding ir

  • @Ashishinsightss
    @Ashishinsightss ปีที่แล้ว

    Report node config failed. PLZ HELP

  • @flbeats3538
    @flbeats3538 ปีที่แล้ว

    can we do it with blynk iot platform

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว

      Yes. You can use the Preferences for any ESP32 projects

    • @flbeats3538
      @flbeats3538 ปีที่แล้ว

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

    • @flbeats3538
      @flbeats3538 ปีที่แล้ว

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

  • @user-yi5ko8tj1n
    @user-yi5ko8tj1n ปีที่แล้ว

    Mobile se coding kaise Kara

  • @flbeats3538
    @flbeats3538 ปีที่แล้ว

    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  ปีที่แล้ว

      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 ปีที่แล้ว

      @@TechStudyCell i tried that also but not working

    • @HuyBui-fs6yo
      @HuyBui-fs6yo ปีที่แล้ว

      i have same problem

    • @flbeats3538
      @flbeats3538 ปีที่แล้ว

      @@HuyBui-fs6yo is there any solution

    • @HuyBui-fs6yo
      @HuyBui-fs6yo ปีที่แล้ว

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

  • @ketul.Malaviya
    @ketul.Malaviya ปีที่แล้ว

    Sir isme mit app inventor kese add kare

  • @ravirajkala
    @ravirajkala ปีที่แล้ว

    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 ปีที่แล้ว

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

  • @khatrichaitanya1981
    @khatrichaitanya1981 ปีที่แล้ว

    excellent but support required

  • @koteswararaoneelapu3432
    @koteswararaoneelapu3432 ปีที่แล้ว

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

  • @arifhossain6845
    @arifhossain6845 ปีที่แล้ว

    ir recover code doesn't work

  • @user-yi5ko8tj1n
    @user-yi5ko8tj1n ปีที่แล้ว

    Sir please Mobile se program kejia

  • @Sonamsingh-vz1ex
    @Sonamsingh-vz1ex ปีที่แล้ว

    Fr

  • @hasnainraja3781
    @hasnainraja3781 ปีที่แล้ว

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

  • @AlokKumar-xn7zx
    @AlokKumar-xn7zx ปีที่แล้ว

    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 ปีที่แล้ว

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

  • @contalivreemaberto1385
    @contalivreemaberto1385 ปีที่แล้ว +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