2018-06-01 18:10:00 +02:00
|
|
|
Migrating from Sonoff Tasmota
|
|
|
|
=============================
|
|
|
|
|
2018-11-14 22:12:27 +01:00
|
|
|
.. seo::
|
2019-02-16 23:25:23 +01:00
|
|
|
:description: Migration guide for installing ESPHome on ESPs running Sonoff Tasmota.
|
2018-11-19 18:32:16 +01:00
|
|
|
:image: tasmota.png
|
2018-11-14 22:12:27 +01:00
|
|
|
|
2018-06-01 18:10:00 +02:00
|
|
|
Migrating from previous Sonoff Tasmota setups is very easy. You just need to have
|
2019-02-16 23:25:23 +01:00
|
|
|
ESPHome create a binary for you and then upload that in the Tasmota web interface.
|
2018-06-01 18:10:00 +02:00
|
|
|
|
2019-10-18 09:22:48 +02:00
|
|
|
Getting the Binary
|
|
|
|
------------------
|
2018-06-01 18:10:00 +02:00
|
|
|
|
|
|
|
First follow the guides for the :ref:`different supported devices <devices>` and create a configuration
|
|
|
|
file. Then, generate and download the binary:
|
|
|
|
|
2018-11-26 16:50:50 +01:00
|
|
|
- **Using the Hass.io add-on/dashboard**: Just click the ``COMPILE`` button, wait for
|
2018-06-01 18:10:00 +02:00
|
|
|
the compilation to end and press the ``DOWNLOAD BINARY`` button.
|
|
|
|
|
|
|
|
.. figure:: images/download_binary.png
|
|
|
|
|
2019-02-16 23:25:23 +01:00
|
|
|
- **Using the command line**: run ``esphome livingroom.yaml compile`` (replacing
|
2018-06-01 18:10:00 +02:00
|
|
|
``livingroom.yaml`` with your configuration file of course) and navigate to the
|
2019-10-18 09:22:48 +02:00
|
|
|
``<NODE_NAME>/.pioenvs/<NODE_NAME>/`` folder. There you will find a ``firmware.bin`` file.
|
|
|
|
This is the binary that you will upload.
|
2018-06-01 18:10:00 +02:00
|
|
|
|
2019-10-18 09:22:48 +02:00
|
|
|
Uploading the Binary
|
|
|
|
--------------------
|
2018-06-01 18:10:00 +02:00
|
|
|
|
2019-10-18 09:22:48 +02:00
|
|
|
To upload the binary, navigate to the Tasmota web interface and enter the
|
2018-06-01 18:10:00 +02:00
|
|
|
"Firmware Upgrade" section.
|
|
|
|
|
|
|
|
.. figure:: images/tasmota_main.png
|
|
|
|
:align: center
|
|
|
|
:width: 60.0%
|
|
|
|
|
|
|
|
In the "Upgrade by file upload" section, choose the binary you previously downloaded
|
|
|
|
|
|
|
|
.. figure:: images/tasmota_ota.png
|
|
|
|
:align: center
|
|
|
|
:width: 60.0%
|
|
|
|
|
2019-02-16 23:25:23 +01:00
|
|
|
If everything succeeds, you will see an "Upload Successful" message and ESPHome
|
2019-10-18 09:22:48 +02:00
|
|
|
will connect to the WiFi network configured in your .yaml file. 🎉
|
2018-06-01 18:10:00 +02:00
|
|
|
|
|
|
|
.. figure:: images/tasmota_upload.png
|
|
|
|
:align: center
|
|
|
|
:width: 60.0%
|
|
|
|
|
|
|
|
Happy Hacking!
|
|
|
|
|
2019-05-12 22:44:59 +02:00
|
|
|
.. note::
|
|
|
|
|
|
|
|
When using the :doc:`esp8266_pwm output </components/output/esp8266_pwm>` platform and
|
|
|
|
switching from Tasmota, you need to power-cycle the device once. After that
|
|
|
|
the dimming functionality will work as usual and no more power cycles are required.
|
|
|
|
|
2018-06-01 18:10:00 +02:00
|
|
|
See Also
|
2018-10-12 16:33:22 +02:00
|
|
|
--------
|
2018-06-01 18:10:00 +02:00
|
|
|
|
2019-02-07 13:54:45 +01:00
|
|
|
- :doc:`/devices/sonoff_s20`
|
|
|
|
- :doc:`/devices/sonoff_4ch`
|
|
|
|
- :doc:`/devices/sonoff`
|
|
|
|
- :doc:`/devices/nodemcu_esp8266`
|
|
|
|
- :doc:`/devices/nodemcu_esp32`
|
|
|
|
- :doc:`/devices/esp8266`
|
|
|
|
- :doc:`/devices/esp32`
|
2018-06-01 18:10:00 +02:00
|
|
|
- :doc:`migrate_espurna`
|
|
|
|
- :doc:`migrate_espeasy`
|
2019-02-07 13:54:45 +01:00
|
|
|
- :ghedit:`Edit`
|