Keypad to control modes?

If you have access to RBoy Apps check out the Enhanced ZigBee Keypad device handler. This will allow your IRIS keypad to accept “codes” which can programmed using the SmartThings SmartLocks app or similar any Lock User Management SmartApp.

The keypad will change state to “locked” when a valid code is entered and the arm button is pressed. Now you can use any automation rule like CoRE or WebCoRE to take actions when the keypad is “locked”. If you’re using the Lock User Management SmartApp you can setup an action in there to change your mode to “staffed” when a valid code is entered making it even easier to setup and user. You can similarly configure the app actions to change the mode back to “unstaffed” when it’s “unlocked” using a valid code.