About Zigbee Hub mode

4. About Zigbee Hub mode

It is highly recommended to use U series coordinators for this mode (SLZB-06xU / MRxU / Ultima)

Limitations:
- no support for ZigBee devices that require a manufacturer code (Added starting from v3.4.3.dev3)
- no support for ZGP and Touchlink
- no OTA updates for ZigBee devices
- limited support for ZigBee devices that use non-standard clusters (about 3,000 converters generated by AI since v3.4.3.dev3)
- limited number of devices that can be paired:
   U series coordinators - up to 80 devices.
   non-U series - up to 16 devices.

4.1 What is Zigbee Hub in SLZB-OS?

The Zigbee Hub feature allows the SLZB device to run its Zigbee network directly on the device — without needing an external computer, Raspberry Pi, or NAS to host the Zigbee stack.
In Zigbee Hub mode, SLZB-OS launches an integrated Zigbee stack service that can connect directly to your smart home platform over MQTT.

This mode is ideal for:

When Zigbee Hub is active, a dedicated Zigbee Hub menu appears in the SLZB-OS interface, containing the following pages:

  1. Dashboard – Live overview of Zigbee network status.

  2. Devices – List and manage all paired Zigbee devices.

  3. ZCN Builder - A tool that helps create custom converters for Zigbee devices.
  4. Network map - Map of your Zigbee network (v3.4.3.dev3+)
  5. Groups - Creating and managing Zigbee groups (v3.4.3.dev3+)
  6. MQTT – Configure the MQTT broker connection.

  7. Backup and Restore - Creating and restoring Zigbee network backups.
  8. Settings – Advanced Zigbee network and coordinator options.

Feature overview

Device support

Most devices that follow the Zigbee Cluster Library standard work without any converter: the hub reads the clusters the device has.

Devices with their own data formats (Tuya datapoint devices, Xiaomi / Aqara, manufacturer-specific clusters) need a converter. There are three types:

  1. Built-in converters: a few dozen popular devices (Tuya, Lumi / Aqara, SONOFF, MOES, Third Reality), compiled into the firmware.
  2. Generated converters: about 3,900 converters, generated by AI.
    • Coverage:
      • Tuya: about 630 datapoint device models, 508 of them with every datapoint mapped;
      • Philips Hue, IKEA, Aqara / Lumi, SONOFF, Innr, Gledopto, Heiman, Schneider Electric, Sunricher, Namron, Ledvance, Osram, MOES, Legrand, Danfoss, Shelly, Yale, Third Reality and many more.
    • What they carry:
      • the device's entities (with fields, composite climates / covers / lights / fans, schedules, button actions);
      • the device configuration for pairing (bindings, reporting, attribute writes, time sync, periodic queries).
    • Delivery: converters are not part of the firmware. The hub fetches the converter of a paired device from the SMLIGHT server and stores it.
      • U devices download it themselves, and check for a newer version daily.
      • Older devices get it through your browser while the web interface is open.
      • Both are controlled by the setting "Allow downloading device converters from the SMLIGHT server" on the Zigbee Hub settings page.
      • A converter fragment file (.zcf) can also be installed by hand in the device dialog.
  3. Berry ZCN converters: your own converters written in Berry (ESP32-S3 devices). Zigbee Hub → ZCN Builder generates the code. See the Berry ZCN manual.

Supported Zigbee clusters

These clusters are handled for every device. The hub binds them and configures their reporting at the interview where needed.

Cluster ID What you get
Power Configuration 0x0001 Battery % and battery voltage (battery devices)
Identify 0x0003 Answered as Zigbee 3.0 requires
Scenes 0x0005 Scene recall / store of remotes as actions (recall_1, ...)
On/Off 0x0006 State and control; remote commands as actions (on, off, toggle, per button)
On/Off Switch Configuration 0x0007 Switch type and switch actions of relays
Level Control 0x0008 Brightness, Level settings (on level, transition times, start-up level); remote commands as actions (brightness_move_up, ...)
Analog / Binary / Multistate Input 0x000C / 0x000F / 0x0012 Values named after the device's description, with units and state names
Time 0x000A The hub answers the device's time requests (time zone and DST)
Poll Control 0x0020 Check-ins answered; queued requests are sent to sleepy devices quickly
OTA Upgrade 0x0019 Answered "no image available" (no firmware updates)
Door Lock 0x0101 Lock / unlock, lock state, door state, lock operation events as actions
Window Covering 0x0102 Open / close / stop, position and tilt
Thermostat 0x0201 One climate entity: temperature, setpoint, modes, running state
Fan Control 0x0202 Fan mode
Thermostat User Interface 0x0204 Display unit, keypad lock
Color Control 0x0300 Color, color temperature with the light's own range; remote color commands as actions
Illuminance 0x0400 / 0x0401 Illuminance in lux, level status
Temperature / Pressure / Flow / Humidity 0x0402 / 0x0403 / 0x0404 / 0x0405 Measurements
Occupancy 0x0406 Occupancy
CO2 / PM2.5 0x040D / 0x042A CO2 in ppm, PM2.5 in µg/m³
IAS Zone 0x0500 Alarm by zone type (motion, door, smoke, water leak, CO, vibration, ...), tamper, battery low
IAS ACE 0x0501 Keypads / alarm remotes: arm / disarm / panic as actions; the hub answers the keypad and keeps the panel status (a select in Home Assistant)
IAS WD 0x0502 Siren entity: tone, volume, duration
Metering 0x0702 Energy / gas / water totals in the meter's own unit, instantaneous demand (power)
Electrical Measurement 0x0B04 Voltage, current, power with the device's own multipliers and divisors
Tuya 0xEF00 Datapoints through converters

A dimmable endpoint (On/Off + Level, optionally Color) appears as one light, not as a switch and a number. An attribute the device answers as "unsupported" gets no entity.

Home Assistant

Enable Home Assistant MQTT Discovery on the Zigbee Hub → MQTT page (discovery prefix: homeassistant by default). The hub then publishes the discovery of every device after each MQTT connection.

Zigbee network management


4.2 Zigbee Hub → Dashboard

The Dashboard is the central monitoring page for your Zigbee network.

image.png

The dashboard contains cards of your ZigBee devices with the data they provide and controls.
The dashboard is updated in real time via SSE.

Sensor history

Numeric sensors store a history of changes over the last 24 hours with a 5-minute interval; in the dashboard, such sensors are marked with a graph icon.

image.png

To check the history, hover the cursor over the sensor and left-click.

image.png

You will see a modal window with a graph of sensor changes. You can select a time range: 1h, 6h, or 24h.

image.png

image.png

The hub stores information in 5-minute intervals, including the maximum, minimum, and average.

This functionality is available only on U devices.


4.3 Zigbee Hub → Devices

The Devices page lists every Zigbee device paired to your coordinator.

image.png

Pairing control: 

For each device, you’ll see:

Typical uses:

Device config

How to rename device

Select the pencil icon image.png

image.png

Enter new name and press "Save". Maximum length - 50 characters.

Device config

Click on the wrenchimage.png

Binding

image.png

This menu sends the device a bind request to the coordinator, the device must be active to accept this. If it is a battery-powered device you need to wake it up.

Configure reporting

image.png

Polling

image.png

Allows you to configure polling of the selected attribute after a certain time interval

Exposes

image.png

image.png

Provides information about expected data from the device and examples of using MQTT, HTTP, and Berry API to get or set device state.

IMPORTANT!
This section provides information about EXPECTED data from the device, based on information about the device clusters or converter (if it exists).
This information may not match the actual behavior of the device if it uses non-standard clusters!
If this is a Tuya DP device, then information will be displayed here only if a converter exists for the device!

Other tools

image.png

Here you can find the ZCN converter number (if used) and download device information


ZCN Builder

A helper tool to facilitate the creation of custom Berry converters for your Zigbee devices.

Full manual: https://smlight.tech/support/manuals/books/slzb-os/page/berry-zcn-system-manual

192.168.1.4_zhub_zcn_builder (1).png


Network Map

Visual representation of your Zigbee network.

image.png


Groups

This page allows you to combine multiple Zigbee relays or lamps into a single group and control them all simultaneously with a single command.

Supports up to 32 groups of 32 members each.

image.png


4.4 Zigbee Hub → MQTT

v3.2.4 and later OS versions

Starting with v3.2.4, MQTT can be used independently of the Zigbee Hub and all general MQTT settings have been moved to a separate page.

image.png

OS versions up to v3.2.4

This page configures the MQTT connection that SLZB-OS uses to communicate with your smart home platform.

This screenshot shows an older version of the page

image.png

Configuration fields include:

Tips:


Backup and Restoreimage.png

  1. Creates a new full backup
  2. Allows you to upload a backup to the device's storage
  3. Specifies to restore this backup
  4. Downloads this backup to your PC
  5. Delete this backup

4.5 Zigbee Hub → Settings

The Settings page contains deeper configuration for the Zigbee coordinator.

v3.4.3.dev3 and later

SLZB-OS uses a well-known default network key!
If you want to achieve maximum security, you should generate a random network key.

image.png

Network key

Generate - generates a new random network key.
Default - sets the default network key.
Change the key keeping the devices - Initiates the network key migration procedure while retaining most of your devices. Some sleeping devices may not receive the new key if they are asleep at the time of migration.

Device converters

Allow downloading device converters from the SMLIGHT server - Enables the downloading (and periodic updating) of special .zcf converters for your paired Zigbee devices. These converters are required to provide support for non-standard Zigbee devices and vendor-locked devices.

When this option is enabled, the Zigbee Hub will send the model and manufacturer of a newly paired Zigbee device to our server to search for an available converter, if one is found, it will be downloaded. NO ANY PERSONAL DATA IS SENDED!
The Zigbee Hub will check for converter updates every 24 hours.

If this option is disabled, support for non-standard Zigbee devices will not be available.

Device availability

Tracks Zigbee packets from your devices and stores the timestamp of the last received packet. If this time exceeds the limit specified in the settings, it will mark the device as unavailable in the dashboard and via MQTT discovery.

Older OS versions

image.png

Typical settings available:

Best practices:

4.6 Troubleshooting

Problems when starting a Zigbee network

OS v3.0.9 update is breaking. If you updated OS to v3.0.9 and started getting this error then follow the instructions below

Network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby.
Network formation refused there is too much RF interference or network with the same panId or extendedPanId already exists.
If you got this error after updating Zigbee chip:
- turn off coordinator
- turn off ALL Zigbee routers that were connected to Zigbee Hub. This is important, it will not work without this
- turn on coordinator. Zigbee Hub should start now but zigbee devices will be unavailable
- remove all devices (click on the red trash can)
- download and run berry script below, this script will keep permit join enabled as long as it is running
#META {"start":0}
#Insert your code below
import ZHB

ZHB.waitForStart(0xFF)

while 1
  ZHB.permitJoin(254)
  SLZB.delay(255 * 1000)
end
- turn back on previously disabled zigbee devices
- repair all devices
- after devices repaired you can stop and delete script

Other cases:
- move the coordinator away from the wifi router
- make sure there is no other coordinator nearby with the same zigbee network settings

Revision #25
Created 2025-08-14 20:07:14 UTC by Support3
Updated 2026-10-27 14:44:16 UTC by Taras