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.