What can we improve?

Documentation

(Edit)

ZW_ColorRGBWW

Requires: IP-Symcon >= 4.1

boolean ZW_ColorRGBWW (integer $InstanceID, integer $Red, integer $Green, integer $Blue, integer $WarmWhite, integer $ColdWhite)

Parameters

InstanceID Device ID
Red Red intensity from 0..255
Green Green intensity from 0..255
Blue Blue intensity from 0..255
WarmWhite WarmWhite Intensity from 0..255
ColdWhite ColdWhite intensity from 0..255

Returns

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

Description

Switches the device with the ID InstanceID to the color value combination RGBWW.

The warm white component is only effective if all other color and cold white components are set to 0.

Since IP-Symcon 5.4 it is checked whether the device even supports RGB, warm white and cold white

Example

// Set dark red
ZW_ColorRGBWW(12345, 255, 0, 0, 0, 50);
 
// Set warm white
ZW_ColorRGBWW(12345, 0, 0, 0, 255, 0);
Deutsche Webseite verfügbar
Go to cart
Any questions?