Jump to content

Scene help needed with kpl status


EricK

Recommended Posts

Posted

Hi,

Edit: I found the problem. I had the KPL response set to 0 in the Night KPL scene. Previously, I was only using the scene to turn the KPL off. With HL I used to set the responders in my all off scenes to On. When the scene was turned off, the responders all turned off. Had I stuck with that system this would have worked fine from the beginning. With the KPL night scene response set to 100, my program works fine.

 

 

We have a scene called "Night" also used as a morning scene in the great room. The kitchen lights and cabinet lights are on, all other lights are off (including the cabinet R lights).

I have a program to turn off the Night button if the scene is disrupted:

If
       Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots / GR Spots KPL (DB) - F Night' is not Off
   And (
            Status  'Great Room / Great Room Devices / GR Kitchen Lights' is Off
         Or Status  'Great Room / Great Room Devices / GR Sink KPL - A Cabinet' is Off
         Or Status  'Great Room / Great Room Devices / GR Island Lights' is On
         Or Status  'Great Room / Great Room Devices / GR Breakfast Lights (DB)' is not Off
         Or Status  'Great Room / Great Room Devices / GR Pantry Lights' is On
         Or Status  'Great Room / Great Room Devices / GR Cabinets R (DB)' is not Off
         Or Status  'Great Room / Great Room Devices / GR Family Room Lights' is On
         Or Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots' is not Off
       )

Then
       Wait  4 seconds
       Set Scene 'Great Room / GR Night KPL' Off

Else
  - No Actions - (To add one, press 'Action')


I am trying to do the opposite. If only the Kitchen lights and cabinet lights are on, everything else is off, then the night button will light up. Not a big deal and totally not necessary, but trying to make it work. Here is what I have, but it is not working:

If
       Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots / GR Spots KPL (DB) - F Night' is Off
   And (
            Status  'Great Room / Great Room Devices / GR Kitchen Lights' is On
        And Status  'Great Room / Great Room Devices / GR Sink KPL - A Cabinet' is not Off
        And Status  'Great Room / Great Room Devices / GR Island Lights' is Off
        And Status  'Great Room / Great Room Devices / GR Breakfast Lights (DB)' is Off
        And Status  'Great Room / Great Room Devices / GR Pantry Lights' is Off
        And Status  'Great Room / Great Room Devices / GR Cabinets R (DB)' is Off
        And Status  'Great Room / Great Room Devices / GR Family Room Lights' is Off
        And Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots' is Off
       )

Then
       Wait  4 seconds
       Set Scene 'Great Room / GR Night KPL' On

Else
  - No Actions - (To add one, press 'Action')


I even took out the first line, but still not working. What am I missing here?

Thanks,

Eric

Posted

Not another question, but something to learn from.

So I tried this with for our dining scene KPL buttons to monitor the scene. Turn the KPL on if the the devices included in the scene are all on and devices that are supposed to be off are off. And vice versa. We came home and I noticed the dining kpls were both turning on, then off, then on, and so on.

Here is the first program to turn the KPL off if the scene is disrupted:

If
       (
            Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots / GR Spots KPL (DB) - E Dining' is not Off
         Or Status  'Great Room / Great Room Devices / GR Sink KPL - A Cabinet / GR Sink KPL - H Dining' is not Off
       )
   And (
            Status  'Great Room / Great Room Devices / GR Kitchen Lights' is Off
         Or Status  'Great Room / Great Room Devices / GR Sink KPL - A Cabinet' is Off
         Or Status  'Great Room / Great Room Devices / GR Island Lights' is Off
         Or Status  'Great Room / Great Room Devices / GR Breakfast Lights (DB)' is Off
         Or Status  'Great Room / Great Room Devices / GR Pantry Lights' is Off
         Or Status  'Great Room / Great Room Devices / GR Cabinets R (DB)' is Off
         Or Status  'Great Room / Great Room Devices / GR Family Room Lights' is On
         Or Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots' is not Off
       )

Then
       Wait  4 seconds
       Set Scene 'Great Room / GR Dining KPLs' Off

Else
  - No Actions - (To add one, press 'Action')


And the second program to turn the scene on. I created this by copying the first scene and switching "not offs to off", "ons to offs', and offs to not offs or ons":

If
       (
            Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots / GR Spots KPL (DB) - E Dining' is Off
         Or Status  'Great Room / Great Room Devices / GR Sink KPL - A Cabinet / GR Sink KPL - H Dining' is Off
       )
   And (
            Status  'Great Room / Great Room Devices / GR Kitchen Lights' is On
         Or Status  'Great Room / Great Room Devices / GR Sink KPL - A Cabinet' is not Off
         Or Status  'Great Room / Great Room Devices / GR Island Lights' is On
         Or Status  'Great Room / Great Room Devices / GR Breakfast Lights (DB)' is not Off
         Or Status  'Great Room / Great Room Devices / GR Pantry Lights' is On
         Or Status  'Great Room / Great Room Devices / GR Cabinets R (DB)' is not Off
         Or Status  'Great Room / Great Room Devices / GR Family Room Lights' is Off
         Or Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots' is Off
       )

Then
       Wait  4 seconds
       Set Scene 'Great Room / GR Dining KPLs' On

Else
  - No Actions - (To add one, press 'Action')


What I did not do was to change the conditions to ands instead of ors, like this, which fixed the problem.:

If
       (
            Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots / GR Spots KPL (DB) - E Dining' is Off
         Or Status  'Great Room / Great Room Devices / GR Sink KPL - A Cabinet / GR Sink KPL - H Dining' is Off
       )
   And (
            Status  'Great Room / Great Room Devices / GR Kitchen Lights' is On
        And Status  'Great Room / Great Room Devices / GR Sink KPL - A Cabinet' is not Off
        And Status  'Great Room / Great Room Devices / GR Island Lights' is On
        And Status  'Great Room / Great Room Devices / GR Breakfast Lights (DB)' is not Off
        And Status  'Great Room / Great Room Devices / GR Pantry Lights' is On
        And Status  'Great Room / Great Room Devices / GR Cabinets R (DB)' is not Off
        And Status  'Great Room / Great Room Devices / GR Family Room Lights' is Off
        And Status  'Great Room / Great Room Devices / GR Spots KPL (DB) - A Spots' is Off
       )

Then
       Wait  4 seconds
       Set Scene 'Great Room / GR Dining KPLs' On

Else
  - No Actions - (To add one, press 'Action')


Eric

This tutorial is very helpful if you are new to the ISY:

http://adamsj.com/isy/basementa.htm

Guest
This topic is now closed to further replies.

×
×
  • Create New...