Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Program Loop

Featured Replies

Posted

Before I crash my device... Can I call the same program at the end of a current program to get it to loop? Or is there a way to get it to loop for a period of time?

 

The reason that I ask is because I was thinking about making a program with a lighting sequence for a Halloween Display. I don't need anything as fancy as Light Show Master.

  • Author

Okay.. Took a chance and did a quick test.

 

It doesn't seem that a program allows you to call itself at the end.

Any ideas?

 

Here is what I put, but it only runs once and then stops.

 

 

 

If

From 6:00:00PM

To 11:00:00PM (same day)

 

Then

Set 'Hall Light Near Dining' On

Wait 3 seconds

Set 'Dining Room Chandelier' 40%

Wait 2 seconds

Set 'Dining Room Recessed Lighting' 60%

Wait 5 seconds

Set 'Front Hall Light' Off

Wait 3 seconds

Set 'Dining Room Recessed Lighting' 20%

Wait 2 seconds

Set 'Dining Room Chandelier' 80%

Wait 2 seconds

Set 'Hall Light Near Dining' Off

Wait 2 seconds

Set 'Dining Room Recessed Lighting' Off

Wait 2 seconds

Set 'Dining Room Chandelier' Off

Run program 'Test Program'

 

Else

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

  • Author

Exactly what I needed. Thanks Chris.

I guess I have skimmed over the 'repeat' function all this time.

It works perfectly!!

 

At first I mistakenly put it at the end, but then was VERY impressed with how as I moved it up the list in the program, that it automatically indented the following lines to make it clear which portion would be repeated.

 

Is there any way to have just a section in the middle repeat? I don't need it in this case, but am curious.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.