ElectricalEnergyMeasurementTrait.CumulativeEnergyMeasured

interface ElectricalEnergyMeasurementTrait.CumulativeEnergyMeasured : ClusterStruct


This event gets generated when the server takes a snapshot of the cumulative energy imported or exported from the server.

Summary

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

ElectricalEnergyMeasurementTrait.EnergyMeasurementStruct?

The most recent measurement of cumulative energy exported by the server, and the timestamp of when the measurement was recorded.

ElectricalEnergyMeasurementTrait.EnergyMeasurementStruct?

The most recent measurement of cumulative energy imported by the server, and the timestamp of when the measurement was recorded.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

energyExported

val energyExportedElectricalEnergyMeasurementTrait.EnergyMeasurementStruct?

The most recent measurement of cumulative energy exported by the server, and the timestamp of when the measurement was recorded.

energyImported

val energyImportedElectricalEnergyMeasurementTrait.EnergyMeasurementStruct?

The most recent measurement of cumulative energy imported by the server, and the timestamp of when the measurement was recorded.