Jump to content

Repeat command?


jdlegan

Recommended Posts

Posted

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.

Posted
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?

Posted

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

Posted

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.

Posted

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

Posted

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

Guest
This topic is now closed to further replies.

×
×
  • Create New...