Analog Input Cluster

 

This cluster manages an analog entry, it delivers the current state and the application type of the remote sensor.

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.

Present value


The Present value information attribute set contains only the attribute representing the current state of the device.

Standard report

Report

FeaturesFctrl CmdIDClusterIDAttributeIDAttribute typeDataComment
Report attributes0x11 or 0x31 or
...
0x0a0x00 0x0c0x00 0x550x390xssssssss0xssssssss: single precision value

Configuration

FeaturesFctrl CmdIDClusterIDPayloadComment
Configure reporting0x11 or 0x31 or
...
0x060x00 0x0c0x00 0x00 0x55 0x39 0xmmmm
0xMMMM 0xcccccccc
0x00 0x55: AttributeID
0x39: Attribute type
0xmmmm: minimum reporting interval
0xMMMM: maximum reporting interval
0xcccccccc: reportable change
Configure reporting response0x11 or 0x31 or
...
0x070x00 0x0c0xss 0x00 0x00 0x550xss: status
Read reporting configuration0x11 or 0x31 or
...
0x080x00 0x0c0x00 0x00 0x550x00 0x55: AttributeID
Read reporting configuration response0x11 or 0x31 or
...
0x090x00 0x0c0xss 0x00 0x00 0x55 0x39 0xmmmm
0xMMMM 0xcccccccc
0xss: status
0x00 0x55: AttributeID
0x39: Attribute type
0xmmmm: minimum reporting interval
0xMMMM: maximum reporting interval
0xcccccccc: reportable change

Read/Write

FeaturesFctrl CmdIDClusterIDAttributeIDStatusAttribute typeDataComment
Read attribute request0x11 or 0x31 or
...
0x000x00 0x0c0x00 0x55Ask the Analog Input value of the sensor
Read attribute response0x11 or 0x31 or
...
0x010x00 0x0c0x00 0x550x00 0x390xssssssss0xssssssss: single precision value

Batch report

The Present value sample type is « Float », the corresponding number to use in br_uncompress type is 12 .

Configuration

FeaturesFctrl CmdIDClusterIDPayloadComment
Configure reporting0x11 or 0x31 or
...
0x060x00 0x0c0x1D 0x00 0x55 0x00 0xmmmm
0xMMMM 0xdddddddd 0xrrrrrrrr 0xtt
0x1D:0bsssssss is the size of configuration string after attributeID (obsssssss1 right shifted).The size here is 0x0E.
0x00 0x55:AttributeID
0x00:the index of required field (the PresesntValue attribute has got only one field 0)
0xmmmm:minimum reporting interval
0xMMMM:maximum reporting interval
0xdddddddd:required delta value in single precision (the size depends on the attribute data type)
0xrrrrrrrr:required resolution in single precision (the size depends on the attribute data type)
0xtt:the tag value
Configure reporting response0x11 or 0x31 or
...
0x070x00 0x0c0xss 0x01 0x00 0x550xss: status
0x01: batch
Read reporting configuration0x11 or 0x31 or
...
0x080x00 0x0c0x01 0x00 0x550x01: batch
Read reporting configuration response0x11 or 0x31 or
...
0x090x00 0x0c0xss 0x1D 0x00 0x55 0x00 0xmmmm
0xMMMM 0xdddddddd 0xrrrrrrrr 0xtt
0xss:status
0x1D:0bsssssss is the size of configuration string after attributeID (obsssssss1 right shifted). The size here is 0x0E.
0x00 0x55:AttributeID
0x00:the index of required field (the PresesntValue attribute has got only one field 0)
0xmmmm:minimum reporting interval
0xMMMM:maximum reporting interval
0xdddddddd:required delta value in single precision (the size depends on the attribute data type)
0xrrrrrrrr:required resolution in single precision (the size depends on the attribute data type)
0xtt:the tag value

Application type


The application type attribute informs about the current kind of application of the cluster.

Standard report

Read/Write

FeaturesFctrl CmdIDClusterIDAttributeIDStatusAttribute typeDataComment
Read attribute request0x11 or 0x31 or
...
0x000x00 0x0c0x01 0x00Ask the ApplicationType of the remote sensor
Read attribute response0x11 or 0x31 or
...
0x010x00 0x0c0x01 0x000x00 0x230xssssssss0xssssssss: a single precision value
-0x00 0x05 0x00 0x00: Return Carbon Dioxide Analog Input application. Unit is PPM (Parts Per Million)
-0x00 0xFF 0x00 0x00: 0x00 (Group Analog input); 0xFF (Type others); 0x0000 (Index milliampers mA)
-0x00 0xFF 0x00 0x01: 0x00 (Group Analog input); 0xFF (Type others); 0x0000 (Index millivolts mV)
Print Friendly