ElectricalPowerMeasurement

interface ElectricalPowerMeasurement : ElectricalPowerMeasurementTrait.Attributes, MatterTrait


API for the ElectricalPowerMeasurement trait. This trait provides a mechanism for querying data about electrical power as measured by the server.

Summary

Nested types

Descriptor enum for this trait's attributes.

Public functions

Boolean

Inherited functions

From com.google.home.TraitStateInvalidation
suspend Unit

Inherited properties

From com.google.home.matter.standard.ElectricalPowerMeasurementTrait.Attributes
List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<ElectricalPowerMeasurementTrait.MeasurementAccuracyStruct>?

List of accuracy specifications for the measurement types supported by the server.

Long?

The most recent current reading in milliamps (mA).

Long?

The most recent power reading in milliwatts (mW).

Long?

The most recent apparentCurrent (square root sum of the squares of active and reactive currents) reading in milliamps (mA).

Long?

The most recent apparentPower reading in millivolt-amps (mVA).

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

UShort

The revision of the server cluster specification supported by the cluster instance.

ElectricalPowerMeasurementTrait.Feature

Whether the server supports zero or more optional cluster features.

Long?

The most recent frequency reading in millihertz (mHz).

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

List<ElectricalPowerMeasurementTrait.HarmonicMeasurementStruct>?

A list of HarmonicMeasurementStruct values, where each value represents the harmonic current reading for the harmonic order as specified by order.

List<ElectricalPowerMeasurementTrait.HarmonicMeasurementStruct>?

A list of HarmonicMeasurementStruct values, where each value represents the harmonic phase reading for the harmonic order as specified by order.

Long?

The most recent neutralCurrent reading in milliamps (mA).

UByte?

Maximum number of measurement types the server is capable of reporting.

Long?

The power factor ratio in +/- 1/100ths of a percent.

ElectricalPowerMeasurementTrait.PowerModeEnum?

The current mode of the server.

List<ElectricalPowerMeasurementTrait.MeasurementRangeStruct>?

The measured ranges for different measurement types.

Long?

The most recent reactiveCurrent reading in milliamps (mA).

Long?

The most recent reactivePower reading in millivolt-amps reactive (mVAR).

Long?

Root mean squared current in milliamps (mA).

Long?

Root mean squared power in milliwatts (mW).

Long?

Root mean squared voltage in millivolts (mV).

Long?

Voltage in millivolts (mV).

From com.google.home.Trait

Public functions

Public properties