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

FeaturesFctrl CmdIDClusterIDAttributeIDAttribute typeDataComment
Report attributes0x11 or 0x31 or
...
0x0a0x04000x00000x210xhhhh0xhhhh: Measured Value (Lux)

Configuration

FeaturesFctrl CmdIDClusterIDPayloadComment
Configure reporting0x11 or 0x31 or
...
0x060x04000x00 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 response0x11 or 0x31 or
...
0x070x04000xss 0x00 0x00000xss: status
0x00: Reserved
0x0000: AttributeID
Read reporting configuration0x11 or 0x31 or
...
0x080x04000x00 0x00000x00: Reserved
0x0000: attributeID
Read reporting configuration response0x11 or 0x31 or
...
0x090x04000xss 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

FeaturesFctrl CmdIDClusterIDAttributeIDStatusAttribute typeDataComment
Read attribute request0x11 or 0x31 or
...
0x000x04000x0000Ask the current illuminance indication
Read attribute response0x11 or 0x31 or
...
0x010x04000x00000x00 0x210xhhhh0xhhhh: 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

FeaturesFctrl CmdIDClusterIDPayloadComment
Configure reporting0x11 or 0x31 or
...
0x060x04000x15 0x0000 0x00 0xmmmm 0xMMMM 0xdddd 0xrrrr 0xtt0x15: 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 response0x11 or 0x31 or
...
0x070x04000xss 0x01 0x00000xss: status
0x01: batch
0x0000: AttributeID
Read reporting configuration0x11 or 0x31 or
...
0x080x04000x01 0x00000x01: batch
0x0000: AttributeID
Read reporting configuration response0x11 or 0x31 or
...
0x090x04000xss 0x15 0x0000 0x00 0xmmmm 0xMMMM 0xdddd 0xrrrr 0xtt0xss: 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

FeaturesFctrl CmdIDClusterIDAttributeIDStatusAttribute typeDataComment
Read attribute request0x11 or 0x31 or
...
0x000x04000x0001Ask the minimum value that the sensor is capable to measure
Read attribute response0x11 or 0x31 or
...
0x010x04000x00010x00 0x210xhhhh0xhhhh: 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

FeaturesFctrl CmdIDClusterIDAttributeIDStatusAttribute typeDataComment
Read attribute request0x11 or 0x31 or
...
0x000x04000x0002Ask the maximum value that the sensor is capable to measure
Read attribute response0x11 or 0x31 or
...
0x010x04000x00020x00 0x210xhhhh0xhhhh: Max Measurable Value (Lux)

Cluster commands


FeaturesFctrl CmdIDClusterIDPayloadComment
Command: Reset statistics0x11 0x500x04000x00Reset/restart MEAN|MIN|MAX calculations
Print Friendly