Voltage and Current Metering Cluster

This cluster has been implemented to manage devices that  have an voltage and current metering 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.

Current metering


Current Metering represents the active and reactive energies accumulation and the active and reactive powers.

Standard report

Report

FeaturesFctrl CmdIDClusterIDAttributeIDAttribute typeDataComment
Report attributes0x11 or 0x31 or 0x510x0A0x80 0x0B0x00 0x000x410x20
0xaaaa
0xbbbb
0xcccc
0xtt: Data length

0xaaaa: VRMS en V/10
0xbbbb: IRMS en A/10
0xcccc: Phase angle between voltage and current (in degrees from 0 to 359)

Configuration

FeaturesFctrl CmdIDClusterIDPayloadComment
Configure reporting0x11 or 0x31 or 0x510x060x80 0x0B0x00 0x00 0x00 0x41 0xmmmm 0xMMMM 0x06
0xaaaa
0xbbbb
0xcccc
Current measures of the current, voltage and angle

0x00 : Report Parameter
0xmmmm: minimum reporting interval
0xMMMM: maximum reporting interval
0x06 : Data length
0xaaaa: VRMS en V/10
0xbbbb: IRMS en A/10
0xcccc:Phase angle between voltage and current (in degrees from 0 to 359)
Configure reporting response0x11 or 0x31 or 0x510x070x80 0x0B0xss 0x00 0x00 0x000xss:status
Read reporting configuration0x11 or 0x31 or 0x510x080x80 0x0B0x00 0x00 0x000x00 0x00: attributeID
Read reporting configuration response0x11 or 0x31 or 0x510x090x80 0x0B0xss 0x00 0x00 0x00 0x41 0xmmmm 0xMMMM 0x06
0xaaaa
0xbbbb
0xcccc
0xss:status
0x00 : Report Parameter
0x00 0x00: attributeID
0x41: attribute type
0xmmmm: minimum reporting interval
0xMMMM: maximum reporting interval
0x06 : Data length
0xaaaa: VRMS en V/10
0xbbbb: IRMS en A/10
0xcccc: Phase angle between voltage and current (in degrees from 0 to 359)

Read/Write

FeaturesFctrl CmdIDClusterIDAttributeIDStatusAttribute typeDataComment
Read attribute request0x11 or 0x31 or 0x51 0x000x80 0x0B0x00 0x00Ask the consumption of the device
Read attribute response0x11 or 0x31 or 0x510x010x80 0x0B0x00 0x000x000x410x06
0xaaaa
0xbbbb
0xcccc
0x06: Data length
0xaaaa: VRMS en V/10
0xbbbb: IRMS en A/10
0xcccc: Phase angle between voltage and current (in degrees)

Batch report

Configuration

Feature Fctrl CmdIDClusterIDPayloadComment
Configure reporting0x11 or 0x31 or 0x510x060x80 0x0B0bsssssss1 0x00 0x00 [0xii 0xmmmm 0xMMMM [delta] [resolution] 0xtt]...0bsssssss1: obsssssss is the size of configuration string after attributeID (obsssssss1 right shifted)
0x00 0x00: attribute ID
0xii: the index of required field

0: VRMS en V/10 (sample type to use in br_uncompress: U16)
1: IRMS en A/10 (sample type to use in br_uncompress: I16)
2: Phase angle between voltage and current (in degrees) (sample type to use in br_uncompress: I16)

0xmmmm: minimum recorting interval
0xMMMM: maximum recorting interval
[delta]: the required delta value (the size depends on the attribute data type)
[resolution]: the required resolution value (the size depends on the attribute data type)
0xtt:the tag value
Configure reporting response0x11 or 0x31 or 0x510x070x80 0x0B0xss 0x01 0x00 0x000xss : status
0x01 : batch
Read reporting configuration0x11 or 0x31 or 0x510x080x80 0x0B0x01 0x00 0x000x01: Batch
Read reporting configuration response0x11 or 0x31 or 0x510x090x80 0x0B0xss 0bsssssss1 0x00 0x00 [0xii 0xmmmm 0xMMMM [delta] [resolution] 0xtt]...0xss : status
0bsssssss1: obsssssss is the size of configuration string after attributeID (obsssssss1 right shifted)
0x00 0x00: attribute ID
0xii: the index of required field
0: VRMS en V/10 (sample type to use in br_uncompress: U16)
1: IRMS en A/10 (sample type to use in br_uncompress: I16)
2: Phase angle between voltage and current (in degrees) (sample type to use in br_uncompress: I16)

0xmmmm: minimum recorting interval
0xMMMM: maximum recorting interval
[delta]: the required delta value (the size depends on the attribute data type)
[resolution]: the required resolution value (the size depends on the attribute data type)
0xtt:the tag value

Print Friendly