alsorrell Posted February 1, 2015 Posted February 1, 2015 Simple (I think) Garage door application - but having trouble getting what I want: Equipment: - ISY994i - IoLinc controller 2450 - Normally Open (NO) magnetic contacts - 2334-2 8-key Keypad Dimmer Switch (KPL) What I want: - If door is open (IoLinc sensor status=ON), light Button "C" on KPL - If I push Button "C" on controller, have IoLinc relay do a momentary close; trigger door like the momentary switch associated with the garage door opener IoLinc relay is set to Momentary B - Have KPL ONLY reflect the status of the IoLinc Sensor (ON/lit= open, OFF/dark=closed) Scenes - - Garage Status - IoLinc sensor as controller - KPL "C" as Responder - Garage Control - KPL "C" as controller - IoLinc Relay as Responder The problem: Everything works fine until I press KPL "C" to activate the door. If the switch was previously OFF the KPL C light comes on and stays on regardless of the status of the IoLinc Sensor. Similarly, if the KPL "C" was on, the switch indicator light goes OFF regardless of the sensor. What I've tried - 2 simple scenes don't seem to work; one for status and one for control. - Tried a program to set Keypad "C" according to status of IoLinc sensor (see attachment) Any suggestions? This seems like such a common-place scenario that I'd think it should be a FAQ/tutorial. I've read a bunch of posts about doors and what not, but not seen this scenario before. Thanks for any help, Al
stusviews Posted February 1, 2015 Posted February 1, 2015 You don't need a program. Create a scene with the KPL button and I/O Linc Sensor as controllers and the I/O Linc Relay as a responder. I also use Momentary B and have set the button to non-togggle On.
alsorrell Posted February 1, 2015 Author Posted February 1, 2015 Stusviews: Thanks so much for your quick reply. I set up as you described and it works like a charm;! Slowly learning with help from others like yourself! Al
oberkc Posted February 1, 2015 Posted February 1, 2015 You don't need a program. Create a scene with the KPL button and I/O Linc Sensor as controllers and the I/O Linc Relay as a responder. I also use Momentary B and have set the button to non-togggle On. I use two separate scenes, rather than a single scene, but this is an intriguing thought. Is there not concern that the sensor (as controller of the relay) might cause the relay to trigger as it changes state? Perhaps there are built in protections for this that I have not heard of or forgotten.
paulbates Posted February 1, 2015 Posted February 1, 2015 I use two scenes, and the keypad being lit means the door is up. I don't need a program for keypad activation of the door, but a program is needed to test the io linc sensor after 20 seconds of the down action to make sure it completes. I press the lit key to send the door down,and the light goes out and I assume the door goes all the way down. It's rare, but if the door threshold sensor trips midway going down (leaves, debris), and it stops the door or sends it back up, the program relights the key indicating the door is not down. I can't see my door, so this is important. Sent from my iPad using Tapatalk HD
oberkc Posted February 1, 2015 Posted February 1, 2015 Alsorrell, I suspect the single problem you had was that you did not configure your button as NON-TOGGLE ON. Perhaps a single scene would work, but your scenes looked correct as described. Set up this way, there is only one way for the KPL to be off...that is, for the sensor to turn it off. Given this, there is a high level of confidence that if the sensor is off, the door is closed.
dbwarner5 Posted February 8, 2015 Posted February 8, 2015 After reading the above, I feel I have really complicated things in my programing. Even though the following works, any advice would be welcome. My overall goals are slightly more involved though: I have 2 garage doors and if either or both are open, I have one button (KP4) on three different Keypads light up. If any of those buttons are subsequently pressed, then I FLASH lights in the garage and nearby for 30 seconds as a warning, then proceed to shut the open door or both as needed. If it fails the first time, it will flash the lights again and try a second time. If it fails the second time, then I set off two separate Chimes inside the house and cause the keypad lights to blink to alert me that it failed. As a result i have quite a few programs and just one scene to light the KP4s. Can this be simplified? (even though it seems to work well). I may not fully understand the power of controllers/responders in scenes and instead relying on way too much programming. Thanks! Programing starts by monitoring garage door status: Garage Door1 Status: If Status 'Garage Door 1 Sensor' is Off Then $GarageDoor1 = 1 Set Scene 'Keypad light Scenes / KP4 Garage Indicator' On Else $GarageDoor1 = 0 Garage Door2 Status If Status 'Garage Door 2 Sensor' is Off Then $GarageDoor2 = 1 Set Scene 'Keypad light Scenes / KP4 Garage Indicator' On Else $GarageDoor2 = 0 Then based on Status, it will turn on the KP4 light on three keypads: Check Light Key pad On If ( $GarageDoor1 is 1 Or $GarageDoor2 is 1 ) Or ( ( $GarageDoor2 is 1 Or $GarageDoor1 is 1 ) And ( Control 'Entryway KP4' is switched Off Or Status 'Entryway KP4' is Off Or Control 'Great Room KP4' is switched Off Or Status 'Great Room KP4' is Off Or Control 'Mstr Bed KP4' is switched Off Or Status 'Mstr Bed KP4' is Off ) ) Then Wait 3 minutes and 1 second Set Scene 'Keypad light Scenes / Entryway Keypad / Entryway KP4 LED' 100% Else - No Actions - (To add one, press 'Action') Likewise, if the doors are shut, it checks to ensure the lights on KP4 are off (i.e. someone presses it on by accident) Check Light Key pad off If ( Control 'Great Room KP4' is switched On Or Control 'Great Room KP4' is switched Fast On Or Status 'Great Room KP4' is not Off Or Control 'Entryway KP4' is switched On Or Control 'Entryway KP4' is switched Fast On Or Status 'Entryway KP4' is not Off Or Control 'Mstr Bed KP4' is switched On Or Control 'Mstr Bed KP4' is switched Fast On Or Status 'Mstr Bed KP4' is not Off ) And ( $GarageDoor1 is 0 And $GarageDoor2 is 0 ) Then Wait 3 seconds Set Scene 'Keypad light Scenes / KP4 Garage Indicator' Off Else - No Actions - (To add one, press 'Action') So now, assuming door 1 is open, the KP4s are lit, then any press of any of the KP4's will shut garage 1 by first running warning light, shutting, if failed, will run it again, if fails a second time, runs Garage Door Failed to Shut: Garage Door 1 Shut If $GarageDoor1 is 1 And $GarageDoor2 is 0 And ( Control 'Entryway KP4' is switched Off Or Control 'Great Room KP4' is switched Off Or Control 'Mstr Bed KP4' is switched Off ) Then Run Program 'Garage Warning lights' (Then Path) Wait 30 seconds Set 'Garage Door 1 Relay' 100% Wait 30 seconds Run Program 'Garage Warning lights' (Then Path) Wait 30 seconds Set 'Garage Door 1 Relay' 100% Wait 45 seconds Run Program 'Garage Door failed to shut' (If) Else - No Actions - (To add one, press 'Action') There is a similar program for Garage 2. Garage Door 2 Shut If $GarageDoor2 is 1 And $GarageDoor1 is 0 And ( Control 'Entryway KP4' is switched Off Or Control 'Great Room KP4' is switched Off Or Control 'Mstr Bed KP4' is switched Off ) Then Run Program 'Garage Warning lights' (Then Path) Wait 30 seconds Set 'Garage Door 2 Relay' 100% Wait 30 seconds Run Program 'Garage Warning lights' (Then Path) Wait 30 seconds Set 'Garage Door 2 Relay' 100% Wait 45 seconds Run Program 'Garage Door failed to shut' (If) Else - No Actions - (To add one, press 'Action') And lastly a similar program if both garage doors are open which : Garage Door 1 + 2 Shut If $GarageDoor1 is 1 And $GarageDoor2 is 1 And ( Control 'Entryway KP4' is switched Off Or Control 'Great Room KP4' is switched Off Or Control 'Mstr Bed KP4' is switched Off ) Then Run Program 'Garage Warning lights' (Then Path) Wait 30 seconds Set 'Garage Door 1 Relay' 100% Set 'Garage Door 2 Relay' 100% Run Program 'Garage Delay' (Then Path) Else - No Actions - (To add one, press 'Action') However, in case of two doors going down, it has to check independently if they both succeeded or not to try determine if a second try for just that door is needed, which is done through the following: Garage Door Delay: If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Wait 30 seconds Run Program 'Garage Door 1 Shut 2nd try' (If) Run Program 'Garage Door 2 Shut 2nd try' (If) Else - No Actions - (To add one, press 'Action') Disabled program, only callable from above: Garage Door 1 Shut 2nd try: If $GarageDoor1 is 1 And $GarageDoor2 is 0 Then Run Program 'Garage Warning lights' (Then Path) Wait 30 seconds Set 'Garage Door 1 Relay' 100% Wait 45 seconds Run Program 'Garage Door failed to shut' (If) Else - No Actions - (To add one, press 'Action') Leave disabled Disabled program, only callable from above:Garage Door 2 Shut 2nd try: If $GarageDoor2 is 1 And $GarageDoor1 is 0 Then Run Program 'Garage Warning lights' (Then Path) Wait 30 seconds Set 'Garage Door 2 Relay' 100% Wait 45 seconds Run Program 'Garage Door failed to shut' (If) Else - No Actions - (To add one, press 'Action') Leave disabled The Warning lights program is: Garage Warning Lights: If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Disable Program 'Outside Garage lights on at sunset' Repeat 3 times Set 'Outside Garage Front Lights' Fast On Set 'Garage light Kennel switch' Fast On Wait 2 seconds Set 'Outside Garage Front Lights' Fast Off Set 'Garage light Kennel switch' Fast Off Wait 2 seconds Repeat 1 times Enable Program 'Outside Garage lights on at sunset' Run Program 'Outside Garage lights on at sunset' (If) Else - No Actions - (To add one, press 'Action') So if failure in any of the above door shutting routines occurs then i set off the alarms and blink kp4 by calling this disabled program. I also disable the other shutting programs for safety. This program becomes enabled, and essentially waits for me to get the doors shut by solving the problem in the garage. Once they are shut, it becomes false and resets all the other programs to run normally, and re-disables itself. Garage Door Failed to Shut If $GarageDoor1 is 1 Or $GarageDoor2 is 1 Then Enable Program 'Garage Door failed to shut' Disable Program 'Garage Door 2 Shut ' Disable Program 'Garage Door 1 Shut' Disable Program 'Garage Door 1 +2 Shut' Run Program 'X10 Relay On C3' (Then Path) Run Program 'X10 Chime C1' (Then Path) Repeat 20 times Set Scene 'Keypad light Scenes / KP4 Garage Indicator' Off Wait 3 seconds Set Scene 'Keypad light Scenes / KP4 Garage Indicator' On Else Set Scene 'Keypad light Scenes / KP4 Garage Indicator' Off Enable Program 'Garage Door 1 Shut' Enable Program 'Garage Door 1 +2 Shut' Enable Program 'Garage Door 2 Shut ' Disable Program 'Garage Door failed to shut' Keep this program disabled. X10 Relay C3 is a Chime Lastly, to make it all work, i need to ensure that once a relay is turned on, I turn it back off. This may be because of how i have the relays set. Garage door 1 relay off If Status 'Garage Door 1 Relay' is On Then Wait 10 seconds Set 'Garage Door 1 Relay' Off Else - No Actions - (To add one, press 'Action') Same program for door 2 Garage door 2 relay off: If Status 'Garage Door 2 Relay' is On Then Wait 10 seconds Set 'Garage Door 2 Relay' Off Else - No Actions - (To add one, press 'Action')
Recommended Posts