Translation is in progress...
Not all topics are available at the moment and content links may be broken.
boolean MXC_SwitchMode (integer $InstanceID, boolean $Status)
|InstanceID||ID of the device to be switched|
|Status||TRUE for On, FALSE for Off|
|If the command succeeds, it returns TRUE, otherwise FALSE.|
Switches the device with ID InstanceID to value Status
MXC_SwitchMode(12345, true); //Turn on device