« Back to Product

Documentation

ZW_DimSet

 boolean ZW_DimSet (int $InstanceID, int $Intensity) 

Parameters

InstanceID

ID of the device to be switched

Intensity

Value from 0-100 (in %)

Returns

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

Description

Dims the device with ID InstanceID to value Intensity

Example

ZW_DimSet(12345, 50); //Dimming to 50%
Any questions?