From: Jim D. <ji...@du...> - 2013-07-12 23:41:52
|
On 07/12/2013 12:41 AM, Chris Hirsch wrote: > Hey all, does anybody have any good code for controlling sprinklers? I'm > using an example from quite a few years ago and honestly it just isn't > that flexible. > > I'm hoping somebody has some good OO type code with functions etc for > turning zones off/on during various times of day, if it's raining, etc. > If not....I guess I need to refactor my code and finally update my MH to > the git repo and hopefully contribute back. > > Thanks! > I have something which uses one-wire relays to turn on my valves. I have five zones. All the controls are stored in a mysql database. There is a web page which allows control over the schedule. If you are interested, I can give you my code. I'm leaving for vacation today, so I might not respond for a week if you are interested. Regards, Jim |