-
Notifications
You must be signed in to change notification settings - Fork 3
Implement Door Lock CC v4 #171
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Door Lock CC is mandatory for controller minimal control (§7.2.5.2). It handles lock/unlock operations, bolt status, and door sensor status for smart locks.
Scope:
DoorLockCommandClass : CommandClass<DoorLockCommand>with[CommandClass(CommandClassId.DoorLock)]OperationSetAsync(DoorLockMode mode)- lock/unlock (Secured, Unsecured, UnsecuredWithTimeout, etc.)OperationGetAsync()→ current lock mode, door condition (open/closed), bolt/latch status, lock timeout config, target mode + duration (v4)ConfigurationSetAsync(...)- operation type (constant/timed), lock timeout, auto-relock, hold-and-release, block-to-block, twist-assist (v4)ConfigurationGetAsync()→ current configurationCapabilitiesGetAsync()→ supported operation types, modes, door components, auto-relock support, etc. (v4)
- Process unsolicited
OperationReportfrom lifeline - Note: Door locks almost always require S2 Access Control security - the CC itself works without it, but real-world usage needs security (Implement Security 2 crypto foundation and SecurityManager #147, Implement Security 2 message encapsulation (0x9F) #148, Implement Security 2 key exchange and bootstrapping #149)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request