Forum Replies Created
-
AuthorPosts
-
November 4, 2013 at 3:50 am in reply to: OSPi Pre-configured SD Card Image available for download #25738
declanslaterParticipantThanks Ray! Very Nice!
September 12, 2013 at 3:07 am in reply to: Python Interval Program now has "Ignore rain" option #25528
declanslaterParticipantThanks for all the help. That got it fixed…
Sorry to be a bother, but whenever I tick one of the boxes to enable the skip rain thing, I get this…
It does leave the boxes checked when I go back into the page, I haven’t checked it yet to see if works, just wanted to run it by you. Thanks!at /cs list assignment index out of range
Python /home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/ospi.py in GET, line 700Web GET http://192.168.1.66:8080/cs
Traceback (innermost first)
/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/ospi.py in GETgv.sd = 0 …
▶ Local vars
/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/web/application.py in handle_classreturn tocall(*args) …
▶ Local vars
/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/web/application.py in _delegatereturn handle_class(cls) …
▶ Local vars
/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/web/application.py in handlereturn self._delegate(fn, self.fvars, args) …
▶ Local vars
/home/pi/demos/OpenSprinkler
Pi/software/demos/interval_program/OSPi/web/application.py in processreturn self.handle() …
▶ Local vars
Request information
INPUT
Variable Value
i0 ’14’
i1 ‘0’
m0 ”
m1 ”
pw ‘opendoor’
s0 ‘S01’
s1 ‘S02’
s10 ‘S11’
s11 ‘S12’
s12 ‘S13’
s13 ‘S14’
s14 ‘S15’
s15 ‘S16’
s2 ‘S03’
s3 ‘S04’
s4 ‘S05’
s5 ‘S06’
s6 ‘S07’
s7 ‘S08’
s8 ‘S09’
s9 ‘S10’
COOKIES No data.
META
Variable Value
app_stack [<__main__.OSPi_app instance at
0xb887d8>]fullpath
u’/cs?s0=S01&s1=S02&s2=S03&s3=S04&s4=S05&s5=S06&s6=S07&s7=S08&s8=S09&s9=S10&
s10=S11&s11=S12&s12=S13&s13=S14&s14=S15&s15=S16&pw=opendoor&m0=&i0=14&m1=&i1
=0′headers []
home u’http://192.168.1.66:8080′
homedomain u’http://192.168.1.66:8080′
homepath u”
host u’192.168.1.66:8080′
ip u’192.168.1.196′
method u’GET’
output u”
path u’/cs’
protocol u’http’
query
u’?s0=S01&s1=S02&s2=S03&s3=S04&s4=S05&s5=S06&s6=S07&s7=S08&s8=S09&s9=S10&s10
=S11&s11=S12&s12=S13&s13=S14&s14=S15&s15=S16&pw=opendoor&m0=&i0=14&m1=&i1=0′realhome u’http://192.168.1.66:8080′
status ‘200 OK’
ENVIRONMENT
Variable Value
ACTUAL_SERVER_PROTOCOL ‘HTTP/1.1’
HTTP_ACCEPT
‘text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8’HTTP_ACCEPT_ENCODING ‘gzip, deflate’
HTTP_ACCEPT_LANGUAGE ‘en-US,en;q=0.5’
HTTP_CONNECTION ‘keep-alive’
HTTP_DNT ‘1’
HTTP_HOST ‘192.168.1.66:8080’
HTTP_REFERER ‘http://192.168.1.66:8080/vs’
HTTP_USER_AGENT ‘Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:23.0) Gecko/20100101 Firefox/23.0′PATH_INFO ‘/cs’
QUERY_STRING
‘s0=S01&s1=S02&s2=S03&s3=S04&s4=S05&s5=S06&s6=S07&s7=S08&s8=S09&s9=S10&s10=S
11&s11=S12&s12=S13&s13=S14&s14=S15&s15=S16&pw=opendoor&m0=&i0=14&m1=&i1=0′REMOTE_ADDR ‘192.168.1.196’
REMOTE_PORT ‘62614’
REQUEST_METHOD ‘GET’
REQUEST_URI
‘/cs?s0=S01&s1=S02&s2=S03&s3=S04&s4=S05&s5=S06&s6=S07&s7=S08&s8=S09&s9=S10&s
10=S11&s11=S12&s12=S13&s13=S14&s14=S15&s15=S16&pw=opendoor&m0=&i0=14&m1=&i1=
0′SCRIPT_NAME ”
SERVER_NAME ‘localhost’
SERVER_PORT ‘8080’
SERVER_PROTOCOL ‘HTTP/1.1’
SERVER_SOFTWARE ‘CherryPy/3.2.0 Server’
wsgi.errors
‘,
mode ‘w’ at 0xb6c940d0>wsgi.input
wsgi.multiprocess False
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme ‘http’
wsgi.version (1, 0)
September 11, 2013 at 7:22 am in reply to: Python Interval Program now has "Ignore rain" option #25525
declanslaterParticipantFantastic! Thanks for doing that!!
One little thing I’m running into, I was already running on 8080 for OSPi. The git update said something about dependencies so I did a git stash then git pull. Now the OSPi webpage is not availible, and Samer’s program says system disabled.. help?
Here is what I get:
pi@opensprinkler ~/OSPi/OSPi $ sudo python ospi.py
Starting main loophttp://0.0.0.0:80/
Traceback (most recent call last):
File “ospi.py”, line 1008, in
app.run()
File “ospi.py”, line 1003, in run
return web.httpserver.runsimple(func, (‘0.0.0.0’, port))
File “/home/pi/demos/OpenSprinkler Pi/software/demos/interval_program/OSPi/web/httpserver.py”, line 157, in runsimple
server.start()
File “/home/pi/demos/OpenSprinkler Pi/software/demos/interval_program/OSPi/web/wsgiserver/__init__.py”, line 1753, in start
raise socket.error(msg)
socket.error: No socket could be created
pi@opensprinkler ~/OSPi/OSPi $
declanslaterParticipantI’m in the same camp! PLEASE ADD! This has been on the Todo list for like what, 9 months?
Thanks for listening Ray!
declanslaterParticipantHave you tried testing the wires in the gpio cable from pin to pin? I had one that had a bad wire, drove me nuts till I figured it out…
declanslaterParticipantAny screenshots you could post? Is the weather delay running?
declanslaterParticipantI found 1 pin on the cable that links the pi to the opensprinkler board was bad… That was it, fixed it. Now it works again.
Never mind!
declanslaterParticipantWhen I enter this line to install libsqlite3-dev, I get this error…
Linux opensprinkler 3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Aug 3 00:52:31 2013 from 192.168.1.38
pi@opensprinkler ~ $ sudo apt-get install libsqlite3-dev build-essential
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
Suggested packages:
sqlite3-doc
The following NEW packages will be installed:
libsqlite3-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 537 kB of archives.
After this operation, 1,175 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libsqlite3-dev armhf 3.7.13-1+deb7u1 [537 kB]
Fetched 537 kB in 1s (386 kB/s)
Selecting previously unselected package libsqlite3-dev.
dpkg: unrecoverable fatal error, aborting:
files list file for package ‘libsemanage-common’ is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
pi@opensprinkler ~ $
—-
declanslaterParticipantSo, hey…
I’d really be happy to pay someone some money to post a working updated image or sell me an SD card that has the latest updates, logging working, and runs the new mobile web app written by Samer Albahra (with clear instructions on how to load the image also). PLEASE HELP!
This really needs to be simpler…
Thanks!
Declan Slater
declanslaterParticipantthat would be great! Where do you think I could find the image that you are talking about?
-
AuthorPosts