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

Key inserted

Key inserted detection.door.keyInserted

Key fields

No event-specific extension fields; business data is in Common payload (deviceId, channelId, time, etc.).

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.

Subscribe to capabilityEvent in setMessageCallback. msgType matches the event ID in this page title (detection.door.keyInserted, same as the Event types index). For the V2 push payload (deviceId, productId, outputData, etc.), see Common payload and Receive alarm messages; this page summarizes outputData only. Query/receive requires message permission Alarm (see Message permissions).

This event is usually device-level (samples without channel extensions may omit channelId).

Related

  • Key inserted (capability reference)
  • Receive alarm messages (capabilities)
  • Receive alarm messages (guide)
  • Search messages by type
  • Event types