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
| 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.
| Availability | Topic and description | Namespace |
|---|---|---|
Static |
Motion in the observed scene. |
ONVIF |
Dynamic |
Intrusion in a security zone. The name of the security zone is the Also served as: |
|
Static |
The sensor has been covered or moved. Tampering of a single security zone has no topic in the Also served as: |
|
Static |
Intrusion in any security zone, including zones whose own topics the VMS does not subscribe to. |
Blickfeld |
Dynamic |
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 Also served as: |
|
Dynamic |
Tampering of a security zone: the sensor cannot see enough of the zone to evaluate it. {Name} is formed as for |
|
Static |
The sensor has one or more failures. The cause is shown under System > Diagnostics. |
|
Static |
The sensor has one or more warnings. The cause is shown under System > Diagnostics. |
|
Static |
The window of the sensor has been covered. |
|
Static |
The sensor has been moved or rotated. |
|
Static |
The sensor has been covered or moved. Also served as: |
|
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)" givesIntrusionZoneGate1north. - 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
Blickfeldtopics have the prefixtnsblickfeld:and the topics of a zone areZoneIntrusion{Name}andZoneTampering{Name}instead ofIntrusionZone{Name}andTamperingZone{Name}. TheONVIFtopicstns1:RuleEngine/FieldDetector/ObjectsInsideandtns1:VideoSource/GlobalSceneChange/AnalyticsServiceare the same in both sets. To switch to the current topics:-
Delete every application key with ONVIF / RTSP access from every user account, the ONVIF users included, see ONVIF credentials.
-
Reboot the sensor, see Reboot, reset and back up.
-
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.
-