Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hue Lighting Control
(12-09-2019, 06:32 PM)Dean Roddey Wrote: Yeh, it doesn't support scenes or rooms. The problem is that the Hue interface is horrible. You have to poll it and it returns a lot of data per thing polled, and it's hard as it is to keep decent latency once you get a reasonable number of devices connected. I'm a little iffy about adding even more. People have been begging them to update the protocol to support some sort of async reporting, to avoid the massive overhead of all that polling. And it's even more stupid that just to get the current state of something you have to query all the information about it. It's just majorly stupid.
Okay.  Understand the point about polling and I’m willing to live with slow or maybe even no updates on status.  The problem is that there is currently no way to control scenes or rooms.  Controlling 100+ lights individually is also far from optimal.  

If you can fix scenes, and implement rooms on/off, and maybe give a slow polling on rooms, that would provide a reasonable solution.  Even if no polling i’d be happy.
I don't know anything about Hue, but perhaps the Logic Server/driver might help.  You could put all of the lights of a room as a field in the logic driver, and then based on what it is showing, control the various lights in a room, i.e. on or off.  I use this at times for the ISY lighting driver.
I can look at at least write-only support for setting rooms. That wouldn't make things any worse. A slow poll is ultimately sort of semi-useless, since you can never depend on the state in CQC being correct.
Dean Roddey
Explorans limites defectum
Write only on Rooms and Scenes would be perfectly fine. Currently in the driver scenes is setup as enum and the list is not populating correctly. What I’m really after is just being able to set the rooms and scenes in the Hue app, then being able to trigger them via the driver.
If the scenes aren't populating then they may have changed something. I'd need to get access to one to test that and see what is going on.
Dean Roddey
Explorans limites defectum
(12-10-2019, 03:46 PM)Dean Roddey Wrote: If the scenes aren't populating then they may have changed something. I'd need to get access to one to test that and see what is going on.

Hi Dean,

I'm happy to assist however needed.  Here is a link to the latest API guide.  Please note the driver in its current state appears to you enum the name of the scene.  This is not descriptive enough since you can have multiple rooms with the same scene name.  To set a scene you need the room number and scene number.
It would be great if we could toggle scenes! The Hue app makes it easy to create them so no need for CQC to have that functionality.
Hi Dean,

Any feedback on status of fixing the Hue driver to properly work with rooms and scenes? For any sizable install, the current setup is unworkable. I understand the protocol is not ideal for generating real-time status, but for control, it appears it would only take some minor modifications to support room and scenes. I also see that other users have had similar requests for Hue support.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sunsetter Awning with RGBW Lighting and CQC kfly 2 734 07-29-2021, 12:55 PM
Last Post: Dean Roddey
  RadioRA2 vs CQC for Lighting Scenes gReatAutomation 1 883 07-10-2020, 12:16 PM
Last Post: Dean Roddey
  Outdoor Landscape Lighting and CQC gReatAutomation 18 6,878 06-01-2020, 07:22 PM
Last Post: rhosch
  Jandy Pool Control avtexan 20 8,889 06-07-2018, 01:09 PM
Last Post: Dean Roddey
  global actions and lighting groups jkmonroe 11 7,593 06-02-2017, 08:27 PM
Last Post: Dean Roddey
  Use single On/Off/Slider to control group jkmonroe 3 3,142 08-06-2016, 09:28 AM
Last Post: pinballmark
  Help figuring out projector serial control! Deane Johnson 19 8,578 07-30-2016, 11:08 AM
Last Post: Deane Johnson
  Harmony Hub Device Control jkmonroe 6 4,881 07-03-2016, 02:36 PM
Last Post: potts.mike
  how deep is your (echo voice control) love? IVB 197 50,879 05-23-2016, 08:47 AM
Last Post: Dean Roddey
  Problems with App Control in 4.8.3 update MikeA 2 2,873 04-07-2016, 07:29 AM
Last Post: MikeA

Forum Jump:

Users browsing this thread: 1 Guest(s)