Search found 179 matches

by alabamatoy
Wed Feb 19, 2020 7:48 pm
Forum: ZoneMinder 1.34.x
Topic: Amcrest control error
Replies: 2
Views: 131

Re: Amcrest control error

Isaac figured out what was broken in the Amcrest PTZ script. My understanding is the fix will be in the latest new version, or you can DL it directly from here. This new version is working on my 1.34.1 with very new Amcrest cameras.
by alabamatoy
Wed Jan 29, 2020 2:18 pm
Forum: ZoneMinder 1.34.x
Topic: Enable debug
Replies: 0
Views: 184

Enable debug

Within the control scripts, there are debug statements: Debug('Some text or variable string value'); Attempts to enable this debugging output by turning on debugging in the logging options and setting the "LOG_DEBUG_TARGET" value to the control script name with prepended underscore and no file exten...
by alabamatoy
Sun Jan 26, 2020 9:54 pm
Forum: ZoneMinder 1.32.x
Topic: zmcontrol-3.sock error
Replies: 7
Views: 420

Re: zmcontrol-3.sock error

upgrade to 1.34.1 seems to have eliminated this socket error.
by alabamatoy
Sun Jan 26, 2020 8:46 pm
Forum: User Contributions
Topic: Amcrest PTZ functionality
Replies: 45
Views: 19870

Re: Amcrest PTZ functionality

by alabamatoy
Sun Jan 26, 2020 8:45 pm
Forum: ZoneMinder 1.34.x
Topic: Amcrest control error
Replies: 2
Views: 131

Amcrest control error

Posted to git, see https://github.com/ZoneMinder/zoneminder/issues/2816

ZM 1.34.1, control script "Amcrest HTTP API" results in error 401 not authorized when attempting any PTZ function. More discussion here, but seems to be in wrong forum, so reposted in this one.
by alabamatoy
Sun Jan 26, 2020 8:24 pm
Forum: User Contributions
Topic: Amcrest PTZ functionality
Replies: 45
Views: 19870

Re: Amcrest PTZ functionality

Testing ZM v1.34.0 now... Unfortunately I am now getting: Camera control command FAILED: '401 Unauthorized' for URL user:pass@host/cgi-bin/ptz.cgi?action=stop&code=Right&channel=0&arg1=0&arg2=1&arg3=0 I upgraded to 1.34.1 and using the new "Amcrest HTTP API" control I am getting the same error as y...
by alabamatoy
Sun Jan 26, 2020 7:34 pm
Forum: User Contributions
Topic: Amcrest PTZ functionality
Replies: 45
Views: 19870

Re: Amcrest PTZ functionality

I believe the control address is supposed to be "login:password@ip_address:port" and the control device is supposed to be the serial number of the camera.
by alabamatoy
Sun Jan 26, 2020 4:20 pm
Forum: User Contributions
Topic: Amcrest PTZ functionality
Replies: 45
Views: 19870

Re: Amcrest PTZ functionality

ZM v1.32.3 (manually pulled Amcrest_HTTP.pm from github) I have been unable to get this new Amcrest script to work with my 1.32.3, but I am getting a different error than you. I think Im going to upgrade to 1.34.1 and see how it works. My understanding is that 1.32.3 to 1.34.X is a pretty seamless ...
by alabamatoy
Sun Jan 26, 2020 2:02 pm
Forum: User Contributions
Topic: Amcrest PTZ functionality
Replies: 45
Views: 19870

Re: Amcrest PTZ functionality

What version of ZM?
by alabamatoy
Fri Jan 17, 2020 3:58 pm
Forum: ZoneMinder 1.32.x
Topic: zmcontrol-3.sock error
Replies: 7
Views: 420

Re: zmcontrol-3.sock error

I changed the name of the file when this script was installed.

I hope to upgrade to 1.34 ASAP. I hope it fixes this socket issue.
by alabamatoy
Thu Jan 16, 2020 1:14 am
Forum: ZoneMinder 1.32.x
Topic: zmcontrol-3.sock error
Replies: 7
Views: 420

Re: zmcontrol-3.sock error

Turned on debug, set level to 9 and added "_zmcontrol" for log_debug_target. zmdebug.log.11412 shows: 01/15/20 19:09:45.428754 zmcontrol[11412].DBG [ZoneMinder::Logger:293] [LogOpts: level=DBG/DBG, screen=OFF, database=WAR, logfile=DBG->/var/log/zm/zm_debug.log.11412, syslog=WAR] 01/15/20 19:09:45.4...
by alabamatoy
Sun Jan 12, 2020 11:29 pm
Forum: ZoneMinder 1.32.x
Topic: zmcontrol-3.sock error
Replies: 7
Views: 420

Re: zmcontrol-3.sock error

[username@servername ~]# perl /usr/bin/zmcontrol.pl "-T" is on the #! line, it must also be used on the command line at /usr/bin/zmcontrol.pl line 1. so I tried [username@servername ~]# perl -T /usr/bin/zmcontrol.pl --id 3 --command=left DBI::db=HASH(0x55ea5329a958)->disconnect invalidates 1 active...
by alabamatoy
Fri Jan 10, 2020 5:22 pm
Forum: ZoneMinder 1.32.x
Topic: zmcontrol-3.sock error
Replies: 7
Views: 420

zmcontrol-3.sock error

1.32.3 with latest version of Amcrest control script, on Ubuntu 18.04. Any attempts to execute control functions results in: Jan 9 17:37:11 servername web_php[6300]: ERR [/usr/bin/zmcontrol.pl --command=moveConDown --id=3=>] Jan 9 17:37:11 servername zmcontrol[6746]: FAT [Can't connect: No such file...
by alabamatoy
Thu Jan 09, 2020 5:21 pm
Forum: ZoneMinder 1.32.x
Topic: API not working correctly
Replies: 7
Views: 1116

Re: API not working correctly

Is there anything occurring in syslog at the same time?

I have recently had to correlate between Apache logs and syslog and Zoneminder to figure out what's happening. If that doesnt help, I am pretty out of suggestions.
by alabamatoy
Sun Jan 05, 2020 9:01 pm
Forum: ZoneMinder Hints & Tips
Topic: Warning on camera selection
Replies: 8
Views: 16140

Re: Warning on camera selection

It's not just spiders. In fact, all manner of flying bugs are attracted to them here in the US South. Interesting, but not universal. I have several IR cams on one zoneminder setup in North Alabama, multiple on one in SE Tn, and multiple on one in N Fl, and none have had issues with spiders. You ne...