« Back to Product

Documentation

MXC_SendBoolean

 boolean MXC_SendBoolean (int $InstanceID, boolean $Value) 

Parameters

InstanceID

ID of the device to be switched

Value

True for On, False for Off

Returns

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

Description

Sends a boolean value to the instance with ID InstanceID, which is connected to a room manager.

Example

MXC_SendBoolean(12345, true);
Any questions?