boolean OW_ToggleMode (int $InstanceID)
InstanceID | ID of the device to be switched |
If the command succeeds, it returns TRUE, otherwise FALSE.
Changes the state of the device with the ID InstanceID. The current value can be queried in the state variable after the operation.
OW_ToggleMode(12345); //Toggle device