What can we improve?

Documentation

(Edit)

ZW_DimDownEx

boolean ZW_DimDownEx (integer $InstanceID, integer $Duration)

Parameters

InstanceID ID of the device to be switched
Duration Running time until dimming down completely (0..255) (see table)

Returns

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

Description

Starts dimming down the device with ID InstanceID in duration Duration.

Duration Description
0 Immediately
1 - 127 1 - 127 Seconds
128 - 254 1 - 127 Minutes
255 Device default for duration

Example

//The device with ID 12345 begins to dim down over a runtime of 10 minutes
ZW_DimDownEx(12345, 138);
 
//The device with the ID 12345 begins to dim down over a period of 5 seconds
ZW_DimDownEx(12345, 5);
Deutsche Webseite verfügbar
Go to cart
Any questions?