PTZ not working through web interface.

Support and queries relating to all previous versions of ZoneMinder
Locked
zakalwe
Posts: 5
Joined: Sun May 20, 2007 5:01 pm

PTZ not working through web interface.

Post by zakalwe »

Hi, I have recently upgraded to 1.23.2 and cannot seem to get my controls to work. I have panasonic BCL10 and gadgetspot ptz ip cameras and have converted my script to the new perl module format. No arrows appear for the gadgetspot camera in the control frame, only the stop button. On the panasonic control frame the buttons are there but do not move the camera.

I used the zmcontrol.pl script from the command line and found that it needed the Module-Load perl module, so I installed that. The script now controls the cameras as expected from the command line, however the problems still persist in the web interface.

Any ideas on what has gone wrong?
cknox
Posts: 41
Joined: Wed Jan 30, 2008 7:12 pm
Location: San Francisco, CA

Question. . .

Post by cknox »

where was your script located? Was it zmcontrol-panasonic-ip.pl?
zakalwe
Posts: 5
Joined: Sun May 20, 2007 5:01 pm

Post by zakalwe »

I controlled them from the command line with the /usr/bin/zmcontrol.pl script. The modules for the protocols are now in /usr/lib64/site_perl/5.8.8/Zoneminder/Control as PanasonicIP.pm and GadgetspotIP.pm. The database lists the Protocols correctly for the cameras, and since the zmcontrol.pl script works from the command line, I assume this is some issue with the web interface.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

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

Post by cknox »

I'm exepriencing the same issue on my Panasonic PTZ. 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
cms
Posts: 7
Joined: Mon Jan 07, 2008 10:54 pm

controls name change

Post by cms »

I am trying to make a few new perl libs for camera control. I can see my current problem is the webpage is calling the Up / Down functions as Up / Down but in the axis/panasonic lib I used as a template it calls them moveConUp/moveConDown

To ensure future compatibility should I edit the name in my lib, or in the php?

(Clean install of 1.23.2)

03/05/08 14:22:56.943050 zmcontrol[30104].FAT [Can't access Down member of object of class ZoneMinder::Control::level1]

But running by hand works with these object names...

zmcontrol.pl --id 4 --command=moveConDown
zmcontrol.pl --id 4 --command=moveConUp
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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: controls name change

Post by zoneminder »

cms wrote:I am trying to make a few new perl libs for camera control. I can see my current problem is the webpage is calling the Up / Down functions as Up / Down but in the axis/panasonic lib I used as a template it calls them moveConUp/moveConDown

To ensure future compatibility should I edit the name in my lib, or in the php?

(Clean install of 1.23.2)

03/05/08 14:22:56.943050 zmcontrol[30104].FAT [Can't access Down member of object of class ZoneMinder::Control::level1]

But running by hand works with these object names...

zmcontrol.pl --id 4 --command=moveConDown
zmcontrol.pl --id 4 --command=moveConUp
There is more than one kind of Up and Down :?

The moveConDown indicates the method for continuous movement down. There can also be absolute and relative versions of this. If your cam gets a move instruction and just keeps moving until you tell it to stop then it is continuous. You need to make sure the control capability you define via the GUI has 'Can Move Continuous' checked. If it also supports absolute or other types of movements then you need to add methods for those as well.
Phil
Locked