Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
    • Browse by device type
    • Device capabilities
    • Events overview
      • Event types
      • Device status
      • Binding and authorization
      • Detection and alarms
      • Doorbell and lock
      • Service events
      • Overview and common payload
      • Event message types
      • Event message format
    • Permission codes
    • Capability error codes
    • Alarm and capability messages
    • Capability FAQ
    • Legacy ability and push types
  • API reference
  • SDK and tools
  • Solutions
  • Platform and support
On this page
Key fields
Notes
Related

Door unlock event

Door unlock event detection.door.unlockEvent

Key fields

FieldTypeRequiredValues
typeenumno0–15 credential type
keyIDintno0–999999 (keyID, different key from keyId on Lock duress alarm)
resultintno0 failure; 1 success (device-dependent)
directionenumno0 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.

Related

  • Door unlock event (capability reference)
  • Door lock / sensor
  • Receive alarm messages (capabilities)
  • Receive alarm messages (guide)
  • Search messages by type
  • Event types