Hi All,
I wasn't super satisfied with any of the drivers that I could find for the Tradfri RGBW bulbs so i did a bit of modding on pedro garcia's ST driver.
The idea was to just make it work as closely to the stock Zigbee RGBW driver as possible, this means that the Ikea and Hue bulbs i have connected directly work more or less the same.
Changes from Puzzle Star Version:
Add capabilities: ColorMode and Color Temperature
Add Color Temperature methods (emulated by setting various shades of orange, should more or less match Ikea white spectrum bulbs)
fix getting values back from bulbs (so that state in hubitat is set directly from bulb)
I built a bit further on @eliotstocker version of the bulb because I saw some issues with scenes. E.g. the bulb did not turn on when setting a scene, and in CT mode the dimmer level was missed due to the way scenes operate the bulb in CT mode.
Yes, that could be the issue. Thanks for pointing that out. Before doing that try hitting refresh() as it defines the state.cmds = , let me know if that fixes this issue, if it does I will update the driver
Thanks @eliotstocker@holand.ivar, what a perfect timing. The thread is alive for 2 years, but you came out with the ported drivers just few days after I got the Tradfri bulbs.
Can you make the new versions available through the hubitat package manager as @eliotstocker recommended?
Thanks a lot @eliotstocker and @holand.ivar, this driver helped to get my Tradfri bulbs working properly where the generic drivers wouldn't. Is it possible to add the "startLevelChange" and "stopLevelChange" command? Otherwise it looks like these won't be dimmable with a switch without those commands. I think that's all that's missing compared to the generic RGBW drivers.
Has anyone had any issues exposing these to google home? Just updated the driver with the awesome new one (thanks everyone)! When I add it to the Google Home HE app it shows connected, until you open the Google Home app and then it somehow becomes disassociated with the Google Home app in HE.
People have had problems with bulbs general on Google Home if all the device attributes are not populated. If you just added them to Hubitat, that could be the issue. Try doing either a refresh or sending a Set Color and Set Color Temperature to make sure the hue, saturation, level, color, and color temperature all get some value. (Just a guess at the problem and how to fix it, but seems worth mentioning since it's a common issue.)
Genius! I compared it to one of my osram zigbee bulbs and noticed one of the values wasn’t showing. Set a value for that attribute and was able to add to Google Home right after. Thanks!