Zigbee
What is Zigbee?
Zigbee is a low‑power, wireless mesh networking protocol designed for IoT devices. It operates on IEEE 802.15.4 (typically 2.4 GHz).
Mesh networking allows messages to hop via routers for better coverage in meter cabinets or basements.
Requirements
To use Zigbee you need a Zigbee coordinator (USB adapter or hub). The coordinator creates and manages the network.
You also need software that manages the network. ZiggyMeter exposes standard data points related to energy consumption (ZCL specification v8).
Thanks to that ZiggyMeter can be integrated out-of-the-box to any 3rd party environment that supports ZCL.
Endpoints
ZiggyMeter exposes 2 endpoints. All clusters are standard ZCL clusters. There are no manufacturer-specific clusters, so most Zigbee integrations should work out of the box.
Endpoint 1
Exposes device identification and basic status information. Toggle the On/Off switch to enable or disable Wi‑Fi.
Input clusters
| Cluster ID | Name |
|---|---|
0x0000 | Basic |
0x0001 | Power Configuration |
0x0003 | Identify |
0x0006 | On/Off |
0x0402 | Temperature Measurement |
Output clusters
| Cluster ID | Name |
|---|---|
0x0003 | Identify |
0x0019 | OTA Upgrade |
Endpoint 2
Exposes meter-related data. Toggle the On/Off switch to trigger a meter reading.
Input clusters
| Cluster ID | Name |
|---|---|
0x0006 | On/Off |
0x0702 | Simple Metering |
0x0B04 | Electrical Measurement |
Output clusters
None.
Meter Related Attributes
Metering cluster
It provides 2 basic attributes. It is standard ZCL cluster, no proprietary commands required.
| Attribute ID | Name |
|---|---|
0x0000 | Current Summation Delivered |
0x0001 | Current Summation Received |
Current Summation Received is updated only if the meter provides that value.
Electrical Measurement Cluster
Provides electrical parameters. This is a standard ZCL cluster and does not require proprietary commands. The attributes below are available, but actual support depends on the meter. For example, with a single‑phase meter, Phase B and Phase C values are obviously not updated.
Depending on the Zigbee software/integration you use, some attributes may not be shown even though ZiggyMeter updates them correctly.
| Attribute ID | Name |
|---|---|
0x0300 | AC frequency |
0x0304 | Total active power |
0x0305 | Total reactive power |
0x0306 | Total apparent power |
0x0501 | Line current (Phase A) |
0x0502 | Active current (Phase A) |
0x0503 | Reactive current (Phase A) |
0x0505 | RMS voltage (Phase A) |
0x0508 | RMS current (Phase A) |
0x050B | Active power (Phase A) |
0x050E | Reactive power (Phase A) |
0x050F | Apparent power (Phase A) |
0x0901 | Line current (Phase B) |
0x0902 | Active current (Phase B) |
0x0903 | Reactive current (Phase B) |
0x0905 | RMS voltage (Phase B) |
0x0908 | RMS current (Phase B) |
0x090B | Active power (Phase B) |
0x090E | Reactive power (Phase B) |
0x090F | Apparent power (Phase B) |
0x0A01 | Line current (Phase C) |
0x0A02 | Active current (Phase C) |
0x0A03 | Reactive current (Phase C) |
0x0A05 | RMS voltage (Phase C) |
0x0A08 | RMS current (Phase C) |
0x0A0B | Active power (Phase C) |
0x0A0E | Reactive power (Phase C) |
0x0A0F | Apparent power (Phase C) |