« Back to Product

Documentation

ZW_ColorRGBWW

Require: IP-Symcon >= 4.1

 boolean ZW_ColorRGBWW (int $InstanceID, int $Red, int $Green, int $Blue, int $WarmWhite, int $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.

Warning

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

Warning

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);
Any questions?