2.2.111. Thermostat Mode Command Class, version 1-2¶
The Thermostat Mode Command Class is used to control which mode a thermostat operates.
2.2.111.1. Interoperability Considerations¶
Most thermostat modes require a supporting node to have an associated setpoint, which can managed with the Thermostat Setpoint Command Class. A node supporting this Command Class SHOULD support the Thermostat Setpoint Command Class.
2.2.111.2. Thermostat Mode Set Command¶
This command is used to set the thermostat mode at the receiving node.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_THERMOSTAT_MODE (0x40) |
|||||||
Command = THERMOSTAT_MODE_SET (0x01) |
|||||||
Reserved |
Mode |
||||||
Reserved
This field MUST be set to 0 by a sending node and MUST be ignored by a receiving node.
Mode (5 bits)
This field is used to set the thermostat mode at the receiving node.
This field MUST be encoded according to Table 2.535.
2.2.111.3. Thermostat Mode Get Command¶
This command is used to request the current mode set at the receiving node.
The Thermostat Mode 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_THERMOSTAT_MODE (0x40) |
|||||||
Command = THERMOSTAT_MODE_GET (0x02) |
|||||||
2.2.111.4. Thermostat Mode Report Command¶
This command is used to report the mode from the device.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_THERMOSTAT_MODE (0x40) |
|||||||
Command = THERMOSTAT_MODE_REPORT (0x03) |
|||||||
Reserved |
Mode |
||||||
Reserved
This field MUST be set to 0 by a sending node and MUST be ignored by a receiving node.
Mode (5 bits)
This field is used to advertise the current thermostat mode at the receiving node.
This field MUST be encoded according to Table 2.535.
This field MUST NOT be set to 0x05 (RESUME(ON)) in this command.
2.2.111.5. Thermostat Mode Supported Get Command¶
This command is used to request the supported modes of a node.
The Thermostat Mode Supported 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_THERMOSTAT_MODE (0x40) |
|||||||
Command = THERMOSTAT_MODE_SUPPORTED_GET (0x04) |
|||||||
2.2.111.6. Thermostat Mode Supported Report Command¶
This command is used to advertise which modes are supported by the sending node.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_THERMOSTAT_MODE (0x40) |
|||||||
Command = THERMOSTAT_MODE_SUPPORTED_REPORT (0x05) |
|||||||
Bit Mask 1 |
|||||||
… |
|||||||
Bit Mask N |
|||||||
Bit Mask (N bytes)
This field advertises the Modes supported by the supporting node.
A supporting node MUST support at least one mode. Modes and their minimum required version are described in Table 2.535. A node MUST NOT support a mode associated to a newer version than the version it supports.
Bit 0 in Bit Mask 1 represents Mode = 0x00 (Off).
Bit 1 in Bit Mask 1 represents Mode = 0x01 (Heat).
…
If a Mode is supported, the corresponding bit MUST be set to ‘1’.
If a Mode is not supported, the corresponding bit MUST be set to ‘0’.
This length of this field MUST be set to the minimum amount of bytes which allows advertising all supported Modes.