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.

What is the timing of this program supposed to be?

Featured Replies

Posted

I am trying to simulate an "At Home" program for a vacation mode.

 

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       Repeat Every  20 minutes 
          Set 'DEVICES / OUTLETS / DR (Table Lamp)' On
          Wait  15 minutes  (Random)
          Set 'DEVICES / OUTLETS / DR (Table Lamp)' Off

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

 

1. DR (Table Lamp) turns on at time 0

2. DR (Table Lamp) turns off between 1 and 15 minutes

3. DR (Table Lamp) turns on again when?

(a) After 20 mins?

(B) After (20 mins) - (time the lamp was previously on)?

My understanding says that once this program is "RunningThen" the lamp should turn on every 20 minutes for 1 to 15 minute random durations.

 

-Xathros

  • Author
My understanding says that once this program is "RunningThen" the lamp should turn on every 20 minutes for 1 to 15 minute random durations.

 

-Xathros

 

I reduced the durations and watched the behavior. Turns out the Repeat time starts after the light has been turned off.

 

So the program would really look like:

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       Repeat { 
          Set 'DEVICES / OUTLETS / LR (Table Lamp 1)' On
          Wait  3 minutes  (Random)
          Set 'DEVICES / OUTLETS / LR (Table Lamp 1)' Off
          } Every 5 minutes

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

 

I guess it was easier to represent the UI as it is.

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.