OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Python Interval Program update Oct. 4 2013 Re: Re: Python Interval Program update Oct. 4 2013

#25641

KanyonKris
Participant

As I read into what Captn Avenger noted, it may be that it doesn’t work when run the first time but works fine thereafter. If you’d like to test this, do:

sudo python ospi.py

Use your web browser to connect and see if the Options page is there or not. Be sure to force the browser to reload pages, in Chrome, and I think most browser, do this by holding down the Shift key then click on the refresh button/icon/whatever.

If the Options page is blank, stop the sprinkler program by typing Ctrl-C which should dump you back to the command line.

Now run the sprinkler program again by using the same command as above. Tip: press the up arrow to access previous commands, then press enter when you see the one you want.