boolean LCN_SwitchRelayTimer (integer $InstanceID, integer $TimeFactor)
InstanceID | ID of the device to be switched |
TimeFactor | Time factor between 1..255 |
If the command succeeds, it returns TRUE, otherwise FALSE. |
Switches the relay with ID InstanceID to time factor TimeFactor
The time factor is not a linear value. 1 = 30ms and 255 = 240s
//Set relay time factor to 255. LCN_SwitchRelayTimer(12345, 255);