I get an internal server error when I try to run the auto program: - - [27/Jul/2014 23:16:58] "HTTP/1.1 GET /uap" - 303 See Other - - [27/Jul/2014 23:16:59] "HTTP/1.1 GET /auto" - 200 OK
precip_today_in 0.00
Traceback (most recent call last):
File "/home/pi/OSPi/web/application.py", line 239, in process
return self.handle()
File "/home/pi/OSPi/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/home/pi/OSPi/web/application.py", line 420, in _delegate
return handle_class(cls)
File "/home/pi/OSPi/web/application.py", line 396, in handle_class
return tocall(*args)
File "/home/pi/OSPi/plugins/auto_program.py", line 219, in GET
File "/home/pi/OSPi/plugins/auto_program.py", line 115, in runAutoProgram
if (t.day()%2)==0:
TypeError: 'int' object is not callable

You’ve done great work to get this going and I’d really like to try it out. Thanks for your effort.

I’ve since found that it will work if I turn off the restrictions (I had set it to Odd days only). I have a question about how it calculates the duration for the watering. I put in 1.2 inches per week and set every other day for watering. The system set the duration to 136 minutes for each sprinkler. It ran the scheduler starting at 136 minutes per sprinkler. I assumed it would divide this amount by the number of days in the week, for example – 136 minutes over the upcoming week (Monday – 34 minutes, Wednesday – 34, etc.). It seemed to schedule just Monday at 136 minutes each zone.

Thanks for any help you can offer.