Skip to content

Writing criteria for this guide

Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.

  1. Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
  2. Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
  3. No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
  4. Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
  5. General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. Device names in examples are generic room names only.
  6. Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
  7. Honest about limits. The Limits chapter names what the tool cannot do: Wi-Fi only, 2.4 GHz only, the ESP8266 memory ceiling measured by this lab's own build, a home-grade security model, and hardware that cannot be converted at all.
  8. The safety rule is in the text, early. Tasmota devices switch mains electricity, so the rule — never flash or open a device connected to mains power — is stated in the README and given its own chapter (chapter 2) before any procedure appears, in the project's own uncompromising terms.
  9. Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.

Verification notes for this guide

The build machine is a shared Ubuntu sandbox (about 8 GB RAM, several builds running at once; timings are therefore ranges, and the guide says so). The lab cloned the official repository github.com/arendst/Tasmota at the stable release tag v16.0.0, commit 1c2173927cdf1be61759bcc3b064b9511a18e5d7 (2026-10-16), and built with PlatformIO Core 6.2.0 in a virtual environment, all build state kept in the lab's own folder. Full notes are in tasmota-lab/dissection-notes.md; transcripts in tasmota-lab/transcripts/.

Run for real, with transcripts as evidence:

  • The ESP8266 firmware build. pio run -e tasmota to SUCCESS: RAM 51.2% (41,928 / 81,920 bytes), Flash 64.7% (662,892 / 1,023,984 bytes), static IRAM 93.2% used; tasmota.bin 667,040 bytes, tasmota.bin.gz 469,166 bytes (t02). One false start is kept in the record (t01): the first attempt failed on TLS certificate verification inside the toolchain's nested Python environment, whose setup script overrides the CA bundle variables; the diagnosis and the fix are written up in the transcript, because a reader behind a TLS-inspecting proxy can meet the same failure.
  • The ESP32 firmware build. pio run -e tasmota32 to SUCCESS: RAM 23.8% (78,032 / 327,680 bytes), Flash 75.8% (2,234,363 / 2,949,120 bytes); tasmota32.bin 2,234,928 bytes, tasmota32.factory.bin 3,152,432 bytes (t03). The first run's process died silently mid-compile on the shared machine; the incremental second run completed it. The transcript says so rather than smoothing it over.
  • Binary dissection. Both images begin with the ESP image magic byte 0xE9; the ESP32 image identifies as an ESP-IDF 5.5.5 application image. strings finds Berry's console web page, a "Berry":{…} status fragment and a solidified Berry boot script in the ESP32 image, and exactly one "Berry" — a feature-name table entry — in the ESP8266 image (t03).
  • Source dissection of everything the guide teaches. The command tables (kTasmotaCommands in support_command.ino; 114 files under tasmota/ register command tables); the web server's page handlers (xdrv_01_9_webserver.ino); the STATE builder (MqttShowState()) and SENSOR publisher; the ENERGY JSON preserved verbatim in xdrv_03_energy.ino; the rule engine's header examples (xdrv_10_rules.ino); Home Assistant discovery and v16's SetOption19 semantics from the comment in xdrv_12_home_assistant.ino; MAX_TIMERS = 16 in tasmota.h; the variant catalogue from platformio_tasmota_env.ini and platformio_tasmota_env32.ini; 2,835 templates counted in the repo's TEMPLATES.md, with a real JSON entry quoted. All of it is written up in tasmota-lab/dissection-notes.md.

Documented only — described from the project's official documentation (tasmota.github.io/docs, pages recorded in the dissection notes), not performed, and the chapters say so:

  • Everything on physical hardware. The lab has no ESP8266 or ESP32 devices. Flashing (web installer, Tasmotizer, ESP-Flasher, esptool.py with the factory image), putting a device in programming mode, wiring a serial adapter, the three-minute configuration access point, and pressing the web interface's buttons are all documented-only.
  • Live behaviour. Relay switching, real sensor readings, energy figures from a real load, rules firing on a real device, Berry scripts running on hardware, Home Assistant adopting a real device — all described from documentation and from the source-verified message formats, never presented as observed.
  • The Zigbee bridge variants in use, and pairing real Zigbee devices through them.
  • Upgrading a fleet over the air — the migration path, minimal stepping stone and backup-first rules are quoted from the project's Upgrading documentation and the v16 release notes, not exercised.

Fixtures are this guide's own and deliberately generic: room names (hallway, porch, kettle plug), the project's own example template and energy payload, and stock sentences. No real network, home, or organisation appears anywhere in this guide.