« Back to Product

Documentation

ALL_SwitchActor

 boolean ALL_SwitchActor (int $InstanceID, int $ChannelID, boolean $Status) 

Parameters

InstanceID

ID of the device to be switched

ChannelID

ID of the channel to be switched

Status

TRUE for on, FALSE for off

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Switches the actuator with the DeviceID InstanceID on the channel ChannelID to the value Status

Warning

The ChannelID can be seen from the status variables of the instance. See find out ChannelID

Example

ALL_SwitchActor(12345, 1, true); //Switch on the actuator of device 12345 on channel 1
Any questions?