pandimus
Active member
I am trying to set a timer, for a light in my sump area. I basically want it to shut off after 30 minutes. Sometimes i forget to shut it off. I know I can use a Virtual outlet and an alarm to just remind me. but was just messing around and trying to more automate it. My programming kinda work's, except, it gets itself into a loop, and turns light on and off constantly.
Sump_lit_4_8
Fallback OFF
Set ON
If Output Sump_lt_time = ON Then OFF
Sump_lt_time
If Output Sump_lit_4_8 = ON Then ON
If Output Sump_lit_4_8 = OFF Then OFF
Defer 060:00 Then ON
Sump_lit_4_8
Fallback OFF
Set ON
If Output Sump_lt_time = ON Then OFF
Sump_lt_time
If Output Sump_lit_4_8 = ON Then ON
If Output Sump_lit_4_8 = OFF Then OFF
Defer 060:00 Then ON