OpenSprinkler Forums Hardware Questions OpenSprinkler Bee (OSBee) Open Sprinkler Bee 2.0 Working as Remote Station Reply To: Open Sprinkler Bee 2.0 Working as Remote Station

#61853

Ray
Keymaster

If you are already using an external script to send command to OSBee, you can simply call the opensprinkler weather server to get the watering percentage, and multiply your water time by that percentage, and send it to OSBee. Basically:
– make a call to:
http://weather.opensprinkler.com/weather3.py?loc=your_location_name_or_gps_coord&wto=”baseETo”:your_baseline_eto_value
this is the API to get ET value. the return message looks something like this:
&scale=19&tz=32&sunrise=336&sunset=1218&eip=2923395235&rawData=…
the ‘scale’ is the watering percentage
– multiply that scale / 100 by your duration, that would be the actual run time, then send it to OSBee using the API call described earlier in the thread.