Translation is in progress...
Not all topics are available at the moment and content links may be broken.
boolean OW_SetPin (integer $InstanceID, integer $Pin, 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.|
Sets the state of the pin Pin of the device with the ID InstanceID to value Status
OW_SetPin(12345, 2, true); //Turn on Pin 2 of the device