We’re finally adding support for Z-Wave Color Switch control. The command class to use is SwitchColorV3, here’s how the set command works:
zwave.switchColorV3.switchColorSet(red: 0xFF, green: 0xFF, blue: 0xFF, warmWhite: 0, coldWhite: 0)
Each of those channels goes from 0 to 0xFF, like your typical RGB hex format. Generally you set either red, green and blue, or just warmWhite and/or coldWhite. Brightness is still controlled by the SwitchMultilevel or Basic command class.
Unfortunately querying the current color is a pain; you have to get each component individually:
Which will request the device to send you a
switchcolorv3.SwitchColorReport with a
value parameter for that color component.
Here are beta device handlers to try out:
Zipato RGBW Bulb: https://gist.github.com/mckeed/f93b6869dac473673f66
Aeon Labs RGBW LED Bulb: https://gist.github.com/mckeed/0854097a0b697302fcc4
Non-saturated colors aren’t working great for me, let me know if you can figure out how to improve that.