This topic contains 4 replies, has 0 voices, and was last updated by  ChrisCragg 6 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22344

    mathferret
    Member

    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?

    -Tom

    #23313

    Ray
    Keymaster

    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.

    #23314

    grondo
    Participant

    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?

    #23315

    Andrew
    Participant

    Ray will correct me if I’m wrong but I believe the command to change the watering percentage is:
    http:///co?pw=&o23=

    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

    #23316

    Ray
    Keymaster

    @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:
    http://rayshobby.net/?page_id=730#httpget
    (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.

    @grondo: 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).

    #23317

    ChrisCragg
    Member

    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”
    or
    “If the possibility of rain tomorrow is >N2% then don’t water”
    or
    “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.

We are away till Mar 22. Orders placed during this time will be shipped on Saturday Mar 23 . Thank you. Dismiss