Skip to Content

Zigbee

The THRM ONE comes out of the box configured for WiFi. Its radio also supports Zigbee, so the boiler can report to Home Assistant through a Zigbee coordinator instead. This page covers what that changes, how to build the Zigbee firmware, and how to pair the device.

Zigbee is optional. If you are setting up a THRM ONE for the first time, start with the setup guide - it is the same device with the same boiler readings - only the transport, and the entities Home Assistant sees, change.

Please note that Zigbee is the least tested communication type on this device, as this is designed to be an ESPHome-first device. While it is still running ESPHome, it's not using the ESPHome API, and that comes with limitations as mentioned above.

What you need

  • A THRM ONE. Its radio supports Zigbee, so no extra hardware is needed on the device.
  • A Zigbee coordinator: a Connect ZBT-1, a Connect ZBT-2 or a Sonoff ZBDongle-E plugged into the machine running Home Assistant, or an Ethernet coordinator such as an SLZB-06M if Home Assistant runs in a VM or container and passing a USB stick through is awkward.
  • A Zigbee integration in Home Assistant: ZHA (built in) or Zigbee2MQTT (needs an MQTT broker, and version 2.8.0 or newer, because the entity names contain spaces).
  • The ESPHome Device Builder and a USB-C cable for the first flash.

What Zigbee changes

  • The radio, not the network link. The WiFi file is replaced, Ethernet is not: the W5500 keeps the device on your network for the API, the web interface and OTA.
  • Entities are rebuilt as Zigbee endpoints. On this chip the entities are grouped onto numbered endpoints, not one endpoint each. Only four kinds cross - sensors, binary sensors, switches and numbers - and every one of those with a name and not marked internal is exposed: the OpenTherm sensors, the flag binary sensors, the water leak input, the central heating switch and the control setpoint number. Anything else is dropped without a message, so the ESPHome update entity and the internal status LED never appear.
  • Basic clusters only. Zigbee carries the value and the name, not the rich metadata: no device classes by default, and only a limited set of units. Expect to set units and device class by hand in Home Assistant - the boiler water pressure arrives unitless, because Zigbee has no unit code for bar. A per-entity cluster: device_class puts a supported sensor on a real Zigbee cluster instead (temperature, pressure, humidity), at the cost of the entity's name, so it is a per-entity decision rather than a global switch.
  • Reporting follows the coordinator, not the bus. ZHA sets a minimum reporting interval of 30 s on some sensor clusters, so boiler state can lag the OpenTherm cycle; an entity that has to be quicker sets report: force.
  • No firmware updates over Zigbee. Updates keep using ESPHome OTA over Ethernet, or USB.
  • The endpoint layout is fixed when the device joins. Adding, removing or renaming an entity later changes it, and the coordinator will not see the change until the device is removed and paired again.

Configure the Zigbee build

One entry in the list of files esphome/thrm-one.yaml imports, and nothing else:

packages:
main:
refresh: 4h
url: https://codeberg.org/elvinhome/thrm-one
ref: v${version}
files:
- esphome/core/base.yaml
- esphome/core/status-led.yaml
- esphome/core/opentherm.yaml
- esphome/connectivity/zigbee.yaml # was: esphome/connectivity/wifi.yaml

esphome/connectivity/zigbee.yaml holds nothing but the Zigbee block - the model name and the power source. There are no credentials in the configuration, because a Zigbee device gets its network from the coordinator when it pairs. Replace the WiFi entry rather than adding Zigbee beside it: WiFi's fallback hotspot cannot share the radio with Zigbee.

Pair it

  1. Install the Zigbee build. A device on the factory firmware can take it over the air - the running firmware receives the image over Ethernet and reboots into it. USB-C is the fallback.
  2. Open the coordinator for joining: in ZHA, Add device; in Zigbee2MQTT, Permit join then All.
  3. Power-cycle the THRM ONE and keep it close to the coordinator for the first join. The device searches for a network and repeats until it finds one.
  4. The coordinator interviews it and it appears with the model name THRM ONE. In Zigbee2MQTT the interview ends with a device page listing the endpoints; in ZHA it appears as a device with its entities already attached.
  5. Ethernet is still up during all of this, so you can follow the join in the ESPHome logs at the same time: the logger runs at DEBUG, and the boot log shows the Zigbee stack starting and then joining.

Keeping it paired

  • After any configuration change that touches entities, remove the device from the coordinator and pair it again. In Zigbee2MQTT, re-interview it as well.
  • A changed endpoint layout can put the device into a boot loop. Recovery is a full flash erase followed by a fresh flash and a new pairing; the wipe_on_boot option that helps here is nRF52-only and is not available on this hardware.
  • Renaming entities in Home Assistant is harmless. Renaming them in the YAML is not: the name is part of the endpoint description, so treat it as a re-pair.

If it does not pair

  • Channel overlap. Zigbee and WiFi share the 2.4 GHz band. If your access points sit on WiFi 1 or 6, run the coordinator on Zigbee 25; if WiFi is on 11, use 15 or 20.
  • Distance. Try pairing it close to the Zigbee Coordinator, then moving it to your boiler once paired.
  • The permit-join window. Most stacks close it after a few minutes. Re-open it, then power-cycle the device rather than waiting.
  • Ghost devices. A device paired with an older configuration can linger in the coordinator. Remove it before pairing again.
  • Coordinator firmware. Old coordinator firmware is a common cause of failed interviews, especially on devices with many endpoints.

The repository

Further reading: