« Back to Product

Documentation

FS20_SetIntensity

 boolean FS20_SetIntensity (int $InstanceID, int $Intensity, int $Duration) 

Parameters

InstanceID

ID of the device to be switched

Intensity

0-16 (0=0%, 16=100%)

Duration

Duration of the dimming

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Dims the device with ID InstanceID to value Intensity in Duration seconds.

Warning

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).

Example

FS20_SetIntensity(12345, 16, 5); //Dimming device to 100% in 5 seconds
Any questions?