OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Program List
- This topic is empty.
-
AuthorPosts
-
January 17, 2013 at 3:24 pm #22344
mathferretMemberJust 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
January 17, 2013 at 3:51 pm #23313
RayKeymasterThe 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.
January 24, 2013 at 6:29 pm #23314
grondoParticipantI 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?
January 29, 2013 at 2:51 am #23315
AndrewParticipantRay 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 secondsJanuary 29, 2013 at 4:20 pm #23316
RayKeymaster@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).February 22, 2013 at 5:32 pm #23317
ChrisCraggMemberFactoring 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.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Program List