Axis 233D PTZ control

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
IncompleteString
Posts: 17
Joined: Wed May 01, 2019 11:57 pm

Axis 233D PTZ control

Post by IncompleteString » Fri Nov 01, 2019 9:46 pm

I'm trying to get Zoneminder set up to control an Axis 223D PTZ camera. I was able to get the video feed off the camera just fine using RTSP, but I'm unable to get Zoneminder to PTZ control the thing using the Axis API V2 script.

If I open up a terminal on my Zoneminder server and copy commands out of the AxisV2.pm script and send them to my camera using curl, the camera moves.

For example if I send the following using curl from my server the camera moves right

Code: Select all

curl http://root:pass@192.168.0.74/axis-cgi/com/ptz.cgi?move=right
I decided to run a packet capture on the traffic between my Zoneminder server and my Axis 223D to make sure Zoneminder was actually passing the HTTP control commands. I found no HTTP / port 80 in the traffic between the server and camera only RTSP. So I can only assume that for some reason Zoneminder is not actually sending the commands to the camera when I click on the arrows in the monitor feed.

Is there a way to get the PTZ commands from the monitor feed to appear in a log somewhere? when I turned on debug logging for the web log I did not get any PTZ messages.

Screen Shot 2019-11-01 at 10.44.18 AM.png
Screen Shot 2019-11-01 at 10.44.18 AM.png (211.04 KiB) Viewed 265 times
Screen Shot 2019-11-01 at 10.45.00 AM.png
Screen Shot 2019-11-01 at 10.45.00 AM.png (155.07 KiB) Viewed 265 times
Screen Shot 2019-11-01 at 10.44.50 AM.png
Screen Shot 2019-11-01 at 10.44.50 AM.png (177.32 KiB) Viewed 265 times

IncompleteString
Posts: 17
Joined: Wed May 01, 2019 11:57 pm

Re: Axis 233D PTZ control

Post by IncompleteString » Sun Nov 03, 2019 12:23 pm

Ive added two more Axis PTZ cams to Zoneminder, the Axis V2 script doesn't work with either of them.

I've seen posts where people were able to use the "web" monitor to allow direct interaction with the cameras PTZ functions. But when I've tried this Zoneminder just changes the monitor type to remote.

Does anyone have ideas?

User avatar
iconnor
Posts: 831
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Axis 233D PTZ control

Post by iconnor » Sun Nov 03, 2019 6:32 pm

I took a quick look with an online demo camera... it may be that we need to request control before actually sending the control commands.

IncompleteString
Posts: 17
Joined: Wed May 01, 2019 11:57 pm

Re: Axis 233D PTZ control

Post by IncompleteString » Mon Nov 04, 2019 1:38 am

If it was necessary to request control of the camera, I don't think sending the commands to the camera via cURL would work.

Also from the packet capture I ran Zoneminder is not actually sending the commands to the camera. I made sure the Ubuntu UFW was switched off for testing. Other than that I'm not sure how to troubleshoot this.

IncompleteString
Posts: 17
Joined: Wed May 01, 2019 11:57 pm

Re: Axis 233D PTZ control

Post by IncompleteString » Fri Nov 08, 2019 6:32 am

anyone?

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests