NEWBIE help; X-10 watering with Rain8II unit

wtwalters

New Member
All-

I'm a 'newbie' to the world of HAI programming. I've tried to read manual and examples to make code that works. I've had zero luck with my sprinkler watering code.

I've taken some previous code posted here, as well as code in HAI Applications manual and tried to make it work in my system.

1. OmniPro II, 3.2
2. Programming with PC Access 3.10.1.655 (dealer version)
3. Rain8II unit. 2-way X-10 module, 8 zones (only 7 used) with 'safety stop' of 20 minutes per zone set.
4. User Settings: Zone On Time set to type 'Duration'
This holds the amount of time to water each zone. Ultimately, I want to vary the amount of time to water each zone based on time of year, etc.

Statement of Problem: No matter how code gets executed, code never cycles to zone 2.

Note: I originally wrote this code using 'hard' times, i.e., "driveway grass on for 2 minutes' and it didn't work either...

What am I missing? HELP?

Here's the code:

32. // Watering Restrictions limit watering to Wed & Sat before 10am and after 5pm.
//
// If watering restriction Flag is ON, then water LONGER, only on Wed & Sat
33. TIMED 5:01 AM --W--S-
AND IF Watering Restrictions in place ON
THEN RUN Water all zones 20 minutes
34. // This is Button #2 named "Water all zones 20 minutes"
//
// Manually executing Button #2 will cause watering to start
// IF 'OK to Water Flag' is set ON (troubleshooting safety)
35. WHEN Water all zones 20 minutes
AND IF OK to Water Flag ON
THEN SET Zone ON time TO 2 MINUTES
THEN Driveway Grass Sprinkler ON FOR Zone ON time
THEN LOG zone 1 on
36. WHEN Driveway Grass Sprinkler OFF
THEN Sprinkler zone 1 delay timer ON FOR 10 SECONDS
37. WHEN Sprinkler zone 1 delay timer OFF
AND IF OK to Water Flag ON
THEN Front Center Grass ON FOR Zone ON time
THEN LOG zone 2 on
38. WHEN Front Center Grass OFF
THEN Sprinkler zone 2 delay timer ON FOR 10 SECONDS
39. WHEN Sprinkler zone 2 delay timer OFF
AND IF OK to Water Flag ON
THEN Front East Grass ON FOR Zone ON time
THEN LOG zone 3 on
40. WHEN Front East Grass OFF
THEN Sprinkler zone 3 delay timer ON FOR 10 SECONDS
41. WHEN Sprinkler zone 3 delay timer OFF
AND IF OK to Water Flag ON
THEN Grass in backyard behind drive ON FOR Zone ON time
THEN LOG zone 4 on
42. WHEN Grass in backyard behind drive OFF
THEN Sprinkler zone 4 delay timer ON FOR 10 SECONDS
43. WHEN Sprinkler zone 4 delay timer OFF
AND IF OK to Water Flag ON
THEN Backyard (main) Grass ON FOR Zone ON time
THEN LOG zone 5 on
44. WHEN Backyard (main) Grass OFF
THEN Sprinkler zone 5 delay timer ON FOR 10 SECONDS
45. WHEN Sprinkler zone 5 delay timer OFF
AND IF OK to Water Flag ON
THEN Pool Shrubs ON FOR Zone ON time
THEN LOG zone 6 on
46. WHEN Pool Shrubs OFF
THEN Sprinkler zone 6 delay timer ON FOR 10 SECONDS
47. WHEN Sprinkler zone 6 delay timer OFF
AND IF OK to Water Flag ON
THEN Front Shrubs ON FOR Zone ON time
THEN LOG zone 7 on
48. WHEN Front Shrubs OFF
THEN OK to Water Flag OFF
49. // Button 3 will cause all watering to stop
50. WHEN Stop All Watering Now
THEN Driveway Grass Sprinkler OFF
THEN Front Center Grass OFF
THEN Front East Grass OFF
THEN Grass in backyard behind drive OFF
THEN Pool Shrubs OFF
THEN Backyard (main) Grass OFF
THEN Front Shrubs OFF
THEN OK to Water Flag OFF
 
Sorry about not using //code

Don't know how to edit or delete prior post so will try reposting (correctly this time?) the code I asked for help with.

Thanks!

Bill Walters


Code:
32. //    Watering Restrictions limit watering to Wed & Sat before 10am and after 5pm.
//   
//    If watering restriction Flag is ON, then water LONGER, only on Wed & Sat
33. TIMED 5:01 AM --W--S-
  AND IF Watering Restrictions in place ON
   THEN RUN Water all zones now
34. //    This is Button #2 named "Water all zones now"
//   
//    Manually executing Button #2 will cause watering to start
//    IF 'OK to Water Flag' is set ON  (troubleshooting safety)
35. WHEN Water all zones now
  AND IF OK to Water Flag ON
   THEN SET Zone ON time TO 2 MINUTES
   THEN Driveway Grass Sprinkler ON FOR Zone ON time
   THEN LOG zone 1 on
36. WHEN Driveway Grass Sprinkler OFF
   THEN Sprinkler zone 1 delay timer ON FOR 10 SECONDS
37. WHEN Sprinkler zone 1 delay timer OFF
  AND IF OK to Water Flag ON
   THEN Front Center Grass ON FOR Zone ON time
   THEN LOG zone 2 on
38. WHEN Front Center Grass OFF
   THEN Sprinkler zone 2 delay timer ON FOR 10 SECONDS
39. WHEN Sprinkler zone 2 delay timer OFF
  AND IF OK to Water Flag ON
   THEN Front East Grass ON FOR Zone ON time
   THEN LOG zone 3 on
40. WHEN Front East Grass OFF
   THEN Sprinkler zone 3 delay timer ON FOR 10 SECONDS
41. WHEN Sprinkler zone 3 delay timer OFF
  AND IF OK to Water Flag ON
   THEN Grass in backyard behind drive ON FOR Zone ON time
   THEN LOG zone 4 on
42. WHEN Grass in backyard behind drive OFF
   THEN Sprinkler zone 4 delay timer ON FOR 10 SECONDS
43. WHEN Sprinkler zone 4 delay timer OFF
  AND IF OK to Water Flag ON
   THEN Backyard (main) Grass ON FOR Zone ON time
   THEN LOG zone 5 on
44. WHEN Backyard (main) Grass OFF
   THEN Sprinkler zone 5 delay timer ON FOR 10 SECONDS
45. WHEN Sprinkler zone 5 delay timer OFF
  AND IF OK to Water Flag ON
   THEN Pool Shrubs ON FOR Zone ON time
   THEN LOG zone 6 on
46. WHEN Pool Shrubs OFF
   THEN Sprinkler zone 6 delay timer ON FOR 10 SECONDS
47. WHEN Sprinkler zone 6 delay timer OFF
  AND IF OK to Water Flag ON
   THEN Front Shrubs ON FOR Zone ON time
   THEN LOG zone 7 on
48. WHEN Front Shrubs OFF
   THEN OK to Water Flag OFF
49. //    Button 3 will cause all watering to stop
50. WHEN Stop All Watering Now
   THEN Driveway Grass Sprinkler OFF
   THEN Front Center Grass OFF
   THEN Front East Grass OFF
   THEN Grass in backyard behind drive OFF
   THEN Pool Shrubs OFF
   THEN Backyard (main) Grass OFF
   THEN Front Shrubs OFF
   THEN OK to Water Flag OFF
 
The continuing saga.....

1. Reconfigured Rain8II unit to disable 2 way with WGL software.
2. In PC Access, recoded all sprinkler zone ON commands to 'hard' time of 2 minutes
3. In PC Access, specified that house code M, which is Rain8 unit, is STANDARD X-10 and does not respond to ALL ON, but does respond to ALL OFF.

When I execute Button 2, with OK to Water Flag ON, and watch zone status in PC Access, I see the first zone turn ON and a 2 minute timer appears next to it. When the timer counts down 2 or 3 seconds, the timer disappears leaving the 1st zone ON with no timer attached.

ODD???

I sent a command to turn on a light for 2 minutes and watched the lamp in PC Access. It turned ON and a count down timer for 2 minutes appeared next to it. Stayed, counted down just fine, then lamp turned OFF when it reached zero.

I have no other items in programming referencing sprinkler zones.

Thoughts?
 
FOUND THE PROBLEM!

I have one of the 'original' Rain8II modules. Newer Rain8 configuration software allows for disabling status responses BUT this original unit, with the original software, does NOT allow for disabling status response...

Ah well. Will just have to recode differently, using the RAIN8NET example and issue hard ON/OFF commands with timers
 
Back
Top