Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 3 made on Wednesday March 6, 2024 at 01:33
mpg7321
Regular Member
Joined:
Posts:
June 2020
114
I am trying to get and parse out the feedback from my Philipse Hue system. I have not tried Postman,
So I can do this command from a web browser and get data back,

http:[slash,slash]192.168.1.18:80/api/Y1Vpd5qwJVnjsRIdxFThJR0jxcrnZaEvrQVe0NYM/lights

I have tried to do an "info" dump and received no information. I did this by removing,
var bright = info.split('"3":\{"state":\{"on":true,"bri":').pop().split(',"alert"')[0];
and changed the last line to be
CF.widget("Hue_Level").label = info;

Right now I am not worried about parsing the data, work on that later.

This is an example I use in another program "Tablet Based" interface to get the feedback,
GET /api/Y1Vpd5qwJVnjsRIdxFThJR0jxcrnZaEvrQVe0NYM/lights HTTP/1.1\x0D\x0AHOST:{Set Hue IP}:80\x0D\x0A\x0D\x0A
Also I do not know where and how to do a "system print" for rdata..

I do have a close socket at the end, it just didn't realized it wasn't in the copy and paste.

Last edited by mpg7321 on March 6, 2024 13:13.


Hosting Services by ipHouse