Yale Assure lock code management with zigbee2mqtt

Thank you, I tested it as descried above and I can set a code using Z2M.

What the best way to get you the debug information?

I’ll send you a dm!

1 Like

This looks awesome, thanks for making it! I’ve been looking for something like this for a while, is there any plans to add scheduling features.

Eg a code that works between 7am-7pm?

1 Like

Hey @matt2468! Glad that you’re enjoying it. Scheduling is a little complicated. Some locks actually support that natively - so the Yale Assure locks let you specify some amounts of scheduling, see the attached image which comes from my Z2M dashboard for the device.

Alternatively, we could enable / disable slots based using automations. I believe that you can probably do all of that with the services that Lockly currently supports currently.

I don’t have plans to tackle this in the near term, but if somebody else wants to work on it and send some pull requests I’m open to it!

I did see these but its not quite clear how to use them to be honest :joy:

hey, no worries! I haven’t used them this way either. But I tried it out and I think you can create a new automation like this. See the screenshot. You need to get the right entry_id for the Lockly config (from Settings → Devices → Lockly → [gear icon for a specific entry]. Then you need to specify which slot you’re modifying. After that, you can modify the enabled status by checking its box (“I want to change the enabled status”) and then changing the slider to on/off (“I want this slot to be active or inactive”). Try it out!

Oh thats awesome! I didnt think to check using the lockly entities in an automation cheers!

This is a fantastic integration-- thank you!

I have one feature request if possible. Can you add a service that returns the name associated with the numerical slot? I have an automation that sends a notification when someone unlocks the door (event includes the code slot that was used), but I have to maintain my own {slot:username} dict in the automation. If you can add a service I could call then I could keep ALL my pin code info within just your integration rather than having to duplicate some of it inside my notification automation.