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.

Repeat command?

Featured Replies

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.

  • Author
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?

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

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.

  • Author

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

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.

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.