boolean PJ_SwitchDuration (int $InstanceID, boolean $Status, int $Dauer)
ID of the device to be switched
TRUE for On, FALSE for Off
On or off times in seconds
If the command succeeds, it returns TRUE, otherwise FALSE.
Switches the relay from the WDT with ID InstanceID to value Status for Duration seconds.
The IP Symcon 868 radio system is bidirectional and thus the WDT sends the new status of the relay after the expiration of the timer.
//The following command turns on the relay for 60 seconds: PJ_SwitchDuration(12345, True, 60);