Skip to content

Commit

Permalink
Add the support of Aqara Lock S100
Browse files Browse the repository at this point in the history
  • Loading branch information
niceboy committed Oct 24, 2023
1 parent 4238fde commit 63aa3fb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/aqara_gateway/core/lock_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"aqara.lock.dacn03": (
WITH_LI_BATTERY | SUPPORT_ALARM |
SUPPORT_DOORBELL | SUPPORT_WIFI | SUPPORT_CAMERA),
"aqara.lock.acn002": (
WITH_LI_BATTERY | SUPPORT_ALARM |
SUPPORT_DOORBELL | SUPPORT_WIFI | SUPPORT_CAMERA)
}

LOCK_NOTIFICATION = {
Expand Down
31 changes: 31 additions & 0 deletions custom_components/aqara_gateway/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,37 @@
['13.88.85', None, 'door', None],
[None, None, 'lock_event', 'sensor'],
]
}, {
'aqara.lock.acn002': ["Aqara", "Door Lock S100", "ZNMS22LM"],
'params': [
['13.17.85', 'lock_state', 'lock', 'sensor'],
['13.18.85', None, 'key_type', None],
['13.31.85', None, 'lock_event', None],
['13.33.85', None, 'latch_state', None],
['13.37.85', None, 'verification failed', None],
['13.41.85', None, 'unlock from inside', None],
['13.42.85', None, 'unlock by fringprint', None],
['13.43.85', None, 'unlock by password', None],
['13.44.85', None, 'unlock by nfc', None],
['13.45.85', None, 'unlock by homekit', None],
['13.46.85', None, 'unlock by temporary password', None],
['13.49.85', None, 'open in away mode', None],
['13.54.85', None, 'away mode', None],
[None, None, 'key_id', 'sensor'],
['13.55.85', 'voltage', 'voltage', None],
['13.56.85', 'battery', 'battery', 'sensor'],
['13.57.85', None, 'battery notify', None],
['13.62.85', None, 'timestamp', None],
['13.63.85', None, 'user added', None],
['13.64.85', None, 'user removed', None],
['13.65.85', None, 'all user removed', None],
['13.66.85', None, 'nfc added', None],
['13.67.85', None, 'nfc removed', None],
['13.68.85', None, 'homekit reset', None],
['13.88.85', None, 'door', None],
['14.83.85', None, 'bluetooth', None],
[None, None, 'lock_event', 'sensor'],
]
}, {
'lumi.airrtc.tcpecn01': ["Aqara", "Thermostat S1", "KTWKQ02ES"],
'lumi.ctrl_hvac.es1': ["Aqara", "Thermostat", "KTWKQ01ES"],
Expand Down

0 comments on commit 63aa3fb

Please sign in to comment.