How to light a button on the ELK when a door is insecure

signal15

Senior Member
I want to light or blink my F4 button when one of the garage doors is open. I can't figure out how to do this. Someone else had mentioned in another thread that they were doing this, but the only things I can find that are keypad related in the automation rules are to beep or send text to the keypad. I see nothing for blinking.
 
Go to Keypads in RP. Select Keypad xx. Go to F4, under illumination event select 40xx for the correct zone status. Check the blink light option.

You can then use the F4 button to close the door by linking it to an output if you choose. The output would also have to be wired to the opener...you get the idea...
 
Go to Keypads in RP. Select Keypad xx. Go to F4, under illumination event select 40xx for the correct zone status. Check the blink light option.

You can then use the F4 button to close the door by linking it to an output if you choose. The output would also have to be wired to the opener...you get the idea...

What if I want to blink the button if *either* garage door is open?
 
Awesome, set the F4 illumination event to 7205, and put in the following rules below. I wish there was an OR function, and maybe some IF/THEN/ELSE functionality. Better yet, a Python, Perl, or Ruby interpreter. :)
 

Attachments

  • Screen_shot_2009_11_14_at_1.54.51_PM.png
    Screen_shot_2009_11_14_at_1.54.51_PM.png
    11.3 KB · Views: 21
Something like this will send a button press to only the doors that are open.

Code:
----------------------Test and Close Garage Doors-----------------------
3 WHENEVER F1 KEY ON ANY KEYPAD ACTIVATES
THEN ACTIVATE CloseGarageDoors (Task 1)
4 WHENEVER CloseGarageDoors (Task 1) IS ACTIVATED
AND HsGarWOvrHdDoor (Zn 36) IS NOT SECURE
THEN TURN HisGarDoorWest (Out 33) ON FOR 1 SEC
5 WHENEVER CloseGarageDoors (Task 1) IS ACTIVATED
AND HsGarEOvrHdDoor (Zn 37) IS NOT SECURE
THEN TURN HisGarDoorEast (Out 34) ON FOR 1 SEC
6 WHENEVER CloseGarageDoors (Task 1) IS ACTIVATED
AND HerGarOvrHdDoor (Zn 38) IS NOT SECURE
THEN TURN HerGarDoor (Out 35) ON FOR 1 SEC
 
This is similar to what I have now for garage door control. I just wanted a good way to be able to look over at something and see if the door was open without having to physically go out there and look.
 
I just wanted a good way to be able to look over at something and see if the door was open without having to physically go out there and look.
I use a blue LED installed in the open space of the keypad and connected to the keypad's spare output.
 
I have 4 overhead garage doors (mainlevel and basement garages) and wanted a light to be on whenever any door was open. I don't know if this is the best way, but. .

I set a counter to increment up each time any OH door becomes unsecure, it increments down whenever one becomes secure. An output gets turned on whenver the counter is > 0. The keypad light is on whenever the output is on. To guard against the counter getting thrown off by simultaneous events, I also have a rule to set the counter to zero whenever the system becomes ready to arm (all OH doors are of course shut).
 
Don't know if it's better or worse, but I use this


Code:
-----------------Turn Garage Door Indicator ( F1 ) ON-----------------
10 WHENEVER HsGarWOvrHdDoor (Zn 36) BECOMES NOT SECURE
THEN TURN Output 100 ON
11 WHENEVER HsGarEOvrHdDoor (Zn 37) BECOMES NOT SECURE
THEN TURN Output 100 ON
12 WHENEVER HerGarOvrHdDoor (Zn 38) BECOMES NOT SECURE
THEN TURN Output 100 ON
13 WHENEVER EVERY 5 SECONDS
AND HsGarWOvrHdDoor (Zn 36) IS SECURE
AND HsGarEOvrHdDoor (Zn 37) IS SECURE
AND HerGarOvrHdDoor (Zn 38) IS SECURE
THEN TURN Output 100 OFF
 
AceCannon,
Add an AND statement in your counter decrement Rule "AND Counter X IS GREATER THAN 0" to prevent decrementing from 0 to 65535.
 
I use a blue LED installed in the open space of the keypad and connected to the keypad's spare output.

I've been going to do that for the longest time. Thanks for the reminder. Did you install a current-limiting resister in series with the LED?
 
Did you install a current-limiting resister in series with the LED?
Yes, I make a durable "package" by soldering the dropping resistor to the LED, and then soldering wire leads to both, then shrink-wrapping each leg (including covering the entire resistor), and finally shrink-wrapping the two legs. For later convenience I color-code the leads. The LED just rests inside the open space, positioning is not critical.

I choose the resistor value experimentally based largely on the light output since the various LEDs can have a wide range of currents.
 
Back
Top