Migrating from Sonoff Tasmota

Migrating from previous Sonoff Tasmota setups is very easy. You just need to have esphomeyaml create a binary for you and then upload that in the Tasmota web interface.

Getting Binary

First follow the guides for the different supported devices and create a configuration file. Then, generate and download the binary:

  • Using the Hass.io add-on/dashboard: Just click the COMPILE button, wait for the compilation to end and press the DOWNLOAD BINARY button.

    https://d33wubrfki0l68.cloudfront.net/1c530ea03c10fdfd2e1a39392ac4b01c1e205ab3/e45b9/_images/download_binary.png
  • Using the command line: run esphomeyaml livingroom.yaml compile (replacing livingroom.yaml with your configuration file of course) and navigate to the <NODE_NAME>/.pioenvs/<NODE_NAME>/ folder. There you will find a firmware.bin file, this is the binary you will upload.

Uploading Binary

To upload the binary, navigate to the tasmota web interface and enter the “Firmware Upgrade” section.

https://d33wubrfki0l68.cloudfront.net/728789f0d1eefa0d0e596603cacf8ea74d2d9b62/538c4/_images/tasmota_main.png

In the “Upgrade by file upload” section, choose the binary you previously downloaded

https://d33wubrfki0l68.cloudfront.net/1b8c68dba761dc3ab3d2ce38d46660e2d3e2f9c7/f47c0/_images/tasmota_ota.png

If everything succeeds, you will see an “Upload Successful” message and esphomelib will connect to the configured WiFi network 🎉

https://d33wubrfki0l68.cloudfront.net/363c11c2846a872452781df84b778b0b87941280/a31fd/_images/tasmota_upload.png

Happy Hacking!