GodOfCheese Posted September 29, 2016 Posted September 29, 2016 I am trying to dim certain lights simultaneously at rates so low that my wife and kids won't notice. The right thing to do is probably to use a Scene, but I am having unrelated problems with it (separate post to come). Essentially, I want to Dim the lights every ten seconds or so. Very simple. Unfortunately, sometimes the dimming gets stuck at like 63% and never reaches 15%. I suspect this is because the ISY misses the timing interval and so the if-clause is not triggered. Is there a more reliable way to trigger this on a cadence? I thought about just having a ten second wait after the dim and running while the light was >15%, but would more than one copy of the program run during the wait interval? Background: I put the lights in a dimming state with the '2. Start dimming' program, and exit the state when all the lights I'm dimming reach the appropriate levels OR are off (I don't want to dim lights that are already off). The dimming programs all look like this one, but with different scenes, and all are in a folder gated by being in the dimming state. The "Kitchen Ceiling Fan/KCF Light" scene is one button of a KPL and a FanLinc. The program is pretty simple: 2. dim KCF manually if bright - [iD 0037][Parent 0033] If Status 'Kitchen Ceiling Fan-Light' > 15% And ( Time is Last Run Time for '2. dim KCF manually if bright' + 10 seconds Or Time is Last Run Time for '2. Start Dimming' + 10 seconds ) Then Set Scene 'Kitchen Ceiling Fan / KCF Light' Dim Else - No Actions - (To add one, press 'Action')
GodOfCheese Posted September 29, 2016 Author Posted September 29, 2016 (this programming is my workaround for http://forum.universal-devices.com/topic/19943-ramp-rates-not-being-honored/. Even if it turns out not to be necessary by fixing the ramp rates, I'd still like to understand how I can run a program periodically but recover or prevent missed execution times...) Thanks!
stusviews Posted September 29, 2016 Posted September 29, 2016 See my reply to your other post regarding a 9 min ramp rate.
ldb Posted September 29, 2016 Posted September 29, 2016 For my z-wave dimmers I use: Then Repeat XX times Set 'Lights' Dim Wait X seconds The Dim command reduces 2 or 3% each time.
Recommended Posts