Page 1 of 1

Philips Hue Feedback

Posted: Sat Nov 04, 2017 8:53 am
by starwarsmike

Has anyone successfully managed to get Philips hue feedback working? for some reason I just can get mine working?

I can send a command no problem to all my lights, using the Hue debug I get this response each time I turn light on or off.

"success": {
"/lights/1/state/on": false

So, In feedback I setup "feedback matches specific data" = "/lights/2/state/on": false. Setup up a standard label (with text saying light off)l and attached label to a button in text section dynamic label. I've also tried "feedback matches a pattern"

In feedback response terminator i have tried \x0D & \x0A and both, nothing works

Any help appreciated

Re: Philips Hue Feedback

Posted: Sat Nov 04, 2017 9:44 pm
by cv27
Just a hunch but have you tried to debug with Hercules or whatever to visualize what the Hex terminator actually is in the Hue responses?

Just a wild guess, but that double quote, although legal AFAIK, might cause issue. You may want to replace it with a dot.

Re: Philips Hue Feedback

Posted: Mon Nov 26, 2018 10:24 pm
by AKWillows
Did anyone get this working?

Re: Philips Hue Feedback

Posted: Sun Feb 10, 2019 4:51 am
by mpg732
response terminator I have }

Command used to get all light info

GET /api/Y1Vpd5qwJVnjsRIdxFThJR0jxcrnZaEvrQVe0NYM/lights HTTP/1.1\x0D\x0AHOST:\x0D\x0A\x0D\x0A

If I remember correctly I believe every time you send a command to change light you will get a response.

Re: Philips Hue Feedback

Posted: Sun Feb 10, 2019 11:16 am
by AKWillows
Thanks. Will give it another go!

Re: Philips Hue Feedback

Posted: Wed May 15, 2019 7:13 pm
by AKWillows
Hi - still struggling with the feedback.. it's just come back to the front of my mind so thought I would try again!!

I absolutely get the command to send... and I can see the response format using the Hue API debug tool. I am successfully using the commands to control the lights, but what I can't do is to get the 2-way feedback configured properly in Demopad.

What I am trying to achieve is... if the feedback says light 1 is on, then set a flag so that I can highlight the "on" button. Likewise for "off". And then repeat for each of my lights!

So, can anyone help with the format they have used in the Demopad 2-way feedback section in order to capture the correct status? I think the response Hue send is still in the same format as @starwarsmike originally posted... so what would the capture phrase me in the two-way feedback?

Re: Philips Hue Feedback

Posted: Sat Dec 19, 2020 10:38 pm
by Greggus44
I'm looking at this myself so if anyone has any tips I'd appreciate it.