Arming mode changed
Arming mode changed detection.arming.changed
Key fields
| Field | Type | Notes |
|---|---|---|
mode | enum | home Home; away Away; disarm Disarm |
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 is detection.arming.changed (same as Event types). Push payload: Common payload and Receive alarm messages; this page summarizes outputData only. Requires Alarm permission. Device or channel level (may include channelId).
compose: Legacy arming codes (e.g. home/leave/no_defend or legacy Home/Away/Disarm msg_type) merge to catalog msgType detection.arming.changed. The platform maps outputData.mode to the string enum in the table above—do not parse legacy payloads wholesale or as ints. See Event message types. Current mode property: Arming mode.
{
"msgType": "detection.arming.changed",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"channelId": "0",
"outputData": { "mode": "away" },
"time": 1673406989,
"alarmId": "116257862023505xxxx"
}
