OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Add water schedule based on hot temperature
- This topic has 6 replies, 4 voices, and was last updated 9 years, 7 months ago by niv.
-
AuthorPosts
-
January 25, 2015 at 2:46 am #35358
Ken ThompsonParticipantHi all,
I would like to water certain sections in my garden when the temperature exceeds a certain threshold; beyond my normal schedule. This is because it can get quite hot in Australia and some plants and grasses don’t cope well with severe heat.
It’s this possible to do? Would I have to write a custom plugin?
Cheers
Ken
January 25, 2015 at 12:22 pm #35360
Dan in CAParticipantHi Ken,
It should be pretty easy with a plugin. It might involve adding additional runs to those zones that need it (just a suggestion).
I am in the process of writing documentation about plugin authoring. You can see what I’ve got so far at:
https://github.com/Dan-in-CA/ospi_plugins/wiki
There will be a bare bones plugin named proto that can be used as a starting point. I will try to post it to the new plugins repository on GitHub later today.
If you give plugin writing a go, it would be helpful if you could post about what you need help with. That will help with the documentation.
Dan
January 25, 2015 at 2:35 pm #35371
MikeParticipantHi Dan,
I just read the documentation you’ve got up there so far for authoring plugins. I’m running an OSBo and will try my hand at a soil moisture plugin once I have the hardware. Keep it coming. Not sure all that you have planned to put in there. One thing that comes to my mind that I would like to see mentioned is programming environment/tools used. I’ve programmed in other languages but never in Python. What tools do you use when you’re working on OSPi?
I know it’s time consuming to author instructions like that, but be encouraged that people are reading it. Well done!
Mike
January 26, 2015 at 3:14 am #35387
Ken ThompsonParticipantThanks Dan,
I’ll give it a look and provide you feedback on anything I need. I’d agree with Mike that some basic info and tips would be useful for getting started…maybe you can link to some existing stuff out on the web rather than re-write the book on getting started with Python.
Cheers,
Ken
January 26, 2015 at 12:45 pm #35388
Dan in CAParticipantI was planning to add a resources section. That will be the next thing I work on.
The project has been developed on a Windows system up till now so some of the resources I am familiar with lean towards that platform. This is a community based project so anyone with Python programming experience on a Mac is encouraged to chime in with suggestions.
For abut the first year of the project I used Idle, Python’s built in IDE which is cross platform. Another user mentioned that he uses PyScripter:
https://code.google.com/p/pyscripter/
But I have no experience with it.
One of the most important tips for getting started is to look at what others have done.
@Ken,For your temperature based scheduling, The other weather based plugins may give you some good ideas. You might be able to modify one of them for your purposes. The first thing to consider is how you will get the temperature data.
Dan
January 26, 2015 at 4:29 pm #35393
Dan in CAParticipantOK, a resource page is now on the Wiki:
https://github.com/Dan-in-CA/ospi_plugins/wiki/Resources
I think I’ll probably use it myself. It has my favorite resources in one place.
Dan
February 8, 2015 at 6:11 pm #35527
nivParticipantHi Ken,
I had the same issue when starting up with open sprinkler.
see https://opensprinkler.com/forums/topic/irrigation_bone-irrigate-exctly-the-amount-of-water-needed/
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Add water schedule based on hot temperature