I’ve been able to pair and use my Schlage Sense lock with HA directly since 2022.8.3. thanks @bdraco and all the team for the hard work on this!
but after pairing to HA, all access codes are lost and they can not longer be added with the Schlage app.
I tried to remove lock from HA, add it back to HomeKit, add my codes, remove from HomeKit and add it back to HA… but codes are lost.
is there a way to readd codes while keeping the HA pairing?
Schalge has a way to manually add codes directly on the key pad… but it’s not working when paired. It can only be used when working in standalone mode.
I can surely test different things… but reverse engineer is very far from what I can do…
Have any developments on this by any chance been made in 2022.9.0?
I would love to know if someone is working on the access code support. I would be happy to assist in any way I can but while I have some coding experience, I am certainly not an HA developer or someone that is capable of reverse engineering things.
I was using the Yale Home app for a yale lock with an m1 module. The app matches on the vendor homekit name and sends commands to the HomeKit chars based on that. I don’t know how the schlage app is designed but if you can get it to write to the lock control chars of a lock that has been reexported to HomeKit via the homekit integration you might be able to capture that and figure out how it works
My more recent use cases don’t require the codes and HomeKit is no longer my primary integration platform.
Locking/unlocking is via either an automation, voice assistant, or device engagement; the physical key is the backup in case of an issue, power failure, etc.
Configure schlage sense with HomeKit. This way you retain the ability to create and mange access codes.
Create a helper input_boolean and expose it to HomeKit via HomeKit Bridge
Create 4 automations in HomeKit as follows
When [boolean/switch] is off, Lock Schlage Sense
When [boolean/switch] is on, Unlock Schlage Sense
When Schlage Sense is locked, turn off [boolean/switch]
When Schlage Sense is unlocked, turn on [boolean/switch]
This accomplishes pretty much all of the unlock/lock use cases and monitoring via home assistant. You’ll monitor the state of the lock via the boolean, and you can unlock/lock the lock by setting the boolean.