Menu

Zigbee: What is it?

5 min read Mis à jour le 05 Apr 2026

Définition

Zigbee is a low-power wireless communication protocol based on the IEEE 802.15.4 standard, designed for short-range mesh networks of sensors and actuators. Ideal for home automation and building automation, it connects hundreds of devices in a self-healing network.

What is Zigbee?

Zigbee is a wireless communication protocol standardised by the Zigbee Alliance (now the Connectivity Standards Alliance) that operates on the 2.4 GHz frequency band (worldwide) or 868 MHz (Europe). Based on the IEEE 802.15.4 standard for the physical and MAC layers, Zigbee adds network and application layers that enable the creation of robust, self-healing mesh networks. Its typical range is 10 to 100 metres between two nodes, but meshing allows much greater distances to be covered by relaying data from node to node.

Zigbee was designed to meet the needs of IoT applications requiring a dense network of sensors and actuators, with low power consumption and modest data rates (250 kbps maximum). Unlike Wi-Fi, which consumes significant energy for high data rates, or LoRaWAN, which covers long distances but with bandwidth limitations, Zigbee offers an optimal trade-off for indoor environments: home automation, building automation, smart lighting, and environmental monitoring.

The protocol supports three types of nodes: the coordinator (one per network, managing network formation and address assignment), routers (mains-powered devices that relay messages and extend the network), and end devices (battery-powered sensors that communicate only with their parent router). A Zigbee network can theoretically accommodate up to 65,000 nodes.

Why Zigbee matters

Zigbee occupies a unique position in the IoT ecosystem, particularly for indoor deployments where sensor density and network reliability are priorities.

  • Self-healing mesh network: if a node fails, the network automatically reconfigures to find an alternative path. This resilience is essential for critical building monitoring installations.
  • Low power consumption: Zigbee end devices consume very little energy in sleep mode, allowing 2 to 5 years of battery life for door, temperature, or motion sensors.
  • Indoor scalability: each Zigbee router (smart switch, connected plug) automatically extends the network range, creating dense coverage without complex network planning.
  • Interoperability: certified Zigbee devices from different manufacturers can communicate with each other, reducing the risk of vendor lock-in.
  • Complementarity with LoRaWAN: in a complete IoT architecture, Zigbee manages the local indoor network (building) while LoRaWAN covers long-distance communications between buildings and the cloud backend.

How it works

Zigbee's operation is based on a layered architecture. The physical layer (IEEE 802.15.4) manages radio transmission on the 2.4 GHz band with 16 available channels. The MAC layer manages radio medium access through a CSMA/CA protocol (similar to Wi-Fi but simpler) and direct communications between neighbouring nodes.

The Zigbee network layer implements mesh routing: each message contains the destination address, and intermediate routers relay it hop by hop to the recipient. The protocol uses a routing algorithm based on AODV (Ad-hoc On-demand Distance Vector) that discovers routes dynamically. When a node disappears from the network, routes are automatically recalculated.

The application layer defines standardised profiles for different domains: ZCL (Zigbee Cluster Library) specifies commands and attributes for lighting, heating, security, energy measurement, and more. This standardisation enables cross-manufacturer interoperability. Zigbee data is aggregated by the coordinator or a gateway router, then transmitted to the business backend via MQTT, HTTP, or a serial interface to a Raspberry Pi acting as a bridge between the Zigbee network and the IP network.

Concrete example

Consider a company that manages an office building and wants to optimise comfort and energy consumption. A Zigbee network is deployed with temperature, humidity, CO2, light, and presence sensors in every office and meeting room.

Each floor has Zigbee routers (integrated into smart plugs and smart switches) that automatically mesh the network and relay data to a coordinator connected to a Raspberry Pi. The Raspberry Pi acts as a Zigbee-to-MQTT gateway, converting Zigbee messages into MQTT publications transmitted to the application backend. Data is stored in a database and visualised on a dashboard with a floor-by-floor building view, enabling the manager to optimise heating, ventilation, and lighting based on actual space occupancy.

Implementation

  1. Plan the topology: identify locations for mains-powered routers to ensure complete mesh coverage. Plan one router every 15-20 metres indoors.
  2. Choose the coordinator: use a USB Zigbee dongle (ConBee II, SONOFF Zigbee 3.0) connected to a Raspberry Pi as coordinator and gateway.
  3. Install gateway software: deploy Zigbee2MQTT on the Raspberry Pi to convert Zigbee messages into MQTT publications compatible with your Python backend (Flask or Django depending on the project).
  4. Integrate sensors: pair Zigbee sensors with the network and configure MQTT topics for each data type.
  5. Develop the backend: implement MQTT consumers in Django to receive, process, and store Zigbee data in real time.
  6. Monitor the network: use Zigbee2MQTT's topology map to visualise the mesh, identify weak nodes, and optimise router placement.

Associated technologies and tools

  • Zigbee2MQTT: open-source bridge between Zigbee networks and MQTT, supporting over 2,000 devices from different manufacturers.
  • ConBee II / SONOFF Zigbee 3.0: USB Zigbee coordinator dongles compatible with Zigbee2MQTT and major home automation software.
  • Raspberry Pi: single-board computer used as a Zigbee-to-MQTT gateway, hosting the coordinator and bridge software.
  • MQTT: messaging protocol used to transmit Zigbee data to the application backend.
  • Matter: new home automation standard (from the Zigbee Alliance) aiming to unify Zigbee, Thread, and Wi-Fi under a common protocol.
  • Home Assistant: open-source home automation platform with native Zigbee support, often used as a reference for integration testing.

Conclusion

Zigbee is the reference protocol for dense indoor sensor networks, offering self-healing meshing, low power consumption, and cross-manufacturer interoperability. Its complementarity with LoRaWAN (dense short range vs long range) makes it an essential component of complete IoT architectures. At KERN-IT, we combine Zigbee, Raspberry Pi, and MQTT to create smart building solutions connected to our Python platform (Flask or Django) and visualised on KERN MAP, providing our Belgian clients with intelligent management of their buildings and energy consumption.

Conseil Pro

Strategically place Zigbee smart plugs (which act as routers) before deploying your battery-powered sensors. A dense mesh of mains-powered routers ensures reliable coverage and extends end device battery life by reducing the required transmission power.

Un projet en tête ?

Discutons de comment nous pouvons vous aider à concrétiser vos idées.