Jump to content

Program idea not sure if it will work


AnthemAVM

Recommended Posts

Posted

I would like to take a KPL switch and have it controll all the exterior lights, in fact already have that one done.

 

The problem is that the lights go off based on certain condtions or times, but the KPL remains lighted up. How do I get the devices to turn the light off on the KPL when the last light goes out?

 

Thanks

Posted

1. Remove the kpl button from the scenes.

2. create a program that turns on various scenes if KPL button is pressed ON

3. create another program that turns off kpl button if all light scenes are off

 

Ex

if lightA and LightB and LightC etc. is off, then turn off KPL button.

 

You may have to add the KPL button to a new scene and turn on the scene to toggle the KPL button.

 

I have similiar programs working.

Posted

OK. Lets look at it from another angle.

 

Let's say that the first scene (triggered by KPL A) turns on light a, b, c, d, e, and of course KPL A.

 

Now someone turns off light a from it's own SL. Light a goes out, but KPL A stays on. It would be nice to have KPL A go out any time the original scene went from it's original intent, maybe the onset of SL a turns all of the original scene off first?

 

aLf

Posted

OK, I understand that. but lets say that a, b, c, d, e were all set to random levels, i.e. 22%, 31%. 55%, 90%, 12% etc. Then the wife turns "a" on full and for all purposes "breaks the original scene". How can one get the KPL off in recognition of the broken scene, then what I'd like is than anytime the scene is going to be broken, have the entire scene turn off, then turn on her "scene breaker". If that is not possible, how do I make your idea work ( to just turn off the KPL) with the percentage levels above?

 

aLf

Posted
OK, I understand that. but lets say that a, b, c, d, e were all set to random levels, i.e. 22%, 31%. 55%, 90%, 12% etc. Then the wife turns "a" on full and for all purposes "breaks the original scene". How can one get the KPL off in recognition of the broken scene, then what I'd like is than anytime the scene is going to be broken, have the entire scene turn off, then turn on her "scene breaker". If that is not possible, how do I make your idea work ( to just turn off the KPL) with the percentage levels above?

 

aLf

 

To configure the KPL button to only be On when your scene is True you could use a program like this:

 

If
       Status  'Light a' is 22%
   And Status  'Light b' is 31%
   And Status  'Light c' is 55%
   And Status  'Light d' is 90%
   And Status  'Light e' is 12%
...etc.

Then
       Set Scene 'KPL Button 1' On

Else
       Set Scene 'KPL Button 1' Off

 

This could include turning a scene off, a device on, etc. but it may be easier to use another program to watch for 'Light a' to change to 100% and then react.

 

Rand

Posted

Maybe my OLD KPL's (1st Version), but when I go into them on iSY the only button that I have the choice to turn ON/OFF is the "A" button. How do I turn B-H ON/OFF?

 

Oh and also, if I trigger a scene, i.e. the above SL's on with a KPL button, say "B", the button comes on because the "B" is the controller. How do i then incorporate your example? Take a minute and see my setup. I'm using a button to trigger the scene with multiple SL's responding. It works great until the wife uses one of the corresponding SL's to turn that particular light on full (wives only use full bright). She then turns out the light and the scene is missing my settings. Is there a way to make the scene then resume the original settings if she messes with it?

 

Thanks guys. I know you'll know what to do...

 

Tim

Posted

I think I saw something about older switchlinks not able to control all the buttons from ISY. I would have to search the forum to confirm.

 

Regarding the spouse messing with scenes, the options I see all involve some spouse retraining. If you set the local-controlled on level to match that of the scene, then it would be possible to return that light back to the scene level by a single press on. To get to full on, use either two, quick on taps, or press and hold until it reaches the desired level.

 

You have a problem unkown to me. My wife never turns off lights.

Posted

KPL buttons have to be in a scene to control them.

 

To turn your scene on after any one or more lights are turned off:

 

If
      Status  'Light a' is < 22%
   Or Status  'Light b' is < 31%
   Or Status  'Light c' is < 55%
   Or Status  'Light d' is < 90%
   Or Status  'Light e' is < 12%
...etc.

Then
       Wait 3 minutes
       Set Scene 'What I want' On

Else
       No actions

 

I put in a Wait so your wife doesn't see it happen and keep turning the light off ;)

 

Rand

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...