OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › OpenSprinkler Interval Program now available for OSPi! › Re: Re: OpenSprinkler Interval Program now available for OSPi!
Andrew
I’ve been experiencing the hangs too. In my case it seems to be at the end of longer waterings like 30 minutes or 3 hours rather than shorter 3 minutes waterings. I’ll let you know if I still see a problem.
Also a very minor thing, but I have added a favicon to the code so I can distinguish the OSPi more easily amongst my tabs. I added the following to the urls
'/favicon.ico', 'favicon',
'/apple-touch-icon-precomposed.png', 'appleicon',
and then this later in the script:
class favicon:
"""redirect to /static/favicon.ico"""
def GET(self):
raise web.seeother('/static/favicon.ico')
return
class appleicon:
"""redirect to /static//apple-touch-icon-precomposed.png"""
def GET(self):
raise web.seeother('/static/apple-touch-icon-precomposed.png')
return
I’ve personally used the water drop icon from http://www.favicon.cc/?action=icon&file_id=609025 which has a Creative Commons, no attribution license, but I haven’t created the apple icon yet.