espressif / esp-matter

Espressif's SDK for Matter
Apache License 2.0
645 stars 150 forks source link

Matter Door Lock Server events (CON-1269) #1020

Closed bilalmalik76 closed 1 month ago

bilalmalik76 commented 1 month ago

How to implement the following Matter door lock mandatory server events using esp-matter sdk:

According to Matter harness test above are the mandatory attributes.

shubhamdp commented 1 month ago

@bilalmalik76 when you create a door lock cluster, then these events will be added to the data model. From your list only 3 are mandatory:

  1. DoorLockAlarm
  2. LockOperation
  3. LockOperationError

DoorStateChange depends on door position change (DPS) feature. LockUserChange depends on user(USR) feature.

For these two you will have to add these features to your data model. Please check the programming guide for how to add features.

dhrishi commented 1 month ago

@bilalmalik76 Will you please give it a try and provide an update?

dhrishi commented 1 month ago

Closing it now. Re-open in case of any questions