OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Interval 2 program issues Re: Re: Interval 2 program issues

#27300

Ramias
Participant

I just got my OSPi (Actually it is still in the mail but I am playing with the software on my Raspberry Pi). I got this to work with my MCV Vera.

MCV Vera calls the main URL and looks for a HTTP 200 response and certain variables in the HTML.

With the 1.8.3 version of the Interval software it works and returns this. It is looking for the tz, en, rd etc variables and then the var snames.





var baseurl="http://192.168.0.192:8080"
var ver=183,devt=1404902848;
var sd = {
nbrd : 1,
tz : 28,
en : 1,
rd : 3,
mm : 0,
rdst : 1404913633,
mas : 0,
urs : 1,
rs : 1,
wl : 100,
ipas : 0,
nopts : 13,
loc : '22310',
name : 'OpenSprinkler Pi',
ir : [0]
}

var sbits=[0,0],ps=0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0;
var lrun=[0,0,0,0];
var snames=;
var tempunit="C";
var cputemp=47.6; var tempunit="C";

The 2.0.1 version of interval returns a 303 redirect code then a 200 but it only shows this:


// Variables set by ospi.py
var devt = 1404922267*1000;
var tz = 48;
var timeFormat = 1;
var cputemp = "44.4";
var tempunit = "C";

jQuery(document).ready(function(){
jQuery("#password").focus();
});

Any ideas where to start? Does Interval 2 keep the same variable names it just doesn’t show them in the HTML? Would it be pretty simple to add in some HTML to have those variables appear?