Switch cluster
This cluster exposes interactions with a switch device, for the purpose of using those interactions by other devices. Two types of switch devices are supported: latching switch (e.g. rocker switch) and momentary switch (e.g. push button), distinguished with their feature flags. Interactions with the switch device are exposed as attributes (for the latching switch) and as events (for both types of switches). An interested party MAY subscribe to these attributes/events and thus be informed of the interactions, and can perform actions based on this, for example by sending commands to perform an action such as controlling a light or a window shade.
About this cluster
- Cluster ID
- 0x003B
- PICS code
- SWTCH
- Group
- Controls
- Introduced in
- Matter 1.0
- Specification version
- 1.6.1
Features
A feature is an optional part of the cluster. A device that has the cluster may have some of its features and not others.
| Feature | Code | Bit | What it is |
|---|---|---|---|
| LatchingSwitch | LS | 0 | Switch is latching |
| MomentarySwitch | MS | 1 | Switch is momentary |
| MomentarySwitchRelease | MSR | 2 | Switch supports release events generation |
| MomentarySwitchLongPress | MSL | 3 | Switch supports long press detection |
| MomentarySwitchMultiPress | MSM | 4 | Switch supports multi-press detection |
| ActionSwitch | AS | 5 | Switch is momentary, targeted at specific user actions (focus on multi-press and optionally long press) with a reduced event generation scheme |
Device types that include this cluster
These are the Matter device types whose definition includes the cluster, with the products in the catalogue that are of each type. A product being of a device type does not mean it implements the cluster: the CSA does not publish which clusters a particular product implements.
Mandatory on the server side
The device type requires the cluster.
- Audio DoorbellNo products here yet
- DoorbellNo products here yet
- Generic SwitchNo products here yet