Search found 196 matches

by SkippyDo
Sun Jun 28, 2020 10:32 am
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification hook download fail
Replies: 12
Views: 1667

Re: zmeventnotification hook download fail

Kind of sounds like my "world" (my thread: viewtopic.php?f=33&t=29595)
by SkippyDo
Sun Jun 28, 2020 9:55 am
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

Yeah, OK. I didn't want to make that assumption.

I've run into a dead end. Problem is at some really low level that I cannot unearth. Everything works except object detection. I'll just live with things as-is.
by SkippyDo
Sat Jun 27, 2020 1:18 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

I'm really wanting to resolve whatever is causing my issue/error. Should I open up a new thread since it doesn't appear related to parsing the objectconfig.ini file? I'd like to better understand how to read the error logs as I posted in my June 17th post. Top of error log shows "animation: Tracebac...
by SkippyDo
Mon Jun 22, 2020 6:46 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

No, no proxy. That is, none that I'm aware of: I have not intentionally created any such configuration. I'd actually had a previous version of object detection working (back when it was zmeventserver) under ZM 1.32: for a brief time. I'm using the same hardware and basic configurations: I suspect, h...
by SkippyDo
Mon Jun 22, 2020 3:53 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

The network pieces and the construction of the URL all seem to be working. It then comes down to the downloading of the image as being the point of failure. What directory are these images expected to end up in? Seems that it's /var/lib/zmeventnotification/images? Any directory would be written to a...
by SkippyDo
Mon Jun 22, 2020 5:29 am
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

OK... I changed my working directory on the server (where I'm running the command) to /tmp/zm, which is writeable by www-data, the user I'm invoking as, and it created the file by the name of (incl quotes): 'index.php?view=image&eid=1407&fid=snapshot&username=<DELETED - username>&password=<DELETED -...
by SkippyDo
Mon Jun 22, 2020 5:07 am
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

Here's the output (from the command line command): --2020-06-21 21:48:12-- https://<DELETED - my server's FQDN>/zm/index.php?view=image&eid=1407&fid=snapshot&username=<DELETED - username>&password=<DELETED - password> Resolving <DELETED - my server's FQDN> (<DELETED - my server's FQDN>)... <DELETED ...
by SkippyDo
Sat Jun 20, 2020 12:29 am
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

Stepped through your instructions. No change, same errors. (I'd already had a 5 second wait on the monitor that I'm using to test with: I'm guessing that you thought that perhaps the files weren't written yet). Need to trace what is happening right here in utils.py line 190: input_file = opener.open...
by SkippyDo
Fri Jun 19, 2020 1:31 am
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

I also fed the same URL construct to 'lynx' from a command line on the server and it is able to fetch the snapshot.jpg file. URL vs authentication scheme issue? if g.config['basic_user']: g.logger.debug('Basic auth config found, associating handlers',level=2) password_mgr = urllib.request.HTTPPasswo...
by SkippyDo
Wed Jun 17, 2020 11:55 pm
Forum: ZoneMinder 1.34.x
Topic: Unable to play back HD events in web UI
Replies: 6
Views: 1342

Re: Unable to play back HD events in web UI

Servers shouldn't show anything? Not unless you're using multiple servers. That's my understanding. I suspect your issue was your web config.
by SkippyDo
Wed Jun 17, 2020 11:50 pm
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

Yes, pasting the constructed URL (same as logged above but with a different/new EID [one I just triggered] and the username and password [verified correct]) and it pops up just fine. Somewhere along the line I realized that ZMES_PICTURE_URL played no part in this. The ZM user I'm using only has View...
by SkippyDo
Wed Jun 17, 2020 2:18 am
Forum: ZoneMinder 1.34.x
Topic: Beginner performance questions
Replies: 15
Views: 3295

Re: Beginner performance questions

Insects and IR... I disabled IR in my cameras because insects were attracted to the lights. I can do this because my cameras are all near motion sensor lights, which are tripped when anything (other than insects) are wiggling out there.
by SkippyDo
Wed Jun 17, 2020 1:06 am
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

OK [sorry]. I failed to catch the extra debugging output (which clearly shows that secrets.ini was being parsed): doing lots of different debugging and was getting a bit punch-drunk. 06/15/20 19:09:31 zmesdetect_m1[15750] INF zm_detect.py:178 [---------| hook version: 5.15.4, ES version: 5.15 , Open...
by SkippyDo
Tue Jun 16, 2020 12:35 am
Forum: Mobile Apps
Topic: zmeventnotification: Error parsing config:/etc/zm/objectconfig.ini
Replies: 25
Views: 6437

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

I can copy and paste the ZMES_PICTURE_URL string in to a browser, changing EVENTID to a valid event number, and it works perfectly well. OK. Turned on debug for zmesdetect_m1. Here's what I got: animation: Traceback:Traceback (most recent call last): File "/usr/lib/python3.7/urllib/request.py", line...
by SkippyDo
Mon Jun 15, 2020 4:52 am
Forum: Mobile Apps
Topic: zmeventnotification - FCM push returned a 200
Replies: 4
Views: 1234

Re: zmeventnotification - FCM push returned a 200

Interestingly I set it back to "snapshot" and it's working. So... now I'm off to tackle getting hooks to work!