OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › OpenSprinkler Interval Program now available for OSPi! › Re: Re: OpenSprinkler Interval Program now available for OSPi!
Hi all, I’ve been lurking around here for a couple of weeks now, getting very excited about the possibilities of a Pi-powered sprinkler system. Well, I got my Pi as a Father’s Day gift and have started to set it up, trouble-shooting issues with SD cards, power supplies and monitors. Finally I have a stable Pi so I proceeded to setting up OSPi but I immediately ran in to an issue.
I downloaded the latest OSPi from github (the instructions refer to ospi.tar.gz that doesn’t exist so I downloaded the latest version (OSPi-jun19-13.zip) and unzipped it (unzip OSPi-jun19-13.zip). I checked the directory structure under /home/pi/OSPi and everything looked to be correct. Permissions were rw-r–r– for ospi.py so I made it executable rwx-r-xr-x but that didn’t fix my problem….
Running ‘sudo python ospi.py’ worked and i was able to access the web page on port 8080. However….selecting the options page and trying to save changes just displayed ‘unauthorized’
The app spat out a couple of errors. I suspect the first is the one thats causing the issue.
192.168.0.7:62687 - - [22/Jun/2013 12:30:41] "HTTP/1.1 GET /co" - 401 Unauthorized
192.168.0.7:62687 - - [22/Jun/2013 12:30:42] "HTTP/1.1 GET /favicon.ico" - 404 Not Found
192.168.0.7:62688 - - [22/Jun/2013 12:30:42] "HTTP/1.1 GET /apple-touch-icon-precomposed.png" - 404 Not Found
Did I do something wrong or miss a pre-requisite step?
Thanks to everyone here – this looks to be a great product and well-supported!