Shelly ESPhome OTA conversion Guide

Since the newer Shelly’s don’t come with a header anymore, I decided it might come in handy to write a guide how to flash them OTA (using the tasmota firmware intermediately).
But basically, the same applies to many models.

  1. Download mgos32-to-tasmota32-mini1g3.zip or any of the other supported models from latest release https://github.com/tasmota/mgos32-to-tasmota32/releases
  2. Power up the shelly and connect to it’s wifi AP.
  3. Open the settings/firmware page (http://192.168.33.1/#/settings/firmware)
  4. Drop or open the the downloaded tasmota firmware from step 1
  5. Wait for the device to boot and connect to the Tasmota AP (http://192.168.4.1)
  6. Connect the device to your own wifi network and open its webpage.
  7. Click on Configuration, then Auto-configuration, select Shelly Mini1G3 (or the model you’re flashing), then hit the apply button. This replaces the locked bootloader (without this step device gets bricked with the next boot !!).
    image
  8. Under consoles, open the Partition Wizard and start the Safeboot Conversion by hitting the button “Start Migration”. The conversion will update to the latest Tasmota version also (this might take a while, so be patient).
    image
  9. After the reboot, open the Partition Wizard again (under tools) and increase the Filesystem size to its maximum. This removes all obsolete files too.
    image
  10. On the ESPHome (addon) page, create a new device and use the yaml from esphome.io. Use one of the Shelly’s listed here (or write your own yaml).
  11. Hit the install button, and use manual download, after compilation, use legacy to download the .bin file.
  12. Open the tasmota webpage and upload the newly compiled esphome firmware from step 11
    image
  13. After it reboots you should have your device available as a esphome device :wink:
2 Likes

Just found out the same applies to many shelly models :stuck_out_tongue:

Device State
Shelly PlusHT :warning:untested
Shelly PlusPlugS :white_check_mark:tested
Shelly PlusPlugUK :white_check_mark:tested
Shelly PlusPlugIT :warning:untested
Shelly PlusPlugUS :white_check_mark:tested
Shelly PlusI4 :white_check_mark:tested
Shelly PlusWallDimmer :warning: no Tasmota support
Shelly Plus1PM :white_check_mark:tested
Shelly Plus1 :white_check_mark:tested
Shelly Plus2PM :white_check_mark:tested
Shelly PlusRGBWPM :white_check_mark:tested
Shelly Pro1 :white_check_mark:tested
Shelly Pro1PM :white_check_mark:tested
Shelly Pro2 :white_check_mark:tested
Shelly Pro2PM :white_check_mark:tested
Shelly Pro3 :warning:untested
Shelly Pro4PM :white_check_mark:tested
Shelly Pro3EM :warning:untested
Shelly Plus1PMMini :white_check_mark:tested
Shelly Plus1Mini :white_check_mark:tested
Shelly PlusPMMini :white_check_mark:tested
Shelly Plus10V :white_check_mark:tested
Shelly PlusUni :white_check_mark:tested
Shelly Mini1PMG3 :white_check_mark:tested
Shelly Mini1G3 :white_check_mark:tested
Shelly MiniPMG3 :white_check_mark:tested

Although there might be some issues uploading the firmware to older units, as with some of them you can only specidy an url where the firmware is downloaded from.
I used my own webserver for this purpose :thinking:

1 Like