React on Philips Hue light state


#1

Hi guys,

I am really stuck at something. I would like to create a task based on the state of my hue lights. To be more precise it should be triggered by a hue scene. So e.g. if I turn on scene “bright” it should trigger my task.

So far I tried to define my scene by level and color temperature. Level seems to work sometimes…but not very reliable. Color temperatur doesnt work at all…I guess I have the wrong values there…or it doesnt work as a trigger. “Switch” of course always works…but I dont always switch on lights when I change a scene…

It is sooo hard to create a piston based on light states…I hope you can help me!

Best regards


#2

Hi there,
Please post the current non-working piston…
Lets see what you got there…


#3


#4

I just tested this one and worked,

a) Just make sure that the level was less than 100 before the test (or executing of the piston)
b) are you normally getting PUSH notifications? I tried SMS

38%20PM


#5

Ok thanks. You helped me identify my first problem. If I have a scene set on my switch and then turn it off it probably wont turn my bulb level down. So when I switch it back on to the the same scene mode there is no change in level. However this is how my hue dimmer switch works…so can I change that in webcore? Maybe “changes to or is” set to 100%?..


#6

If you go with IS SET TO 100, you will constantly get warnings:) Because it’s a conditions and as long condition validates true, the piston will re-fire (caos)

I’d say keep everything in webcore. Using cross platforms can create conflict along the way.
If you can see the switch in Webcore, that can be helpful.


#7

I agree with Ike. I would drop the Hue Scenes, and let webCoRE handle all of your fancy lighting scenes.
(the only thing that won’t work well here in webCoRE is fading bulbs)