This cluster provides an interface to temperature measurement functionality, including configuration and provision of notifications of temperature measurements.

MatterSpecification.v13.Cluster § 2.3

interface Cluster {
    attributes: Merge<{
        maxMeasuredValue: Attribute<null | number, any>;
        measuredValue: Attribute<null | number, any>;
        minMeasuredValue: Attribute<null | number, any>;
        tolerance: OptionalAttribute<number, any>;
    }, GlobalAttributes<{}>>;
    base: undefined;
    commands: {};
    events: {};
    extensions: undefined;
    features: {};
    id: Branded<1026, "ClusterId">;
    name: "TemperatureMeasurement";
    revision: 4;
    supportedFeatures: {};
    unknown: false;
    alter<const AlterationsT>(alterations: AlterationsT): WithAlterations<Of<{
        attributes: {
            maxMeasuredValue: Attribute<null | number, any>;
            measuredValue: Attribute<null | number, any>;
            minMeasuredValue: Attribute<null | number, any>;
            tolerance: OptionalAttribute<number, any>;
        };
        id: 1026;
        name: "TemperatureMeasurement";
        revision: 4;
    }>, AlterationsT>;
    enable<const FlagsT>(flags: FlagsT): WithFlags<Of<{
        attributes: {
            maxMeasuredValue: Attribute<null | number, any>;
            measuredValue: Attribute<null | number, any>;
            minMeasuredValue: Attribute<null | number, any>;
            tolerance: OptionalAttribute<number, any>;
        };
        id: 1026;
        name: "TemperatureMeasurement";
        revision: 4;
    }>, FlagsT>;
    set<const ValuesT>(values: ValuesT): WithValues<Of<{
        attributes: {
            maxMeasuredValue: Attribute<null | number, any>;
            measuredValue: Attribute<null | number, any>;
            minMeasuredValue: Attribute<null | number, any>;
            tolerance: OptionalAttribute<number, any>;
        };
        id: 1026;
        name: "TemperatureMeasurement";
        revision: 4;
    }>, ValuesT>;
    with<const SelectionT>(...selection: SelectionT): Of<Of<{
        attributes: {
            maxMeasuredValue: Attribute<null | number, any>;
            measuredValue: Attribute<null | number, any>;
            minMeasuredValue: Attribute<null | number, any>;
            tolerance: OptionalAttribute<number, any>;
        };
        id: 1026;
        name: "TemperatureMeasurement";
        revision: 4;
    }>, SelectionT>;
}

Hierarchy (view full)

Properties

attributes: Merge<{
    maxMeasuredValue: Attribute<null | number, any>;
    measuredValue: Attribute<null | number, any>;
    minMeasuredValue: Attribute<null | number, any>;
    tolerance: OptionalAttribute<number, any>;
}, GlobalAttributes<{}>>

Type declaration

  • ReadonlymaxMeasuredValue: Attribute<null | number, any>

    This attribute indicates the maximum value of MeasuredValue that is capable of being measured. See Measured Value for more details.

    The null value indicates that the value is not available.

    MatterSpecification.v13.Cluster § 2.3.4.3

  • ReadonlymeasuredValue: Attribute<null | number, any>

    Indicates the measured temperature. The null value indicates that the temperature is unknown.

    MatterSpecification.v13.Cluster § 2.3.4.1

  • ReadonlyminMeasuredValue: Attribute<null | number, any>

    Indicates the minimum value of MeasuredValue that is capable of being measured. See Measured Value for more details.

    The null value indicates that the value is not available.

    MatterSpecification.v13.Cluster § 2.3.4.2

  • Readonlytolerance: OptionalAttribute<number, any>

    See Measured Value.

    MatterSpecification.v13.Cluster § 2.3.4.4

base: undefined
commands: {}
events: {}
extensions: undefined
features: {}
id: Branded<1026, "ClusterId">
name
revision
supportedFeatures: {}
unknown

Methods

  • Modify elements using ElementModifier.alter.

    Type Parameters

    • const AlterationsT extends Alterations<Of<{
          attributes: {
              maxMeasuredValue: Attribute<null | number, any>;
              measuredValue: Attribute<null | number, any>;
              minMeasuredValue: Attribute<null | number, any>;
              tolerance: OptionalAttribute<number, any>;
          };
          id: 1026;
          name: "TemperatureMeasurement";
          revision: 4;
      }>>

    Parameters

    Returns WithAlterations<Of<{
        attributes: {
            maxMeasuredValue: Attribute<null | number, any>;
            measuredValue: Attribute<null | number, any>;
            minMeasuredValue: Attribute<null | number, any>;
            tolerance: OptionalAttribute<number, any>;
        };
        id: 1026;
        name: "TemperatureMeasurement";
        revision: 4;
    }>, AlterationsT>

  • Modify elements using ElementModifier.enable.

    Type Parameters

    • const FlagsT extends ElementFlags<Of<{
          attributes: {
              maxMeasuredValue: Attribute<null | number, any>;
              measuredValue: Attribute<null | number, any>;
              minMeasuredValue: Attribute<null | number, any>;
              tolerance: OptionalAttribute<number, any>;
          };
          id: 1026;
          name: "TemperatureMeasurement";
          revision: 4;
      }>>

    Parameters

    Returns WithFlags<Of<{
        attributes: {
            maxMeasuredValue: Attribute<null | number, any>;
            measuredValue: Attribute<null | number, any>;
            minMeasuredValue: Attribute<null | number, any>;
            tolerance: OptionalAttribute<number, any>;
        };
        id: 1026;
        name: "TemperatureMeasurement";
        revision: 4;
    }>, FlagsT>

  • Modify elements using ElementModifier.set.

    Type Parameters

    • const ValuesT extends {
          maxMeasuredValue: null | number;
          measuredValue: null | number;
          minMeasuredValue: null | number;
          tolerance?: number;
      }

    Parameters

    Returns WithValues<Of<{
        attributes: {
            maxMeasuredValue: Attribute<null | number, any>;
            measuredValue: Attribute<null | number, any>;
            minMeasuredValue: Attribute<null | number, any>;
            tolerance: OptionalAttribute<number, any>;
        };
        id: 1026;
        name: "TemperatureMeasurement";
        revision: 4;
    }>, ValuesT>

  • Select features using ClusterComposer.compose.

    Type Parameters

    • const SelectionT extends FeatureSelection<Of<{
          attributes: {
              maxMeasuredValue: Attribute<null | number, any>;
              measuredValue: Attribute<null | number, any>;
              minMeasuredValue: Attribute<null | number, any>;
              tolerance: OptionalAttribute<number, any>;
          };
          id: 1026;
          name: "TemperatureMeasurement";
          revision: 4;
      }>>

    Parameters

    Returns Of<Of<{
        attributes: {
            maxMeasuredValue: Attribute<null | number, any>;
            measuredValue: Attribute<null | number, any>;
            minMeasuredValue: Attribute<null | number, any>;
            tolerance: OptionalAttribute<number, any>;
        };
        id: 1026;
        name: "TemperatureMeasurement";
        revision: 4;
    }>, SelectionT>