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
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:
this is the API to get ET value. the return message looks something like this:
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.