Skip to content

Installing Tasmota

This chapter is documented-only: it follows the project's official Getting Started documentation, because installing firmware needs a physical device, a bench and a serial adapter — none of which exist in the lab that wrote this guide. Nothing here was performed on real hardware by the lab. The safety chapter applies in full: everything below happens unplugged from mains, on the bench.

"Installing" means replacing the device's stock firmware with a Tasmota image — the .bin file for the right variant — written to its flash memory. There are three broad routes.

Route 1: the web installer

For supported ESP32 (and some ESP8266) devices, the project offers a Tasmota Web Installer that runs in a desktop Chrome or Edge window: connect the device by USB, pick the variant, and the browser writes the firmware over the cable using the WebSerial interface. It is the friendliest route where it works — no command line, and it takes a backup-adjacent approach of talking you through the steps. It needs a device with a USB port or a USB serial adapter, and a browser that supports WebSerial.

Route 2: a flashing tool on your computer

The classic route uses a USB-to-serial adapter (an "FTDI" or similar, set to 3.3 V) wired to the device's serial pins — power, ground, TX and RX — with the device put into programming mode (on most boards, holding GPIO0 to ground while power is applied). A tool then writes the image:

  • Tasmotizer (ESP8266 only) — a purpose-built GUI that also backs up the stock firmware and can send the initial configuration.
  • ESP-Flasher — a simple cross-platform GUI from the project.
  • esptool.py — Espressif's command-line flasher, the tool the GUIs wrap. On ESP32, the first install uses the special factory image, written at address 0x0:

esptool.py write_flash 0x0 tasmota32.factory.bin

Wiring details differ per device; the community device templates (next chapter) and per-device write-ups are the authority for any specific model, because pin layouts are physical facts, not conventions.

Route 3: over the air, when it's already Tasmota

Once a device runs Tasmota, new firmware arrives over Wi-Fi from its own web interface — no bench, no cables. That is an upgrade, with its own chapter later, because upgrading carelessly across many versions is the classic way to brick a device's configuration. First installs are essentially always wired.

What about devices you can't open?

Some vendors moved to chips Tasmota does not support, or locked their firmware down. Over the years there have been exploits and over-the-air conversion tricks for specific product lines; they come and go as vendors patch them, and none is a promise. The practical advice is boring and true: check the community's supported-device lists before buying hardware to convert, prefer devices documented as flashable (or sold pre-flashed), and treat "should be hackable" as "is not."