2.2.6. All Switch Command Class, version 1 [OBSOLETED]¶
Warning
THIS COMMAND CLASS HAS BEEN OBSOLETED New implementations MUST NOT support this Command Class. Controlling nodes MUST use S2 Multicast mechanism in order to achieve the All On and All Off functionality
The All Switch Command Class is used to switch all devices on or off. Devices may be excluded/included from the all on/all off functionality. The application determines which devices there are included in the all on/all off functionality as default.
2.2.6.1. All Switch Set Command¶
This command is used to instruct a device if it is included or excluded from the all on/all off functionality.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SWITCH_ALL (0x27) |
|||||||
Command = SWITCH_ALL_SET (0x01) |
|||||||
Mode |
|||||||
Mode (8 bits)
The mode field used to set the all on/all off functionality of the device.
Mode |
Description |
|---|---|
0x00 |
Indicate that the switch is excluded from the all on/all off functionality. |
0x01 |
Indicate that the switch is excluded from the all on functionality but not all off. |
0x02 |
Indicate that the switch is excluded from the all off functionality but not all on. |
0x03..0xFE |
Reserved |
0xFF |
Indicates that the switch is included in the all on/all off functionality. |
2.2.6.2. All Switch Get Command¶
This command is used to ask a device if it is included or excluded from the all on/all off functionality.
The All Switch Report Command MUST be returned in response to this command.
This command MUST NOT be issued via multicast addressing.
A receiving node MUST NOT return a response if this command is received via multicast addressing. The Z-Wave Multicast frame, the broadcast NodeID and the Multi Channel multi-End Point destination are all considered multicast addressing methods.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SWITCH_ALL (0x27) |
|||||||
Command = SWITCH_ALL_GET (0x02) |
|||||||
2.2.6.3. All Switch Report Command¶
This command is used to report if the device is included or excluded from the all on/all off functionality.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SWITCH_ALL (0x27) |
|||||||
Command = SWITCH_ALL_REPORT (0x03) |
|||||||
Mode |
|||||||
Mode (8 bits)
Refer to the All Switch Set Command.
2.2.6.4. All Switch On Command¶
This command is used to inform a switch that it SHOULD be turned on. A receiving device MUST NOT react to this command if the actual operation has been prohibited via the Switch All Set command. Like the Basic Set On command, this command MUST cause the device to restore the most recent (non-zero) level.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SWITCH_ALL (0x27) |
|||||||
Command = SWITCH_ALL_ON (0x04) |
|||||||
2.2.6.5. All Switch Off Command¶
This command is used to inform a switch that it SHOULD be turned off. A receiving device MUST NOT react to this command if the actual operation has been prohibited via the Switch All Set command.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SWITCH_ALL (0x27) |
|||||||
Command = SWITCH_ALL_OFF (0x05) |
|||||||