Introduction to Alarm

Alarms are important tools for access control devices. This type of tool can alert inappropriate user operations, intrusion attempts, and dangerous user situations. Most alarm configurations are stored on database and can, therefore, be changed in the alarm object.

POST /alarm_status.fcgi

Command to change and get the current status of the alarm. It also makes it possible to deactivate the audible alarm of the device.

Parameters

  • stop (bool): The default value is true. If true, it makes the alarm stops.

Response

  • active (bool): Indicates if the alarm is active.
  • cause (int): Indicates the cause of the alarm activation.
  • 0: No cause
  • 1: Alarm zone 1
  • 2: Alarm zone 2
  • 3: Alarm zone 3
  • 4: Alarm zone 4
  • 5: Alarm zone 5
  • 6: Opened door
  • 7: Door burglary
  • 8: Panic finger
  • 9: Device tampering
  • 10: Panic card

Example of status request

Parameters

  • This request has no parameters.

Response

{
    "active": false,
    "cause": 0
}

Example of alarm deactivation

Parameters

{
  "stop": true
}

Response

  • This request has no response.