danbutter Posted May 23, 2019 Posted May 23, 2019 Running polyglot v2 with the Hue nodeserver and in the AC I can see the status of the bulbs. I have two lamps on my headboard and a 6 button KPL in my bedroom where one of the buttons toggles a scene. I'm trying to turn off that scene (MasterHeadboardLights) when the bulbs are (both) off. I made a program that says: MasterHeadboardSceneOff - [ID 002A][Parent 0001] If 'Hue Bridge / Left Light' Status is 0.0000% And 'Hue Bridge / Right Light' Status is 0.0000% Then Set 'Upstairs / MasterHeadboardLights' Off Else - No Actions - (To add one, press 'Action') But it doesn't work. What am I missing? I can use my phone to turn the scene on and off and see the KPL key light up and go dark. Running 5.0.14. Any thoughts? Thanks
larryllix Posted May 23, 2019 Posted May 23, 2019 19 minutes ago, danbutter said: Running polyglot v2 with the Hue nodeserver and in the AC I can see the status of the bulbs. I have two lamps on my headboard and a 6 button KPL in my bedroom where one of the buttons toggles a scene. I'm trying to turn off that scene (MasterHeadboardLights) when the bulbs are (both) off. I made a program that says: MasterHeadboardSceneOff - [ID 002A][Parent 0001] If 'Hue Bridge / Left Light' Status is 0.0000% And 'Hue Bridge / Right Light' Status is 0.0000% Then Set 'Upstairs / MasterHeadboardLights' Off Else - No Actions - (To add one, press 'Action') But it doesn't work. What am I missing? I can use my phone to turn the scene on and off and see the KPL key light up and go dark. Running 5.0.14. Any thoughts? Thanks I have none now but... Can you use "switched" instead? Can you use "Off"? Can you use < 1% ? Why so many decimal places? I suspect ISY is showing you a rounded off value and never really matched 0.0000% BTW: Your AND specifies you must have both off. This will not work with "Switched" triggering. Two devices are never triggered at the same time with ISY logic.
danbutter Posted May 24, 2019 Author Posted May 24, 2019 (edited) Well I feel silly. I looked at polyglot and it said connected, but it wasn't. I restarted it and the program worked. I tried a couple different things and I stopped on less than 1% when I thought of restarting polyglot, but I think my original program would work. Just FYI the decimal places were the only option.... I didn't add them all. Thanks for the reply. Edited May 24, 2019 by danbutter 1
Recommended Posts