Jump to content

Program that turns on a Scene when other Scenes are turned on


phikapjames

Recommended Posts

I seem to be having some issues getting this program to run to manage a scene that is comprised of other scenes.  I've been reading the wiki, but it's starting to make my eyes cross at this point.

 

Basic Light Scenes Setup:

- I have 4 SwitchLincs that each turn on 1 flood light

- I have 3 KPL that have a button for turning each of the lights on (each button is in a scene)

- I have 4 Scenes that just handle turning on / off the flood light and the scene button on each of the 3 KPL.

 

All Floods:

- I also have an All Outside Lights button scene.  This scene turns on / off each of the KPL buttons / SwitchLincs from the Basic Light Scenes Setup, along with an additional "All Outside Lights" button on a single KPL that is an 8 key.

 

 

What I would like is to have a program that identifies if all the basic light scenes were turned on separately, then turn on the "All Outside Lights" scene.  The number of times we start off with one flood light and slowly add one, then the next thing all of them are on, it would be nicer to hit the button once instead of hitting it twice to make life easier.  

 

The only problem is it doesn't work.  I have it setup where if the status of all SwitchLincs are On, then to turn on the scene, but no luck.  This is my program so far.  The only other thing I was thinking of doing was to create a state diagram for each of the "Basic Scenes" and then do a trigger if all 4 of the state variables == 1.

 

If
        Status  'Rooms / Guest Room / Back Flood Light' is 100%
    And Status  'Rooms / Office / Side Flood Light' is 100%
    And Status  'Rooms / Master Bedroom / Front Flood Light' is On    <-- This is a Non-Dimming KPL
    And Status  'Rooms / Master Bedroom / Garage Flood Light' is 100%
 
Then
        Set Scene 'All Outside Lights' Fast On
 
Else
   - No Actions - (To add one, press 'Action')
 
 
Any ideas?
Link to comment

Are you looking at the status of the Kpl buttons or the switchlincs. I don't think it should matter, but I would use the status of the switchlincs. I have a couple of these monitoring programs and your looks ok. Are you possibly having any communication issues.

Link to comment

Phikapjames,

 

Your approach is exactly the same as mine. I expect it to work. Erick and stusviews concerns are he same as mine, so to expand a little...

 

When you have your four individual lights "on", I suggest checking each in the admin panel to see what ISY thinks the status is. If the ISY shows that a device that is physically on to be off, then I would suspect comm problems. If the ISY shows a device that is physically on to be on, but at something less than 100%, then stusviews nailed it.

 

Regardless, if any of your four devices are dimmers, I second the suggestion using "not off" as a better condition.

Link to comment

OK, thanks.  So to build on it.  I am looking at the actual switches that turn on the lights.  Three of them are SwitchLincs.  The Fourth light is actually the load button on the KPL that is not a dimmer either (since all lights are CFL, I made sure I purchased the non-dimming)

 

I didn't check the devices individually, so I'll try that tonight.  I also like the "not off" approach better regardless.

Link to comment

I'm not exactly sure of what you want, but for the KPL button that is the controller of the "all outside lights" scene, if you make it a responder to all 3 of the individual lights scene then it will turn on when any or all of those 3 are on. Then you can press it once to turn them off no matter if 1, 2, or all 3 are on.

 

This advantage of this is that it's all controlled by insteon, no need for a program. The disadvantage is that it tracks the last status, so if 1 is turned on, then 2 is turned on, then off, the all KPL will show off.

 

Sent from my Nexus 7 using Tapatalk

Link to comment

Jimbo,

The disadvantage is that if only one light is on and you want the rest on then you would have to press the button twice. I am with the op on this one. The scene button should represent the status of the scene. The great thing about the isy is that you can use it to set up your system how you want it.

Link to comment

Jimbo,

The disadvantage is that if only one light is on and you want the rest on then you would have to press the button twice. I am with the op on this one. The scene button should represent the status of the scene. The great thing about the isy is that you can use it to set up your system how you want it.

Eric, yes I was just pointing out another way to handle it. Each way has its advantages and disadvantages.

 

Sent from my Nexus 7 using Tapatalk

Link to comment

Archived

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


×
×
  • Create New...