Illuminance Measurement Cluster
This cluster delivers the illuminance measured by the remote sensor, and the minimum and the maximum values that it is capable to measure, and the minimumum and maximum measured since last power on or reset.
If a field of the payload starts with 0x, this means that it’s an hexadecimal representation, and if it starts with 0b, it is a binary representation.
Any multi-byte numerical value is serialized in “Big Endian” order.
Measured Value
The Measured value information attribute set contains the attribute representing the current concentration value measured by the device.
Notice that the Measured Value Attribute (0x0000) is the source of calculated attributes that keep currents Mean (0x0100), Minimal(0x0101) and Maximal(0x0102) values since startup or reset of the sensor. All these calculated attributes can be accessed the same way than the source one.
Standard report
Report
Features | Fctrl | CmdID | ClusterID | AttributeID | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|
Report attributes | 0x11 or 0x31 or ... | 0x0a | 0x0400 | 0x0000 | 0x21 | 0xhhhh | 0xhhhh: Measured Value (Lux) |
Configuration
Features | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Configure reporting | 0x11 or 0x31 or ... | 0x06 | 0x0400 | 0x00 0x0000 0x21 0xmmmm 0xMMMM 0xcccc | 0x00: Reserved 0x0000: AttributeID 0x21: Attribute type 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xcccc: reportable change (Lux) |
Configure reporting response | 0x11 or 0x31 or ... | 0x07 | 0x0400 | 0xss 0x00 0x0000 | 0xss: status 0x00: Reserved 0x0000: AttributeID |
Read reporting configuration | 0x11 or 0x31 or ... | 0x08 | 0x0400 | 0x00 0x0000 | 0x00: Reserved 0x0000: attributeID |
Read reporting configuration response | 0x11 or 0x31 or ... | 0x09 | 0x0400 | 0xss 0x00 0x0000 0x21 0xmmmm 0xMMMM 0xcccc | 0xss: status 0x00: Reserved 0x0000: AttributeID 0x21: Attribute type 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xcccc: reportable change (Lux) |
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 or 0x31 or ... | 0x00 | 0x0400 | 0x0000 | Ask the current illuminance indication | |||
Read attribute response | 0x11 or 0x31 or ... | 0x01 | 0x0400 | 0x0000 | 0x00 | 0x21 | 0xhhhh | 0xhhhh: Measured Value Illuminance (Lux) |
Batch report
The Measured value sample type is "unsigned int U16", the corresponding number to use in br_uncompress type is 6.
Configuration
Features | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Configure reporting | 0x11 or 0x31 or ... | 0x06 | 0x0400 | 0x15 0x0000 0x00 0xmmmm 0xMMMM 0xdddd 0xrrrr 0xtt | 0x15: 0bsssssss is the size of configuration string after attributeID (obsssssss1 right shifted). The size here is 0x0A. 0x0000: AttributeID 0x00: the index of required field( the MeasuredValue attribute has got only one field 0) 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xdddd: required delta value (the size depends on the attribute data type) 0xrrrr: required resolution (the size depends on the attribute data type) 0xtt: the tag value |
Configure reporting response | 0x11 or 0x31 or ... | 0x07 | 0x0400 | 0xss 0x01 0x0000 | 0xss: status 0x01: batch 0x0000: AttributeID |
Read reporting configuration | 0x11 or 0x31 or ... | 0x08 | 0x0400 | 0x01 0x0000 | 0x01: batch 0x0000: AttributeID |
Read reporting configuration response | 0x11 or 0x31 or ... | 0x09 | 0x0400 | 0xss 0x15 0x0000 0x00 0xmmmm 0xMMMM 0xdddd 0xrrrr 0xtt | 0xss: status 0x15: 0bsssssss is the size of configuration string after attributeID (obsssssss1 right shifted). The size here is 0x0A. 0x0000: AttributeID 0x00: the index of required field( the MeasuredValue attribute has got only one field 0) 0xmmmm: minimum reporting interval 0xMMMM: maximum reporting interval 0xdddd: required delta value (the size depends on the attribute data type) 0xrrrr: required resolution (the size depends on the attribute data type) 0xtt: the tag value |
Min Measurable Value
The Min Measurable Value information attribute set contains the minimum value that the remote sensor is capable to measure.
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 or 0x31 or ... | 0x00 | 0x0400 | 0x0001 | Ask the minimum value that the sensor is capable to measure | |||
Read attribute response | 0x11 or 0x31 or ... | 0x01 | 0x0400 | 0x0001 | 0x00 | 0x21 | 0xhhhh | 0xhhhh: Min Measurable Value (Lux) |
Max Measurable Value
The Max Measurable Value information attribute set contains the maximum value that the remote sensor is capable to measure.
Read/Write
Features | Fctrl | CmdID | ClusterID | AttributeID | Status | Attribute type | Data | Comment |
---|---|---|---|---|---|---|---|---|
Read attribute request | 0x11 or 0x31 or ... | 0x00 | 0x0400 | 0x0002 | Ask the maximum value that the sensor is capable to measure | |||
Read attribute response | 0x11 or 0x31 or ... | 0x01 | 0x0400 | 0x0002 | 0x00 | 0x21 | 0xhhhh | 0xhhhh: Max Measurable Value (Lux) |
Cluster commands
Features | Fctrl | CmdID | ClusterID | Payload | Comment |
---|---|---|---|---|---|
Command: Reset statistics | 0x11 | 0x50 | 0x0400 | 0x00 | Reset/restart MEAN|MIN|MAX calculations |