detection.door.closed (Door closed alarm)
detection.door.closed: Door closed alarm
detection.door.closed · device scope · message query permission Alarm
What it does
Reported when the door closes. Under group_policy: compose, legacy and standard idents may merge into one msgType. After subscribing to capabilityEvent, see Receive device messages and setMessageCallback · Event catalog · Common payload.
Reported fields
No extra business fields (compose event). Platform fields are in Common payload.
Example
{
"msgType": "detection.door.closed",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"outputData": {},
"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.
