Hello,
I just created my first event in blocky!
IF my nest thermostat comes on, I turned on a bulb - I was impressed!
However, it happens to be an RGB bulb and I was hoping to set the bulb color to red or blue depending on the status but in blocky, I cannot set the bulb to "#3289c7" for example. I tried to set it to that as a string but it didnt work.
I'd one day like to do this with outside temperature perhaps.
Blocky event for RGB color setting
Moderators: leecollings, remb0
-
- Posts: 5
- Joined: Saturday 11 June 2016 7:18
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Blocky event for RGB color setting
RGB color space or RGB color system, constructs all the colors from the combination of the Red, Green and Blue colors. The red, green and blue use 8 bits each, which have integer values from 0 to 255. This makes 256*256*256=16777216 possible colors. RGB ≡ Red, Green, Blue. Each pixel in the LCD monitor displays colors this way, by combination of red, green and blue LEDs (light emitting diodes). When the red pixel is set to 0, the LED is turned off. When the red pixel is set to 255, the LED is turned fully on. Any value between them sets the LED to partial light emission.
Who is online
Users browsing this forum: No registered users and 1 guest