I just managed to set up an adafruit Neopixel RGBW LED strip on my openhab (2) setup.
I’m using an arduino and MQTT to let openhab talk to the arduino.
I have an color item that is visible in the sitemap
and a string item that is an MQTT command
and a rule that is taking the color value and transforming it into an RGB value that is send to the arduino using MQTT
So far so good.
only it’s an rgbW led and not an rgb led.
As far as I know, the color, only creates RGB values.
when I send a RGB value. it works, it’s picked up
what happens on the arduino is that it does not change the W value if it does not receive anything.
so when the W value is 000 , i get normal RGB behavior
when W value is 255, the colors are totally off. (which is normal as the W led is too bright)
The easy and cheap solution would be to only buy RGB strips and then I have no problem, yet then I also have not nice white light.
What I would like to do, is use normal RGB, when I want colors, and when I want white light, I want to have another solution.
How would you solve this?