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
- 11: Panic PIN
- 12: Panic Password
- 13: Monitored alarm zone no presence
- 14: Monitored alarm zone open
It's relevant to notice that causes 13 and 14 are exclusive to the iDFit and iDAccess equipments, as both have an internal lock activation relay (and door detection pins) as they are equipments prior to Secbox, therefore, support for Monitored Alarm Zone is a feature available only for devices without Secbox.
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.