only some of camera's ONVIF events captured as ZM events?

Current Development version likely to have breaking changes
Post Reply
rik
Posts: 24
Joined: Fri Jun 08, 2012 10:13 pm

only some of camera's ONVIF events captured as ZM events?

Post by rik »

Good news: I can now get some "alarms" noticed by Amcrest camera to be
signalled via ONVIF to be recognized by ZM. Bad news: only some!

[Versions: Ubuntu 24.04, ZM 1.37.61]
Here's my ONVIF configuration for the monitor:

![ZM onvif config]
zm-onvif-config-redact.png
zm-onvif-config-redact.png (97.56 KiB) Viewed 3133 times
Here's a list of events as maintained by the camera:

![Amcrest camera events]
cameraEvents_240705.png
cameraEvents_240705.png (64.31 KiB) Viewed 3133 times
and here is the ZM list:

![ZM monitor events]
zmEvents_240705.png
zmEvents_240705.png (80.24 KiB) Viewed 3133 times
the careful observer will notice the time stamps on the ZM events are
before any of those in the Amcrest alarms; that's because the Amcrest
list refreshes everytime you login.

looking thru the monitor's log i see some lines like
07/05/24 11:54:38.618399 zmc_m2[21316].WAR-zm_monitor_amcrest.cpp/83 [AMCREST Seeing 0 streams, and error of 0, url: USER:PW@IPNumber:443/onvif/device_service/eventManager.cgi?action=attach&codes=[VideoMotion]]
that SEEM to correspond (sometimes?) to the events ZM does see; should
there always be a log entry?

At first it seemed like ZM was noticing only "beginning" events, ie
considering the event to be ongoing? This made me wonder what the
"Continuous" word means in the ZM events listing?

I've been trying to use
[libonvif](https://github.com/sr99622/libonvif) library to watch
events, but haven't figured out how to do that. (if anyone else is
using these `onvif-gui` and `onvif-util` tools i'd be curious what
VERSION is working for you.)

Any ideas why only some events are being noticed by ZM? Any ideas
about how to debug further?
User avatar
iconnor
Posts: 3197
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: only some of camera's ONVIF events captured as ZM events?

Post by iconnor »

Continuous events are events that occur because you told it to record all the time. They are not triggered by onvif.

I would say that onvif events are not working.
rik
Posts: 24
Joined: Fri Jun 08, 2012 10:13 pm

Re: only some of camera's ONVIF events captured as ZM events?

Post by rik »

Continuous events are events that occur because you told it to record all the time.
where am i telling this to happen?
They are not triggered by onvif.
then what would be triggering them? i have turned off all analysis.

and how about the monitor logs: what (if not onvif events) would be generating these lines?
rik
Posts: 24
Joined: Fri Jun 08, 2012 10:13 pm

Re: only some of camera's ONVIF events captured as ZM events?

Post by rik »

just found the EVENT_CLOSE_MODE documentation; i think that answers my 'continuous recording' question.

and it's seeming the AMCREST log posts are just on startup, announcing the camera connection.
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: only some of camera's ONVIF events captured as ZM events?

Post by bbunge »

Here are screen shots of my Amcrest cam settings in Zoneminder:
screen-1.jpg
screen-1.jpg (93.96 KiB) Viewed 2915 times
screen-2.jpg
screen-2.jpg (57.38 KiB) Viewed 2915 times
screen-3.jpg
screen-3.jpg (41.14 KiB) Viewed 2915 times
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: only some of camera's ONVIF events captured as ZM events?

Post by bbunge »

Two more:
screen-4.jpg
screen-4.jpg (51.8 KiB) Viewed 2914 times
screen-5.jpg
screen-5.jpg (51.04 KiB) Viewed 2914 times
Note: In some areas it is illegal to record audio without permission of the person to be recorded
Post Reply