csteenwyk Posted 23 hours ago Posted 23 hours ago Are Hue scenes supported? I am trying to use "Set Hue Scene" on a group, and it keeps giving me "does not seem to have scene index X" in the log Quote
Geddy Posted 8 hours ago Posted 8 hours ago @csteenwyk do you have scenes setup in Hue? The way I'm seeing this is in a program it's calling on a "Built-in scene ##" (Built in 00-10 and Custom scene 11-30). I just tried a test program and it seemed to work. I don't know a way to tell what it is refencing as a scene, but the log did appear to tell it to run the "Nighttime scene 2024-11-22 11:59:15.847 Command udi_interface INFO node_types:setHueScene: Bedroom requested scene: Nighttime (0), hue scene id: YApGxlZ5UNH4cTc My program was very simple and I just hit "run then" so didn't have an if or else. Note: The "Bedroom" is a group in Hue so it did turn several lights on when I ran "Then". huetest - [Not Enabled] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Set '~NodeServers / ~Hue / Bedroom' Set Hue Scene Built-in scene 00 Else - No Actions - (To add one, press 'Action') In the hue app I guess the Automations might be scenes, but I don't have any of them called "nighttime". And there aren't any nodes for scenes. Have you tried setting a group or maybe making a scene in IoX and adjusting it that way rather than through the plugin? Since this plugin isn't being updated and wasn't using an official API it's possible it's a little outdated and doesn't work exactly correct. Quote
csteenwyk Posted 5 hours ago Author Posted 5 hours ago @Geddy I do have scenes created, but within the "room" I have a few "My Scenes" defined. I do see them listed out during discovery, but none of the "Set scene" calls seem to actually find the scene. I was trying to poke around in the python to understand what the node thinks of as a "Scene". Perhaps what I think is a scene and what the node things is a scene are different, or there is a small translation bug somewhere in the node code. I may take some time to dig into the source a bit this weekend and see if I can figure it out. My use case is to control the light colors via scenes defined in the Hue app/hub. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.