Schlage Connect ZWave Locks

Ok. To start with, let me get my info up responding to my own post questions… and then when I get home tonight I will edit my post to see if we cant get Vexter running.

I was able to get my hands on the z-wave documentation for YALE locks.

http://www.pepper1.net/zwavedb/uploads/resources/513c90984733a978c86885d00c0a99ef40dd8b72.pdf

Fortunately they use the same COMMAND_CLASS_ALARM scheme as Schlage, so I have working lock/unlock detection for user codes, inside thumb knob, and outside Schlage button. I wrote a quick template below for proof of concept.

Hope this helps…

#security
  - platform: template
    sensors:
      front_lock_last_action:
        friendly_name: 'Last Action'
        value_template: > 
                          {% if 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_level_5_1', '1') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_access_control_5_9', '6') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_type_5_0', '19') %} 
                                  Unlocked: User Code 1
                          {% endif %}

                          {% if 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_level_5_1', '2') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_access_control_5_9', '6') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_type_5_0', '19') %} 
                                  Unlocked: User Code 2
                          {% endif %}
        
                          {% if 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_level_5_1', '1') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_access_control_5_9', '2') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_type_5_0', '22') %} 
                                  Unlocked: Inside Deadbolt
                          {% endif %}

                          {% if 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_level_5_1', '1') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_access_control_5_9', '1') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_type_5_0', '21') %} 
                                  Locked: Inside Deadbolt
                          {% endif %}

                          {% if 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_level_5_1', '0') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_access_control_5_9', '5') 
                          and 
                            is_state('sensor.schlage_be469nxcen_touchscreen_deadbolt_alarm_type_5_0', '18') %} 
                                  Locked: Outside Keypad
                          {% endif %}
5 Likes