boolean LCN_SwitchDurationSec (integer $InstanceID, integer $Seconds, string $DimmingTime, boolean $Preserving)
ID of the device to be switched
After how many seconds it should be dimmed down
How fast to dim down
The device is only shut down after the time elapsed if it has not been on before.
|If the command succeeds, it returns TRUE, otherwise FALSE.
Dims the device with ID InstanceID brighter after Seconds seconds. Other options are the dimming speed DimmingTime and whether it is Preserving.
// Quickly dim device 12345 after 5 seconds
LCN_SwitchDurationSec(12345, 5, 'K', false);