Skip to main content

GetAlarmStatus

Application Guide

For webhook-based alarm monitoring, see the Webhook Event Notification application guide. For continuous presence tracking, see Real-Time Object Tracking.

Retrieves the current alarm trigger status for all detection types. Use this endpoint to poll the device and check which alarms are currently active.

FieldValue
Endpoint/GetAlarmStatus
MethodPOST or GET
ProductsIPC, NVR
Request BodyNone

Tested: IPC v1.9 (firmware 5.1.4.0)


Response Example

<?xml version="1.0" encoding="UTF-8"?>
<config version="1.0" xmlns="http://www.ipc.com/ver10">
<alarmStatusInfo>
<motionAlarm type="boolean" id="1">false</motionAlarm>
<motionAlarm type="boolean" id="2">true</motionAlarm>
<sensorAlarmIn type="list" count="4">
<itemType type="boolean"/>
<item id="1">false</item>
<item id="2">false</item>
<item id="3">false</item>
<item id="4">false</item>
</sensorAlarmIn>
<perimeterAlarm type="boolean">false</perimeterAlarm>
<tripwireAlarm type="boolean">false</tripwireAlarm>
<vfdAlarm type="boolean">false</vfdAlarm>
<vehicleAlarm type="boolean" id="1">false</vehicleAlarm>
<aoiEntryAlarm type="boolean" id="1">false</aoiEntryAlarm>
<aoiLeaveAlarm type="boolean" id="1">false</aoiLeaveAlarm>
</alarmStatusInfo>
</config>

Alarm Types

FieldDescription
motionAlarmBasic motion detection (per channel, identified by id)
sensorAlarmInPhysical alarm input sensors
perimeterAlarmAI perimeter / intrusion zone detection
tripwireAlarmAI line crossing / tripwire detection
vfdAlarmVideo face detection
vehicleAlarmLicense plate recognition
aoiEntryAlarmRegion entry detection
aoiLeaveAlarmRegion exit detection

Each alarm field returns true when actively triggered and false when inactive.


Notes

  • Alarm hold time behavior: perimeterAlarm goes true when detection triggers, stays true for the configured alarmHoldTime, then drops to false even if the target is still present. There will be 5-20 second gaps between alarm cycles. This makes polling GetAlarmStatus unsuitable for continuous presence tracking.
  • For continuous presence tracking: Use traject data via httpPostV2 instead. The traject stream provides approximately 7 updates per second with real-time target coordinates as long as targets are visible. See the traject documentation for details.
  • This endpoint returns all alarm types in a single response. You do not need separate requests per detection type.