Installation instructions and code can be found here:
I would like to extend a huge thank you to @infofiend for allowing me to work on HGLS, which led to this project, as well as to @Kristopher for allowing me to continue development on Circadian Daylight.
Why does Hue Advanced (Connect) have so many Device Handlers?
I know that some people may want to use Hue Advanced (Connect) but do not use Circadian Daylight, in which case they would not want to have the Circadian Daylight buttons on all of their devices. Due to platform limitations, it is not currently possible to dynamically show/hide tiles so the only solution is duplicate device handlers.
Do I need to install all of the Device Handlers?
From a technical standpoint, you do not need to install the -CD- device handlers if you are not using Circadian Daylight integration, and conversely you do not need to install the non- -CD- device handlers if you are using Circadian Daylight integration. However, for ease of support and upgrades, I strongly suggest installing all of the device handlers.
How do I switch between Circadian Daylight integration being enabled and disabled?
There is an undocumented method for changing device handlers programmatically, so simply toggle the Circadian Daylight setting in the Hue Advanced (Connect) SmartApp!
How can I report a bug or request a feature?
The best way to officially report a bug or feature is to add an issue to the GitHub repository, including the Hue-Advanced label. For a bug, also include the bug label, and for a feature request include the enhancement label.
@Keo, I have adding scene support added under issues already, however I don’t use scenes personally so I’m not going to make any promises about when support will be added or what features will be included.
It’s a bit hard for me to make suggestions for replicating a feature that I don’t use, but I would thing that using virtual switches with something like Smart Lightning, Rule Machine, CoRE, etc. would be able to basically provide the exact same functionality.
I just merged a few things from my development branch, including some changes from the default Hue (Connect) SmartApp, as well as the ability to automatically change device handlers when enabling and disabling Circadian Daylight integration. I recommend that everyone update (SmartApp and Device Handlers) and let me know if you have any issues!
Does this require the Hue hub or will this connect the bulbs directly to ST?
Right now Im using Sticks18 Advanced Zigbee Hue bulb device type and everything appears to be working well, but may (in the future) want to incorporate Circadian lighting. Ive only got a Bloom and some White light Hue bulbs (non-temp adjustable, but dimmable) that would be controlled by this.
Requires the Hue hub. To be honest, I personally would buy a Hue hub for ~$25 off ebay rather than connecting the bulbs directly to ST…at least with the hub you have a fallback for when ST has platform issues. I know everyone has their own reasons and use cases, but I don’t really see the advantage of bypassing the Hue hub.
That being said, Circadian Daylight should work fine with your bulbs (as long as the capabilities are properly defined in the device handler) for the basic functionality, but you won’t have the Circadian Daylight toggles in each device.
I have a question regarding the integration of this smart app with the circadian daylight app.
On my individual bulb screens in the app I have the buttons that can turn on and off the individual features of the Circadian Daylight app and if I tap on them I see a notification in the recent activity log that that mode has changed however the actual button doesn’t change from on to off…
I’m wondering if there is something incorrect in my setup or similar. I was using the circadian daylight app prior to installing my hue bulbs, my smartthings accont is linked to github, I have linked to the repositories, and my apps are up to date.
I’m just curious if there is something wonky that I’m missing in my setup.
If you open one of your devices from the “My Devices” section in the IDE do you see cdBrightness and/or cdColor under states? If you try the toggles for that device do those variables under states show up or change values?
In the IDE on my devices it does show on the My Devices page for my light however and when I tap the button in the app it toggles the state in the IDE however it isn’t reflecting that state change on the page in the app.
I just checked my device handler and it does have the code above.
I don’t know that I have ever seen the CD tiles say “Working” before.
I am wondering if it has to do with how I have the Circadian App setup in that do have all of my hue bulbs included in the list of color changing bulbs the Circadian daylight app… along with it being selected in the Hue Advanced (Connect) SmartApp and wondering if the Circadian Daylight app is overriding the Adv Connect app?
It’s not a conflict with Circadian Daylight, it only checks the values of those state variables. What device is the SmartThings apps installed on, iOS? Do you have the latest version of the SmartThings app?
Out of curiosity, have you tried switching either toggle off, then completely exiting the SmartThings app (swiping it away from the recent apps) and then opening it up again? Also, can you tell if Circadian Daylight is behaving properly in spite of what the tile says (i.e. if under the device in My Devices the state says cdColor: off, does Circadian Daylight properly ignore that device even though the device tile says Circadian Color On)?
By the way, the tiles should switch to “WORKING” as soon as they are tapped, then change to the proper state one it is set.