Module electrical_energy_measurement

Source
Expand description

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

This file is automatically generated from ElectricalEnergyMeasurement.xml

Structs§

CumulativeEnergyReset
EnergyMeasurement

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_reset
Decode CumulativeEnergyReset attribute (0x0005)
decode_periodic_energy_exported
Decode PeriodicEnergyExported attribute (0x0004)
decode_periodic_energy_imported
Decode PeriodicEnergyImported attribute (0x0003)
get_attribute_list
Get list of all attributes supported by this cluster