Skip to content

Commit df2fc59

Browse files
Update new-matter-lock driver to support Aliro feature (#2344)
Signed-off-by: Hunsup Jung <[email protected]> Co-authored-by: Harrison Carter <[email protected]>
1 parent 1f0a05a commit df2fc59

File tree

5 files changed

+1079
-330
lines changed

5 files changed

+1079
-330
lines changed

drivers/SmartThings/matter-lock/profiles/lock-modular-embedded-unlatch.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ components:
1717
- id: lockSchedules
1818
version: 1
1919
optional: true
20+
- id: lockAliro
21+
version: 1
22+
optional: true
2023
- id: battery
2124
version: 1
2225
optional: true

drivers/SmartThings/matter-lock/profiles/lock-modular.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ components:
1717
- id: lockSchedules
1818
version: 1
1919
optional: true
20+
- id: lockAliro
21+
version: 1
22+
optional: true
2023
- id: battery
2124
version: 1
2225
optional: true

drivers/SmartThings/matter-lock/src/lock_utils.lua

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,17 @@ local lock_utils = {
4040
SCHEDULE_END_HOUR = "scheduleEndHour",
4141
SCHEDULE_END_MINUTE = "scheduleEndMinute",
4242
SCHEDULE_LOCAL_START_TIME = "scheduleLocalStartTime",
43-
SCHEDULE_LOCAL_END_TIME = "scheduleLocalEndTime"
43+
SCHEDULE_LOCAL_END_TIME = "scheduleLocalEndTime",
44+
VERIFICATION_KEY = "verificationKey",
45+
GROUP_ID = "groupId",
46+
GROUP_RESOLVING_KEY = "groupResolvingKey",
47+
ISSUER_KEY = "issuerKey",
48+
ISSUER_KEY_INDEX = "issuerKeyIndex",
49+
ENDPOINT_KEY = "endpointKey",
50+
ENDPOINT_KEY_INDEX = "endpointKeyIndex",
51+
ENDPOINT_KEY_TYPE = "endpointKeyType",
52+
DEVICE_KEY_ID = "deviceKeyId",
53+
COMMAND_REQUEST_ID = "commandRequestId"
4454
}
4555
local capabilities = require "st.capabilities"
4656
local json = require "st.json"

0 commit comments

Comments
 (0)