Jump to content

How to randomize a light coming on at sunset


edokid

Recommended Posts

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!

Posted

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)?

Posted

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.

Posted

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.

Posted

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.

Posted

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.

×
×
  • Create New...