Jump to content

Insteon Thermostat Fan Program Problems


calberrt

Recommended Posts

Hi Guys,

 

I wrote the following program with the hopes of turning on the fan for different intervals throughout the day

 

If
        From     5:00:00AM
        To       8:59:59PM (same day)
 
Then
        Set 'Thermostat - Main' Fan On
        Wait  15 minutes 
        Set 'Thermostat - Main' Fan Auto
        Wait  15 minutes 
        Set 'Thermostat - Main' Fan On
        Wait  15 minutes 
        Set 'Thermostat - Main' Fan Auto
        Wait  15 minutes 
        Repeat 15 times
 
Else
   - No Actions - (To add one, press 'Action')
 
It seems that the program will correctly run the first time (between 5 Am to 5:45 Am) but then does not repeat for the rest of the time.
 
Can you guys set me straight here or offer me some advice on how to make sure this program will run every hour throughout the day (ie. 5AM, 6AM, 7AM, etc
 
Am I missing something here?
 
Thanks
 
calberrt
Link to comment
Hi Calberrt

 

It looks like you want to run the fan for 15 minutes every half hour. Give this a try



If
        From     5:00:00AM
        To       8:59:59PM (same day)
Then
Repeat every 30 minutes
        Set 'Thermostat - Main' Fan On
        Wait  15 minutes 
        Set 'Thermostat - Main' Fan Auto
Else
           Set 'Thermostat - Main' Fan Auto


The repeat statement operates on the indented statements below it. As long as the If statements are true, the repeat statement will keep restarting every 30 minutes and run the 3 statements. The else makes sure that the fan really goes off when the program completes

 

If you want it to run the fan for 15 minutes every hour, change the '30 minutes' to '1 hour'

 

Paul

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...