Swapping Between Tasmota and ESPHome

Created: 25 September 2025
Updated: 20 September 2026
By: Adam Allport
Reading time: 3 mins

This guide is relevant for:

If you're setting up a device for the first time rather than swapping, see our dedicated guides instead:

Changing between Tasmota and ESPHome will reset the device to factory defaults. For power monitoring devices, you may need to recalibrate the device to ensure correct readings. Our [LocalBytes Tools / Tasmota Power Monitoring Calibration] tool can help with this.

Which should I pick?

Tasmota uses MQTT to communicate, which requires a broker to connect it to Home Assistant. ESPHome connects to Home Assistant directly, with no broker required. See [LocalBytes Blog / Starting a Modern Smart Home] for more on MQTT.

None of our devices are locked to the firmware they ship with. Any device can be flashed with either firmware and swapped back again at any point.

Tasmota to ESPHome

  1. Download minimal.ota.bin.gz and [device].ota.bin.gz for your device:
  2. Navigate to your device.
  3. Click "Firmware Update"
  4. Upload the minimal.ota.bin.gz file. The device will reboot and launch a captive portal.
  5. After reconnecting the device, upload [device].ota.bin.gz to complete the firmware change.

From here, set it up as you would any other ESPHome device. We recommend using the ESPHome Device Builder App and clicking "Take Control". This will guide you through recompiling and reuploading the latest version of ESPHome.

ESPHome to Tasmota

  1. Download [Tasmota OTA / Release / tasmota-lite.bin.gz].
  2. Navigate to your device.
  3. Upload tasmota-lite.bin.gz via the web-server. The device will reboot and launch a captive portal.
    • If you cannot find the "Firmware Update" button, add web_server: to your YAML configuration.
  4. After reconnecting the device, you should self-update to the latest full release.
    1. Click "Firmware Update".
    2. Set the OTA URL to: http://ota.tasmota.com/tasmota/tasmota.bin.gz
    3. The device will reboot a few times and come up on the latest full release.
  5. Navigate to Configuration, Configure Other, and apply the template found in the relevant documentation:

The device will reboot once more and come back configured as a LocalBytes device, ready to set up like any other Tasmota device.

Featured Products

Smart Plug

Smart Plug

A favourite for getting started with home automation. Automate anything that can be controlled by turning it off and on. It even monitors power usage. A lamp that comes on at sunset, a fan that turns off when you leave. Pair with Home Assistant and build a home that works for you. Commonly used for lamps (Tasmota Configuration) Our reference sheet covers setup for all variants. [LocalBytes Blog / KB / Refs - Smart Plug] Original Plug32 Quantity 1 Plug Shape UK BS1363 - Type G EU CEE 7/7 - Type E/F Voltage Range AC 100~240V 50Hz Max Current UK 13A EU 16A MCU ESP8285N08 ESP32-C3 Power IC BL0937 HLW8032

Smart Plug

Smart Plug

A favourite for getting started with home automation. Automate anything that can be controlled by turning it off and on. It even monitors power usage. A lamp that comes on at sunset, a fan that turns off when you leave. Pair with Home Assistant and build a home that works for you. Commonly used for lamps (Tasmota Configuration) Our reference sheet covers setup for all variants. [LocalBytes Blog / KB / Refs - Smart Plug] Original Plug32 Quantity 1 Plug Shape UK BS1363 - Type G EU CEE 7/7 - Type E/F Voltage Range AC 100~240V 50Hz Max Current UK 13A EU 16A MCU ESP8285N08 ESP32-C3 Power IC BL0937 HLW8032

Smart Bulb (9W/RGB+CT)

Smart Bulb (9W/RGB+CT)

Set the right light for any moment, or let your home do it automatically. The 9W RGB+CT bulb gives you full colour plus warm-to-cool white, all running locally with no cloud account involved. Whether you want warm light at sunset, a bright morning routine, or a colour flash when the front door opens, the automations are yours to build. It comes pre-flashed with Tasmota, so it pairs with Home Assistant straight out of the box. Our reference sheet has everything you need to get started. [LocalBytes Blog / KB / Refs - Smart Bulb] Quantity 1 Brightness 900LM (Dimmable) Capabilities RGB, 3000K - 6000K Plug Standard B22 / E27 Voltage Range AC 100~240V 50/60Hz MCU ESP8285N08

More Posts

LocalDeck Devices

Getting Started with your new LocalDeck

How to get your new LocalDeck up and running

Read More → Created: 01/06/2024
LocalBytes Smart Bulb

Refs - LocalDeck

This document should be your reference for anything regarding the LocalBytes LocalDeck. It will be updated whenever there are any changes to the deck that need to be communicated. Please note that guides will not be written in this document but in other articles and links.

Read More → Updated: 24/07/2024
Created: 01/04/2024

This Post

< PreviousNext >