Shelly Plus Plug S - ESPHOME

I uploaded firmware and now see both temperatures (without any load):
Internal Temperature: 58.3 °C
Temperature: 38.0 °C

Edit: you are right, unprotected_writes were added in Read/Write bootloader, partition table and any partition via OTA by angelnu · Pull Request #5535 · esphome/esphome · GitHub

That internal temperature still seems fairly high. It would be interesting to see what happens if you unplug it completely for an hour or so, then check the temperature immediately after turning it.

With a load:
Internal Temperature: 60.0 °C
Temperature: 40.4 °C

After an hour with a load:
Internal Temperature: 65.6 °C
Temperature: 48.6 °C

After unplugging for an hour and connecting the power:
Internal Temperature: 48.9 °C
Temperature: 23.4 °C

Room temperature about 22 °C.

I assume that you´re not running the BLE Proxy (I seem to rise the temp a bit)?. I will check again when I’m back on esphome fw, right now I’m on stock

I am running the BLE Proxy.

This what I get
Internal temp: 39.4c (went down to 37.8c after a few mins)
Sensor temp: 24.7c
Room temp: 17.5c

My brain seems to have taken christmas vacation already. I cant remember how I flashed the plug with from stock fw → esphome OTA.

Is it stock fw → mongoose2tasmota → esphome? I have the bin of the espconfig I was running before.

Same plug with Tasmota shows low temp. something in the config of the espsensors seems to be wrong.

image

1 Like


Thermal image seems to confirm

2 Likes

I installed my second device today, and I have the following temps:
internal: 38.9 c
temperature: 26 c
room temp: 15c

ESPHome and Tasmota running side by side w. no load (obviously). ESP Home is running a bit hotter, but not in any red zone.

I’m leaning towards that my sensor config is screwed-up somehow.
(same hw revision and same production batch)

Ended up serial flashing it back. Seems like Tasmota >v12 is a dead-end if you want to continue to ESPHome (earlier versions seems to work).

1 Like

Most obvious thing is the resistor in the NTC potential divider isn’t 10kOhm. I’ve got some Shelly dimmers that use 33kOhm in the config (I’ve never checked, but it gives sensible temperatures).

Assuming you’ve got a multimeter, you can probably check: If yours is like the one pictured further up, then my guess is that NTC is the one in top right marked “R35” or maybe “R33” in the top left. You should be able to confirm by measuring the resistance and seeing if it drops if you warm it up a bit. Then find the other resistor that it’s connected to and measure that. You may get a false reading measuring it in-circuit, but it should give you a clue.

It seems like on my plug it’s R20 (red circle) that is the NTC resistor. It’s showing around 6k Ohm at around 30c and drops fast when I add some heat. Should be a 10k NTC.

My PCB is green, but still shows v 0.3.0, same as above blue pcb. Not sure if it’s only color of pcb that’s diffrent or if it can be another version.

That does sound a bit low. Can you find the other resistor in the divider? R21?

Did some probing and here is how I think GPIO33 is wired:

GPIO33

Not sure what the NTC value is (10k?)

That arrangement certainly makes sense. Both the NTC and R21 measured lower than I’d expect, but that may be because you’re measuring in-circuit. I’d expect R21 to be 10k, and the NTC to be 10k at 25°C.

Can you share your config for the NTC?

One more thing you could try is power it up with 3.3V, measure the voltage across the NTC, measure the temperature, and also check the reported ADC voltage in the logs.

Hi its not clear for me what to do next. can someone help me in the right direction? I followed the instructions to flash the plug S to Tasmota but I’m not sure what to do now? Eventually I need to convert it to esphome software?

Hi,
I have the feeling we have a few very smart folks around that figured out how to recover a soft bricked shelly device or how to get esphome running in one way or another when a user (like me for example) screwed things over (I’ve followed the old guides and only later saw that the new version of tasmota changes the partition layout and one can not easily migrate to esphome with an esp32 device).

Can someone maybe give some hints or ideas how to get those devices in a “base” state? Like maybe basic ideal parition tables and how to flash them to continue from there?

I and many others that hoped to migrate to esphome would probably be really grateful :slight_smile:

If anyone can give some hints - thank you very much in advance!

2 Likes

@angelnu I’m trying to understand your PR because I think it’s the only way to OTA flash ESPHome onto a Shelly Plus device?

What exactly does the PR change? The CLI on the PC or does it change anything in the built ESPHome image?

If I follow the “Single command” or “Using multiple commands” steps, is that all I need to flash ESPHome on a device flashed with Tasmota? Where/how does the magic happen? Because normally when you simply flash ESPHome on a Tasmota device, Tasmota’s safeboot partitioning scheme will break ESPHome OTA updates. That won’t happen if I follow your instructions? But how are they different from a normal ESPHome firmware image?