So it is ! Thanks very much.
Hi @phairplay, Looks great and I’m loving the Yale Lock integration too. What entity did you use to get the “Usage” element and how do you pull the “Unlocked By” info?
i use an automation to fill in the time and date into an number input
one for each key
- alias: david_unlock_front_door_time
trigger:
- platform: template
value_template: "{{ is_state_attr('lock.front_door', 'lock_status', 'Unlocked by NFC Tag or Card by user 3') }}"
action:
- service: input_datetime.set_datetime
data_template:
entity_id: input_datetime.front_door_david
time: '{{ (as_timestamp(now()) | timestamp_custom("%H:%M:%S", true)) }}'
date: '{{ (as_timestamp(now()) | timestamp_custom("%Y-%m-%d", true)) }}'
then a sensor works out which one is the earliest
- platform: template
sensors:
unlocked_by:
friendly_name: "Unlocked By"
# entity_id: sensor.time_date
value_template: >
{%-if states.input_datetime.front_door_david.state > states.input_datetime.front_door_vicky.state -%}
David
{%-elif states.input_datetime.front_door_vicky.state > states.input_datetime.front_door_david.state -%}
Vicky
{%-elif states.input_datetime.front_door_david.state > states.input_datetime.front_door_spare_card.state -%}
David
{%-elif states.input_datetime.front_door_vicky.state > states.input_datetime.front_door_spare_card.state -%}
Vicky
{%-elif states.input_datetime.front_door_spare_card.state > states.input_datetime.front_door_david.state -%}
Spare
{%-elif states.input_datetime.front_door_spare_card.state > states.input_datetime.front_door_vicky.state -%}
Spare
{%- else -%}
Not registered
{%- endif %}
Thanks - I’m no coder but will have a play myself now!
I like the idea of unlocking the door to allow a delivery driver to leave a parcel indoors with the use of a video doorbell to tell them that - but isn’t it true that this lock don’t relock unless you manually lift the handle? Id be worried the delivery driver wouldn’t lift the handle and then your door is left unlocked and you’re no where close to resolve it.
Yes. I tell them they need to do it when I speak to them. And I ask them to wait whilst I confirm it’s locked properly. Which I get a notification for after about 5 seconds.
Once the delivery driver got the mechanism jammed, but it was easily fixed as I just asked him to pull the door firmly shut and lift the handle again, which sorts it.
That scares me a bit haha - I would worry they’d give up and walk off and leave my house unlocked until I could get home to fix it.
Very close to pulling the trigger on this, but I have a question. Going through (the awful) reviews on the android app store someone posted this
“latest update seems to have removed the ability to change the auto relock timeout and reset the lock to relock after 30 seconds which makes my zwave module useless”
Can anyone confirm? If I want to unlock the door when I arrive home, having 30 secs to park, exit and then enter isn’t very long and I would like to set it longer, say 5 minutes.
Also anyone got any thoughts on this https://www.euro-secure.com/product/ultion-smart-lock-2/?gclid=Cj0KCQjwrdjnBRDXARIsAEcE5YnUXzqiLPxQGIpF9pdA2_g6R3ZJp3WZegBbKUpm_3SY59x3zlYuj44aAhvXEALw_wcB which seems to be the first rival. Interesting.
I can set it between 7 and 60 second on my zwave config options in home assistant.
Hey,
Thanks for the reply. Can you turn it off?
Hi all,
Took the plunge and installed today. Pretty impressed
my home assistant instance is running in a far flung corner of the house and so I’m using a nearby pi with zwave2mqtt hooked up on it. I’ve managed to get it into home assistant with a mqtt lock, and it works well (although has missed the odd status update from the lock which is a bit concerning and I will keep an eye on). The only things I’m having difficulty with is detecting a jammed state. I don’t see any zwave property that shows this, the closest I have seen is an alarm property that gets updated when it goes off (but never updated that the situation is resolved). Also I see a log text property but it never seems to get updated (the entry showing is from yesterday when it wasn’t even installed)
I know all of you are using zwave directly, but anyone got any pointers for me?
I use this and it works although not using the MQTT route, just direct Zwave
- alias: Notify if Front Door Lock is jammed
trigger:
- platform: state
entity_id: sensor.assa_abloy_yale_conexis_l1_sd_l1000_ch_alarm_type
to: '9'
- platform: state
entity_id: sensor.assa_abloy_yale_conexis_l1_sd_l1000_ch_alarm_type
to: '17'
- platform: state
entity_id: sensor.assa_abloy_yale_conexis_l1_sd_l1000_ch_alarm_type
to: '23'
- platform: state
entity_id: sensor.assa_abloy_yale_conexis_l1_sd_l1000_ch_alarm_type
to: '26'
action:
- service: notify.pushover
data:
message: The front door lock is jammed
title: Home Automation
- service: notify.alexa_media
data:
target:
- media_player.living_room
data:
type: tts
message: The front door lock is jammed
aha brilliant thanks
that works well 
The only problem I’ve had with this lock is when unlocking manually it sometimes doesn’t make the 3 tone noise, and this coincides with it not updating it’s new state on z-wave, if this happens pushing in and turning a bit more usually triggers the tone - me and my partner now know to check for that tone when unlocking for that reason - but is there anyway to fix this?
Hey,
Sorry to bump, just curious if anyone else has this problem or if my unit is a bit faulty? I usually have to turn the thumb lock all the way to the right for it to register as unlocked otherwise it’ll be unlocked but won’t have reported its new status (which worries me as it won’t lock itself as it won’t know its locked)
Yes, me too. If you unlock with the thumb turn from the inside it doesn’t register as unlocked until you pull down on the handle. It sounds like it is only making a mechanical unlock and not involving the motor. Guess you will always unlock and then open the door anyway ?
Interesting, that’s not what I’m seeing.
In my case if I unlock with the thumb screw and turn it all the way to the right, it registers as unlocked even if I don’t open it.
If I just turn it enough to unlock the mechanical lock but not enough to trigger the three tone melody, it won’t register to hass its unlocked, even if I push down on the handle and open the door it won’t register as unlocked.
My worry is the door gets manually unlocked, maybe by a guest leaving the house or something, then left, home assistant don’t know about it so won’t warn me or try to lock it automatically, so it gets left unlocked.
I’m considering if a (admittedly annoying) workaround is to get a cheap zigbee button stuck to the door above the lock with an exit label on it, and pushing that unlocks the door via zwave to try and prevent this issue.
I just rechecked and you’re right ! I never knew that. If I turn the lock all the way right it beeps and registers unlocked. Same when locking. If I just turn it until it clicks it’s open but doesn’t register in HA. Think I’ll ring Yale tomorrow !
Sorry haha. Let me know how you get on, I don’t think it’s something that would make me send it back because apart from this I’m very impressed with it, but it’s not ideal for a security product.
I’ve had my device for a couple of weeks now and battery is still at 100% which concerns me as I surely should have lost a couple of percent by now… I hope it doesn’t just die without warning!
