jdlegan Posted November 8, 2012 Posted November 8, 2012 I feel dumb even asking this, but I cannot seem to resolve this programming. I simply want to repeat a set off command 24/7 once an hour to a module. I have tried the "repeat" command in both then and else and nothing I have tried seems to work.
LeeG Posted November 8, 2012 Posted November 8, 2012 Post your Program. The Repeat goes before the statement(s) to repeat.
jdlegan Posted November 9, 2012 Author Posted November 9, 2012 Post your Program. The Repeat goes before the statement(s) to repeat. Thanks for the reply I can't seem to post the program, but it is simple. No condition Under then repeat every 30 minutes set rope light off This does not work?
Xathros Posted November 9, 2012 Posted November 9, 2012 It needs to be triggered to start. Either right click the program and select Run then or check the box to run at startup then reboot. -Xathros
LeeG Posted November 9, 2012 Posted November 9, 2012 Right click the Program name. The bottom selection is "Copy to Clipboard". Then Paste in the forum post. Does the Rope Light turn On and Off reliably with the Admin Console? When something does not turn Off the load on the switch is suspect for generating enough interference when On to prevent the Off command from reaching the device.
jdlegan Posted November 9, 2012 Author Posted November 9, 2012 If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat Every 1 hour Set 'Rope Light' Off Else - No Actions - (To add one, press 'Action') Works great now. Thanks
Xathros Posted November 9, 2012 Posted November 9, 2012 I have a few programs that use a state variable to trigger the If section when there would otherwise be a blank if. If s.AutoTimers > 0 Then do whatever. This allows me to easily disable some/all of the auto stuff by changing the variable. Some programs require s.AutoTimers > 2 and some > 3. Since the mvar is a state var, anything using this in the if will trigger on changes. -Xathros
Recommended Posts