OpenSprinkler Forums OpenSprinkler Unified Firmware Penmen-Monteith ETo method python script for possible use as weather script Reply To: Penmen-Monteith ETo method python script for possible use as weather script

#39422

hplato
Participant

Hi Shawn,

So I’ve updated the 1mm file to specify the number of seconds that each station needs to run to distribute 1mm of water. I’m not sure what ‘crop’ does:
{“mmTime”:[54,20,33,17,37,18,27,20,30,37,16],”crop”:[0,0,0,0,0,0,0,0,0,0,0]}

Running python weatherCustom.py I get the following output:
Content-Type: text/html

Resolved your lat:XX.XXXX, lon:XX.XXXX, they will be stored
0.0556 mm precipitation forecast for next 3 days
2.0 mm precipitation fallen and forecast for today
P-M ETo
5.8051 mm lost by grass
6.6252 mm lost by shrubs
sunrise & sunset in minutes from midnight local time
348 1297
Weather Station ID: XXXXXXXX
Current logged ET [5.8676, 6.6252]
[54, 20, 33, 17, 37, 18, 27, 20, 30, 37, 16]
[[-1, -1, -1, -1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]

So since it’s rained today, all stations should be 0, so I get that. If the numbers change, then I should push the new values to the current program. However, I’m not sure what the [-1,-1,-1,-1] is telling me?