boolean LCN_SwitchMode (integer $InstanceID, integer $Ramp)
InstanceID | ID of the device to be switched |
Ramp | Number of seconds, 0 = Immediately |
If the command succeeds, it returns TRUE, otherwise FALSE. |
Switches over the device with the ID InstanceID.
LCN_SwitchMode(12345, 0); //Switch device immediately