Irrigation scene

Hi all
Currently I have a 2 x rain8net connected to the Vera and have build a plugin to handle them.

The irrigation scene is started via a timer currently set to come on twice a week. The actual stepping through the zones is coded into the plugin as follows:-

  1. Zone one solenoid opened.
  2. Timer for Zone one started.
  3. Pump is started if zone requires pump.
  4. Timer expires.
  5. Zone two solenoid opened.
  6. Pump is started in zone requires pump (resends command to reset internal timers in rain8net)
  7. Zone one solenoid closed.

This repeats until all specified zones are done.

The issue is that it has overcomplicated the code and I am having issues and wanted to know if there was a simpler way of chaining these sorts of things in the UI?

regards

zoot

Hey zoot,

Per this suggestion - [url=http://forum.micasaverde.com/index.php/topic,1846.msg38832.html#msg38832]http://forum.micasaverde.com/index.php/topic,1846.msg38832.html#msg38832[/url] - you can create more than one device pointing to the single Etherrain Controller, one each to represent a valve.

I’ve created 5 devices - one each per the 5 valves - and have coded them to go one after another at given times. As I’m new to scripting, I relied on the UI Timers for this, i.e. run valve x at 11:00p for 5 minutes, run valve x+1 at 11:06p (i.e. wait a minute until the previous valve shuts off to avoid sending two separate commands to the single controller), and so on. So far, so good.

Hope that helps get you started,
-Mike

How is it working out? I am considering this for control of my existing sprinkler system.