« Back to Product

Documentation

ZW_SwitchAllMode

Require: IP-Symcon >= 4.1

 boolean ZW_SwitchAllMode (int $InstanceID, int $Mode) 

Parameters

InstanceID

ID of the device to be switched

Mode

Mode to set the Z-Wave device to

Returns

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

Description

Sets the instance with ID InstanceID to Mode Mode.

Mode Value
All On 0
Only Off 1
Only On 2
All Off 255

Example

//Mode is set to Only On
ZW_SwitchAllMode(12345, 2);
Any questions?