boolean FS20_SetIntensity (int $InstanceID, int $Intensity, int $Duration)
ID of the device to be switched
0-16 (0=0%, 16=100%)
Duration of the dimming
If the command succeeds, it returns TRUE, otherwise FALSE.
Dims the device with ID InstanceID to value Intensity in Duration seconds.
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).
FS20_SetIntensity(12345, 16, 5); //Dimming device to 100% in 5 seconds