This cluster supports all ResourceMonitoring features. It may support illegal feature combinations.

If you use this cluster you must manually specify which features are active and ensure the set of active features is legal per the Matter specification.

interface Complete {
    attributes: {
        changeIndication: Attribute<ResourceMonitoring.ChangeIndication, any>;
        condition: Attribute<number, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                condition: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        degradationDirection: FixedAttribute<ResourceMonitoring.DegradationDirection, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                condition: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        inPlaceIndicator: OptionalAttribute<boolean, any>;
        lastChangedTime: OptionalWritableAttribute<null | number, any>;
        replacementProductList: FixedAttribute<TypeFromFields<{
            productIdentifierType: FieldType<ResourceMonitoring.ProductIdentifierType>;
            productIdentifierValue: FieldType<string>;
        }>[], any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                replacementProductList: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
    };
    commands: {
        resetCondition: OptionalCommand<void, void, any>;
    };
    features: {
        condition: BitFlag;
        replacementProductList: BitFlag;
        warning: BitFlag;
    };
    name: "ResourceMonitoring";
    revision: 1;
}

Hierarchy (view full)

Properties

attributes: {
    changeIndication: Attribute<ResourceMonitoring.ChangeIndication, any>;
    condition: Attribute<number, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            condition: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    degradationDirection: FixedAttribute<ResourceMonitoring.DegradationDirection, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            condition: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    inPlaceIndicator: OptionalAttribute<boolean, any>;
    lastChangedTime: OptionalWritableAttribute<null | number, any>;
    replacementProductList: FixedAttribute<TypeFromFields<{
        productIdentifierType: FieldType<ResourceMonitoring.ProductIdentifierType>;
        productIdentifierValue: FieldType<string>;
    }>[], any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            replacementProductList: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
}

Type declaration

  • ReadonlychangeIndication: Attribute<ResourceMonitoring.ChangeIndication, any>

    This attribute shall be populated with a value from ChangeIndicationEnum that is indicative of the current requirement to change the resource.

    MatterSpecification.v13.Cluster § 2.8.6.3

  • Readonlycondition: Attribute<number, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            condition: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    }
  • ReadonlydegradationDirection: FixedAttribute<ResourceMonitoring.DegradationDirection, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            condition: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    }
  • ReadonlyinPlaceIndicator: OptionalAttribute<boolean, any>

    Indicates whether a resource is currently installed. A value of true shall indicate that a resource is installed. A value of false shall indicate that a resource is not installed.

    MatterSpecification.v13.Cluster § 2.8.6.4

  • ReadonlylastChangedTime: OptionalWritableAttribute<null | number, any>

    This attribute may indicates the time at which the resource has been changed, if supported by the server. The attribute shall be null if it was never set or is unknown.

    MatterSpecification.v13.Cluster § 2.8.6.5

  • ReadonlyreplacementProductList: FixedAttribute<TypeFromFields<{
        productIdentifierType: FieldType<ResourceMonitoring.ProductIdentifierType>;
        productIdentifierValue: FieldType<string>;
    }>[], any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            replacementProductList: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    }
commands: {
    resetCondition: OptionalCommand<void, void, any>;
}

Type declaration

  • ReadonlyresetCondition: OptionalCommand<void, void, any>

    Upon receipt, the device shall reset the Condition and ChangeIndicator attributes, indicating full resource availability and readiness for use, as initially configured. Invocation of this command may cause the LastChangedTime to be updated automatically based on the clock of the server, if the server supports setting the attribute.

    MatterSpecification.v13.Cluster § 2.8.7.1

features: {
    condition: BitFlag;
    replacementProductList: BitFlag;
    warning: BitFlag;
}

Type declaration

  • Readonlycondition: BitFlag

    Condition

    Supports monitoring the condition of the resource in percentage

  • ReadonlyreplacementProductList: BitFlag

    ReplacementProductList

    Supports specifying the list of replacement products

  • Readonlywarning: BitFlag

    Warning

    Supports warning indication

name
revision