tobof / openhab-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 2.0
39 stars 30 forks source link

RGB & RGBW channel missing #76

Closed tobof closed 7 years ago

tobof commented 7 years ago

RGB(W) channels are now added.

Tested with:

*.things: rgbwLight rgbwLight01 [ nodeId="199", childId="0" ]

*.items: Color rgbwLight01 "RGBW Light" <slider> { channel="mysensors:rgbwLight:gateway:rgbwLight01:rgbw" }

*.sitemap Colorpicker item=rgbwLight01

Please use this binding to test the additional channels: Binding

RGB should work just fine, but I'm unsure about the RGBW implementation: https://github.com/tobof/openhab2-addons/blob/103f6f970147818c6191a82a79b00613c1a92d65/addons/binding/org.openhab.binding.mysensors/src/main/java/org/openhab/binding/mysensors/converter/MySensorsRGBWTypeConverter.java