Jump to content

True status of KPL button for garage door


dpierre

Recommended Posts

Posted

My apologies on this topic... I'm sure it's bee beat to death but I can't find the simple answer I'm looking for.  Maybe there's not one????  Anyway, I'm in lock down and going through my to-do list.  One item is  to program my ISY to give a true status of my garage door utilizing only the one button assigned to open and close the door.  I was never able to get the button to display the actual status of the garage door regardless if the button was depressed.  My work around has been to assign a separate KPL button as a status light to reflect whether the door was opened or closed, although it works as intended,  it's not what I would desire.  Any help would be appreciated.

  • 2 weeks later...
Posted

@dpierre, here is one way to do it.  I'm using a series of 4 programs and a scene to do this.  There might be a simpler way but I evolved a solution for you from something I already had.  In my case, I use Alexa to open and close the door and so had the logic created to prevent Alexa from actuating the door when it was already in the desired state.  'Alexa open the door' does nothing if the door is already open.  I just added the KPL programs to what I already had to get the button operating correctly.

First you need a scene with the KPL button included

1313416867_Screenshot2020-09-10133044.png.692c0d82327336fb8103e299a34f75e0.png

I have a variable defined, $sLeft_Control that is defines the door state desired, 0=Idle, 1=close, 2=open (this is how Alexa controls the door by setting this variable)

The first 2 programs open and close the door based on the variable setting

Left_Open - [ID 0074][Parent 0071]

If
        'Security Panel / Garage_Door_L' Status is Closed
    And $sLeft_Control is 2
 
Then
        Resource 'Garagedoor_2'
        Run Program 'Left_Open' (Else Path)
 
Else
        Wait  2 seconds
        $sLeft_Control  = 0
----------------------------------

Left_Close - [ID 007C][Parent 0071]

If
        'Security Panel / Garage_Door_L' Status is Open
    And $sLeft_Control is 1
 
Then
        Resource 'Garagedoor_2'
        Run Program 'Left_Close' (Else Path)
 
Else
        Wait  2 seconds
        $sLeft_Control  = 0
-----------------------------------

The next program sets the variable based on the state of the KPL button

A_KPL_Operate - [ID 0094][Parent 0071]

If
        'Garage KPL' Status is On
 
Then
        $sLeft_Control  = 2
 
Else
        $sLeft_Control  = 1
-----------------------------------

The last program updates the state of the KPL button in case the garage door is opened/closed using some other method (button in the garage etc)

Update_Left - [ID 0095][Parent 0071]

If
        'Security Panel / Garage_Door_L' Status is Open
 
Then
        Set 'Left_Garage' On
 
Else
        Set 'Left_Garage' Off
 

 

Posted (edited)

Can be done with 1/2 scene if IOlinc and sensor are correctly setup. 
 

I sold my house so don't have setup in front of me to show. But from memory IOlinc to toggle A I think. Wire to NC with appropriate mag sensor. Make a button (controller) and IOlinc relay (responder) in a scene. Then put sensor (controller) and and button (responder) in second scene. 
 

But that is from a 2+ year old memory. 

Edited by bambamf16
Posted

I do mine only with scenes...no programs.   Button is ON when door is open and OFF when door is closed.  General concept:

- sensor is wired to be ON when door is open

- configure button to send only ON commands

- create scene with button as controller and relay as responder

- create scene with sensor as controller and button as reponder

- configure IOLinc as momentary, responding to ON commands.

hopefully, I have not forgotten something.  There is a very good set of instructions in the wiki.

 

  • Like 1
Posted

Thanks for everyone's input.  I'm currently away on business, after I get and have some free time I'll explore these options.  Again  thanks for responding.

Guest
This topic is now closed to further replies.

×
×
  • Create New...