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.

How to randomize a light coming on at sunset

Featured Replies

Posted

I wrote this program the other night and just realized it's never worked.  If I do "Run then" it does, but basically wanted it to be that the light comes on at sunset +/- 30 minutes, so did:

 

If Time is Sunset

Then

Wait 30 minutes (Random)

Set 'All Devices / Front Porch Light' On

 

Is that not the proper way to use the random function?  Thanks!

That sure looks like the right way to me.  It won't be +/- 30 minutes, but any time between sunset and 30 minutes after sunset.

 

Is it possible that your ISY clock is off?  Your location (from which to calculate sunset)?

  • Author

It looks right, I think its the setting on the bulb, the on level is set to 0 and the ramp rate at 9 minutes for some weird reason.  Changing it but getting one of those endless ISY progress bars, so will wait a bit and try and see but that's probably what it was.

That is the correct way to use Random. But the light will turn on +/- 30 minutes after sunset. Change Sunset to Sunset - 30 minutes and random to 1hour.

  • Author

That fixed it!  And thanks didn't even think of that.  It's not critical it comes on at that time, more just around sunset as long as it looks random since it stays on all night.

It looks right, I think its the setting on the bulb, the on level is set to 0 and the ramp rate at 9 minutes for some weird reason.  Changing it but getting one of those endless ISY progress bars, so will wait a bit and try and see but that's probably what it was.

If it were a bulb setting problem, I would not have expected it to run any better when choosing "run then", as you stated originally.

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.