Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Door lock help #4

Open
frios opened this issue Aug 31, 2023 · 1 comment
Open

Door lock help #4

frios opened this issue Aug 31, 2023 · 1 comment

Comments

@frios
Copy link

frios commented Aug 31, 2023

I am using your library to write a simple Matter server that will set a door lock's state when changed inside of HomeKit. I have the ESP32 device working and I can add it to HomeKit. I then try to lock the physical lock from HomeKit, but I have no idea where in the code I should be intercepting this action. It seems to me that the on_device_event callback function would be a logical place, but I am not getting anything on that function when I try to change the lock state on HomeKit.

Could you maybe point me in the right direction if this is completely wrong?

Thank you.

@Johaan1314
Copy link

try on_attribute_update function.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants