boolean OW_SetPin (int $InstanceID, int $Pin, boolean $Status)
InstanceID | ID of the device to be switched |
Pin | Pin of the module (0..1) |
Status | TRUE for On, FALSE for Off |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sets the state of the device with the ID InstanceID to value Status
OW_SetPin(12345, 0, true); //Turn on device