Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
    • Browse by device type
    • Device capabilities
      • Common methods
      • Detection and alarms
      • Image
      • PTZ
      • Light
      • Recording
      • Audio
      • Media
      • Network
        • Cellular
        • LAN
        • Link
        • External services
        • Wi-Fi
        • Provisioning
          • network.provisioning.insensitive (Insensitive provisioning)
          • network.provisioning.insensitiveGateway (Insensitive provisioning (gateway hotspot))
          • network.provisioning.authBind (Authorized binding)
          • network.provisioning.batchAdd (Gateway batch add sub-devices)
          • network.provisioning.accessoryPaired (Accessory paired)
        • Gateway
        • Bluetooth
        • Zigbee
      • Power
      • Privacy
      • Call
      • Storage
      • System
      • Algorithm
      • Maintenance
      • Control
    • Events overview
    • 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
What it does
Reported fields
Example
Minimum permission

network.provisioning.accessoryPaired (Accessory paired)

network.provisioning.accessoryPaired: Accessory paired

network.provisioning.accessoryPaired · device scope · message query permission Alarm

What it does

Reported when an accessory pairs successfully. msgType is network.provisioning.accessoryPaired. Subscribe to capabilityEvent via setMessageCallback for real-time push; pull and push use the same payload shape. Common fields are in Receive device messages and the shared event payload conventions.

Reported fields

Fields inside outputData. Root-level localTime and other platform fields are shared; when both root localTime and outputData.localTime appear, follow the live device payload.

NameDescriptionTypeRequired
snAccessory serial numbertextno
macMAC addresstextno
localTimeLocal timetextno
pidAccessory product IDtextno

Example

{
 "msgType": "network.provisioning.accessoryPaired",
 "deviceId": "TESTGW000012345",
 "productId": "56WGTET2",
 "outputData": { "sn": "ACC0001", "mac": "AA:BB:CC:DD:EE:FF" },
 "time": 1673406989,
 "localTime": "20230111T111629",
 "alarmId": "116257862023505xxxx"
}

Minimum permission

The administrator does not need an extra permission on a device they bound. A shared device needs the alarm-message permission. A bound sub-user does not. A sub-account needs Alarm. List and search APIs filter out events you are not allowed to see. Provisioning.

network.provisioning.batchAdd (Gateway batch add sub-devices)
network.gateway.accessory (Gateway accessory)