Jump to content

Proper use of repeat?


RichTJ99

Recommended Posts

Posted

Hi,

 

I am having some issues with the use of repeat & I think I might have a basic flaw in how I use Repeat.

 

Example 1: my good night button (MBR KPL A button) turns on my "Good Night" scene, I tend to hit it two to three times to ensure all my lights go out as sometimes I get lights that dont go out.

 

How would I go about using repeat in that?

 

Example 2: The other item I have is a program with the use of repeat.

 

I would like to put a repeat before putting the 4 other items on.

 

Does repeat go before the item or after the item?

 

If
       Control 'Laundry: KPL D' is switched Off

Then
       Set Scene 'Scene: Good Night' Off
       Set 'Attic: Fan' Off
       Set 'Bedroom: MBR Fan' Off
       Set 'Bedroom: Guest Fan' Off
       Set 'Bedroom: Steven Fan' Off
       Set 'Bathroom: Guest Fan' Off
       Wait  3 seconds
       Set 'Living Room: Control NL' On
       Set 'Living Room: Couch' On
       Set 'Living Room: TV' On
       Set 'Living Room: Table' On

Else
  - No Actions - (To add one, press 'Action')

 

Thanks,

Rich

Posted

Hi Rich,

 

I think the following with clear everything up:

1. Repeat must be the last (or the only) block in the Action (Then) section

2. Everything that needs to be repeated must be listed below the Repeat line

 

As such, you cannot do example 2. For example 1, simply make sure your actions are listed below the Repeat line.

 

With kind regards,

Michel

Posted
Hi Rich,

 

I think the following with clear everything up:

1. Repeat must be the last (or the only) block in the Action (Then) section

2. Everything that needs to be repeated must be listed below the Repeat line

 

As such, you cannot do example 2. For example 1, simply make sure your actions are listed below the Repeat line.

 

With kind regards,

Michel

 

You actually can do example 2., you just add another Repeat action, having it only repeat once.

 

eg.

Repeat 3 times
  action
  action
Repeat 1 time
  action 
  action

Guest
This topic is now closed to further replies.

×
×
  • Create New...