2.2.24. Central Scene Command Class, version 2 [OBSOLETED]¶
\requirement{CC:005B.02.00.11.001}{16}
Warning
THIS COMMAND CLASS HAS BEEN OBSOLETED
New implementations MUST support the Central Scene Command Class, version 3 or newer.
The Central Scene Command Class is used to communicate central scene activations to a central controller using the lifeline concept.
2.2.24.1. Compatibility considerations¶
Central Scene Command Class version 2 is extended on the following areas:
The Central Scene Supported Report Command is updated to advertise Key Attributes support for each scene.
Additional Key Attributes are defined.
Commands and paragraphs not mentioned in this version remain unchanged from version 1.
2.2.24.2. Central Scene Supported Report Command¶
This command is used to report the maximum number of supported scenes and the Key Attributes supported for each scene.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_CENTRAL_SCENE (0x5B) |
|||||||
Command = CENTRAL_SCENE_SUPPORTED_REPORT (0x02) |
|||||||
Supported Scenes |
|||||||
Reserved |
Number of Bit Mask Bytes |
Identical |
|||||
Supported Key Attributes for Scene 1 - Byte 1 |
|||||||
… |
|||||||
Supported Key Attributes for Scene 1 - Byte N |
|||||||
… |
|||||||
Supported Key Attributes for Scene M - Byte 1 |
|||||||
… |
|||||||
Supported Key Attributes for Scene M - Byte N |
|||||||
Fields not described below remain unchanged from version 1.
Reserved
\requirement{CC:005B.02.02.11.001}{0}
This field MUST be set to 0 by a sending node and MUST be ignored by a receiving node.
Number of Bit Mask Bytes (2 bits)
This field advertises the size of each “Supported Key Attributes” field measured in bytes.
\requirement{CC:005B.02.02.11.002}{4}
The value MUST be in the range 1..3.
Identical (1 bit)
This field indicates if all scenes are supporting the same Key Attributes:
\requirement{CC:005B.02.02.11.003}{0}
The value 1 MUST indicate that all scenes support the same set of Key Attributes. In this case, the field “Supported Key Attributes for Scene 1” MUST advertise the supported Key Attributes for all scenes
\requirement{CC:005B.02.02.11.004}{0}
The value 0 MUST indicate that scenes support different Key Attributes. In this case, Supported Key Attributes MUST be advertised for each individual scene.
Supported Key Attributes (N bytes)
\requirement{CC:005B.02.02.11.005}{0}
This Bit Mask field advertises the attributes supported by the corresponding scene. The field MUST be encoded according to Table 2.118
Byte:Bit |
Supported Key Attributes |
|---|---|
1:0 |
Key Pressed 1 time |
1:1 |
Key Released. |
1:2 |
Key Held Down. |
1:3 |
Key Pressed 2 times |
1:4 |
Key Pressed 3 times |
1:5 |
Key Pressed 4 times |
1:6 |
Key Pressed 5 times |
1:7 |
Reserved |
\requirement{CC:005B.02.02.11.006}{0}
If the Key Released attribute is supported, the Key Held Down attribute MUST also be supported.
If the Key Held Down attribute is supported, the Key Released attribute MUST also be supported.
2.2.24.3. Central Scene Notification Command¶
This command is used to advertise one or more key events.
If the device implements Z-Wave Plus Lifeline support is implemented, the device MUST send the Central Scene Notification Command to the actual Lifeline targets.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_CENTRAL_SCENE (0x5B) |
|||||||
Command = CENTRAL_SCENE_NOTIFICATION (0x03) |
|||||||
Sequence Number |
|||||||
Reserved |
Key Attributes |
||||||
Scene Number |
|||||||
Fields not described below remain unchanged from version 1.
Key Attributes (3 bits)
\requirement{CC:005B.02.03.11.002}{0}
This field advertises one or more events detected by the key. The field MUST be encoded according to Table 2.120
Key Attribute |
Description |
Version |
|---|---|---|
0x00 |
Key Pressed |
1 |
0x01 |
Key Released |
1 |
0x02 |
Key Held Down |
1 |
0x03 |
Key Pressed 2 times |
2 |
0x04 |
Key Pressed 3 times |
2 |
0x05 |
Key Pressed 4 times |
2 |
0x06 |
Key Pressed 5 times |
2 |
\requirement{CC:005B.02.03.11.003}{0}
All other values are reserved and MUST NOT be used by a sending node. Reserved values MUST be ignored by a receiving node.
\requirement{CC:005B.02.03.11.004}{0}
Notification carrying these Key Attributes MUST comply with Figure 2.9
Figure 2.9 Central Scene button press decoding and timer management¶