Shelly Plus 1 ESP32 Smart Relay | TASMOTA and Home Assistant

Поділитися
Вставка
  • Опубліковано 13 лип 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
  • Наука та технологія

КОМЕНТАРІ • 61

  • @gadget1968
    @gadget1968 2 роки тому +2

    great job as always

  • @simfungreek
    @simfungreek Рік тому +4

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

  • @ronm6585
    @ronm6585 2 роки тому +2

    Thank you Travis.

  • @jmr
    @jmr 2 роки тому +1

    Great video Digyblur and Great work Shelly!

  • @gmaclean1
    @gmaclean1 2 роки тому +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  2 роки тому +2

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

  • @theunderdog2205
    @theunderdog2205 2 роки тому +1

    Thanks

  • @jwm1020
    @jwm1020 2 роки тому +1

    can you flash it ota like the older ones👍

  • @horst36608
    @horst36608 2 роки тому

    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 :(

  • @patrickweggler
    @patrickweggler 2 роки тому +1

    The pins are in the 50mil form factor.

  • @MAD20248
    @MAD20248 2 місяці тому

    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  2 місяці тому

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

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

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

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

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

  • @NickyNiclas
    @NickyNiclas Рік тому +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.

  • @utubeanesh
    @utubeanesh 2 місяці тому

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

    • @digiblurDIY
      @digiblurDIY  2 місяці тому

      The wiggly trace on the end of the PCB

  • @RyanLangu
    @RyanLangu 2 роки тому

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

    • @digiblurDIY
      @digiblurDIY  2 роки тому +1

      GPIO 0 to ground just like a regular ESP32

  • @hond654
    @hond654 5 місяців тому

    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.

  • @evlicocukluoyuncu
    @evlicocukluoyuncu 2 роки тому

    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 2 роки тому

      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  2 роки тому +1

      Sorry not familiar with those myself.

  • @paulfletcher2305
    @paulfletcher2305 Місяць тому

    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  Місяць тому

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

  • @diogomorgado9310
    @diogomorgado9310 2 роки тому

    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  2 роки тому

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

  • @MAD20248
    @MAD20248 6 місяців тому

    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  6 місяців тому +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.

  • @cybermodstudio9380
    @cybermodstudio9380 2 роки тому +1

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

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

    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  Рік тому

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

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

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

  • @djashjones
    @djashjones 2 роки тому

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

    • @digiblurDIY
      @digiblurDIY  2 роки тому +1

      Thread will be zigbee so I'd say no.

  • @michaelferrin2688
    @michaelferrin2688 2 роки тому

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

    • @digiblurDIY
      @digiblurDIY  2 роки тому +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.

  • @bhaumiksoni2009
    @bhaumiksoni2009 2 роки тому

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

    • @digiblurDIY
      @digiblurDIY  2 роки тому

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

  • @Liv3_fps
    @Liv3_fps 2 роки тому

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

    • @digiblurDIY
      @digiblurDIY  2 роки тому +1

      I know it can be done with Tasmota firmware

    • @Liv3_fps
      @Liv3_fps 2 роки тому

      @@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  2 роки тому

      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 2 роки тому

      @@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 2 роки тому

      @@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 2 роки тому +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  2 роки тому +1

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

    • @AmiApache
      @AmiApache 2 роки тому

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

    • @dc857
      @dc857 8 місяців тому

      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.

  • @Thamli
    @Thamli 2 роки тому

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

    • @digiblurDIY
      @digiblurDIY  2 роки тому

      On the BL0937 itself?

    • @Thamli
      @Thamli 2 роки тому

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

    • @ingy23
      @ingy23 2 роки тому

      Good spot

    • @KaidoLP
      @KaidoLP 2 роки тому

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

  • @pstoianov
    @pstoianov 2 роки тому

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

    • @digiblurDIY
      @digiblurDIY  2 роки тому +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 2 роки тому

      @@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  2 роки тому

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

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

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

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

      GPIO 0 pull down is still the normal.