Search found 14 matches

by cjd24
Mon Dec 13, 2021 4:56 pm
Forum: Mobile Apps and Event Server
Topic: Event server -Pending Auth - ES not working on alarms
Replies: 4
Views: 7638

Re: Event server -Pending Auth - ES not working on alarms

Update: Got the ES connected to the app now by changing to ws instead of wss. But now the py errors on testing seem to be an issue. Seems to hit this error: DBG1 Media.py:343 [Error reading frame: 2 of max 5 contiguous errors] sudo -u www-data /var/lib/zmeventnotification/bin/zm_detect.py --config /...
by cjd24
Mon Dec 13, 2021 2:05 pm
Forum: Mobile Apps and Event Server
Topic: Event server -Pending Auth - ES not working on alarms
Replies: 4
Views: 7638

Re: Event server -Pending Auth - ES not working on alarms

Getting errors when running sudo -u www-data /var/lib/zmeventnotification/bin/zm_detect.py --config /etc/zm/objectconfig.ini --eventid 142 --monitorid 3 --debug 12/13/21 11:03:25 zmesdetect_m3[1327] DBG1 Media.py:343 [Error reading frame: 2 of max 5 contiguous errors] 12/13/21 11:03:25 zmesdetect_m3...
by cjd24
Mon Dec 13, 2021 1:55 pm
Forum: Mobile Apps and Event Server
Topic: Event server -Pending Auth - ES not working on alarms
Replies: 4
Views: 7638

Re: Event server -Pending Auth - ES not working on alarms

Debug mode with forced alarm: 12/13/21 10:53:18.765809 zmeventnotification[1038].INF [main:1048] [PARENT: |------- Starting ES version: 6.1.28 ---------|] DBG-2:2021-12-13,10:53:18 PARENT: Started with: perl:/usr/bin/perl and command:/usr/bin/zmeventnotification.pl Can't ignore signal CHLD, forcing ...
by cjd24
Mon Dec 13, 2021 1:49 pm
Forum: Mobile Apps and Event Server
Topic: Event server -Pending Auth - ES not working on alarms
Replies: 4
Views: 7638

Event server -Pending Auth - ES not working on alarms

I'm having real difficulty getting the object detection working. I have the ES running. zmNinja still says Pending Auth and no object detection works when alarms are triggered. If I push one manually to test that works. No SSL - HTTP URLs only (all set in secrets also. All modules installed. OPT_USE...
by cjd24
Sun Dec 12, 2021 6:15 pm
Forum: ZoneMinder 1.36.x
Topic: Event server running - but confused about the object detection
Replies: 2
Views: 1823

Re: Event server running - but confused about the object detection

Thanks. In the zmeventnotification.ini everything seems to be set to yes, port 9002 (as my portainer runs on 9000). objectconfig.ini set up for the different cameras etc. Not sure what I am missing yet. Although may have something to do with 'Pending Auth' under the event server on the app I'll try ...
by cjd24
Fri Dec 10, 2021 8:16 pm
Forum: ZoneMinder 1.36.x
Topic: Event server running - but confused about the object detection
Replies: 2
Views: 1823

Event server running - but confused about the object detection

Hi all, Finally got zoneminder up and running on the latest version with the ES server and all the bits running. Did a test run on a motion ID and all seemed to work. see the extract at the bottom, person detected. But I am at a loss now , when motion is detected where do I see the objects that are ...
by cjd24
Fri Dec 10, 2021 7:30 pm
Forum: ZoneMinder 1.34.x
Topic: unexpected keyword argument 'logger' - zm_detect.py"
Replies: 5
Views: 7005

Re: unexpected keyword argument 'logger' - zm_detect.py"

Was missing this

sudo apt-get install libjson-perl

all ok now
by cjd24
Fri Dec 10, 2021 6:49 pm
Forum: ZoneMinder 1.34.x
Topic: unexpected keyword argument 'logger' - zm_detect.py"
Replies: 5
Views: 7005

Re: unexpected keyword argument 'logger' - zm_detect.py"

Just a couple of niggling issues - rest is all set up and ran an object detection test which worked. But check config comes up with an odd json error. Also if object detection is running where do I view the detected objects? Still a bit unclear to me. root@ZM:~/zmeventnotification# sudo /usr/bin/zme...
by cjd24
Fri Dec 10, 2021 5:14 pm
Forum: ZoneMinder 1.34.x
Topic: unexpected keyword argument 'logger' - zm_detect.py"
Replies: 5
Views: 7005

Re: unexpected keyword argument 'logger' - zm_detect.py"

decided to ditch the docker and run straight from the container using

https://wiki.zoneminder.com/Ubuntu_Serv ... der_1.36.x

Now need to set up all of the ES options and configs
by cjd24
Fri Dec 10, 2021 4:06 pm
Forum: ZoneMinder 1.34.x
Topic: unexpected keyword argument 'logger' - zm_detect.py"
Replies: 5
Views: 7005

Re: unexpected keyword argument 'logger' - zm_detect.py"

Thanks. I'm trying to use a different image now zoneminderhq/zoneminder:latest-ubuntu18.04 But getting this issue tail: cannot open '/var/log/zoneminder/zm*.log' for reading: No such file or directory https://issueexplorer.com/issue/ZoneMinder/zmdockerfiles/77 root@55b959a84707:/# tail -F /var/log/z...
by cjd24
Thu Dec 09, 2021 11:39 pm
Forum: ZoneMinder 1.34.x
Topic: unexpected keyword argument 'logger' - zm_detect.py"
Replies: 5
Views: 7005

unexpected keyword argument 'logger' - zm_detect.py"

Hi all. I'm trying to set up object detection and running this test command from the documentation: 'sudo -u www-data /var/lib/zmeventnotification/bin/zm_detect.py --config /etc/zm/objectconfig.ini --eventid 3 --monitorid 1 --debug' But get this error: unexpected keyword argument 'logger' Any fixes ...
by cjd24
Thu Dec 09, 2021 6:39 pm
Forum: Docker
Topic: MQTT Error
Replies: 4
Views: 44839

Re: MQTT Error

Anything look wrong in my debug output? # sudo -u www-data /usr/bin/zmeventnotification.pl --debug INF:2021-12-09,15:36:39 PARENT: using config file: /etc/zm/zmeventnotification.ini 12/09/21 15:36:39.793647 zmeventnotification[963].INF [main:985] [PARENT: using config file: /etc/zm/zmeventnotificati...
by cjd24
Thu Dec 09, 2021 4:34 pm
Forum: Docker
Topic: MQTT Error
Replies: 4
Views: 44839

Re: MQTT Error

I know this is an old thread but I'm having the same issue, all seems to be set up correctly but nothing is coming through on my mqtt listener. Mqtt true - password, broker, name all set correctly. even ran 'perl -MCPAN -e "install Net::MQTT::Simple"' to be sure. Not sure what else to do n...