edokid Posted April 17, 2015 Posted April 17, 2015 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!
oberkc Posted April 17, 2015 Posted April 17, 2015 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)?
edokid Posted April 17, 2015 Author Posted April 17, 2015 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.
stusviews Posted April 17, 2015 Posted April 17, 2015 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.
edokid Posted April 17, 2015 Author Posted April 17, 2015 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.
oberkc Posted April 17, 2015 Posted April 17, 2015 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.
Recommended Posts