In this DTH, color loop is implemented using Move Hue zigbee command. There isn’t an equivalent Move Color Temperature command, only a Move To Color Temperature.
You can simulate a color temperature loop by using Move To Color Temperature with a long transition time, capturing the color temperature message. When 2000K is achieved, you would need to issues a Move To Color Temperature to 6000K and vice versa. (That’s how the Pulse feature is implemented. When level is 5%, the DTH asks for level to be set to 99% and vice versa.) It may or may not work. I was surprised that the Pulse feature ended up working.
It is awesome DTH,
so far I only have one problem, I like to use color loop function.
When I try it on single device, only 50% chance it works, 50% it will stuck on blue.
When I combine 6 bulbs, then it just turn yello/orange, and stay there forever.
I’ve experienced the same behavior. Add a wait (5 or 10 seconds) after your initial loopOn() followed by another loopOn(). That seems to address it for me.
I’d like to sync up multiple bulbs without resorting to CoRE. Using a SmartApp, I have all the color/colortemp, level, on/off features working except the looping, pulse, and blink. I am doing this by subscribing to events from one light, and passing the values on to the others.
Is there a way to send the loopOn() command from a smartApp? or is that impossible because it is not part of any compatibility set?
Sorry if this is a dumb question, but I’m a novice with this stuff.
Thanks for the post. My bulb actually stopped working out the blue soon after my above post, only had one for testing. However I think it was actually all fixed with .18 Hub f/w update a while back but still good to know that it works.
Is it possible to make the color loop the default when the bulb is turned on by chance? When I click “save as default” it saves the color it’s currently on and not the mode.
I’m trying to store all of a bulb’s attributes to variables, but the color attribute (string) doesn’t seem to be working. Is this an issue with the DTH? I noticed that “colorName” is absent from the Current States list if I use your device handler:
If I go back to the Zigbee RGBW handler, colorName is on the list, but I still can’t get it to log the string in a variable, and, interestingly, the tile in ST only updates the name for whites. If I set it to green, it still says “soft white” for example.
And here’s my log, note that there should be 6 values, and only 5 are present. Color is missing.
Ultimately what I’m trying to do is determine if a bulb is currently using a color, or if it’s a shade of white. The color name would be extremely helpful.
Hi George, thanks for puttting this dth out it has been very helpful for me. Like many others here I am trying to use it with webcore and I was curious if there is someplace I could look to see what each of the functions exposed to webcore actually do? For instance when setting up a lighting piston I select on of my osram bulbs and I have the option to turnoff which is pretty self explanatory but, then there are functions like “toggle” or "pulseOff"
Instead of flooding the forum with a different question for each I thought it would be helpful if you could point this novice to some documentation?