I have a task that I'm trying to create that put the thermostat in setback mode after 10:45 PM and takes it out of setback mode at 6:30 AM. When I created the following task it just keeps turning setback on and off every minute, what am I doing wrong.
If ('System Time.Time Without Seconds' is Greater Than '10:45:00 pm') Then
Change 'Stat.Setback' to 'On'
Else If ('System Time.Time Without Seconds' is Greater Than '6:30:00 am') Then
Change 'Stat.Setback' to 'Off'
I'm sure it is something stupid I'm doing but not sure what.
HouseBot will attempt to execute a Task whenever any of the Properties in its condition lists change. The System Time.Time Without Seconds changes every minute, so the Task is executing at that time. Since you have an If/Else, it will have to do one of the two actions every minute.
To fix this, simply change the condition operator from Greater Than to Equal.