January 25, 2015 at 2:46 am #35358
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?
KenJanuary 25, 2015 at 12:22 pm #35360
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:
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.
DanJanuary 25, 2015 at 2:35 pm #35371
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!
MikeJanuary 26, 2015 at 3:14 am #35387
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.
KenJanuary 26, 2015 at 12:45 pm #35388
I 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:
But I have no experience with it.
One of the most important tips for getting started is to look at what others have done.
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.
DanJanuary 26, 2015 at 4:29 pm #35393
OK, a resource page is now on the Wiki:
I think I’ll probably use it myself. It has my favorite resources in one place.
DanFebruary 8, 2015 at 6:11 pm #35527
I had the same issue when starting up with open sprinkler.
- You must be logged in to reply to this topic.