Jump to content

KPL and Status


marcin

Recommended Posts

We have two car garage with three lights "Garage 1 Main Light", "Garage 2 Main Light" and "Garage LED Strip". What I would like to do is turn on KPL button to indicate that any or two or three lights are on and beep. So I wrote a program listed below. When any of the lights are turned on my keypad beeps but the light is not coming on.

 

Gargage All - [iD 0011][Parent 0027]

 
If
        (
             Status  'Garage / Garage 1 Main Light' is not Off
          Or Status  'Garage / Garage LED Strip' is Off
          Or Status  'Garage / Garage 2 Main Light' is Off
        )
 
Then
        Set 'Master Bedroom / Master Bedroom Fan' 1 (Beep Duration)
        Set 'Master Bedroom / Master Bedroom Fan / F.Garage All' On 15 / Off 0 (Backlight Level)
 
Else
   - No Actions - (To add one, press 'Action')
 
I'm lost why the light would not came up. I would appreciate any feedback.
Link to comment

 

We have two car garage with three lights "Garage 1 Main Light", "Garage 2 Main Light" and "Garage LED Strip". What I would like to do is turn on KPL button to indicate that any or two or three lights are on and beep. So I wrote a program listed below. When any of the lights are turned on my keypad beeps but the light is not coming on.

 

Gargage All - [iD 0011][Parent 0027]

 
If
        (
             Status  'Garage / Garage 1 Main Light' is not Off
          Or Status  'Garage / Garage LED Strip' is Off
          Or Status  'Garage / Garage 2 Main Light' is Off
        )
 
Then
        Set 'Master Bedroom / Master Bedroom Fan' 1 (Beep Duration)
        Set 'Master Bedroom / Master Bedroom Fan / F.Garage All' On 15 / Off 0 (Backlight Level)
 
Else
   - No Actions - (To add one, press 'Action')
 
I'm lost why the light would not came up. I would appreciate any feedback.

 

You'll need to create a scene. Put the KPL button in the scene as a responder. Have your program turn on the scene

Link to comment

Thanks I just did that, that worked like a charm, I have one scene called garage on and that represents all kph as controllerand the three lights as responders, then Garage 1 scene KPL as responder and the Light1 as controller; Garage 2 scene KPL as responder and the Light2 as controller and Garage 2 LED scene KPL as responder and the Light2 LED as controller. So in this case if someday will manually turn the light thru the app or the wall switch KPL will update.

 

if anybody knows more efficient way of doing it please let me know.

 

Marcin

Link to comment
  • 2 weeks later...

I have a question I could not find anything related to this although I’m pretty sure I may have missed some posts.

 

I have a garage with Two Switches (On\Off)  and Outdoor Module (On\Off module).

 

One switch controls Garage 1, other switch Garage 2. Garage 2 Switch is also controlling Outdoor Module with LED strip lights connected to it.

 

Garage 2 and LED Lights are linked thru the Scene in ISY called Garage 2 Lights, where Garage 2 Switch is a Controller for LED lights. Anytime when you turn switch On main light turns on and LED lights turn on – which is what I want.

 

We also have a KPL button that I would like to light up if any of the lights Garage 1, Garage 2 and LED Strip are on, and then have an ability to turn off the lights from the keypad button.

 

What I did was I created four scenes:

  • 1st Scene: Garage 1 is controller for KPL Button
  • 2nd Scene: LED Strip  is controller for KPL Button
  • 3rd Scene: KPL Button is a controller for Garage 1 and LED Strip
  • 4th Scene: Garage 2 is controller for KPL Button – that did not worked out since Grage2 is already a controller to LED strip lights.

I’m very lost in here.

Link to comment

Archived

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


×
×
  • Create New...