Documentation
FHT_SetTemperature
boolean FHT_SetTemperature (int $InstanceID, float $Temperature)
Parameters
InstanceID | ID of the device to be switched |
Temperature | Temperature value in 0.5 ° C increments |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sets the new desired temperature for the FHT with ID InstanzID to value Temperature.
Since the FS20 system is unidirectional, can not be determined whether the command was successful. Error messages are only sent when an internal system error occurred (for example, if the FHZ is not connected).
The FHT commands are buffered by the FHZ and sent every few minutes to the FHT. Please note that the transmit buffer is limited, and repeatedly sending of values increases the transmission time, and possibly the FHT overloaded.
Example
FHT_SetTemperature(12345, 22.5); //Set to 22.5 ° C