OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › sprinklers_pi – An alternative sprinkler control program › Re: Re: sprinklers_pi – An alternative sprinkler control program
rszimm
2 Events
00:03:21 2013/9/18 (4)
Event [00] Time:04:00(240) Command 3 data 0,0
Event [01] Time:05:00(300) Command 3 data 0,1My schedule runs twice. What does the number in parenthesis mean? If it’s run time, is the weather adjustment applied to both times/runs?
Kris: The number in parenthesis is the structure representation of time (i.e. 240 minutes from midnight…..which is the same as the 4:00 that preceeds it….remember, this is a “secret” screen that I use during debug.) Command 3 means “run a schedule”. data 0,0 means run schedule 0, time 0. data 0,1 means run schedule 0, time 1.
If you watch closely, at 4AM you’ll see a bunch of additional events created. Command 1 means “turn on a valve” (data position 0 tells you which one). Command 2 means “turn off all valves”. The duration weather adjustment isn’t made until directly before the schedule is run (in case there has been some additional rainfall…).