LoggingComponent: {
    attributes: {
        enableLogging: WritableAttribute<boolean, any>;
        numberOfLogRecordsSupported: FixedAttribute<number, any>;
    };
    commands: {
        getLogRecord: Command<TypeFromFields, TypeFromFields, any>;
    };
}

A DoorLockCluster supports these elements if it supports feature Logging.

Type declaration

  • Readonlyattributes: {
        enableLogging: WritableAttribute<boolean, any>;
        numberOfLogRecordsSupported: FixedAttribute<number, any>;
    }
    • ReadonlyenableLogging: WritableAttribute<boolean, any>

      This attribute shall enable/disable event logging.

      When event logging is enabled, all event messages are stored on the lock for retrieval. Logging events can be, but are not limited to, Tamper Alarm, Lock, Unlock, AutoRelock, User Code Added, User Code Cleared, Schedule Added, and Schedule Cleared. For a full detail of all the possible alarms and events, please refer to the full list in the Alarm and Event Masks Attribute Set.

      MatterSpecification.v13.Cluster § 5.2.9.22

    • ReadonlynumberOfLogRecordsSupported: FixedAttribute<number, any>

      Indicates the number of available log records.

      MatterSpecification.v13.Cluster § 5.2.9.9

  • Readonlycommands: {
        getLogRecord: Command<TypeFromFields, TypeFromFields, any>;
    }
    • ReadonlygetLogRecord: Command<TypeFromFields, TypeFromFields, any>

      Request a log record. Log number is between 1 – [Number of Log Records Supported attribute]. If log number 0 is requested then the most recent log entry is returned.

      Log record format: The log record format is defined in the description of the GetLogRecordResponse command.

      MatterSpecification.v13.Cluster § 5.2.10.4