boolean ALL_SwitchActor (int $InstanceID, int $ChannelID, boolean $Status)
InstanceID | ID of the device to be switched |
ChannelID | ID of the channel to be switched |
Status | TRUE for on, FALSE for off |
If the command succeeds, it returns TRUE, otherwise FALSE.
Switches the actuator with the DeviceID InstanceID on the channel ChannelID to the value Status
The ChannelID can be seen from the status variables of the instance. See find out ChannelID
ALL_SwitchActor(12345, 1, true); //Switch on the actuator of device 12345 on channel 1