Search found 1340 matches

by asker
Mon Jun 29, 2020 11:52 pm
Forum: Mobile Apps
Topic: having issues getting hooks going
Replies: 11
Views: 574

Re: having issues getting hooks going

Code: Select all

sudo -u www-data /var/lib/zmeventnotification/bin/zm_event_start.sh <eid> <mid> 
There is no -e
by asker
Mon Jun 29, 2020 12:22 am
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 3453

Re: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini

If you are able to give me ssh access I can try and debug. I still feel it’s something configuration related.
by asker
Sun Jun 28, 2020 5:00 pm
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification hook download fail
Replies: 12
Views: 644

Re: zmeventnotification hook download fail

Glad you got it working.
A missing faces.dat means you have face recognition enabled but no trained faces. Either turn off face recognition or train faces as the docs describe.
by asker
Sun Jun 28, 2020 11:51 am
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification hook download fail
Replies: 12
Views: 644

Re: zmeventnotification hook download fail

OP: - Upgrade. Looks like you are running 5.13.3. Latest is 5.15.5 - Restart ZMES - Post debug logs of zm_detect.py from the start again. - Forget about the picture url for now - Are you sure your user is "zmuser"? That is usually the DB credentials. You need to put in your web console credentials h...
by asker
Sun Jun 28, 2020 11:16 am
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification hook download fail
Replies: 12
Views: 644

Re: zmeventnotification hook download fail

No. Unrelated to your issue if you see his logs.
by asker
Sat Jun 27, 2020 8:34 pm
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification hook download fail
Replies: 12
Views: 644

Re: zmeventnotification hook download fail

Code: Select all

06/27/20 12:45:11 zmesdetect_mgarage[485065] ERR zm_detect.py:220 [Error downloading files: unknown url type: '/index.php?view=image&eid=2942&fid=alarm']

This means you haven't defined ZM_PORTAL in /etc/zm/secrets.ini.

ZMES_PICTURE_URL is only used for images in push notifications.
by asker
Sat Jun 27, 2020 2:33 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 3453

Re: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini

The real issue is generally at the bottom of python errors, but in this case, one error caused another, so it is in the middle. The key issue is this error: File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gai...
by asker
Fri Jun 26, 2020 6:35 pm
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification hooks not drawing polygon
Replies: 4
Views: 458

Re: zmeventnotification hooks not drawing polygon

Yes, tinyYOLO is pretty inaccurate. I found the CSPN model to be a good balance between speed and accuracy. Seems to be as accurate (at least) as Yolo (full) but faster. On the release tag, even if you reinstall stable, you should see it working - I pushed the tag up after I committed some of these ...
by asker
Fri Jun 26, 2020 4:24 pm
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification hooks not drawing polygon
Replies: 4
Views: 458

Re: zmeventnotification hooks not drawing polygon

Before you spend any more time debugging, please update the ES to the latest master - I fixed some issues related to zones. I don't know if your issue is related to that, as the logs posted are partial. Once you do update and if the problem persists please post full debug logs (from the time zm_dete...
by asker
Tue Jun 23, 2020 6:01 pm
Forum: Mobile Apps
Topic: zmeventnotification.pl: connect: Connection refused
Replies: 4
Views: 1031

Re: zmeventnotification.pl: connect: Connection refused

1. make sure multiple instances of the server are not running
2. To start with, don't run it as a daemon, run it manually
3. Enable debug logs for the ES so I get to see debug logs of what is happening when you run it (also make sure you are running it with -u www-data)
by asker
Mon Jun 22, 2020 4:56 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 3453

Re: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini

Let's focus on the error that you posted: File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open raise URLError(err)urllib.error.URLError: <urlopen error [Errno -2] Name or service not known> It doesn't say Permission denied, nor does it say 404 (Not found). "Name or service not known" m...
by asker
Mon Jun 22, 2020 1:26 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 3453

Re: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini

If wget is successfully downloading the image, but zm_detect cannot when run manually, I'm out of ideas. The only thing I can think of is there is some config setting that is not right
by asker
Sun Jun 21, 2020 12:39 pm
Forum: Mobile Apps
Topic: zmNinja Mass Delete
Replies: 1
Views: 678

Re: zmNinja Mass Delete

(Moving this post to the mobile forum) No, there isn't. A big reason for that is because there are no bulk delete APIs. The APIs only allow deletion on a per event basis. So even if there was a UI option, it would result in calling a single API for a single event and keep looping it, which would be ...
by asker
Sat Jun 20, 2020 3:09 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 3453

Re: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini

1. Modify https://github.com/pliablepixels/zmeventnotification/blob/master/hook/zmes_hook_helpers/utils.py#L189 to g.logger.debug('Trying to download {}'.format(url)) (We've changed durl to url). Note that this file will be in your python site libraries. You could also change it locally in your clon...
by asker
Fri Jun 19, 2020 12:40 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 3453

Re: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini

A few thoughts: 1. Stop the event server (using zmdc) 2. Run it in manual mode 3. See if the error repeats. If it does: 3.1: Stop the ES again 3.2: Add a "wait" for, say, 5 seconds, for that monitor in objectconfig.ini (see ini file for an example of how to use wait) 3.3: See if error repeats. If it...