Shelly Plus Plug S - ESPHOME

Well I finally got it to work after installing wsl and using the ubuntu cli.
Maybe its my network, but i also had some timeout issues while doing step 3, so i increased the socket timeout from 10 to 30s.

image

I guess now it’s time to try if i can install a normal ESPHome config or did i miss and additianl step? This can be done via the home assistant gui?

EDIT:
Dont want to double post, so another edit.
Everything works fine, i updated the device with a new config and it still booted as it should.
Thanks a lot for your help :slight_smile:

After getting the second command in the PR working successfully you can indeed extend your config to make the device functional. You can also flash with the regular esphome or even switch to arduino if you do not need the extra cli commands.

EDIT

posts crossed - glad to hear it worked for you!

1 Like

A bit late replying to this, but one thing that I got stuck on is that the default esptool command that esphome uses expects to be able to actively reset the board via the DTR/RTS lines, and see a response. If you’ve just connected RX and TX and are leaving CHIP_PU disconnected and are manually tying GPIO0 to ground then it’ll never get past the reset attempt. Take the esptool command line that it gives you, and change the --before option to --before no_reset.

Also to check if it’s working, connect to the COM port using a terminal emulator at 115200, and manually power cycle the device by disconnecting/reconnecting 3.3V. You should seem something like:

rst:0x1 (POWERON_RESET),boot:0x3 DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))

I managed to flash using a new programmer (voltlog) where I connected the gpio0 to EN, also think I flipped the Rx and TX.

Hi, apologies if I highjack the thread a bit. I’ve recently got notifications that one of my Shelly Plug Plus S had the relay switched off due to high internal temperature.

When I look at my two plugs they both have an temperatures of around 75-85g C. In the default esp config I’m using the max temp threshold is set to 65g C.

Are my plugs running hot? Seems like the temp overprotection doesn’t kick in everytime. Plus is still running with relay on at +80g C

I have two currently running, one is at 28c (the room it’s in is about 16c) and one that only has light load that’s at 30c.

So I think 60c is high but I have no idea. (How did you setup the notification?)

I’m running this default configuration:

Only thing I’ve added are that they also have BLE proxy enabled. Going to test to deactivate this to see how it affects the temp.

Did it work with the ble proxy enabled? I was afraid to enable it as others said it stopped booting after adding it.

Been working fine for at least 6months. This is the setting I run:


esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms
    active: true

bluetooth_proxy:
  active: true 

I look at the temp history and see that my plugs has been running at 70-80g C for months. It’s just recent days I’ve noted the notification (maybee due to ESPHome upgrade?)

Switching BLE proxy off made a significant diffrence. With BLE proxy turned off it’s now at 50g C (and still dropping).

Any thoughts on if it’s ok to let them run at around 80g C? Maybe som kind of heatsink should be added (if it would fit).

I think already has a thermal pad, when you take it apart there is a squishy thing that sits on top of the ESP32.

What do you use the Bluetooth proxy for, I use mine for miflora devices, I could try to enable it tomorrow and see if my temps increase.

I got it all taken care of :slight_smile:
I did the tasmota convert, checked out your branch and did the ESPHome magic (it really helped that I did a tuya cloudcutter thing the other day).

I’m up and running with ESPHome on one of my Shelly Plug Plus S (v2) now. Thanks for the code and thanks to all the other replies in the thread that I could use to copy and paste what I needed!

Now, time to figure out the Bluetooth Proxy thing…

Couldn’t tell for plug S, but i converted a few Shelly’s PM2.5 to esphome (for my covers) and they were all pretty hot with ESPHome FW - way more than with original FW. Adding “power_save_mode: light” to wifi settings helps a lot, however - i believe that temp dropped up to 20 degrees…

Do you have a v1 or v2? Flashed via serial or OTA?

I most likely just killed my Shelly Plug Plus S (v2) after adding:

esp32_ble_tracker:
  scan_parameters:
    active: false

bluetooth_proxy:
  active: true

And running the install command over wireless.

I did read that I should do it over USB the first time in the docs but thought I’d try anyway.

It reported OTA Successful but nothing came over the logs after that. It did not react to any button presses any longer (the Shelly that is) with a solid green light (my configured relay on color). Left it for a few mins and nothing changed. Pulled it from power and now it seems to be dead :frowning: no lights, no WiFi, no nothing as far as I can tell.

Anyone tried doing it over WiFi and succeeded?

Did you manage to revive yours or was it a lost cause?

I added

esp32_ble_tracker:
bluetooth_proxy:

And it compiled and ran fine, the temp went up 3c, but I’m not even close to 80c, its at 32c.

I use v1 and flashed using serial and it didn’t brick.

Thanks for checking Peter. However could you try to have the BLE proxy active by using this code:

esp32_ble_tracker:

bluetooth_proxy:
  active: true  

Mine is now running at ~65c, but seems to still be way higher than yours

What do you currently run? mine is connected to a lamp, that is about 10w, I have set active to true now, it went up about 0.5c, but I guess it will take a few minutes to see the result.

Edit: it went down to normal temps again so setting active to true didn’t change the temps.

Same here one plug is running a 10w lamp, the other plug has nothing connected to it, just running as a BLE proxy.

Very strange. What ESPHome ver are you on?

Perhaps you could you also share you complete yaml code. I’d like to try same settings

Latest 2023.11.6