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 4 made on Tuesday September 8, 2020 at 18:16
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,996
Are you using the Philips HTTP Library? If so, it's pretty simple.

Use the getHTTP function. You will have to edit your original URL below to supply the correct IP address. I presume you have a widget on current page with a tag of "MyLabel".

var myURL = "htt_p://XXX.XXX.XXX.XX:85/HomeSeer_REST_API.aspx?function=getdevicestatusvaluebyid&m1=2012&m2=value";
// remove the underscore in htt_p above.
function installResponse(textualResponse) {
GUI.widget("MyLabel").label =textualResponse;
}

com.philips.HttpLibrary.getHTTP(myURL, installResponse);

Last edited by Lyndel McGee on September 8, 2020 22:17.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse