Articles

ONVIF: how IP camera events trigger other systems

· Frederico Conte

An IP camera does more than record. It detects motion, a crossed line, an object left behind. With ONVIF, those events leave the camera and can trigger other systems: an alarm, a message, a relay, a database record.

What ONVIF is

ONVIF is an open standard created in 2008 by security equipment manufacturers so that cameras, recorders and software from different brands work together. It defines how to request video, configure the device and receive events, all over the network.

The profiles

The standard is split into profiles, each with a set of functions. The most common:

  • Profile S: live video and basic control.
  • Profile T: video in newer formats and image analytics events.
  • Profile G: recording and playback.
  • Profile M: metadata and video analytics results.

When buying, what matters is whether the device is on the official list of conformant products on the ONVIF website, and for which profiles. “ONVIF compatible” on the box guarantees nothing.

How events reach another system

The camera publishes events, and a piece of software subscribes to receive them. From there, each event becomes a rule:

  • Motion detected out of hours → switches an IP relay that turns on a beacon.
  • Virtual line crossed in a restricted area → alerts the team and records the time.
  • Camera disconnected → opens a maintenance ticket.

When the target system does not understand ONVIF, we develop the bridge: the software that receives the event and converts it to the other side’s protocol (an API, Modbus, MQTT or a dry contact).

Precautions

  • Analytics on the camera or on the server: detection on the camera reduces traffic, but depends on what that model offers.
  • False alarms: tune sensitivity, areas of interest and schedules before wiring any action to them.
  • Time sync: cameras and servers need the same clock (NTP), or the sequence of events will not add up.
  • Security: change default passwords, keep firmware up to date and put cameras on a separate network.

Want your cameras to trigger other systems? Talk to CONTE.