Module electrical_power_measurement

Source
Expand description

Generated Matter TLV encoders and decoders for Electrical Power Measurement Cluster Cluster ID: 0x0090

This file is automatically generated from ElectricalPowerMeasurement.xml

Structs§

HarmonicMeasurement
MeasurementRange

Functions§

decode_accuracy
Decode Accuracy attribute (0x0002)
decode_active_current
Decode ActiveCurrent attribute (0x0005)
decode_active_power
Decode ActivePower attribute (0x0008)
decode_apparent_current
Decode ApparentCurrent attribute (0x0007)
decode_apparent_power
Decode ApparentPower attribute (0x000A)
decode_attribute_json
Decode attribute value and return as JSON string
decode_frequency
Decode Frequency attribute (0x000E)
decode_harmonic_currents
Decode HarmonicCurrents attribute (0x000F)
decode_harmonic_phases
Decode HarmonicPhases attribute (0x0010)
decode_neutral_current
Decode NeutralCurrent attribute (0x0012)
decode_number_of_measurement_types
Decode NumberOfMeasurementTypes attribute (0x0001)
decode_power_factor
Decode PowerFactor attribute (0x0011)
decode_power_mode
Decode PowerMode attribute (0x0000)
decode_ranges
Decode Ranges attribute (0x0003)
decode_reactive_current
Decode ReactiveCurrent attribute (0x0006)
decode_reactive_power
Decode ReactivePower attribute (0x0009)
decode_rms_current
Decode RMSCurrent attribute (0x000C)
decode_rms_power
Decode RMSPower attribute (0x000D)
decode_rms_voltage
Decode RMSVoltage attribute (0x000B)
decode_voltage
Decode Voltage attribute (0x0004)
get_attribute_list
Get list of all attributes supported by this cluster