OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Python interval program update 8/30/13 › Re: Re: Python interval program update 8/30/13
September 3, 2013 at 5:27 am
#25490
kenbob
Member
I think I found the problem. It looks like an issue with devday in ospy.py, I manually subtracted the 7 hours with 25200 seconds and it looks like it works. I made a change to the graph_programs and the prog_match. It just needs to calculate the selected time zone in order to fix the issue. Hopefully this helps.
Class graph_programs:
devday=’+str(int((t-25200)/86400))+
def prog_match(now, prog):
devday = int((now -25200)/86400)