ESPHome firmware
Xima Domo runs stock ESPHome on the ESP32. The add-on writes the YAML, but you can hand-edit any file at any time — the surgical parser respects your edits as long as they live in known sections, and preserves unknown sections verbatim.
Supported components
| Component | ESPHome types | HA domain |
|---|---|---|
| Light | output: gpio + light: binary | light |
| Switch / Relay | switch: gpio | switch |
| Cover (blind / shutter) | cover: time_based | cover |
| Digital input | binary_sensor: gpio | binary_sensor |
| Temperature DS18B20 | one_wire + sensor: dallas_temp | sensor |
| PZEM power meter | uart + sensor: pzemac/pzemdc | sensor |
| Cistern | output + switch + binary_sensor + script + optional flow_pump_protection | switch + binary_sensor + sensor |
Templates
Canonical YAML for each Plan-N reference installation lives at /firmware. Clone, copy, adapt.
Safety
The add-on already locks the dangerous pins out of every dropdown (GPIO 6–11 are wired to the flash SPI bus and bricking them is permanent), but the rules also live in plain text at /docs/firmware/safety.md.