Zigbee2MQTT is an open-source software bridge that connects Zigbee devices to Home Assistant — and to any other MQTT-capable system — without using a proprietary hub or cloud service. Where Home Assistant’s built-in Zigbee Home Automation (ZHA) integration communicates directly between the Zigbee coordinator and Home Assistant, Zigbee2MQTT inserts an MQTT broker as an intermediary: the Zigbee coordinator publishes device states and receives commands via MQTT topics, and Home Assistant subscribes to those topics through its standard MQTT integration. The result is a Zigbee setup that is decoupled from Home Assistant itself — your Zigbee devices keep reporting to the MQTT broker even if Home Assistant restarts.
The primary practical advantage of Zigbee2MQTT over ZHA is device support. Zigbee2MQTT maintains its own device database — currently covering over 3,500 devices from more than 400 manufacturers — which is updated independently of the Home Assistant release cycle. When a new Zigbee device reaches the market, Zigbee2MQTT support typically appears within days or weeks through community contributions to the device database, while ZHA support may lag by one or more Home Assistant release cycles. For users with newer or less common devices, or for those who want access to all device-specific attributes and settings rather than just the basic entity set, Zigbee2MQTT consistently offers broader and deeper support.
Zigbee2MQTT runs as a Home Assistant add-on and is configured through a single YAML file that defines the coordinator serial port, MQTT broker connection, and network settings. The web-based frontend — accessible directly from the Home Assistant sidebar — provides a full device map showing every device in the Zigbee mesh, its link quality, its router path, and its last seen timestamp. This network visualisation is one of Zigbee2MQTT’s most useful diagnostic tools: it makes mesh health immediately visible and identifies devices with weak links or routing problems that would be invisible in ZHA.
Pro Tip: Use the device map to diagnose range problems
If a Zigbee device is intermittently unavailable, open the Zigbee2MQTT network map and check its routing path. A device routing through three or four intermediate nodes when a direct path should be available usually indicates a range problem or a failing router device. Adding a mains-powered Zigbee device — a smart plug or bulb — between the coordinator and the struggling end device typically resolves the issue within minutes as the mesh re-routes automatically.
Because Zigbee2MQTT publishes all device data as MQTT topics, it integrates naturally with any other system that speaks MQTT — Node-RED, InfluxDB, Grafana, or custom scripts — without any additional configuration. This makes it particularly attractive for advanced Home Assistant setups where Zigbee data needs to feed into multiple systems simultaneously: Home Assistant for automations, InfluxDB for long-term historical storage, and Grafana for detailed visualisation, all subscribing to the same MQTT topics from a single Zigbee2MQTT instance.
🏠 Fun Fact: Zigbee2MQTT was created by Koen Kanters in 2018 after he became frustrated with the limitations of proprietary Zigbee hubs. What started as a personal project to control IKEA Tradfri bulbs without the IKEA gateway has grown into one of the most actively maintained open-source smart home projects in existence, with contributions from hundreds of developers and a device database that expands daily.