PTZ Controls not working

Support and queries relating to all previous versions of ZoneMinder
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

PTZ Controls not working

Post by cknox »

I just added a Panasonic BB-HCE481A PTZ camera to my zm system (OpenSuse 10.3 with 12 additional BNC cameras). I finally got the video to show; however, I cannot use the PTZ controls. Any ideas? I'm lost!
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

More info. . .

Post by cknox »

As near as I can tell, my Panasonic PTZ control requires zmcontrol-panasonic-ip.pl to work. I cannot find this script anywhere on the system. . .including /usr/local/bin.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Assuming you are using 1.23.x then this script has been replaced by the generic zmcontorl script. If you edit the monitor settings and click on the Control tab then you should be able to select PanasonicIP as the control type. It should work after this, though I am unsure why the conversion hasn't been applied to your system already.
Phil
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

All I have in the drop down is Pelco-D and a custom one I tried to create called Panasonic PTZ IP. Is there any way I can reconstruct or perhaps modify my custom one?
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

Also, on my system, the module is located at: /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Control
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

. . .and yes, I'm using 1.23
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

I see video and the control arrows, but nothing happens when I click on them. When I click on them, the IE status bar reads, "Waiting for http://<my>/zm/index.php?view=watchstatus*mid=1290&last_status=0
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

It seems that the Panasonic BB-HCE481A PTZ controls just don't work with 1.23.1.
Nothing indicates there is a configuration issue with the install I have on
OpenSuse 10.3. I have tried to find info on building another script, but no
luck.
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

My zmcontrol.log and messages log come back clean in relation to this issue.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There are a couple of issues here.

1) Is your cam defined as an analogue or a network cam? Panasonics are the latter.
2) If it is a network cam then the control type drop down should not have Pelco in it but other protocols instead. Can you check what is in the Controls table in your DB?
3) Are you using the 'classic' view? Have you tried it with the newer DVR based one to see if you have the same issue?
Phil
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

Here is my configuration~

Name: camera's ip address
Source Type: Remote
Function: Modetct
Enabled

Remote host name: admin:password@camera's ip address
Port: 3127
Host path: /nphMotionJpeg?Resolution=320x240&Quality=Standardard
W 320
H 240
Controllable is checked
PanasonicIP
Control device is blank
control address: camera's IP:port

It is currently set to DVR format

Still need to check the Controls table in my DB. Not sure where to find that. . .

Does this look good so far?

Thanks,

ck
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

I think my controls database is at
/usr/lib/erl5/site_perl/5.8.8/ZoneMinder/Control/

What I have there is:

AxisV2.pm
Nics370.pm
PanasonicIP.pm
PelcoD.pm
Visca.pm

Am I on target?
hrabe
Posts: 47
Joined: Tue Apr 12, 2005 12:01 am

Post by hrabe »

Panasonic use two? protocols for IP PTZ cams. Try change following commands in PanasonicIP.pm

right:
my $cmd = "nphControlCamera?Direction=PanRight";
to
my $cmd = "cgi-bin/camctrl?pan=1";

left:
my $cmd = "nphControlCamera?Direction=PanLeft";
to
my $cmd = "cgi-bin/camctrl?pan=-1";

up:
my $cmd = "nphControlCamera?Direction=TiltUp";
to
my $cmd = "cgi-bin/camctrl?tilt=-1";

down:
my $cmd = "nphControlCamera?Direction=TiltDown";
to
my $cmd = "cgi-bin/camctrl?tilt=1";
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Post by cknox »

Thank you for this...I made the changes you suggested; however, it still does not work.
hrabe
Posts: 47
Joined: Tue Apr 12, 2005 12:01 am

Post by hrabe »

Are you able to make available this cam for me?
Locked