Use Keypad as a Code Entry
I have a customer who has a door prewired for a door strike and security type keypad to unlock it. I think it would be nice to use that location for a 6 button keypad and allow the customer to getting lighting control there. The only question is how to let the customer punch in a simple code on a QS keypad to release the strike. This is an interior door mostly intended to keep the kids out of the booze. I wouldn't do this for something requiring a high level of security.
Use Conditional Programming on all the buttons.
Have one button enter you into keypad mode by setting a variable.
All the other buttons will be programmed to operate lights normally unless the keypad mode variable is true.
If keypad mode is true, set sequence of buttons I want to consecutively change variables from false to true in a stacking fasion (if gate 1 AND gate 2 AND gate 3 AND gate 4 are open, set contact closure output to high).
Set a bunch of conditional statements on the other buttons so that if a button is pressed in the wrong order, all gates close. (I know, thats a lot of work and thought into a simple statement).
Hold on the keypad mode button would lock the strike.
I'd love to know if anyone has done anything like this before.
Thanks