« Back to Product

Documentation

PJ_SwitchMode

 boolean PJ_SwitchMode (int $InstanceID, boolean $Status) 

Parameters

InstanceID

ID of the device to be switched

Status

TRUE for On, FALSE for Off

Returns

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

Description

Sends a switching command to the WDT-868 module of the ID InstanceID.

Example

PJ_SwitchMode(12345, True);
Any questions?