Jump to content

Reliable Last Run Time scheduling?


GodOfCheese

Recommended Posts

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

 
Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...