• This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #22344


    Just got the kit a few weeks ago, and I love it.

    I’m starting to write a program that checks the weather and alters the programs accordingly (if anyone knows of anyone who’s finished something like this already, please let me know). I know that I can change or delete programs by HTTP GET. But, can I get the list of current programs in any reasonable way? It doesn’t seem to be one of the HTTP GET commands, but I could write something to parse the result of [ipaddress]/vp. Is that my best bet?




    The view program page (http://x.x.x.x/vp) returns the complete list of current programs. You can check the bfill_programdata() function in server.pde to see the relevant Javascript variables.



    I am also interested in the use of OpenSprinkler as a “Smart” or ET (evapotranspiration) aware controller.
    mathferret: please keep us posted on any progress you have made in this area.

    One very simple feature would to be the ability to adjust one or more zones’ watering times by a percentage through a
    HTTP GET. This would allow the ET adjustment to be computed on a separate host, which may have information supplied through an internet or local weather station, soil moisture sensors, etc, then applied on a daily or just-in-time basis.

    It would also be interesting to have ‘cycle-and-soak’ programs on OpenSprinkler. This is useful when watering on a slope. So you can cycle on for 10 minutes, off 10 minutes to let the irrigation soak, then cycle on again, and so on until you have applied the full amount of irrigation to the zone. I imagine this might be possible already by setting up several programs on the controller?



    Ray will correct me if I’m wrong but I believe the command to change the watering percentage is:

    The cycle-and-soak could probably be a single program defined something like:
    Time: 06:00 -> 08:00 (hh:mm)
    Every: 0 hours 20 minutes
    Duration: 10 minutes seconds



    @aradke: you are right, that’s the command to change the water percentage.

    A few weeks ago I posted a more complete list of HTTP GET commands on the website:
    (click on the PDF link). The commands to change option values (such as the water percentage) are kind of messy and obscure, but hopefully this document will help.

    : the ‘cycle-and-soak’ program is an interesting idea. aradke’s suggestion should work (e.g. a single program for each ‘cycle-and-soak’ station with 20 minutes interval time and 10 minutes water time).



    Factoring in weather would be a great feature. It would be nice if the code could call a webservice (or simple GET URL) passing it the zip code configured. The service would hit another weather web site and get the weather forecast (preferably by RSS). It would take the forecast and convert it to a simple “Water or not” return. It would go something like:

    “If the possibility of rain today is >N1% then don’t water”
    “If the possibility of rain tomorrow is >N2% then don’t water”
    “If the possibility of rain the day after tomorrow is >N3% then don’t water”

    where N1, N2 and N3 could be configured in the call to the webservice.

    Once the algorithm is refined, and a reliable source of weather data defined, the code could be ported into OpenSprinkler directly.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.