Matter Cluster 1366 — Chime
Matter Cluster 1366 (0x0556) Chime: attributes, commands, events, data types, shadow paths and bridge payload examples.
Matter Cluster 1366 — Chime Cluster
Matter Cluster 1366, also written as 0x0556, is the Chime Cluster.
This cluster provides facilities to configure and play Chime sounds, such as those used in a doorbell.
Cluster Identity
| Field | Value |
|---|---|
| Cluster ID decimal | 1366 |
| Cluster ID hex | 0x0556 |
| Cluster name | Chime |
| Cluster revision (Matter 1.6.1) | 2 |
| Role | application |
| Scope | Endpoint |
| PICS code | CHIME |
| Typical endpoint | 1 |
Revision history
| Revision | Change |
|---|---|
| 1 | Initial release |
| 2 | Add ChimeStartedPlaying event, new optional param to PlayChimeSound to play a specific sound, and remove F quality from InstalledChimeSounds |
Shadow Path Format
Cluster 1366 values in the device shadow use this format:
endpoint_id / 1366 / attribute_id
Example:
{
"1/1366/1": 1
}
| Part | Meaning |
|---|---|
1 | Endpoint ID |
1366 | Chime cluster |
1 | SelectedChime attribute |
Data Types
ChimeSoundStruct (struct)
This struct is used to encode information needed to define a Chime Sound.
| Field | Name | Type | Conformance | Constraint | Meaning |
|---|---|---|---|---|---|
| 0 | ChimeID | uint8 | M | — | — |
| 1 | Name | string | M | length 1 to 48 | This field represents the unique user friendly name of the Chime Sound. |
Cluster 1366 Attributes
Cluster 1366 defines 3 attributes plus the global attributes. Conformance: M mandatory, O optional, a feature code means "mandatory when that feature is present", square brackets mean "optional when …".
| ID | Hex | Attribute | Type | Conformance | Access | Qualities | Default |
|---|---|---|---|---|---|---|---|
| 0 | 0x0000 | InstalledChimeSounds | list of ChimeSoundStruct | M | R (read: view) | — | — |
| 1 | 0x0001 | SelectedChime | uint8 | M | R/W (read: view, write: operate) | persisted | — |
| 2 | 0x0002 | Enabled | bool | M | R/W (read: view, write: operate) | persisted | — |
Global attributes
| ID | Hex | Attribute | Meaning |
|---|---|---|---|
| 65528 | 0xFFF8 | GeneratedCommandList | Response command IDs this server generates. |
| 65529 | 0xFFF9 | AcceptedCommandList | Command IDs this server accepts. |
| 65531 | 0xFFFB | AttributeList | Attribute IDs implemented. |
| 65532 | 0xFFFC | FeatureMap | Implemented optional features (see above). |
| 65533 | 0xFFFD | ClusterRevision | Cluster revision implemented; 2 for a Matter 1.6.1 device. |
Attribute Details
Attribute 0 / 0x0000 — InstalledChimeSounds
Path example:
1/1366/0
This attribute contains all installed chime sounds, represented by a list of Chime Sounds. Each entry in this list has a unique ChimeID value and a unique Name value.
| Property | Value |
|---|---|
| Type | list of ChimeSoundStruct |
| Conformance | M |
| Access | R (read: view) |
| Constraint | 1 to 255 entries |
Each entry is a ChimeSoundStruct (see Data Types).
Example:
{
"1/1366/0": []
}
Attribute 1 / 0x0001 — SelectedChime
Path example:
1/1366/1
Indicates the currently selected chime sound that will be played when PlayChimeSound is invoked and is the ChimeID value for the requested Chime Sound within InstalledChimeSounds. This attribute may be written by the client to request a different chime sound. An attempt to write a value that is not contained within InstalledChimeSounds is failed with a NOT_FOUND response. Writes to this attribute while a chime is currently playing must NOT affect the playback in progress and only apply starting at the next PlayChimeSound command invocation.
| Property | Value |
|---|---|
| Type | uint8 |
| Conformance | M |
| Access | R/W (read: view, write: operate) |
| Qualities | persisted |
Example:
{
"1/1366/1": 1
}
Attribute 2 / 0x0002 — Enabled
Path example:
1/1366/2
Indicates if chime sounds can currently be played or not, and may be written by the client to enable / disable playing of chime sounds.
| Property | Value |
|---|---|
| Type | bool |
| Conformance | M |
| Access | R/W (read: view, write: operate) |
| Qualities | persisted |
Example:
{
"1/1366/2": true
}
Cluster 1366 Commands
Cluster 1366 has 1 client-to-server command and 0 responses.
| ID | Hex | Command | Direction | Conformance | Response | Description |
|---|---|---|---|---|---|---|
| 0 | 0x00 | PlayChimeSound | client → server | M | — | This command will play the currently selected chime or the chime passed in. |
AcceptedCommandList
The AcceptedCommandList attribute lists the command IDs the endpoint actually implements:
endpoint_id / 1366 / 65529
{
"1/1366/65529": [
0
]
}
Before sending a Cluster 1366 command, check that the command ID exists in endpoint/1366/65529. Optional commands are only present when the matching feature is set in FeatureMap.
Bridge Command Payload Format
The bridge accepts Matter commands in this structure:
{
"message_id": "1",
"command": "device_command",
"args": {
"endpoint_id": 1,
"cluster_id": 1366,
"command_name": "PlayChimeSound",
"payload": {},
"timed_request_timeout_ms": 1000
}
}
For Cluster 1366, always use "cluster_id": 1366. Payload keys are the command field names in lowerCamelCase. Octet-string fields are base64-encoded. timed_request_timeout_ms is required for timed commands and ignored otherwise.
Command: PlayChimeSound
Purpose
This command will play the currently selected chime or the chime passed in. In either case the server must generate the ChimeStartedPlaying event.
Command Identity
| Field | Value |
|---|---|
| Command ID | 0 |
| Command hex | 0x00 |
| Command name | PlayChimeSound |
| Direction | client → server |
| Conformance | M |
| Response | status only |
| Access | (invoke: operate) |
Payload Fields
| ID | Field | Payload key | Type | Conformance | Constraint | Meaning |
|---|---|---|---|---|---|---|
| 0 | ChimeID | chimeID | uint8 | [ClusterRevision >= 2] | — | — |
Bridge Command Example
{
"message_id": "1",
"command": "device_command",
"args": {
"endpoint_id": 1,
"cluster_id": 1366,
"command_name": "PlayChimeSound",
"payload": {
"chimeID": 1
}
}
}
Cluster 1366 Events
| ID | Hex | Event | Priority | Conformance | Description |
|---|---|---|---|---|---|
| 0 | 0x00 | ChimeStartedPlaying | info | ClusterRevision >= 2 | This event indicates a Chime sound has just started playing. |
Event 0 — ChimeStartedPlaying
This event indicates a Chime sound has just started playing. The data on this event contains the following information.
| ID | Field | Type | Conformance | Meaning |
|---|---|---|---|---|
| 0 | ChimeID | uint8 | M | — |
SmartphoneKey Notes
- Cluster 1366 is not currently exposed by SmartphoneKey devices. This page documents the Matter 1.6.1 specification so that future devices can be interpreted without changes to the backend.
- Shadow paths follow
endpoint/1366/attribute; attribute values that the device reports as unreadable are written asn/a. - Attribute IDs, command IDs and enum values on this page come from the CSA Matter 1.6.1 data model; descriptions are condensed from the specification text.