Shelly Plus 1 ESP32 Smart Relay | TASMOTA and Home Assistant

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Integrating the new #Shelly Plus 1 and Plus 1 PM in wall relays with Home Assistant and optional Tasmota usage. The true local device! Tasmota templates and more below...
    Shelly Plus 1 s.click.aliexpress.com/e/_ASFDDt
    Shelly Plus 1 (Shelly Store) bit.ly/3qazTtY
    Shelly Plus 1 PM s.click.aliexpress.com/e/_AT35sB
    Shelly Plus 1 PM (Shelly Store) bit.ly/3bG8Hej
    ⚡Tasmota Templates
    Shelly Plus 1 Tasmota Setup (all one command/line below):
    backlog template {"NAME":"ShellyPlus1","GPIO":[320,0,0,0,192,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,32,224,0,0,0,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1} ; switchmode1 2 ; Delay 1 ; Module 0
    Shelly Plus 1 PM Tasmota Setup (all one command/line below):
    backlog template {"NAME":"Shelly1PlusPM","GPIO":[320,0,0,0,192,2720,1,1,0,0,0,0,1,1,2656,0,0,0,0,2592,0,32,224,0,0,0,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1} ; switchmode1 2 ; Delay 1 ; Module 0
    ⚡Resources
    Previous Garage Shelly Video - • Upgrade Shelly Switche...
    ⚡Products We Use/Recommend
    Amazon US - amzn.to/2YZNDeO
    Amazon UK - amzn.to/2TnG2R4
    Amazon CA - amzn.to/2JWsNq5
    ⚡Be Social!⚡
    Main Website - www.digiblur.com
    Discord Chat - discord.digiblur.com
    Patreon - patreon.digiblur.com
    Join / @digiblurdiy
    Facebook - facebook.digiblur.com
    Instagram - instagram.digiblur.com
    Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you!
    00:00 Intro
    01:39 Shelly Plus 1
    07:39 Shelly1 ESP32
    10:14 Shelly Plus 1 PM
    12:21 Shelly Stock GUI
    14:19 Home Assistant Integration
    16:34 MQTT is Broken
    18:12 Closing Thoughts
  • Věda a technologie

Komentáře • 61

  • @gadget1968
    @gadget1968 Před 2 lety +2

    great job as always

  • @simfungreek
    @simfungreek Před rokem +5

    I used thin resistors legs for flashing. They do the job!

  • @jmr
    @jmr Před 2 lety +1

    Great video Digyblur and Great work Shelly!

  • @ronm6585
    @ronm6585 Před 2 lety +2

    Thank you Travis.

  • @gmaclean1
    @gmaclean1 Před 2 lety +2

    Thanks for the video! I'd love to see your take on using Bluetooth with these devices and making it usable within home assistant with usage cases

    • @digiblurDIY
      @digiblurDIY  Před 2 lety +2

      Have some footage coming up showing some BLE stuff on it.

  • @theunderdog2205
    @theunderdog2205 Před 2 lety +1

    Thanks

  • @jwm1020
    @jwm1020 Před 2 lety +1

    can you flash it ota like the older ones👍

  • @MAD20248
    @MAD20248 Před 2 měsíci

    thank you so much for your awesome video , have you tried to flash shelly uni plus ? also will the shelly add on work with tasmota ?

    • @digiblurDIY
      @digiblurDIY  Před 2 měsíci

      Not really sure, I don't have one of those or the Shelly add on.

  • @horst36608
    @horst36608 Před 2 lety

    Does anyone know how to mount an external antenna? My 1+ is sitting inside a metal box and the wifi is shielded pretty well that way :(

  • @FredSchmitthammer
    @FredSchmitthammer Před rokem +1

    Will you do another video when esphome is supported? Perhaps steps to flash esphome on this switch?

    • @digiblurDIY
      @digiblurDIY  Před rokem

      Esphome supports the esp32 solo chip now. You can even do a Bluetooth proxy with these now. I have the yaml on my website.

  • @patrickweggler
    @patrickweggler Před 2 lety +1

    The pins are in the 50mil form factor.

  • @NickyNiclas
    @NickyNiclas Před rokem +1

    One thing that's extremely disappointing with the 1PM is how inaccurate the voltage reading is. I have 221V mains and it displays 205V which must mean that the power reading is inaccurate too.

  • @RyanLangu
    @RyanLangu Před 2 lety

    Did you have to do anything special to enter flashing mode, like grounding the GPIO-0 pin, or holding the button?

    • @digiblurDIY
      @digiblurDIY  Před 2 lety +1

      GPIO 0 to ground just like a regular ESP32

  • @utubeanesh
    @utubeanesh Před 3 měsíci

    Thank you for the detailed video. Please let us know where is the antenna?

    • @digiblurDIY
      @digiblurDIY  Před 3 měsíci

      The wiggly trace on the end of the PCB

  • @diogomorgado9310
    @diogomorgado9310 Před 2 lety

    How did you flash tasmota? I'm having a hard time getting the chip ready for flash. Do you have to ground I0-0? I tried but still doesn't work.

    • @digiblurDIY
      @digiblurDIY  Před 2 lety

      What flasher is being used? Some do not have enough power.

  • @evlicocukluoyuncu
    @evlicocukluoyuncu Před 2 lety

    hello, can I use this device to change the direction of the AC signal? I have an electrical Velux, and I need a switch that will help me to change the wiring in order to open and close the Velux accordingly... I do not know if you fully understand what I need, but I really hope to find the correct product for my need here :)

    • @evlicocukluoyuncu
      @evlicocukluoyuncu Před 2 lety

      In other words, can I use this Shelly Plus 1 as a DPDT rocker switch for reversing the AC signal that feeds my Velux... ?

    • @digiblurDIY
      @digiblurDIY  Před 2 lety +1

      Sorry not familiar with those myself.

  • @hond654
    @hond654 Před 5 měsíci

    Does anybody have experience with the life expectancy of HF7520 ( 6:56 in the video )? Depending on the frequency of switching eg 1/min -1/1hr is there any lifetime curve available for these? The reason is that I saw many faulty "smart plug" where the relay contacts were burnt after a year with about 1/hr switch rate.

  • @paulfletcher2305
    @paulfletcher2305 Před měsícem

    I don't see anyone talking about the Access Point feature or the Range Extender. On the Shelly One Plus the AP is enabled and it will not let me disable it. It defaults to have the "Open network" box checked, but says "It is important to password protect your device's access point to secure your network from unauthorized access." If I uncheck the Open network box I can add a password, however it will not let me save the changes. To me this looks like a security risk. I have mine on a network that does not have access to my home network, but it seems like others could connect to the shelly and have access to other devices I have on that guest network.

    • @digiblurDIY
      @digiblurDIY  Před měsícem

      I turn that off once I pair it with my network as I don't want open APs.

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

    have you tried the shelly plus add on, thinking of getting one to hardwire my door sensor and temp humidity sensor instead of this zigbee battery powered devices, would like to see a video

    • @digiblurDIY
      @digiblurDIY  Před 7 měsíci +1

      I have only tried the built in integration for them myself but I still prefer having full control of things with open source myself.

  • @mdkz4226
    @mdkz4226 Před 2 lety

    What do you say about the temperature when the relay is on? Compared to shelly 2.5 and 1pm in the original firmware?

    • @digiblurDIY
      @digiblurDIY  Před 2 lety

      I haven't compared the original firmware as I don't run it.

    • @mdkz4226
      @mdkz4226 Před 2 lety

      @@digiblurDIY Ok, then in comparison with the non-original firmware, what can you say about the temperature? 😊

  • @djashjones
    @djashjones Před 2 lety

    I wonder if it support thread or matter in the future?

    • @digiblurDIY
      @digiblurDIY  Před 2 lety +1

      Thread will be zigbee so I'd say no.

  • @cybermodstudio9380
    @cybermodstudio9380 Před 2 lety +1

    感谢分享,我居住在中国,但是不好买到Shelly设备

  • @michaelferrin2688
    @michaelferrin2688 Před 2 lety

    Call me dumb, but.....what are the uses of the Bluetooth on the cip? What can you do with it?

    • @digiblurDIY
      @digiblurDIY  Před 2 lety +1

      For stock usage it is great for pairing to a network as it removes the issues of dual band isolated same SSIDs. For after market... All kinds of cool sensors.

  • @Liv3_fps
    @Liv3_fps Před 2 lety

    Can the Shelly 1 or 1PM be triggered to turn on/off the relay over the GPIO ports?

    • @digiblurDIY
      @digiblurDIY  Před 2 lety +1

      I know it can be done with Tasmota firmware

    • @Liv3_fps
      @Liv3_fps Před 2 lety

      @@digiblurDIY yeah i actually found a video of someone who was able to make it work via Tasmota firmware after I left this comment. They did it by using a light switch to open and close a loop between Ground and GPIO-3 pins of the Shelly 1 to turn the relay on and off. It took many hours of searching to find that information so I hope it helps someone else here!

    • @digiblurDIY
      @digiblurDIY  Před 2 lety

      I did it way back in my original Shelly tips and tricks video. If you use mains power on the device you do need to use a mains rated switch to isolate things.

    • @Liv3_fps
      @Liv3_fps Před 2 lety

      @@digiblurDIY for my situation I am trying to control the Shelly relay using a Raspberry Pi Zero, so I can't do it via AC power. I am trying to control the relay using the Pi's 3.3V or 5V port and a GPIO port.

    • @Liv3_fps
      @Liv3_fps Před 2 lety

      @@digiblurDIY not sure if this would work to connect 3.3V and GPIO port from the Pi to the Shelly Gnd and GPIO3 port for controlling the relay on/off.

  • @kflott
    @kflott Před 2 lety +1

    I'm looking at your pinout and the order looks like it is almost the same as my USB ftdi module, I'm wondering if those pins would fit directly in those holes.

    • @digiblurDIY
      @digiblurDIY  Před 2 lety +1

      Need some super small pins. Even breadboard jumpers were a tad big, dupont is definitely a no go.

    • @AmiApache
      @AmiApache Před 2 lety

      @@digiblurDIY
      Maybe a bobbypin or similar? Safety pin-mod ?

    • @dc857
      @dc857 Před 8 měsíci

      No they won't they are too big on mine. I had to buy a 1.27mm pitch pin header. The pins are 0.4mm square and they fit. Painful to solder, at least for me.

  • @bhaumiksoni2009
    @bhaumiksoni2009 Před 2 lety

    when internet goes off thee shelly resets the time and puts it to 0:0 AM how i can persist the time ?????

    • @digiblurDIY
      @digiblurDIY  Před 2 lety

      Point it to a local ntpserver on your network if you have issues with internet outages.

  • @Thamli
    @Thamli Před 2 lety

    That 1PM+ might short out. On that PM chip the bottom left pins aren't soldered cleanly enough. Check it!

    • @digiblurDIY
      @digiblurDIY  Před 2 lety

      On the BL0937 itself?

    • @Thamli
      @Thamli Před 2 lety

      @@digiblurDIY yes, check minute 11:55 . Bottom left 2 pins of the BL. Seems to have some solder almost bridging both pins.

    • @ingy23
      @ingy23 Před 2 lety

      Good spot

    • @KaidoLP
      @KaidoLP Před 2 lety

      On the regular one there also is a solder bridge on the topside of the ESP

  • @pstoianov
    @pstoianov Před 2 lety

    Before flashing to Beta, first test the device...

    • @digiblurDIY
      @digiblurDIY  Před 2 lety +2

      I did. It's not hard to flash back as well or even to Tasmota. I took backups of the original firmwares as well.

    • @Rilnaista
      @Rilnaista Před 2 lety

      @@digiblurDIY Hey, can u please make a short video on how to flash them? I tried to get it working, but everytime I try it doesn't work. I use the pinheaders to connect an ftdi32 - perhaps i connect it wrong - don't know ... would be nice to get a video. There is no other video on youtube for the plus series. thank you!

    • @digiblurDIY
      @digiblurDIY  Před 2 lety

      FTDI might not provide enough power for the esp32 to go into flash mode.

    • @spok01
      @spok01 Před rokem

      @@digiblurDIY do you not have pulled down the PU Pin to go in flash mode?

    • @digiblurDIY
      @digiblurDIY  Před rokem

      GPIO 0 pull down is still the normal.