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.
- Download mgos32-to-tasmota32-mini1g3.zip or any of the other supported models from latest release https://github.com/tasmota/mgos32-to-tasmota32/releases
- Power up the shelly and connect to it’s wifi AP.
- Open the settings/firmware page (http://192.168.33.1/#/settings/firmware)
- Drop or open the the downloaded tasmota firmware from step 1
- Wait for the device to boot and connect to the Tasmota AP (http://192.168.4.1)
- Connect the device to your own wifi network and open its webpage.
- 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 !!).
- 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).
- After the reboot, open the Partition Wizard again (under tools) and increase the Filesystem size to its maximum. This removes all obsolete files too.
- 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).
- Hit the install button, and use manual download, after compilation, use legacy to download the .bin file.
- Open the tasmota webpage and upload the newly compiled esphome firmware from step 11
- After it reboots you should have your device available as a esphome device
Please note it seems there are some issues: