Device Alarms

Source document: GS_GE Device Integration Documentation V1.0.7

Trigger: Smoke reaches the device or the device button is pressed.

Event name: Device alarm.

Event identifier: alarm。

Note: Alarm events are divided into real and test alarms. Test alarms are mainly used for debugging during device installation.

Request Example

Code Example
{
  "origin_info": {
    "did": "test",
    "cmd": "call",
    "act": "start",
    "type": "GS2-4",
    "isTest": false,
    "degree": "urgent"
  },
  "mode": "alarm",
  "send_time": "2024-01-01 00:00:00"
}

For a type=GE1 device, if degree is present and equals urgent, an activity monitoring alarm is triggered.

Field Description
origin_info.cmd The value call indicates Device Alarms
origin_info.act Alarm Action
origin_info.type Device Type or Model
origin_info.isTest Whether this is a test alarm; test alarms are mainly used for debugging during device installation
origin_info.degree GE1 activity monitoring alarm level; urgent indicates that an activity monitoring alarm was triggered
mode The value alarm indicates an alarm