boolean EIB_SetRGBW (int $InstanceID, int $Red, int $Green, int $Blue, int $White)
InstanceID | ID of the device to be switched |
Red | 0 .. 255 (0 = off, 255 = bright) |
Green | 0 .. 255 (0 = off, 255 = bright) |
Blue | 0 .. 255 (0 = off, 255 = bright) |
White | 0 .. 255 (0 = off, 255 = bright) |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sets the RGBW stripe of the device with the ID InstanceID to red Red, the green value Green, the blue level Blue and the white content to White.
EIB_SetRGBW(12345, 255, 0, 0, 0); //Sets the RGB stripe to red