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 15 made on Thursday September 10, 2020 at 12:52
Fischi
Long Time Member
Joined:
Posts:
January 2011
94
On September 10, 2020 at 11:33, Lyndel McGee said...
A quick inspection of your code visually looks good.

Yes, you can use that JSON library file. It loads faster than the one you download from Douglas Crockford's github site.

Note that the processResponse I provided above is only an example. You will need to run the request from a web browser to be able to determine what devices are returned and the conditions you will need to create to assign your labels.

Lyndel

Lyndel,
I didn't get it running.
The request from my browser works.
After starting the Pronto script console I get :

ProntoScript error: SyntaxError: missing ( before formal parameters
Offending page script: Tag: 'HOME'
Offending line #8: "{
"
Where is the issue ?

Fischi


Hosting Services by ipHouse