Continuing the discussion from [CentraLite Keypads] (CentraLite Keypads - #985 by zcorneli):
This DTH is based on @mitchp’s original code, with improvements from @RudiP, as well as:
- Nicer tiles (largely from RudiP’s work)
- Better support for the tome capability
- Supports the panic button both as a contact sensor and a button (button 1)
- Supports reporting motion via the keypad wakeup sensor.
- Improved pairing procedure to be more reliable
- Support for the Tamper switch (Via tamper capability)
- Support for Entry and Exit delay beeps via SmartAlarm + User Lock Manager
- Support for Exit delay beeps via User Lock Manager
- Can be used with User Lock Manager, or with User Lock Manager and SmartAlarm
Keypad Improved User Lock Manager SmartApp:
- Support multiple keypads
- Support Keypad exit delay
Improved SmartAlarm SmartApp:
- Provides a very close approximation to a “traditional” alarm system
- Support for multiple keypads (for status) - (ULM still handles code input processing)
- Support for Entry and Exit delay beeping via keypads
- Support for device chime on contact open (Works with anything supporting the “Tone” capability properly)
- Chime can be turned on or off per zone, and per keypad.
- Ability to strobe sirens during Entry delay, if desired
- Disable arming (exit) delay in stay mode (Optional to re-enable)
You can use this DTH just with User Lock Manager (And Smartthings SHM), or with both User Lock Manager and SmartAlarm.
To pair the device:
- Install the DTH
- Search for new things
- Put the keypad into pairing mode.
- For a new (previously unpaired) keypad, this is just pull the plastic tab, or put the batteries back in
- For a previously paired keypad, take out the batteries, hold the tamper switch down, put 1 battery in, and release the tamper switch 1-2 seconds after putting the battery in
- The network light on the keypad should begin a slow double blink cycle, indicating its in pairing mode
- Smartthings should find the device, and list it as a CentraLite keypad, or an Iris Keypad (as appropriate
- Once Smartthings finds the device, the network light on the keypad should blink rapidly.
- Once the network light begins blinking rapidly, tap the tamper switch once (on the back of the keypad, under the mounting triangle on Iris keypads).
- Within 2-3 minutes (Usually faster) of pressing the tamper switch, the keypad should beep three times (At least for the Iris variants), and the network light should go solid. (The keypad might go to sleep, in which case wave your hand in front of it to wake it up
To use with just User Lock Manager:
- Install the DTH and pair as above
- Install User Lock Manager SmartApp
- In User Lock Manager SmartApp, select a keypad as the “Locks” you want to use (This won’t do anything, just enable the rest of the app
- Set up the number of users, and user settings however you’d like
- Note, these keypads only support 4-digit PINs, so limit yourself to that)
- Under Keypad Settings (optional), select the keypad(s) you want to use
- Set up the routines used when the keypad is set to various modes
- The default “Goodbye!”, “I’m Back!”, “Good Night!” routines work well for most people
- Set up an arm delay, if desired.
At this point, the keypad + ULM should control Smart Home Monitor appropriately.
To use the keypad with ULM and SmartAlarm:
- Set up the DTH, device, and ULM as above
- Under the ULM Keypad Info (optional) page:
- Set “Send Status to keypad” to false (unchecked)
- Set “Arm Delay (in seconds)” to 0
- Install Smart Alarm SmartApp
- Under SmartAlarm, “Arming/Disarming Options”:
- Select the keypad(s) you want to use
- Select the arming modes you wish to use (The default modes of “Away”, “Night”, and “Home” work well)
- Select an Entry and Exit delay, as desired.
- Under the SmartAlarm “Notification Options” page:
- Select the chime devices (Keypads, and/or other tone devices) you wish to use
- Select any other notification options you’d like
- Under SmartAlarm SmartApp, add or remove any Zones you want to use under the “Add/Remove Zones”
The default is to chime on any contact sensor opening, but not on other things. This can be changed per-zone under “Configure Zones”
The Easiest way to get these is to use the github repository by clicking “Settings” when in the Device Handlers or SmartApps segment of the API, and adding a github repository:
Owner: miriad
Repository Name: Centralite-Keypad
Branch: master
Otherwise, you can download them from here:
DTH here:
User Lock Manager SmartApp here:
SmartAlarm SmartApp here:
Troubleshooting:
If the keypad gives a rapid red blinking status light, its the sign of low batteries. Its possible that Lowes/Iris is sending out units with bad batteries in them (One of my units had crappy batteries in it, and is running much better on fresh batteries).
If the devices arn’t chiming, but entry/exit delay beeps work, check the preferences for the device in the API (not just the app), and ensure beep_duration is 1, and not 0. This can get stuck at 0, and then can only be changed in the API, and for some reason, the preference in the app still shows 1, even though that’s not correct.