I’m trying to build a very simple page to get vera devices statuses through http calls (local network) but I’m getting stuck at the first call using JQuery’s getJSON.
the below code gives me "Uncaught SyntaxError: Unexpected token : " in Chrome and “Invalid Label” in FireFox. I suspect the json data is not being interpreted correctly.
Any hints are appreciated.
$.getJSON(‘http://192.168.0.2:3480/data_request’,'id=lu_sdata&timeout=60&minimumdelay=2000&callback=?’,function(data){…});
device: Vera2
firmware: 1.1.1047
Thanks.