mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-05 09:20:08 +01:00
9d6c814991
They started injecting ads :(
65 lines
1.9 KiB
ReStructuredText
65 lines
1.9 KiB
ReStructuredText
Migrating from Sonoff Tasmota
|
|
=============================
|
|
|
|
.. seo::
|
|
:description: Migration guide for installing ESPHome on ESPs running Sonoff Tasmota.
|
|
:image: tasmota.png
|
|
|
|
Migrating from previous Sonoff Tasmota setups is very easy. You just need to have
|
|
ESPHome create a binary for you and then upload that in the Tasmota web interface.
|
|
|
|
Getting Binary
|
|
--------------
|
|
|
|
First follow the guides for the :ref:`different supported devices <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.
|
|
|
|
.. figure:: images/download_binary.png
|
|
|
|
- **Using the command line**: run ``esphome 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.
|
|
|
|
.. 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%
|
|
|
|
If everything succeeds, you will see an "Upload Successful" message and ESPHome
|
|
will connect to the configured WiFi network 🎉
|
|
|
|
.. figure:: images/tasmota_upload.png
|
|
:align: center
|
|
:width: 60.0%
|
|
|
|
Happy Hacking!
|
|
|
|
See Also
|
|
--------
|
|
|
|
- :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`
|
|
- :doc:`migrate_espurna`
|
|
- :doc:`migrate_espeasy`
|
|
- :ghedit:`Edit`
|