interface State {
    occupancy: TypeFromPartialBitSchema<{
        occupied: BitFlag;
    }>;
    occupancySensorType: OccupancySensing.OccupancySensorType;
    occupancySensorTypeBitmap: TypeFromPartialBitSchema<{
        physicalContact: BitFlag;
        pir: BitFlag;
        ultrasonic: BitFlag;
    }>;
    physicalContactOccupiedToUnoccupiedDelay?: number;
    physicalContactUnoccupiedToOccupiedDelay?: number;
    physicalContactUnoccupiedToOccupiedThreshold?: number;
    pirOccupiedToUnoccupiedDelay?: number;
    pirUnoccupiedToOccupiedDelay?: number;
    pirUnoccupiedToOccupiedThreshold?: number;
    ultrasonicOccupiedToUnoccupiedDelay?: number;
    ultrasonicUnoccupiedToOccupiedDelay?: number;
    ultrasonicUnoccupiedToOccupiedThreshold?: number;
}

Hierarchy

  • StateType
    • State

Properties

occupancy: TypeFromPartialBitSchema<{
    occupied: BitFlag;
}>

This attribute indicates the sensed (processed) status of occupancy.

Type declaration

  • occupied: BitFlag

    Indicates the sensed occupancy state

    If this bit is set, it shall indicate the occupied state else if the bit if not set, it shall indicate the unoccupied state.

    MatterSpecification.v13.Cluster § 2.7.4.1.1

MatterSpecification.v13.Cluster § 2.7.5.1

This attribute specifies the type of the occupancy sensor.

MatterSpecification.v13.Cluster § 2.7.5.2

occupancySensorTypeBitmap: TypeFromPartialBitSchema<{
    physicalContact: BitFlag;
    pir: BitFlag;
    ultrasonic: BitFlag;
}>

This attribute specifies the types of the occupancy sensor. Each bit position, if set, indicates the corresponding sensing capability is implemented.

The value of the OccupancySensorType shall be aligned to the value of the OccupancySensorTypeBitmap attribute as defined below.

Type declaration

  • physicalContact: BitFlag

    Indicates a physical contact sensor.

  • pir: BitFlag

    Indicates a passive infrared sensor.

  • ultrasonic: BitFlag

    Indicates a ultrasonic sensor.

MatterSpecification.v13.Cluster § 2.7.5.3

physicalContactOccupiedToUnoccupiedDelay?: number

This attribute specifies the time delay, in seconds, before the physical contact occupancy sensor changes to its unoccupied state after detecting the unoccupied event.

MatterSpecification.v13.Cluster § 2.7.5.10

physicalContactUnoccupiedToOccupiedDelay?: number

This attribute specifies the time delay, in seconds, before the physical contact sensor changes to its occupied state after the detection of the occupied event.

MatterSpecification.v13.Cluster § 2.7.5.11

physicalContactUnoccupiedToOccupiedThreshold?: number

This attribute specifies the number of movement detection events that must occur in the period PhysicalContactUnoccupiedToOccupiedDelay, before the PhysicalContact sensor changes to its occupied state.

MatterSpecification.v13.Cluster § 2.7.5.12

pirOccupiedToUnoccupiedDelay?: number

This attribute specifies the time delay, in seconds, before the PIR sensor changes to its unoccupied state after the last detection of movement in the sensed area.

MatterSpecification.v13.Cluster § 2.7.5.4

pirUnoccupiedToOccupiedDelay?: number

This attribute specifies the time delay, in seconds, before the PIR sensor changes to its occupied state after the detection of movement in the sensed area.

MatterSpecification.v13.Cluster § 2.7.5.5

pirUnoccupiedToOccupiedThreshold?: number

This attribute specifies the number of movement detection events that must occur in the period PIRUnoccupiedToOccupiedDelay, before the PIR sensor changes to its occupied state.

MatterSpecification.v13.Cluster § 2.7.5.6

ultrasonicOccupiedToUnoccupiedDelay?: number

This attribute specifies the time delay, in seconds, before the Ultrasonic sensor changes to its unoccupied state after the last detection of movement in the sensed area.

MatterSpecification.v13.Cluster § 2.7.5.7

ultrasonicUnoccupiedToOccupiedDelay?: number

This attribute specifies the time delay, in seconds, before the Ultrasonic sensor changes to its occupied state after the detection of movement in the sensed area.

MatterSpecification.v13.Cluster § 2.7.5.8

ultrasonicUnoccupiedToOccupiedThreshold?: number

This attribute specifies the number of movement detection events that must occur in the period UltrasonicUnoccupiedToOccupiedDelay, before the Ultrasonic sensor changes to its occupied state.

MatterSpecification.v13.Cluster § 2.7.5.9