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.

Random Security Lights

Featured Replies

Posted

I'd like to have some of the lights in my house randomly turn on and off when I'm away between sunset and midnight. Does anyone have a good algorithm to do this? I've already got the "when I'm away" part working, and I have some basic lights working, I just want the best way to do it.

I've thought about doing this, but instead of being random I thought it'd make more sense to mimic my habits. So turn on the living room lights from sunset to 10pm, turn on bedroom lights from 10pm until 10:30 etc.

If you add a Wait command there is a Random option.

 

Clipped example:

If
       On Never
       Time is Last Run Time for 'Cycle Outside Lights'

Then
       Repeat Every  1 second
          Set Scene 'XBlue XMas Lights' On
          Wait  5 minutes 
          Wait  3 minutes  (Random)
          Set Scene 'XBlue and Red Lights' On
          Wait 20 seconds

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

 

Rand

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.