Door unlock event
Door unlock event detection.door.unlockEvent
Key fields
| Field | Type | Required | Values |
|---|---|---|---|
type | enum | no | 0–15 credential type |
keyID | int | no | 0–999999 (keyID, different key from keyId on Lock duress alarm) |
result | int | no | 0 failure; 1 success (device-dependent) |
direction | enum | no | 0 outdoor unlock; 1 indoor unlock |
All fields optional. Different eventId from Door opened alarm (compose, often empty {}).
Notes
Standard pushes use capabilityEvent and this page’s msgType; some models may also use legacy msg_type—see device.capability.list and message query.
This page is credential unlock records (type/keyID, etc.), not door-sensor lock-state Door opened alarm (detection.door.opened, compose often {}). Subscribe to capabilityEvent in setMessageCallback. msgType is detection.door.unlockEvent. Push payload: Common payload and Receive alarm messages; requires Alarm. Device-level. Full table and samples: Capability reference.
