iRidi for ZigBee
How iRidi Server accesses a ZigBee wireless network
Documentation updated 01.01.2024
- The following can work with ZigBee networks:
- any platform (RPI, Windows, Linux, UMC) with a ZigBee stick connected,
- iRidi Server UMC C3 with a built-in ZigBee module*.
-
- discontinued.
-
iRidi Server does not support all ZigBee devices and functions. The "Working with commands and feedback" section provides information about the supported ZigBee classes.
Tested equipment
Supported ZigBee sticks
- Elelabs Zigbee USB Adapter Elu013
- DEFARO SPRUTSTICK PRO
- Sonoff Zigbee 3.0 USB Dongle plus (ZBDongle-E)
- Nortek HUSBZB
Unsupported sticks:
- JetHome JetStick Z4
Legrand Netatmo
- AG07556 - single-rocker (two-button), flush-mounted light switch (dimmer);
- AG0777 - single-rocker (two-button), flush-mounted curtain controller;
- AG08761 - wireless single-rocker switch;
- AG08763 - wireless curtain controller;
- AG08761 - wireless two-rocker switch.
Danfoss Icon
- 088U1122 - Room Thermostat;
- 088U1105 - Radio Module;
- 088U1141 - Master Controller OTA;
- 088H3110 - TWA-A NC;
- 088U1130 - Zigbee Module.
Aqara
- MCCGQ11LM - Aqara Door and Window Sensor;
- RTCGQ11LM - Aqara Motion Sensor;
- WSDCGQ11LM - Aqara Temperature and Humidity Sensor;
- QBKG03LM - Aqara 2x1-pole switch;
- WXKG02LM - Wireless Remote Switch (Double Rocker).
Aqara device operating considerations:
- Because Xiaomi Aqara does not fully support the ZigBee specification, we do not recommend using a large number of Xiaomi wireless battery-powered devices in your projects. Their stability is not guaranteed.
- Make sure your ZigBee devices do not conflict with the Wi-Fi network channel. ZigBee can sometimes conflict with Wi-Fi when they use the same radio channel (more information here).
- To improve sensor stability, we recommend making sure that the server is always running without interruptions (ZigBee devices often leave the network if they cannot see the coordinator).
- If you are not receiving data from a device, check whether it has actually left the network. If climate parameters do not cross a certain threshold, the device sends no data to the network. Pressing its button helps wake up the device.
- If one of the sensors consistently disappears from the network, try replacing it. This behavior may indicate a manufacturing defect.
Advantages
Home automation is one of the main applications of ZigBee.
ZigBee devices
- can form mesh networks, providing self-healing and guaranteed data delivery if communication is interrupted, obstacles appear, or a component fails;
- consume little power and can run on ordinary batteries, eliminating the need to lay cables;
- can exchange information over distances of several tens of meters with a clear line of sight.
Many smart devices with a ZigBee interface are available on the market. Developers can connect all these devices to the unified iRidi platform.
Adding devices to the network
-
Power on the server.
-
Sign in to the server web interface.
-
Open the Zigbee (beta) tab.

- Click Settings to configure the ZigBee network.

- Configure the ZigBee stick or built-in module (UMC only) according to its specifications.

- Configuring USB sticks:
| Stick model | Settings |
|---|---|
| Elelabs Zigbee USB Adapter Elu013 DEFARO SPRUTSTICK PRO Sonoff Zigbee 3.0 USB Dongle plus (ZBDongle-E) | Baud Rate: 115200, Data Bits: 8, Parity: None, Stop Bits: 1. |
| Nortek HUSBZB | Baud Rate: 57600, Data Bits: 8, Parity: None, Stop Bits: 1. |
The JetHome JetStick Z4 stick has been tested and is not supported, EZSP v13 iRidi supports Ember Zigbee Serial Protocol (EZSP) up to and including v.8
-
The web interface displays stop bits as follows:
-
Configuring the ZigBee module.
The built-in ZigBee module is always in slot 4 and is displayed as /hal/zwt_m4.
Stop bits are displayed in the web interface as follows:
| iRidi Studio: | Web interface: |
|---|---|
| 1 | 0 |
| 1,5 | 1 |
| 2 | 2 |
- For Windows
- Connect the USB stick;
- Open Device Manager and find your USB stick. The name of the port to which it is connected appears in parentheses after its name (COM7 in this example).

If the device is displayed as an unknown device, update the drivers for this stick.
- For Linux
- Connect the USB stick;
- No additional drivers are required. To select the stick port, clear the Serial Port field and select your stick from the available options.

- For UMC_C3
- Connect the USB stick;
- No additional drivers are required. To select the stick port, clear the Serial Port field and select your stick from the available options.
-cc2aef9b115d6b324e941d9e54b4cdd8.png)
A stick for UMC always occupies a USB port, indicated by ttyUSB in its name.
This applies only to newer servers with the patch for stick support installed. If the patch is not installed and sticks are not displayed in the web interface, contact our technical support team (support@iridi.com).
- This applies only to newer servers with the patch for stick support installed. If the patch is not installed and sticks are not displayed in the web interface, contact our technical support team (support@iridi.com).
- Click Create network to create a new network.

- Click Open network. The server scans the radio channel for 180 seconds. During this time, perform the required physical actions on the wireless device being added. Typically, you need to press its button several times (read the operating manual for your device to find out exactly which actions are required).

Example of adding a Legrand device:

-
Remove the protective tab;
-
Hold the button until the LED lights up;
-
Press the button again so that the LED starts flashing (a flashing LED indicates that the device is available for connection to ZigBee);
-
Wait for the device to appear in the web interface.
Example of adding an Aqara device:

-
Hold the button on the device until its LED flashes several times.
-
Press the button on the device periodically to force it to wake up.
-
It is advisable to monitor the server logs at this point. Set the log level to INFO and wait for the message Device inited. This means the device has been initialized and is ready for further configuration.
-
Wait for the device to appear in the web interface.
-
The device is added to the list and receives an ID. Use the device-adding button to add all the required devices to your network.

- Use Rename to change the device name, or Delete to remove the device.
| Cluster | Attributes | Value | Description |
|---|---|---|---|
| On/Off | OnOff | 0 - Off, 1 - On | Device state |
| On/Off | Global Scene Control | Read Only | Used to prevent a repeated off command in a global scene |
| On/Off | On Time | 0 - 65535 | Defines the duration (in 1/10 seconds) for which the on state must be maintained before automatically switching to the off state |
| On/Off | Off Wait Time | 0 - 65535 | Defines the duration (in 1/10 seconds) for which the off state must be maintained before automatically switching to the on state |
| Basic | ZCL Version | Read Only | Provides the basic set of elements (global functions / scenes) |
| Basic | Application Version | Read Only | Indicates the application version number |
| Basic | Stack Version | Read Only | Indicates the implementation version number (use of this attribute depends on the manufacturer) |
| Basic | HWVersion | Read Only | Indicates the device hardware version number (use of this attribute depends on the manufacturer) |
| Basic | Manufacturer Name | Read Only | Indicates the manufacturer name as a ZigBee character string |
| Basic | ModelIdentifier | Read Only | Indicates the model number (or other identifier) assigned by the manufacturer |
| Basic | Date Code | Read Only | Indicates the device manufacturing date in the international date format (ISO 8601 = YYYYMMDD) |
| Basic | Power Source | 0 - unknown source 1 - mains (single phase) 2 - mains (3 phases) 3 - battery 4 - DC power source 5 - emergency mains, continuous power 6 - emergency mains and transfer switch without interruption | Device power source |
| Basic | Location Description | String | Describes the physical location of the device. This description can be added to the device during commissioning |
| Basic | Physical Environment | 0 - unassigned 1 - atrium 2 - bar 3 - courtyard 4 - bathroom 5 - bedroom 6 - billiard room 7 - utility room 8 - basement 9 - storage room 10 - theater 11 - office 12 - deck 13 - den 14 - dining room 15 - electrical room 16 - elevator 17 - entrance/entry 18 - living room 19 - main floor 20 - stairs up 21 - stairs down 22 - basement/lower level 23 - gallery 24 - game room 25 - garage 26 - gym 27 - entrance hall 28 - house 29 - kitchen 30 - laundry room 31 - living room 32 - stairwell 33 - yard 34 - attic 35 - whirlpool bath 36 - residential room 37 - sauna 38 - shop 39 - guest bedroom 40 - guest bathroom 41 - toilet (separate WC) 42 - backyard 43 - front yard 44 - courtyard 45 - driveway 46 - sunroom 47 - living room 48 - spa 49 - whirlpool bath 50 - warehouse 51 - workshop 52 - fountain 53 - pond 54 - reception 55 - breakfast room 56 - corner 57 - garden 58 - balcony 59 - panic room 60 - terrace | Defines the physical location of the device |
| Basic | Device Enabled | 0 = Off, 1 = On | Boolean value (indicates whether the device is on or off) |
| Basic | Alarm Mask | 0 - general hardware error, 1 - general software error | Indicates a general alarm |
| Basic | Disable Local Config | 0 = Off, 1 = On | Allows any local configuration user interface to be disabled (for example, to prevent unauthorized people from activating reset or binding buttons on a device in a public building) |
| Basic | SW Build ID | String | Manufacturer reference to the software version |
| Power | Mains Voltage | 0 - 65535 | Indicates RMS voltage or DC voltage |
| Power | Mains Frequency | 0 - frequency too low to measure 254 - frequency too high to measure 255 - frequency could not be measured | Represents the frequency in hertz |
| Power | Mains Alarm Mask | 0 - mains voltage too low 1 - mains voltage too high 2 - mains power unavailable (device running on battery) | Indicates device alarms. If the device does not have an alarm cluster, alarms may not be received |
| Power | Mains Voltage Min Threshold | 0 - 65535 (100mV) | Defines the lower alarm threshold. This attribute must be less than MainsVoltageMaxThreshold |
| Power | Mains Voltage Max Threshold | 0 - 65535 (100mV) | Defines the upper alarm threshold. This attribute must be greater than MainsVoltageMinThreshold |
| Power | Mains Voltage Dwell Trip Point | 0 - 65535 (65535 - alarms must not be generated) | Indicates the timer duration. The timer starts counting when MainsVoltage crosses the threshold |
| Power | Battery Voltage | 0 - 255 | Defines the current battery voltage (mV) |
| Power | Battery Percentage Remaining | 0 - 255 | Defines the remaining battery charge (%) |
| Power | Battery Manufacturer | String | Indicates the battery manufacturer name |
| Power | Battery Size | 0 - no battery 1 - built-in battery 2 - other 3 - AA 4 - AAA 5 - C 6 - D 7 - CR2 (IEC: CR17355 / ANSI: 5046LC) 8 - CR123A (IEC: CR17345 / ANSI: 5018LC) 255 - unknown | Indicates the battery size |
| Power | Battery AHr Rating | 0 - 65535 | Defines the battery rating in 10mAHr |
| Power | Battery Quantity | 0 - 255 | Indicates the number of batteries in the device |
| Power | Battery Rated Voltage | 0 - 255 | Indicates the rated voltage of the battery used (100mV) |
| Power | Battery Alarm Mask | 0 - battery voltage too low to continue operation 1 - alarm 1 (BatteryVoltageThreshold1) 2 - alarm 2 (BatteryVoltageThreshold2) 3 - alarm 3 (BatteryVoltageThreshold3) - if the time has expired | Indicates which battery alarms must be generated |
| Power | Battery Voltage Min Threshold | 0 - 255 | Defines the low battery voltage threshold, in units of 100mV, at which the device can no longer operate |
| Power | Battery Voltage Threshold 1/2/3 | 0 - 255 | Low voltage alarm value, in units of (100mV), for the BatteryVoltage attribute. If BatteryVoltage is below the specified value, the corresponding alarm is generated |
| Power | Battery Percentage Min Threshold | 0 - 255 | Indicates the battery voltage threshold that warns of low battery charge in % |
| Power | Battery Percentage Threshold 1/2/3 | 0 - 255 | You can set the low voltage alarm value (%) for BatteryPercentageRemaining in this attribute. If BatteryPercentageRemaining is below the specified value, the corresponding alarm is generated |
| Power | Battery Alarm State | Read Only | Indicates the current alarm. The attribute maintains a continuous record of battery alarm states |
| Level | Current Level | 0 - 255 | Current device level |
| Level | Remaining Time | 0 - 65535 | Defines the time until the current command completes (specified in 1/10 seconds) |
| Level | On Off Transition Time | 0 - 65535 | Indicates the time taken to transition the level to the On/Off state (specified in 1/10 seconds. The time should be close to what the device can actually achieve. It cannot change at a variable rate) |
| Level | On Level | 0 - 255 | Sets CurrentLevel if ON is received by the OnOff cluster attribute |
| Level | On Transition Time | 0 - 65535 | Represents the time required for the level to transition from its minimum to its maximum when an ON command is received |
| Level | Off Transition Time | 0 - 65535 | Represents the time required for the level to transition from its maximum to its minimum when an OFF command is received |
| Level | Default Move Rate | 0 - 255 | Defines the rate of a move command using the Rate parameter |
| Binary Input | Active Text | String | Stores a readable description of the active PresentValue state |
| Binary Input | Description | String | Describes the use of input/output data, depending on the cluster. The string contains 16 printable characters (ASCII) |
| Binary Input | Inactive Text | String | Stores a readable description of the inactive PresentValue state |
| Binary Input | Out Of Service | 0 = false, 1 = true | A Boolean attribute indicating whether the physical input is active. For the BinaryInput cluster, OutOfService = True means that PresentValue is decoupled from the physical input and does not track changes |
| Binary Input | Polarity | OutOfService is FALSE. If Polarity is NORMAL (0), the ACTIVE (1) state of PresentValue is also the ACTIVE or ON state of the physical input (or output). If Polarity is REVERSE (1), the ACTIVE (1) state of PresentValue is the INACTIVE or OFF state of the physical input (or output). Thus, OutOfService is FALSE | Indicates the relationship between the physical input/output state (depending on the cluster) and the logical state of PresentValue |
| Binary Input | Present Value | For analog signals - an unambiguous integer value; for binary clusters - boolean; for a multistate cluster - uint16 | Indicates the current input/output value assigned to the Binary Input cluster. PresentValue for the Binary Input cluster must be writable if OutOfService = True |
| Binary Input | Status Flags | The bitmask is defined as: Bit 0 = IN ALARM Bit 1 = FAULT Bit 2 = OVERRIDDEN Bit 3 = OUT OF SERVICE where: Bit 0. IN ALARM - Boolean FALSE (0) if EventState is NORMAL; otherwise, Boolean TRUE (1). This bit is always 0 unless the cluster implementing EventState is implemented on the same endpoint Bit 1. FAULT - Boolean TRUE (1) if Reliability is present and is not NO FAULT DETECTED; otherwise, Boolean FALSE (0) Bit 2. OVERRIDDEN - Boolean TRUE (1) if the cluster has been overridden by a mechanism local to the device; otherwise, Boolean FALSE (0) Bit 3. OUT OF SERVICE - Boolean TRUE (1) if OutOfService is TRUE; otherwise, Boolean FALSE (0) | This attribute provides four Boolean flags indicating the overall device state. Three flags are associated with the values of other optional attributes in this cluster |
| Binary Input | Application Type | Group = Bits 24 - 31 - identifies the cluster to which the attribute belongs Type = Bits 16 - 23 - the physical quantity for analog clusters Index = Bits 0 - 15 - the specific use of the cluster by the application | Represents a 32-bit integer indicating the specific use of the cluster |
| Binary Input | Reliability | 0 - no errors detected 1 - sensor missing 2 - data outside the allowed range 3 - data has not entered the allowed range 4 - open loop 5 - open short loop 6 - no outputs (input value cluster only) 7 - unreliable/other 8 - processing error 9 - multistate error (multistate cluster only) 10 - configuration error | Indicates whether PresentValue is reliable |
| Occupancy Sensing | Occupancy | 1 - occupied 0 - unoccupied | Occupancy (represented by a bitmask) |
| Occupancy Sensing | Occupancy Sensor Type | 0 - PIR 1 - Ultrasonic 2 - PIR and ultrasonic | Indicates the occupancy sensor type |
| Occupancy Sensing | PIR Occupied To Unoccupied Delay | 0 - 65535 | Indicates the delay in seconds before the PIR sensor changes to the unoccupied state after the last motion detection in the detection area |
| Occupancy Sensing | PIR Unoccupied To Occupied Delay | 0 - 65535 | Indicates the delay in seconds before the PIR sensor changes to the occupied state after detecting motion in the detection area |
| Occupancy Sensing | PIR Unoccupied To Occupied Threshold | 0 - 255 | Indicates the number of motion detection events that must occur during PIR UnoccupiedToOccupiedDelay |
| Occupancy Sensing | Ultrasonic Occupied To Unoccupied Delay | 0 - 65535 | Defines the delay in seconds before the ultrasonic sensor changes to the unoccupied state |
| Occupancy Sensing | Ultrasonic Unoccupied To Occupied Delay | 0 - 65535 | Defines the delay in seconds before the ultrasonic sensor changes to the occupied state after detecting motion |
| Occupancy Sensing | Ultrasonic Unoccupied To Occupied Threshold | 0 - 255 | Defines the number of motion detection events that must occur during UltrasonicUnoccupiedToOccupiedDelay |
| Multistate Input | StateText | String | Contains descriptions of all possible states. The number of descriptions matches the number of states defined in NumberOfStates. PresentValue, interpreted as an integer, is an index into the array. If the size of this array changes, NumberOfStates must also change to the same value |
| Multistate Input | Description | String | Describes the use of input/output data, depending on the cluster. The string contains 16 printable characters (ASCII) |
| Multistate Input | Number Of States | 1 - 65535 | Defines the number of PresentValue states. NumberOfStates must always be greater than zero |
| Multistate Input | Out Of Service | 0 = false 1 = true | A Boolean attribute indicating whether the physical input is active. For the MultistateInput cluster, OutOfService = True means that Present Value is decoupled from the physical input and does not track changes |
| Multistate Input | Present Value | For analog signals - an unambiguous integer value; for binary clusters - boolean; for a multistate cluster - uint16 | Indicates the current input/output value assigned to the BinaryInput cluster. PresentValue for the MultistateInput cluster must be writable if OutOfService = True |
| Multistate Input | Priority Array | Array of 16 structures of (bool, uint16) | An array of 16 structures. Each structure consists of 2 elements: 1. Boolean (True/False) 2. PresentValue in descending order 1-16 |
| Multistate Input | Reliability | 0 - no errors detected 1 - sensor missing 2 - data outside the allowed range 3 - data has not entered the allowed range 4 - open loop 5 - open short loop 6 - no outputs (input value cluster only) 7 - unreliable/other 8 - processing error 9 - multistate error (multistate cluster only) 10 - configuration error | Indicates whether PresentValue is reliable |
| Multistate Input | Relinquish Default | 0 - 65535 | Indicates the default value for PresentValue when all elements of PriorityArray are marked as invalid |
| Multistate Input | Status Flags | The bitmask is defined as: Bit 0 = IN ALARM Bit 1 = FAULT Bit 2 = OVERRIDDEN Bit 3 = OUT OF SERVICE where: Bit 0. IN ALARM - Boolean FALSE (0) if EventState is NORMAL; otherwise, Boolean TRUE (1). This bit is always 0 unless the cluster implementing EventState is implemented on the same endpoint. Bit 1. FAULT - Boolean TRUE (1) if Reliability is present and is not NO FAULT DETECTED; otherwise, Boolean FALSE (0). Bit 2. OVERRIDDEN - Boolean TRUE (1) if the cluster has been overridden by a mechanism local to the device; otherwise, Boolean FALSE (0). Bit 3. OUT OF SERVICE - Boolean TRUE (1) if OutOfService is TRUE; otherwise, Boolean FALSE (0) | This attribute provides four Boolean flags indicating the overall device state. Three flags are associated with the values of other optional attributes in this cluster |
| Multistate Input | Application Type | Group = Bits 24 - 31 - identifies the cluster to which the attribute belongs. Type = Bits 16 - 23 - the physical quantity for analog clusters. Index = Bits 0 - 15 - the specific use of the cluster by the application | Represents a 32-bit integer indicating the specific use of the cluster |
| Curtain (Shade Configuration) | Physical Closed Limit | 0 - 65535 | Indicates the physical zero position for the shade |
| Curtain (Shade Configuration) | Motor Step Size | 0 - 255 | Indicates the angle by which the shade motor moves in one step, measured in 1/10 seconds |
| Curtain (Shade Configuration) | Status | Represented by a bitmask: Bit 0 - shade operational (0 = no / 1 = yes) Bit 1 - shade currently in use (0 = no / 1 = yes) Bit 2 - shade direction (0 = lowering / 1 = opening) Bit 3 - shade motor direction (0 = lowering / 1 = opening) | Indicates the shade state |
| Curtain (Door Lock) | Basic Information Attribute Set | ||
| Curtain (Door Lock) | Lock State | 0 - not locked, something is blocking the door 1 - locked 2 - unlocked | Indicates the lock state |
| Curtain (Door Lock) | Lock Type | 0 - deadbolt 1 - magnetic 2 - other 3 - mortise 4 - rotary 5 - latch 6 - cylindrical 7 - toothed-pin lock 8 - intercom 9 - deadbolt latch | Indicates the lock type |
| Curtain (Door Lock) | Actuator Enabled | 0 = disabled 1 = enabled | Indicates motor operation |
| Curtain (Door Lock) | Door State | 0 - open 1 - closed 2 - error (jammed) 3 - error (forced open) 4 - error (unknown) 5 - unknown | Indicates the door state |
| Curtain (Door Lock) | Door Open Events | 0 : 4294967295 | Number of door opening events |
| Curtain (Door Lock) | Door Closed Events | 0 : 4294967295 | Number of door closing events |
| Curtain (Door Lock) | Open Period | 0 - 65535 | Number of minutes during which the door was open |
| Curtain (Door Lock) | Operational Settings Attribute Set | ||
| Curtain (Door Lock) | Enable Logging | 0 = off 1 = on | Enables or disables logs |
| Curtain (Door Lock) | Language | String | Interface language (ISO-639-1) |
| Curtain (Door Lock) | LED Settings | 0 - do not use the LED 1 - use except for permitted events 2 - use for all events | Backlight settings |
| Curtain (Door Lock) | Auto Relock Time | 0 : 4294967295 | Time until automatic locking (seconds) |
| Curtain (Door Lock) | Sound Volume | 0 - silent 1 - quiet 2 - loud | Device volume |
| Curtain (Door Lock) | Operating Mode | 0 - normal 1 - vacation 2 - armed 3 - no RF locking 4 - continuous movement | Operating mode |
| Curtain (Door Lock) | Supported Operating Modes | Represented by a bitmask: Bit 0 - normal Bit 1 - vacation Bit 2 - armed Bit 3 - no RF Bit 4 - continuous movement | Supported modes |
| Curtain (Door Lock) | Default Configuration Register | Represented by a bitmask: Bit 0 - local programming Bit 1 - keypad Bit 2 - RF Bit 3 - 0x00 Bit 4 - 0x00 Bit 5 - volume Bit 6 - automatic closing Bit 7 - LED settings | Default configuration |
| Curtain (Door Lock) | Enable Local Programming | 0 - off 1 - enabled | Local programming |
| Curtain (Door Lock) | Enable One Touch Locking | 0 - off 1 - enabled | One-touch locking |
| Curtain (Door Lock) | Enable Inside Status LED | 0 - off 1 - enabled | Interior LED |
| Curtain (Door Lock) | Enable Privacy Mode Button | 0 - off 1 - enabled | Privacy mode button |
| Curtain (Window Covering) | Window Covering Information | ||
| Curtain (Window Covering) | Window Covering Type | 0 - roller shade 1 - roller shade (2 motors) 2 - exterior roller shade 3 - exterior roller shade (2 motors) 4 - drapery 5 - hanging shade 6 - sliding shade 7 - tilting blind (tilt only) 8 - tilting blind (lift and tilt) 9 - projector screen | Indicates the shade type |
| Curtain (Window Covering) | Physical Closed Limit – Lift | 0 - 65535 | Defines the maximum possible encoder position (in centimeters) for determining the height of the window covering |
| Curtain (Window Covering) | Physical Closed Limit – Tilt | 0 - 65535 | Defines the maximum possible encoder position (tenths of a second / degrees) for positioning the window covering angle |
| Curtain (Window Covering) | Current Position – Lif | 0 - 65535 | Defines the actual shade position (in centimeters from the window covering) |
| Curtain (Window Covering) | Current Position – Tilt | 0 - 65535 | Defines the actual window tilt position (in tenths of a degree) |
| Curtain (Window Covering) | Number of Actuations – Lift | 0 - 65535 | Defines the total number of open commands applied to the window |
| Curtain (Window Covering) | Number of Actuations – Tilt | 0 - 65535 | Defines the total number of tilt commands applied to the window |
| Curtain (Window Covering) | Config / Status | Represented by a bitmask: Bit 0 - device state (0 - not operating / 1 - operating) Bit 1 - device network (0 - offline / 1 - online) Bit 2 - device reversal (0 - normal commands / 1 - open/close commands swapped) Bit 3 - loop operating mode (0 - open loop / 1 - closed loop) Bit 4 - tilt loop mode (0 - open loop / 1 - closed loop) Bit 5 - lift encoder (0 - timer control / 1 - encoder control) Bit 6 - tilt encoder (0 - timer control / 1 - encoder control) Bit 7 - reserved | Indicates equipment configuration and state information |
| Curtain (Window Covering) | Current Position Lift Percentage | 0 - 255 | Defines the actual position between InstalledOpenLimitLift and InstalledClosedLimitLift58 (%) |
| Curtain (Window Covering) | Current Position Tilt Percentage | 0 - 255 | Defines the actual position between InstalledOpenLimitTilt and InstalledClosedLimitTilt59 (%) |
| Curtain (Window Covering) | Window Covering Settings | ||
| Curtain (Window Covering) | Installed Open Limit – Lif | 0 - 65535 | Defines the open limit for lift |
| Curtain (Window Covering) | Installed Closed Limit – Lift | 0 - 65535 | Defines the closed limit for lift |
| Curtain (Window Covering) | Installed Open Limit – Tilt | 0 - 65535 | Defines the open limit for tilt |
| Curtain (Window Covering) | Installed Closed Limit – Tilt | 0 - 65535 | Defines the closed limit for tilt |
| Curtain (Window Covering) | Velocity – Lift | 0 - 65535 | Defines the lift velocity (cm per second) |
| Curtain (Window Covering) | Acceleration Time – Lift | 0 - 65535 | Defines any acceleration time before reaching the velocity setting (in tenths of a second) |
| Curtain (Window Covering) | Deceleration Time – Lift | 0 - 65535 | Defines any deceleration time associated with stopping positioning (in tenths of a second) |
| Curtain (Window Covering) | Mode | Represented by a bitmask: Bit 0 - movement direction (0 - normal / 1 - reverse) Bit 1 - operating mode (0 - normal / 1 - calibration) Bit 2 - motor operating mode (0 - normal / 1 - maintenance) Bit 3 - backlight operation (0 - disabled / 1 - enabled) Bit 4-7 - reserved | Controls device operating modes |
| Curtain (Window Covering) | Intermediate Setpoints – Lift | octstr | Defines the number of intermediate setpoints for shade lift |
| Curtain (Window Covering) | Intermediate Setpoints – Tilt | octstr | Defines the number of intermediate setpoints for shade tilt |
| Temperature Measurement | Temperature Measurement Information | ||
| Temperature Measurement | Measured Value | -32768 : 32767 | Represents the temperature in degrees Celsius |
| Temperature Measurement | Min Measured Value | -32768 : 32767 | Indicates the minimum MeasuredValue that can be measured |
| Temperature Measurement | Max Measured Value | -32768 : 32767 | Indicates the maximum MeasuredValue that can be measured |
| Temperature Measurement | Tolerance | 0 : 65535 | Indicates the possible error associated with Measured Value. The true value lies between (MeasuredValue - Tolerance) and (MeasuredValue + Tolerance) |
| Pressure Measurement | Pressure Measurement Information | ||
| Pressure Measurement | Measured Value | -32768 : 32767 | Represents pressure in kPa as follows: Measured value = 10 x pressure |
| Pressure Measurement | Min Measured Value | -32768 : 32767 | Indicates the minimum MeasuredValue that can be measured |
| Pressure Measurement | Max Measured Value | -32768 : 32767 | Indicates the maximum MeasuredValue that can be measured |
| Pressure Measurement | Tolerance | 0 : 65535 | Indicates the possible error associated with MeasuredValue. The true value lies between (MeasuredValue - Tolerance) and (MeasuredValue + Tolerance) |
| Pressure Measurement | Extended Pressure Measurement Information | ||
| Pressure Measurement | Scaled Value | -32768 : 32767 | Represents pressure in pascals as follows: ScaledValue = 10 x pressure in Pa |
| Pressure Measurement | Min Scaled Value | -32768 : 32767 | Indicates the minimum ScaledValue that can be measured |
| Pressure Measurement | Max Scaled Value | -32768 : 32767 | Indicates the maximum ScaledValue that can be measured |
| Pressure Measurement | Scaled Tolerance | 0 : 65535 | Indicates the possible error. The true value lies between (ScaledValue - ScaledTolerance) and (ScaledValue + ScaledTolerance) |
| Pressure Measurement | Scale | -128 : 127 | Indicates the base-10 exponent (used to obtain ScaledValue) |
| Electrical Measurement | Basic Information | ||
| Electrical Measurement | Measurement Type | Represented by a bitmask: Bit 0 - active measurement (AC) Bit 1 - reactive measurement (AC) Bit 2 - apparent measurement (AC) Bit 3 - phase A measurement Bit 4 - phase B measurement Bit 5 - phase C measurement Bit 6 - DC measurement Bit 7 - harmonic measurement Bit 8 - power quality measurement | Indicates the measurement capabilities of the device |
| Electrical Measurement | DC Voltage | -32768 : 32767 | Represents the most recent DC voltage in volts (V) |
| Electrical Measurement | DC Voltage Min | -32768 : 32767 | Represents the lowest DC voltage measured in V |
| Electrical Measurement | DC Voltage Max | -32768 : 32767 | Represents the maximum DC voltage measured in V |
| Electrical Measurement | DC Current | -32768 : 32767 | Represents the most recent DC current in amperes (A) |
| Electrical Measurement | DC Current Min | -32768 : 32767 | Represents the lowest DC current in A |
| Electrical Measurement | DC Current Max | -32768 : 32767 | Represents the maximum DC current in A |
| Electrical Measurement | DC Power | -32768 : 32767 | Represents the most recent DC power in watts (W) |
| Electrical Measurement | DC Power Min | -32768 : 32767 | Represents the lowest DC power in W |
| Electrical Measurement | DC Power Max | -32768 : 32767 | Represents the maximum DC power in W |
| Electrical Measurement | DC Voltage Multiplier | 0 : 65535 | Multiplier for DCVoltage / DCVoltageMin / DCVoltageMax, used together with DCVoltageDivisor |
| Electrical Measurement | DC Voltage Divisor | 0 : 65535 | Divisor for DCVoltage / DCVoltageMin / DCVoltageMax, used together with DCVoltageMultiplier |
| Electrical Measurement | DC Current Multiplier | 0 : 65535 | Multiplier for DCCurrent / DCCurrentMin / DCCurrentMax, used together with DCCurrentDivisor |
| Electrical Measurement | DC Current Divisor | 0 : 65535 | Divisor for DCCurrent / DCCurrentMin / DCCurrentMax, used together with DCCurrentMultiplier |
| Electrical Measurement | DC Power Multiplier | 0 : 65535 | Multiplier for DCPower / DCPowerMin / DCPowerMax, used together with DCPowerDivisor |
| Electrical Measurement | DC Power Divisor | 0 : 65535 | Divisor for DCPower / DCPowerMin / DCPowerMax, used together with DCPowerMultiplier |
| Electrical Measurement | AC Frequency | -32768 : 32767 | Represents the most recent AC frequency in Hz |
| Electrical Measurement | AC Frequency Min | -32768 : 32767 | Minimum AC frequency in Hz |
| Electrical Measurement | AC Frequency Max | -32768 : 32767 | Maximum AC frequency in Hz |
| Electrical Measurement | Neutral Current | -32768 : 32767 | Line-Out AC current in amperes (A) |
| Electrical Measurement | Total Active Power | -8,388,607–8,388,607 | Current active power consumption (kW) |
| Electrical Measurement | Total Reactive Power | -8,388,607–8,388,607 | Current reactive power consumption (kW) |
| Electrical Measurement | Total Apparent Power | 0 : 4294967295 | Current total consumption if there are multiple phases |
| Electrical Measurement | Measured 1-11st Harmonic Current | -32768 – 32767 | Most recent Nth harmonic current reading, unit: 10^NthHarmonicCurrentMultiplier A |
| Electrical Measurement | Measured Phase 1-11st Harmonic Current | -32768 – 32767 | Most recent Nth harmonic phase reading, unit: 10^PhaseNthHarmonicCurrentMultiplier A |
| Electrical Measurement | AC Frequency Multiplier | 0 : 65535 | Multiplier for AC Frequency |
| Electrical Measurement | AC Frequency Divisor | 0 : 65535 | Divisor for AC Frequency |
| Electrical Measurement | Power Multiplier | 0 : 4294967295 | Multiplier for raw power, used together with PowerDivisor |
| Electrical Measurement | Power Divisor | 0 : 4294967295 | Divisor for power after applying PowerMultiplier, used together with PowerMultiplier |
| Electrical Measurement | Harmonic Current Multiplier | -128 : 127 | MeasuredNthHarmonicCurrent * 10^HarmonicCurrentMultiplier A |
| Electrical Measurement | Phase Harmonic Current Multiplier | -128 : 127 | MeasuredPhaseNthHarmonicCurrent * 10^PhaseHarmonicCurrentMultiplier A |
| Electrical Measurement | Line Current | 0 : 65535 | AC mains current (single phase) in A |
| Electrical Measurement | Active Current | -32768 – 32767 | Active current: + into the premises, - out of the premises |
| Electrical Measurement | Reactive Current | -32768 – 32767 | Reactive current: + into the premises, - out of the premises |
| Electrical Measurement | RMS Voltage | 0 : 65535 | RMS voltage in V |
| Electrical Measurement | RMS Voltage Min | 0 : 65535 | Minimum RMS voltage in V |
| Electrical Measurement | RMS Voltage Max | 0 : 65535 | Maximum RMS voltage in V |
| Electrical Measurement | RMS Current | 0 : 65535 | Most recent RMS current in A |
| Electrical Measurement | RMS Current Min | 0 : 65535 | Minimum RMS current in A |
| Electrical Measurement | RMS Current Max | 0 : 65535 | Maximum RMS current in A |
| Electrical Measurement | Active Power | -32768 – 32767 | Consumption/supply in W: + into the premises, - out of the premises |
| Electrical Measurement | Active Power Min | -32768 – 32767 | Minimum AC power in W |
| Electrical Measurement | Active Power Max | -32768 – 32767 | Maximum AC power in W |
| Electrical Measurement | Reactive Power | -32768 – 32767 | Current reactive power: + into the premises, - out of the premises |
| Electrical Measurement | Apparent Power | 0 : 65535 | Apparent power (VA) |
| Electrical Measurement | Power Factor | -128 : 127 | Power factor (1/100) |
| Electrical Measurement | Average RMS Voltage Measurement Period | 0 : 65535 | RMS voltage averaging period in seconds |
| Electrical Measurement | Average RMS Over Voltage Counter | 0 : 65535 | Number of RMS overvoltage occurrences |
| Electrical Measurement | Average RMS Under Voltage Counter | 0 : 65535 | Number of RMS undervoltage occurrences |
| Electrical Measurement | RMS Extreme Over Voltage Period | 0 : 65535 | Overvoltage duration in seconds |
| Electrical Measurement | RMS Extreme Under Voltage Period | 0 : 65535 | Undervoltage duration in seconds |
| Electrical Measurement | RMS Voltage Sag Period | 0 : 65535 | Voltage sag duration in seconds |
| Electrical Measurement | RMS Voltage Swell Period | 0 : 65535 | Voltage swell duration in seconds |
| Electrical Measurement | AC Voltage Multiplier | 0 : 65535 | Multiplier for InstantaneousVoltage and RMSVoltage |
| Electrical Measurement | AC Voltage Divisor | 0 : 65535 | Divisor for InstantaneousVoltage and RMSVoltage |
| Electrical Measurement | AC Current Multiplier | 0 : 65535 | Multiplier for InstantaneousCurrent and RMSCurrent |
| Electrical Measurement | AC Current Divisor | 0 : 65535 | Divisor for InstantaneousCurrent and RMSCurrent |
| Electrical Measurement | AC Power Multiplier | 0 : 65535 | Multiplier for InstantaneousPower and ActivePower |
| Electrical Measurement | AC Power Divisor | 0 : 65535 | Divisor for InstantaneousPower and ActivePower |
- Network creation is now complete. Export the data for the created network as an .xml file by clicking Export.

To remove devices from the network, click Delete. Then press the button on the device being removed three times (or perform the corresponding action described in its manual). You can also remove the entire network by clicking Delete network.
Working in iRidi Studio
Adding the ZigBee driver
- Create a server project in iRidi Studio.
On the Devices tab, click the file import button Scanner / Import > ZigBee (*.xml).

- Select the devices to add to the project.

- The driver and all its devices appear in the project's driver tree.
- You can change device names (Name); names in iRidi Studio can differ from those in the server web interface. The other parameters are locked for editing.
Configuring commands and feedback

To control equipment, configure commands (Commands) and feedback channels (Feedbacks). To send a command, drag it onto a graphical item and specify the value (Value) to send. To display the value from a feedback channel, drag Feedback onto a graphical item and specify how to display its value (Value).
For more information about graphical items, see Graphical item types.
The supported ZigBee device classes and their commands and feedback are described below.
Supported ZigBee functions
On/Off
A command for switching devices between the on and off states.
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Set state | Command | OFF - 0 / ON - 1 | Set the switch state. |
| Off | Command | Any value | Set the switch state to off. |
| On | Command | Any value | Set the switch state to on. |
| Toggle | Command | Any value | Toggle the switch to the opposite state. |
| State | Feedbacks | 0 / 1 | Current switch state. |
| Off Event* | Feedbacks | 0 | Receive an event when the switch turns off. |
| On Event* | Feedbacks | 0 | Receive an event when the switch turns on. |
| Toggle Event* | Feedbacks | 0 | Receive an event when the switch state changes. |
Event * - an event that a feedback channel receives from the equipment when its state changes. With the Forward value to setting, the event can be forwarded to a command to link devices. The following events also fire: EVENT TAG CHANGE and EVENT GLOBAL TAG CHANGE.
Level
An interface for controlling a device level (light brightness, how far a door is closed, or heater output).
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Set Value | Command | 0 - 255 | Set the level value. |
| Read Value | Command | 0 - 255 | Force a request for the level value. |
| Move Up | Command | 0 - 255 | Start increasing the level value (rate in units/second). |
| Move Down | Command | 0 - 255 | Start decreasing the level value (rate in units/second). |
| Step Up | Command | 0 - 255 | Increase the level value by a specified step. |
| Step Down | Command | 0 - 255 | Decrease the level value by a specified step. |
| Stop | Command | Any value | Stop changing the level value. |
| Value | Feedbacks | 0 - 255 | Current level value. |
| Move Event | Feedbacks | 0 / 1 | Gradual level change event: 0 - up, 1 - down. |
| Move Rate | Feedbacks | 0 - 255 | Rate of level change during a Move event. |
| Step Event | Feedbacks | 0 / 1 | Step level change event: 0 - step up, 1 - step down. |
| Step Size | Feedbacks | 0 - 255 | Step size during a Step event. |
| Stop Event | Feedbacks | 0 | Event indicating that the level has stopped changing. |
Power
Attributes for determining battery voltage and charge.
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Read Power | Command | Any value | Force a request for the values. |
| Battery Voltage | Feedback | 0 - 255 | Current battery voltage (in units of 100 mV). |
| Battery Percentage | Feedback | 0 - 200 | Battery charge percentage: 0 - 0%, 100 - 50%, 200 - 100%, 255 - invalid value. |
Binary Input
An interface for reading a binary measurement.
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Read state | Command | Any value | Force a request for the current value. |
| State | Feedback | 0 / 1 | Input state. |
| Out of service | Feedback | 0 / 1 | The channel is in the out-of-service state. |
Multistate Input
An interface for reading multistate measurements.
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Read state | Command | Any value | Force a request for the current value. |
| State | Feedback | 0 - 65535 | Input state. |
| Out of service | Feedback | 0 / 1 | The channel is in the out-of-service state. |
Curtain
Control of automatic window coverings.
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Up | Command | Any value | Open / raise the shade. |
| Down | Command | Any value | Close / lower the shade. |
| Stop | Command | Any value | Stop shade movement. |
| Lift To Value | Command | 0 - 65535 | Open the shade to the specified value. |
| Lift To Percentage | Command | 0 - 100 | Open the shade to the specified percentage. |
| Current Lift Value | Feedback | 0 - 65535 | Current shade opening value. |
| Current Lift Percentage | Feedback | 0 - 100 | Current shade opening percentage. |
| Tilt To Value | Command | 0 - 65535 | Tilt the roller shutter to the specified value. |
| Tilt To Percentage | Command | 0 - 100 | Tilt the roller shutter to the specified percentage. |
| Current Tilt Value | Feedback | 0 - 65535 | Current roller shutter tilt value. |
| Current Tilt Percentage | Feedback | 0 - 100 | Current roller shutter tilt percentage. |
Humidity
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Value | Feedback | 0.0 - 100.0 | Current humidity percentage. |
Temperature Measurement
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Value | Feedback | -273.15 - 327.67 ºC | Current temperature. |
Pressure Measurement
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Value | Feedback | -3276.7 - 3276.7 kPa | Current atmospheric pressure. |
Occupancy Sensing
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| State | Feedback | 0 / 1 | Occupancy state. |
Electrical Measurement
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Read Measurements | Command | Any value | Force a request for measurements. |
| DC Voltage | Feedback | Any value | DC voltage (V). |
| DC Current | Feedback | Any value | DC current (A). |
| DC Power | Feedback | Any value | DC power (W). |
| AC Frequency | Feedback | Any value | AC frequency (Hz). |
| AC Total Active Power | Feedback | Any value | Total active power (kW). |
| AC Total Reactive Power | Feedback | Any value | Total reactive power (kVAr). |
| AC Total Apparent Power | Feedback | Any value | Total instantaneous power (kVAr). |
| AC Line Current | Feedback | Any value | Phase current. |
| AC Active Current | Feedback | Any value | Phase active current. |
| AC Active Power | Feedback | Any value | Phase active power. |
| AC Reactive Current | Feedback | Any value | Phase reactive current. |
| AC Reactive Power | Feedback | Any value | Phase reactive power. |
| AC RMS Voltage | Feedback | Any value | Phase RMS voltage. |
| AC RMS Current | Feedback | Any value | Phase RMS current. |
| AC Apparent Power | Feedback | Any value | Phase instantaneous power. |
Thermostat
| Parameter | Type | Allowed values | Description |
|---|---|---|---|
| Read Values | Command | Any value | Force a request for all feedback values. |
| Set Mode | Command | 0 - 9 | Set the system mode: 0 - Off, 1 - Auto, 3 - Cool, 4 - Heat, 5 - Emergency heating, 6 - Precooling, 7 - Fan only, 8 - Dry, 9 - Sleep. |
| Shift Heating Setpoint | Command | -1.27 - 1.27 | Shift the heating setpoint. |
| Shift Cooling Setpoint | Command | -1.27 - 1.27 | Shift the cooling setpoint. |
| Local Temperature | Feedback | -273.15 - 327.67 | Indoor temperature. |
| Outdoor Temperature | Feedback | -273.15 - 327.67 | Outdoor temperature. |
| Occupancy State | Feedback | 0 / 1 | Room occupancy state. |
| System Mode | Feedback | 0 - 9 | Current thermostat system mode: 0 - Off, 1 - Auto, 3 - Cool, 4 - Heat, 5 - Emergency heating, 6 - Precooling, 7 - Fan only, 8 - Dry, 9 - Sleep. |
| Running Mode | Feedback | 0, 3, 4 | Current operating mode when System Mode = Auto: 0 - Off, 3 - Cool, 4 - Heat. |
| Occupied Cooling Setpoint | Feedback | -273.15 - 327.67 | Occupied cooling setpoint for the current mode. |
| Occupied Heating Setpoint | Feedback | -273.15 - 327.67 | Occupied heating setpoint for the current mode. |
| Unoccupied Cooling Setpoint | Feedback | -273.15 - 327.67 | Unoccupied cooling setpoint. |
| Unoccupied Heating Setpoint | Feedback | -273.15 - 327.67 | Unoccupied heating setpoint. |