Date range clarification

See below, this started on Tuesday since it was 10/1 but for some reason didnt execute.
I want the pump to run these times between November and March but since Im defining "Less than 4/30" then I think its not executing.
What I think this defines is if the month is greater than 10/1 (which only gives the range of 10/1-12/31) then execute but that wont happen since its looking for a date less than 4/30 (which is only a range from 1/1-4/30)????
 
 
23.    TIMED 10:01 AM MTWTFSS
        AND IF DATE IS GREATER THAN 10/1
        AND IF DATE IS LESS THAN 4/30
            THEN Pool Pump ON FOR 4 HOURS
 
This one works since its within the months of the same year.
 
22.    TIMED 9:01 AM MTWTFSS
        AND IF DATE IS GREATER THAN 5/1
        AND IF DATE IS LESS THAN 9/30
            THEN Pool Pump ON FOR 8 HOURS
 
How do I work around this? Just create another line and do the same trigger with a range from 1/1 to 4/30? Or create two lines like the one below?
 
 
23.    TIMED 10:01 AM MTWTFSS
            AND IF MONTH IS GREATER THAN September
            THEN Pool Pump ON FOR 4 HOURS
 
 
24.    TIMED 10:01 AM MTWTFSS
            AND IF MONTH IS LESS THAN May
            THEN Pool Pump ON FOR 4 HOURS
 
 
 
I think I will have the same problem with the sprinkler as well
 
116.    TIMED 7:00 AM -----S-
        AND IF MONTH IS LESS THAN April
        AND IF MONTH IS GREATER THAN October
        AND IF RainFlag OFF
        AND IF TempSensor SECURE
            THEN RUN Sprinkler On
 
 
 
You need an OR in between the conditionals.
 
The way you have it written, BOTH conditionals must be true for the actions to execute.
That will never happen.
With an OR you tell the controller to execute if onr OR the other condition is true.
 

23.    TIMED 10:01 AM MTWTFSS
             AND IF DATE IS GREATER THAN 10/1
             OR
             AND IF DATE IS LESS THAN 4/30
                 THEN Pool Pump ON FOR 4 HOURS
 
Also, those dates look like 1 October and 30 April.
From your text, I think you want 31 October and 1 April as the parameters.
 
This one is a bit more complicated due to the number of conditions.
 
 
 
Code:
116.    TIMED 7:00 AM -----S-
               AND IF MONTH IS LESS THAN April
               AND IF RainFlag OFF
               AND IF TempSensor SECURE
               OR
               AND IF MONTH IS GREATER THAN October
               AND IF RainFlag OFF
               AND IF TempSensor SECURE
                   THEN RUN Sprinkler On
 
Nice! The OR gave me an idea how to trigger something every two weeks.
I need to excercise a water valve every two weeks (our water is very hard on valves), this will do the trick since EVERY only gives you hours and minutes
 
113.    TIMED 4:01 PM MTWTFSS
        AND IF DAY IS 1
        AND IF Vacatio flag OFF
        OR
        AND IF DAY IS 15
        AND IF Vacatio flag OFF
            THEN Water Valve Controller OFF FOR 25 SECONDS
 
 
Back
Top