detection.arming.changed (Arming mode changed)
detection.arming.changed: Arming mode changed
detection.arming.changed · Device and channel · Message query permission Alarm
What it does
Reported when arming mode changes. The payload uses msgType detection.arming.changed. Subscribe to capabilityEvent in callbackFlag. See Receive device messages, setMessageCallback, Event catalog, and Overview and common payload.
Reported fields
Fields inside outputData. Platform fields: Overview and common payload.
| Name | Description | Type | Required | Values |
|---|---|---|---|---|
mode | Mode (catalog required:0; reports usually still include it). | enum | no | away away; home home; disarm disarm |
Example
{
"msgType": "detection.arming.changed",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"channelId": "0",
"outputData": {
"mode": "away"
},
"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/search filters out events you are not allowed to see. Arming.
