Smart Home - ESP8266, ESP32, Tasmota, Android, iPhone - Google Home, Alexa - ESP Rainmaker IOT

Поділитися
Вставка
  • Опубліковано 3 жов 2022
  • How to setup, control and monitor all your ESP8285, ESP8266 and ESP32 and other devices from your Android or iPhone using ESP Rainmaker. Integrate with Home assistant, Google Home, Amazon Alexa and other home automation platforms.
    Please don't forget to leave a like please :)
    **** Bonus ****
    See Espressif's presentation on how ESP Rainmaker works at • EDC22 Day 1 Talk 3: ES...
    Source Code at: github.com/JohnMacrae/Rainmak...
    Install Tasmota: tasmota.github.io/install/
    Excellent MQTT Client: github.com/marvinroger/async-...
    ESP Rainmaker: rainmaker.espressif.com/
    Some of my Lab Equipment and Tools
    Sidecutters amzn.to/3UaOEdh
    Long nose pliers amzn.to/3Giizum
    screwdriver set amzn.to/3KxwrmT
    Security Driver set amzn.to/3ZHQeVd
    TS-100 Soldering Iron amzn.to/3UaWjbr
    Wire Strippers amzn.to/3zyCOju
    amzn.to/3ZECKtd
    Test Equipment
    UT210E Multimeter amzn.to/3K6mDPv
    Tenma Power supply amzn.to/3ZBlLYF
    JCD 858D amzn.to/3nHsP90
    More projects at kk4oyj.wordpress.com
    Follow along on Twitter / itinerantham
    / 3243569719245383
    Ask questions on Discord: / discord
  • Навчання та стиль

КОМЕНТАРІ • 43

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

    Perfect solution Sir! 👏👏
    Is possible use ESP NOW instead tasmota mqtt?

    • @Magic-Smoke
      @Magic-Smoke  Рік тому +1

      Yes, it is but it's a lot more work to implement a robust messaging protocol over ESP now

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

      @@Magic-Smoke mqtt uses aditional hardware for the broker. I will try out ESP now. 😘

    • @Magic-Smoke
      @Magic-Smoke  Рік тому +1

      On reflection, I think you may struggle to access, share and control the WiFi connection that would allow you to use ESP now on the same module as rainmaker. But you could use another module for the ESP now and link them with serial. It could give you very good range and speed.

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

      You are a gentleman. I understood the context of your project, you already had a working ESP structure. My intention is to start from scratch and you are invited. 😘

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

      @@rubialugattimoreira1978 i need a change a switch as read only switch so where and how I need to add PROP_FLAG_READ ( I used Switch, Voltage Parameter) sir

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

    Thank you john 🙋‍♂️

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

    Clever. Thank you!

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

    Looks like a great thing to look at, once i get my solar install intergrated in to HA.

    • @Magic-Smoke
      @Magic-Smoke  Рік тому

      Its pretty cool! The uses are almost unlimited for the hobbyist

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

    Interesting.

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

    i need a change a switch as read only switch so where and how I need to add PROP_FLAG_READ ( I used Switch, Voltage Parameter) sir

    • @Magic-Smoke
      @Magic-Smoke  Рік тому +2

      So you just need to add the flag when you define the parameter. E.g. esp_rmaker_param_t *power_param = esp_rmaker_param_create("power", NULL, esp_rmaker_bool(true), PROP_FLAG_READ | PROP_FLAG_WRITE);

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

    Hi, thank you for your out of the box thinking and I like it very much. Please clarify, if it is done, can I access my ESP2866 devices from outside my network as other RainMaker devices?

    • @Magic-Smoke
      @Magic-Smoke  Рік тому +1

      Yes, indeed. If you have any device at all that 'speaks' mqtt, you can bridge to it with your esp32 and Rainmaker. So anywhere you have a data connection, you will be able to monitor and control the devices

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

      @@Magic-Smoke It is really great 👍

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

    Really good project, please do you know if alexa is still running for rainmaker ? because i having a acessdenied return, thanks

    • @Magic-Smoke
      @Magic-Smoke  Рік тому +1

      Robert, I can’t test that right now. However, I can’t think that it would not be working. Why not ask in my Facebook group? Link in the description

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

    Hi john, it's certainly an excellent tutorial, but I'm having some trouble while adapting this to control a set of relays connected to an esp8266 module, how do I tell the esp32 board to forward the command it recieves from rainmaker to the esp8266 module for switching the relays ON? This is my first time working with ESPs, sorry for silly questions. Thanks in advance.

    • @Magic-Smoke
      @Magic-Smoke  Рік тому +1

      Hi Ghosty and thanks for your feedback :). I would firstly ensure that you can control each of your relays through MQTT from either Node-red (a great tool) or from an MQTT client. Then set up the devices in the ESP32 you'll need one device per relay. You might want to declare than all as lights with different names to start with (6.49). Take a look around 11.19 where the code to send the on/off command via MQTT is. Does that make sense?

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

      @@Magic-Smoke Thank you sir for the quick reply, I had missed the 'RM_node' earlier, also, is it possible to use ESPNOW instead for mqtt to keep the project's budget low, if range isn't an issue, I'm currently following this video for ESPNOW integration ua-cam.com/video/cnBNNvt_6S0/v-deo.html , please let me know about the feasibility of it. Thanks again 👍

    • @Magic-Smoke
      @Magic-Smoke  Рік тому

      @@GhostyGigabytes I won't say its impossible to use ESPNOW but since Rainmaker and ESPNOW use WiFi and you have to switch between them, its very difficult. Bear in mind that your solution will need to be designed around your needs. For example, I can monitor and control my stuff from anywhere in the world using Rainmaker. ESPNOW, is limited to the range of the ESP device. You may use anything as an MQTT broker as long as it runs 24/7. An old computer is ideal if you have no budget for a single board computer like a Pi. The broker will run on many platforms - you could even set up a free instance on one of the cloud platforms but that's much less secure.

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

      @@Magic-Smoke Thanks sir for helping me out, I have an old pc that might just be enough for the application, let's hope for the best, fingers crossed 🤞🤞

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

    Dear
    Could you make a video using servo motor on esp32 rainmaker no one has done it yet.
    I count on your tutorials they are incredible excellent
    Thank you very much

    • @Magic-Smoke
      @Magic-Smoke  Рік тому

      Thank you very much for your kind words. I will put it on the list! What were you thinking of controlling with the servo??

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

      @@Magic-Smoke Corolla Cruise Control module ACC

    • @Magic-Smoke
      @Magic-Smoke  Рік тому

      An interesting and potentially risky venture!

  • @hemanthkumar5438
    @hemanthkumar5438 6 місяців тому +1

    Thanks for the video, i was looking for something to connect 8266 to ESP32 and use it via ESP rainmaker.
    Q: Can we use http instead of mqtt and skip the whole broker part(for something simple like a light switch).?

    • @Magic-Smoke
      @Magic-Smoke  6 місяців тому

      I suppose you could - Rainmaker can support many devices on one ESP32 and you could use any protocol to link to the ESP8266s

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

    Thank you very much for the tutorial, but I have tried Rainmaker but it works very badly, the calendar does not appear, or it takes a long time to appear, and then it does not work, also the status of the lights, sometimes it shows like it is on and off, or things So, what makes the application unreliable? I'm looking for one that works better

    • @Magic-Smoke
      @Magic-Smoke  Рік тому +1

      Alejandro, it’s hard to say why it’s not working so well for you but if you have specific problems with features like the calendar, it would be worth opening a. Issue on the Rainmaker github

  • @higorrezende59
    @higorrezende59 3 місяці тому +1

    Is it possible to use esp32 tasmota in home assistant via mqtt and the remaker at the same time?
    use both software at the same time.

    • @Magic-Smoke
      @Magic-Smoke  3 місяці тому

      I’m not sure what you mean. You won’t be able to run tasmota and rainmaker at the same time on the same esp32

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

    can u do a tutorial on mqtt

    • @Magic-Smoke
      @Magic-Smoke  Рік тому

      What aspects of MQTT were you thinking about?

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

    esp32 every WiFi lost connection, how to make wifi auto reconect.

    • @Magic-Smoke
      @Magic-Smoke  Рік тому

      It really should be as simple as adding a check from time to time to see if is connected and reconnecting if it isn't. Look into the rainmaker events in the documentation

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

    Code link

    • @Magic-Smoke
      @Magic-Smoke  Рік тому

      I guess you scrolled past the details area with all the links in it?