ONVIF events

Besides the video, the sensor reports what it detects as ONVIF events: intrusions per security zone and for the whole scene, tampering of the sensor and of single security zones, motion and the health of the sensor. The VMS subscribes to the events and its rules turn them into alarms, recordings or messages.

Tampering of the sensor means that it has been covered or moved. Tampering of a security zone means that the sensor cannot see enough of the zone to evaluate it. Both are explained in Understand an alarm.

How the VMS receives events

Table 1. ONVIF event mechanisms of the sensor
Mechanism Supported Protocol How it works

Pull-Point

Yes

SOAP over HTTP

The VMS creates a subscription and fetches the events from the sensor.

Base Notification

Yes

SOAP over HTTP

The VMS subscribes, and the sensor sends the events to the VMS.

Replay

No

SOAP over HTTP

Both directions.

RTSP Metadata

No

RTSP/RTP

A Pull-Point subscription survives a short interruption: when the VMS reconnects within 5 minutes, it receives the events it missed. A VMS can filter the events it subscribes to by topic and by message content.

When the VMS subscribes, the sensor first reports the current state of every topic of the subscription.

Event topics

Each event is an ONVIF topic that is true while the event lasts, for example while a zone is intruded. The sensor serves its events in the standard ONVIF namespace and in the Blickfeld namespace. An event that exists in both is published under both topics.

Events of the whole scene are Static: they exist on every sensor. Events of a single security zone are Dynamic: the sensor creates them for each security zone configured in the WebGUI.

Table 2. ONVIF events of the sensor
Availability Topic and description Namespace

Static

tns1:VideoSource/MotionAlarm

Motion in the observed scene.

ONVIF

Dynamic

tns1:RuleEngine/FieldDetector/ObjectsInside

Intrusion in a security zone. The name of the security zone is the Rule of the event.

Also served as: tns1:Blickfeld/IntrusionZone{Name}

Static

tns1:VideoSource/GlobalSceneChange/AnalyticsService

The sensor has been covered or moved. Tampering of a single security zone has no topic in the ONVIF namespace; it is only served as TamperingZone{Name} in the Blickfeld namespace.

Also served as: tns1:Blickfeld/Tampering

Static

tns1:Blickfeld/Intrusion

Intrusion in any security zone, including zones whose own topics the VMS does not subscribe to.

Blickfeld

Dynamic

tns1:Blickfeld/IntrusionZone{Name}

Intrusion in a security zone, where {Name} is the name of the zone without spaces and special characters. A zone called "Gate One" gives the topic IntrusionZoneGateOne.

Also served as: tns1:RuleEngine/FieldDetector/ObjectsInside

Dynamic

tns1:Blickfeld/TamperingZone{Name}

Tampering of a security zone: the sensor cannot see enough of the zone to evaluate it. {Name} is formed as for IntrusionZone. This event has no counterpart in the ONVIF namespace.

Static

tns1:Blickfeld/HealthFailure

The sensor has one or more failures. The cause is shown under System > Diagnostics.

Static

tns1:Blickfeld/HealthWarning

The sensor has one or more warnings. The cause is shown under System > Diagnostics.

Static

tns1:Blickfeld/TamperingCovered

The window of the sensor has been covered.

Static

tns1:Blickfeld/TamperingMoved

The sensor has been moved or rotated.

Static

tns1:Blickfeld/Tampering

The sensor has been covered or moved.

Also served as: tns1:VideoSource/GlobalSceneChange/AnalyticsService

The VMS reads the dynamic topics when the sensor is added. Create the security zones in the WebGUI before you add the sensor to the VMS. After you create or rename a zone, add the sensor to the VMS again so that it sees the new topics.

Troubleshooting

The topic of a zone looks different from the zone name

The topic leaves out spaces and every character other than letters, digits, _ and -. A zone called "Gate 1 (north)" gives IntrusionZoneGate1north.

The sensor was set up for ONVIF with firmware 2.9 or earlier and serves different topics

Sensors whose ONVIF was set up with firmware 2.9 or earlier keep serving the event topics of that time after a firmware update, so that existing VMS configurations keep working. These topics are not extended any more. In them, the Blickfeld topics have the prefix tnsblickfeld: and the topics of a zone are ZoneIntrusion{Name} and ZoneTampering{Name} instead of IntrusionZone{Name} and TamperingZone{Name}. The ONVIF topics tns1:RuleEngine/FieldDetector/ObjectsInside and tns1:VideoSource/GlobalSceneChange/AnalyticsService are the same in both sets. To switch to the current topics:

  1. Delete every application key with ONVIF / RTSP access from every user account, the ONVIF users included, see ONVIF credentials.

  2. Reboot the sensor, see Reboot, reset and back up.

  3. Set up ONVIF again, see Set up ONVIF, and add the sensor to the VMS again.

The sensor serves the current topics from then on. A factory reset with Reset the settings keeps the topic set of the sensor; Erase everything switches it to the current topics.