Documentation
ZW_ThermostatModeSet
boolean ZW_ThermostatModeSet (int $InstanceID, int $Mode)
Parameters
InstanceID | Device ID |
Mode | 0..255 |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sets the Mode Mode from the specified device with the InstanceID InstanceID
Mode | Integer-Value |
---|---|
Off | 0 |
Heat | 1 |
Cool | 2 |
Auto | 3 |
Auxiliary | 4 |
Resume | 5 |
FanOnly | 6 |
Furnace | 7 |
DryAir | 8 |
MoistAir | 9 |
AutoChangeover | 10 |
Example
ZW_ThermostatModeSet(12345, 1); //e.g., Sets the mode to Heat