Require: IP-Symcon >= 4.1
boolean ZW_ColorRGBWW (int $InstanceID, int $Red, int $Green, int $Blue, int $WarmWhite, int $ColdWhite)
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 |
If the command succeeds, it returns TRUE, otherwise FALSE.
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
// Set dark red
ZW_ColorRGBWW(12345, 255, 0, 0, 0, 50);
// Set warm white
ZW_ColorRGBWW(12345, 0, 0, 0, 255, 0);