interface State {
    maxMeasuredValue: null | number;
    measuredValue: null | number;
    minMeasuredValue: null | number;
    tolerance?: number;
}

Hierarchy

  • StateType
    • State

Properties

maxMeasuredValue: null | number

The MaxMeasuredValue attribute indicates the maximum value of MeasuredValue that can be measured. The null value means this attribute is not defined. See Measured Value for more details.

MatterSpecification.v13.Cluster § 2.6.4.3

measuredValue: null | number

MeasuredValue represents the water content in % as follows:

MeasuredValue = 100 x water content

Where 0% < = water content < = 100%, corresponding to a MeasuredValue in the range 0 to 10000. The maximum resolution this format allows is 0.01%.

MinMeasuredValue and MaxMeasuredValue define the range of the sensor.

The null value indicates that the measurement is unknown, otherwise the range shall be as described in Measured Value.

MeasuredValue is updated continuously as new measurements are made.

MatterSpecification.v13.Cluster § 2.6.4.1

minMeasuredValue: null | number

The MinMeasuredValue attribute indicates the minimum value of MeasuredValue that can be measured. The null value means this attribute is not defined. See Measured Value for more details.

MatterSpecification.v13.Cluster § 2.6.4.2

tolerance?: number

See Measured Value.

MatterSpecification.v13.Cluster § 2.6.4.4