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