SwitchBot
SwitchBot Robot Vacuum K11+ ProThe Occupancy Sensing cluster lets a Matter device detect whether a space is occupied, essentially answering whether someone is in the room. Using technologies like passive infrared, ultrasonic, or radar sensing, occupancy and motion sensors report presence to your smart home system, making this one of the most widely used and instantly satisfying building blocks in the Matter standard. It powers the kind of automation that makes a home feel genuinely smart.
The everyday payoff is convenience and savings rolled together. Lights can turn on the moment you walk into a room and switch off after you leave, thermostats can ease back when a space sits empty to trim energy bills, and occupancy can act as a trigger in your security routines when no one should be home. More advanced sensors can even detect lingering presence, so the lights stay on while you are sitting still. Because presence detection is standardized across the Matter ecosystem, a sensor from one brand can control lights, climate, and other devices from others. For anyone building hands-free, energy-smart automation, support for this cluster is essential.
Optional Feature Adoption
Cluster ID 0x0406 · PICS OCC · Role: Application · Scope: Endpoint
Supports sensing using a modality not listed in the other bits
Supports sensing using PIR (Passive InfraRed)
Supports sensing using UltraSound
Supports sensing using a physical contact
Supports sensing using Active InfraRed measurement (e.g. time-of-flight or transflective/reflective IR sensing)
Supports sensing using radar waves (microwave)
Supports sensing using analysis of radio signals, e.g.: RSSI, CSI and/or any other metric from the signal
Supports sensing based on analyzing images
Supports generating OccupancyChanged events
| Device Type | Side | Conformance |
|---|---|---|
| Occupancy Sensor 0x0107 | server | Mandatory |
| Camera 0x0142 | server | optional |
| Snapshot Camera 0x0145 | server | optional |
| Camera Controller 0x0147 | client | optional |
| Color Temperature Light 0x010C | client | optional |
| Control Bridge 0x0840 | client | optional |
| Dimmable Light 0x0101 | client | optional |
| Dimmable Plug-In Unit 0x010B | client | optional |
| Extended Color Light 0x010D | client | optional |
| Mounted Dimmable Load Control 0x0110 | client | optional |
| Mounted On/Off Control 0x010F | client | optional |
| On/Off Light 0x0100 | client | optional |
| On/Off Plug-in Unit 0x010A | client | optional |
| Pump 0x0303 | client | optional |
| Thermostat 0x0301 | client | optional |
| ID | Name | Type | Access | Conformance |
|---|---|---|---|---|
| 0x0000 | Occupancy | OccupancyBitmap | R:view | mandatory |
| 0x0001 | OccupancySensorType | OccupancySensorTypeEnum | R:view | mandatory, deprecated |
| 0x0002 | OccupancySensorTypeBitmap | OccupancySensorTypeBitmap | R:view | mandatory, deprecated |
| 0x0003 | HoldTime | uint16 | R:view W:manage | optional |
| 0x0004 | HoldTimeLimits | HoldTimeLimitsStruct | R:view | mandatory (HoldTime) |
| 0x0010 | PIROccupiedToUnoccupiedDelay | uint16 | R:view W:manage | optional (HoldTime & PIR | !PIR & !US & !PHY), deprecated |
| 0x0011 | PIRUnoccupiedToOccupiedDelay | uint16 | R:view W:manage | mandatory (HoldTime & PIR | !PIR & !US & !PHY & PIRUnoccupiedToOccupiedThreshold), optional (HoldTime & PIR | !PIR & !US & !PHY), deprecated |
| 0x0012 | PIRUnoccupiedToOccupiedThreshold | uint8 | R:view W:manage | mandatory (HoldTime & PIR | !PIR & !US & !PHY & PIRUnoccupiedToOccupiedDelay), optional (HoldTime & PIR | !PIR & !US & !PHY), deprecated |
| 0x0020 | UltrasonicOccupiedToUnoccupiedDelay | uint16 | R:view W:manage | optional (HoldTime & US), deprecated |
| 0x0021 | UltrasonicUnoccupiedToOccupiedDelay | uint16 | R:view W:manage | mandatory (HoldTime & US & UltrasonicUnoccupiedToOccupiedThreshold), optional (HoldTime & US), deprecated |
| 0x0022 | UltrasonicUnoccupiedToOccupiedThreshold | uint8 | R:view W:manage | mandatory (HoldTime & US & UltrasonicUnoccupiedToOccupiedDelay), optional (HoldTime & US), deprecated |
| 0x0030 | PhysicalContactOccupiedToUnoccupiedDelay | uint16 | R:view W:manage | optional (HoldTime & PHY), deprecated |
| 0x0031 | PhysicalContactUnoccupiedToOccupiedDelay | uint16 | R:view W:manage | mandatory (HoldTime & PHY & PhysicalContactUnoccupiedToOccupiedThreshold), optional (HoldTime & PHY), deprecated |
| 0x0032 | PhysicalContactUnoccupiedToOccupiedThreshold | uint8 | R:view W:manage | mandatory (HoldTime & PHY & PhysicalContactUnoccupiedToOccupiedDelay), optional (HoldTime & PHY), deprecated |
No commands defined.
| ID | Name | Priority | Conformance |
|---|---|---|---|
| 0x00 | OccupancyChanged | info | mandatory (OCCEVENT), optional |