De-clouded · Firmware
Tasmota: The Other Local Firmware
Before ESPHome owned the maker bench, Tasmota owned the plug drawer — and it still does something ESPHome does not: it is configured at runtime, on the device, through its own web page, which makes it the fastest route from a cloud-bound smart plug to a local MQTT citizen. This guide covers what Tasmota is, which devices take it, how flashing works in 2026, and its on-device rules engine — the feature that lets a plug protect itself with no hub involved. It is the runtime-configured sibling of the ESPHome bench, and the two coexist happily in one house.
Published Nov 21, 2026
What it is, and where it fits
Tasmota is open-source firmware for ESP8266 and ESP32 devices — smart plugs, bulbs, switches, relays — that replaces the vendor firmware with a local web interface, MQTT and HTTP control, timers, and a rules engine, all on the device. No account, no cloud, no app: after flashing, the device is administered from its own IP address. The architectural contrast with ESPHome is real and worth choosing deliberately. ESPHome compiles a bespoke firmware per device from YAML and speaks Home Assistant’s native API — deeper integration, more upfront definition. Tasmota is one firmware configured live through web forms and console commands — faster to deploy, easier to change on a whim, and the natural fit for commodity plugs and switches whose job is simple. Many houses run both: ESPHome for built sensors, Tasmota for the plug fleet.
Which devices, and how flashing works now
The 2026 caveat comes first: the golden age of buying any cheap Tuya plug and flashing it over the air is over — most current Tuya devices ship non-ESP chips or locked firmware, and the famous tuya-convert exploit was patched years ago. The reliable routes today are buying devices that ship flashable or pre-flashed (vendors such as Athom and CloudFree sell plugs with Tasmota or ESPHome already installed — the premium over commodity plugs is a few dollars and buys the whole problem away), or serial flashing a supported ESP-based device with a USB adapter and the web installer. Treat any “flash any smart plug” guide older than a couple of years as history, and check the device against Tasmota’s supported-device repository before money moves. That repository — a community-maintained list of thousands of devices with per-model templates — is also where a flashed device gets its configuration: paste the model’s template, and the pins map correctly.
MQTT, and the rules that live on the plug
In Home Assistant, Tasmota devices arrive through MQTT — ideally with the Tasmota integration’s discovery enabled (one console command, SetOption19 0 in current versions’ discovery scheme) so devices appear with their entities named and typed. The feature that earns Tasmota its place in this site’s safety writing is rules: small on-device programs (“on energy#power > 1800 for 10 minutes, turn off and say so”) that run on the plug itself. A rule survives a Home Assistant outage, a broker outage, and a network rewire, because there is nothing else in the loop. The utility-safety guide recommends exactly this shape for auto-off duties, and energy-monitoring Tasmota plugs remain the classic way to put a number on a dumb appliance — with the calibration step (a known load, the calibration commands) done once per plug model. Timers and sunrise/sunset scheduling also live on-device, which makes a Tasmota plug a self-contained landscape-lighting or aquarium controller with no further infrastructure.
The verdict
Tasmota is not the nostalgic choice; it is the pragmatic one for a specific fleet — plugs, switches, and bulbs whose configuration should be a web form rather than a firmware compile. Buy pre-flashed where the option exists, discover into Home Assistant over MQTT, and use its rules for anything that must keep working when the rest of the stack is down. The de-clouded series’ other firmware story is the vacuum; the build-it-yourself story is the maker bench. Between them, very little in a house needs a vendor’s server to switch on.
Official documentation and references
- Tasmota documentation — flashing, templates, MQTT discovery, and rules
- Tasmota Device Templates Repository — the per-model template list to check before buying
Frequently asked questions
Can I still flash any cheap smart plug?
No — that era ended. Most current Tuya devices use non-ESP chips or locked firmware and the old over-the-air exploit was patched. Buy pre-flashed (Athom, CloudFree and similar) or check the exact model in the Tasmota templates repository before purchasing.
Tasmota or ESPHome?
Both, by job. Tasmota is configured live on the device — ideal for plugs, switches and bulbs. ESPHome compiles per-device firmware from YAML with Home Assistant’s native API — ideal for built sensors and custom projects. Many houses run both.
Do Tasmota rules need Home Assistant running?
No. Rules execute on the device itself, which is why they are recommended for auto-off and protection duties: they survive hub, broker, and network outages.
How do Tasmota devices join Home Assistant?
Over MQTT, with discovery enabled so the Tasmota integration creates the device and its entities automatically. Power-monitoring models need a one-time calibration against a known load.

