The ONVIF module supports WS-Base Notification for event notifications from the ONVIF devices. It uses push mechanism, which exposes HTTP port. This makes the WS-Base Notification mechanism not secure enough.
To activate this mechanism, set the system property onvif.events.wsbase.notification to true. The ONVIF module registers a servlet for incoming notifications from the ONVIF devices after a successful subscription. Subscription matching is supported. The network parameters of the ONVIF Notification Server are configurable, such as the port and the network interface. Additional debug logs could be used to verify the messages from the ONVIF devices. Please refer to the ONVIF System Properties and ONVIF OSGi Configuration Properties for more details and instructions on how to set up those parameters.
Motion Detection
Only Motion events are supported via the WS-Base Notification mechanism. The binary sensor represents the detector for motion. To provide a Motion alarm detector, add it in ONVIF Events Device Access Configuration.
As a result a new functional item motionAlarm is created:
