« Back to Product

Documentation

OW_ToggleMode

 boolean OW_ToggleMode (int $InstanceID) 

Parameters

InstanceID

ID of the device to be switched

Returns

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

Description

Changes the state of the device with the ID InstanceID. The current value can be queried in the state variable after the operation.

Example

OW_ToggleMode(12345); //Toggle device
Any questions?