Just getting started with the whole IObridge thing here, so please excuse the newbie question.
I am a software AND IObridge newbie. I am trying to get a simple webpage running to fetch data from my iobridge, so I copied the example from
http://www.iobridge.net/wiki/api/data-feed-apiMy thought was that I could copy the code for the temp meter source code example, and replace the API key in the source code with my own, and then move on from there,
here is the original line...
function checkTemp() {
$.getJSON("
http://www.iobridge.com/api/feed/key=0BosKdymNbB3LyiFYUVI&callback=?",
function (data) {
updateGraph(data.module.channels[0].AnalogInput);
});
the example works fine as one would expect.
here is the line I modified....
function checkTemp() {
$.getJSON("
http://www.iobridge.com/api/feed/key=serF8rpNLcxZ0CZv6e&callback=?",
function (data) {
updateGraph(data.module.channels[0].AnalogInput);
});
But it produces a blank screen.
The temperature chart example behaves the same way, with the text for the page being displayed, but no data fetched from the module. WHat am I missing?
Any help appreciated.