Jump to content

How to? From May - Sept?


Walrus

Recommended Posts

Posted

How do I have a program run from May to Sept only? I just installed a 105cfm fan in my cold cellar, and want to run it at 3am for 1 hour every night, May-Sept only.

Posted

You would have to write a program to turn it on at 3 for one hour and during the times you want it on you would need to enable the program. Right now the isy doesn't let you select dates without a specific year. You can always uncheck daily and use the date there but it would only work for this year or the one year you selected.

Posted

Load the day/month/year/etc program I wrote and write the following. If you PM with your email address I can send it to you

 

If
       $iMonth <= 9
   And $iMonth >= 5
   And From     3:00:00AM
       For      1 hour 

Then
       Set 'Fan' On

Else
  - No Actions - (To add one, press 'Action')

Posted

How does the 'For 1 hour' work? Wouldn't that keep turning the fan on for 1 hour? What turns the fan off? Shouldn't it be like this:

 

If
       $iMonth <= 9
       And $iMonth >= 5
       And Time is  3:30:00AM

Then
       Set 'Cold Cellar Fan' On
       Wait  1 hour 
       Set 'Cold Cellar Fan' Off

Else
  - No Actions - (To add one, press 'Action')

Posted

Walrus,

 

What you wrote will work. I am not a big fan of "wait" commands because they open up the program to re-evaluation (unless I want re-evaluation), but in this case that won't matter.

 

However, you are right to say my program won't work. I forgot the else.

 

If
       From     3:00:00AM
       For      1 hour 
   And $iMonth >= 5
   And $iMonth <= 9

Then
       Set 'Fan' On

Else
       Set 'Fan' Off


 

From/For programs trigger at the "from" time (3am) and then trigger again at the "from plus" time (4am). They also will force a program to true/false if something else triggers them at times other than the "From" and "from plus" times depending on if it is between the two times (true) or outside of the times (false).

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.5k
×
×
  • Create New...