Awesome! What will we have to do to update the device types?
To our official Device Type Handler? Remove the devices, uninstall any custom Device Type Handlers you installed, then re-pair. It should pair as a ZigBee RGBW device.
If it’s already paired as a “ZigBee RGBW Bulb” device then nothing needs to be done and it will begin using the updated version of the device type?
I am using 6 of the color temp tunable RT5/6 bulbs and 2 of the color temp tunable A19 bulbs.
I am using:
- Device Type: ZigBee White Color Temperature Bulb
- Virtual Dimmer: Sticks18 Virtual Color Temp v1
- Smart App: wackware : Dim With Me - Plus Color Temp (From your GitHub).
The only thing that I have been able to use to change color temp for a group of bulbs is Sticks18 Color Temp via Virtual Dimmer, but this requires creating two smart apps for each set of bulbs to control them fully. One to dim and turn on/off, the other to set color temp. I suspected the problem was the device type I was using, but if I use your device types, which work well, Circadian and other smart apps don’t show them in the list.
Ultimately, I am looking to create groups of bulbs to put into my ST Rooms. I plan on buying another 15 bulbs next week, as I love these color temp tunables.
Thanks for the help
Got it. I need to update my virtual device and SmartApp. They were both created before Color Temperature was an official capability, so I was using my own custom commands and attributes.
I can make the update later today. Once I convert them over, you should be good to go.
These updates have been made as well as updating the virtual color temp dimmer to use a custom range slider 2700-6500, so no conversion. I updated the kelvin value tile to use the background color to approximate the white shade.
Here are the links:
I have installed the virtual switch and the smart app. There are no errors, the performance is flawless, and I couldn’t be happier. Post here or PM me to let me know how I can buy you a cup of coffee (or a few) for the time invested in these wonderful bits of code.
Thanks for the offer, but knowing it’s working well is good enough for me! Let me know if you do run into any issues.
Is there a way to setup multiple ‘scenes’ for a single group of lightify bulbs? What I’m thinking is to setup 2 instances of a Virtual Lightify switch and Dim with Me app for the same group of bulbs - 1 virtual switch is on a cool temperature, then the other virtual switch is on a warm temperature. Will this work?
I don’t think you’d need two instances for this. The Virtual Lightify device has the same controls as the physical ones, so to convert from one ‘scene’ to the other, you would just drag the color temp slider to the desired temperature and the group of bulbs will automatically adjust to that color temperature.
If you’re trying to “trigger” this at a particular time of day or via an automation, you should check out Rule Machine or Circadian Daylight SmartApps, which are the two best options for automating color temperature bulbs.
I should add: If you had two instances setup, they might fight each other. Basically whenever you change something in the Virtual Lightify device, it will update that same change in the grouped slave bulbs. If you turn ‘on’ the master, it will turn ‘on’ the slaves. Change color temp, it will change color temp on the slaves, etc… It’s important to keep in mind that it only sends the same commands to the slaves. For instance, if your slaves are at 3000K because you changed them manually at some point, and you turn ‘on’ the master and it’s at 2700K, it will only send the ‘on’ command to the slaves. The slaves will not adjust their color temp unless you adjust the master.
But is there a way to make the master send a Color Temp command every time it turns on (or make the app execute a color temp change when the master turns on)? Or do you mean there’s currently no way to setup the bulbs similar to a hue tap. e.g. 2 wall switch buttons are each assigned a different color temp?
What I’m looking for is wall switch functionality to be able to change the color temp - I’m also thinking, would it be possible to remap a smart wall dimmer to change color temp instead of dim levels?
You could code it that way, but for initiating scenes on multiple bulbs via a wall switch, you’d probably be better off using Rule Machine. So many more options there.
What wall switch are you planning to use?
The Enerwave SC7. So if I use 1 Virtual Master switch to control my group of bulbs, can I use momentary switches to trigger my scenes under Rule Machine?
Absolutely. What you probably want to do is use the virtual master when you want to manually adjust the group with the mobile app, not to trigger your scenes.
With the SC7 and Rule Machine, you won’t even need the momentary switches. You can link the button presses directly to triggering the ‘scene’ color temp on all your bulbs.
This will cut down on the latency because you won’t have multiple SmartApps in the middle.
Yes, same thoughts here on reducing latency.
Also, I’ve just setup 2 switches as a dimmer up and dimmer down in rule machine. One thing I found though - dimmer adjustments made through rule machine can make the virtual master and the lightify bulbs adjust below 0 or >100. When the virtual master or the bulbs are turned off with dimming level at <0 or >100, the bulbs will not turn on until the dimmer level is set between 0 & 100 (either manually using the slider or triggering dim up/down in rule machine).
You can add the following two lines of code to the setLevel() command before the if statements that sendEvents to prevent that.
value = Math.min(100, value)
value = Math.max(0, value)
That should cap the actual commands in the virtual device to keep it working.
Oh, I’m not that well versed in coding yet, but I’ll certainly try. The issue shows up both in the virtual master and the bulb device, so how do I do this if I’m using the official osram device handler?
I have 10 PAR 16 GU10 lightify bulbs connected to an Osram gateway and working perfectly. I have followed the instructions to pair the same bulbs with ST hub but the bulbs are not being discovered at all. As a last resort I may have to reset the bulbs as recommended. The switch off and on is not placing the bulbs in discoverable mode. Any suggestions on how to keep the bulbs paired to the osram gateway and also to smartthings at the same time?
You can’t have them paired to two hubs at the same time.