Module electrical_energy_measurement

Module electrical_energy_measurement 

Source
Expand description

Matter TLV encoders and decoders for Electrical Energy Measurement Cluster Cluster ID: 0x0091

This file is automatically generated from ElectricalEnergyMeasurement.xml

Structs§

CumulativeEnergyMeasuredEvent
CumulativeEnergyReset
EnergyMeasurement
MeasurementAccuracy
MeasurementAccuracyRange
PeriodicEnergyMeasuredEvent

Enums§

MeasurementType

Functions§

decode_accuracy
Decode Accuracy attribute (0x0000)
decode_attribute_json
Decode attribute value and return as JSON string
decode_cumulative_energy_exported
Decode CumulativeEnergyExported attribute (0x0002)
decode_cumulative_energy_imported
Decode CumulativeEnergyImported attribute (0x0001)
decode_cumulative_energy_measured_event
Decode CumulativeEnergyMeasured event (0x00, priority: info)
decode_cumulative_energy_reset
Decode CumulativeEnergyReset attribute (0x0005)
decode_periodic_energy_exported
Decode PeriodicEnergyExported attribute (0x0004)
decode_periodic_energy_imported
Decode PeriodicEnergyImported attribute (0x0003)
decode_periodic_energy_measured_event
Decode PeriodicEnergyMeasured event (0x01, priority: info)
get_attribute_list
Get list of all attributes supported by this cluster