boolean EIB_SetRGB (int $InstanceID, int $Red, int $Green, int $Blue)
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) |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sets the RGB stripe of the device with ID InstanceID to red value Red, green value Green and blue value Blue.
EIB_SetRGB(12345, 255, 0, 0); //Sets the RGB stripe to red