[SOLVE] [Panasonic] Cameras don't move

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

[SOLVE] [Panasonic] Cameras don't move

Post by Mika »

Hi,

I'm install ZoneMinder, and work's great ^_^.

I have one problem, i have this cameras: Panasonic BB-HCM381 and Panasonic KX-HCM10, i configure monitor and work fine, but i active "OPT_CONTROL", but cameras don't move......

Anyone can help me?

Thanks
Last edited by Mika on Thu Nov 11, 2010 7:59 pm, edited 1 time in total.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Post by PacoLM »

Hi,

Check this link -> http://www.zoneminder.com/wiki/index.php/Foscam for a sample (even that it's a foscam ipcam). Maybe you do not have the proper script with the commands for your camera.

Regards,

PacoLM
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

Post by Mika »

PacoLM wrote:Hi,

Check this link -> http://www.zoneminder.com/wiki/index.php/Foscam for a sample (even that it's a foscam ipcam). Maybe you do not have the proper script with the commands for your camera.

Regards,

PacoLM
Hi, thanks for reply:

I try see /usr/local/share/perl/5.10.1/ZoneMinder/Control/PanasonicIP.pm and for example i see this code: nphControlCamera?Direction=TiltDown, and i copy this code in URL of my navigator for example: http://x.x.x.x:8085/nphControlCamera?Direction=TiltDown, and work fine, in navigator the cam move Down.

I try use the ZoneMinder interfaz and don't move it..... can help me?

Thx


EDIT: I see the Apache2 log and get this error when push in Control (UP, Down, Left, Right, ....) camera: PHP Deprecated: Function split() is deprecated in /var/www/zm/ajax/control.php on line 978, referer: http://127.0.0.1/index.php?view=watch&mid=4
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Post by PacoLM »

Hi,

Try to upgrade your OS using apt-get upgrade or aptitude upgrade, maybe you have some old libraries in your system. Which Linux are you using?.

PacoLM
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

Post by Mika »

PacoLM wrote:Hi,

Try to upgrade your OS using apt-get upgrade or aptitude upgrade, maybe you have some old libraries in your system. Which Linux are you using?.

PacoLM
Hi,

I'm use Ubuntu 10.04 Desktop, i'm use apt-get upgrade, and continue with this error.....

I use PHP5, We need PHP4?

Thanks help
User avatar
pete_c
Posts: 88
Joined: Thu Jan 24, 2008 3:21 am
Location: USA

Panasonic Camera

Post by pete_c »

One of the first IP cams that I used was the Panasonic. Today its still on line after about 6 years. I do remember having some issues where the "control" portion appeared not to work. Afterwards just noticed it was a delay but that the control motion worked fine. As stated have a look at previous threads relating to Panasonic IP cams.

BTW always ran my Panasonic IP cam via streaming at 640X480. Never locked up the camera as I have with the initial Foscam attempts to stream. I've since moved to just utilizing the Snapshot.cgi for the Foscam at 640X480 and not locked it up. Control of said camera always worked fine. Initially for me it was a mis spelling of the control file.
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

Re: Panasonic Camera

Post by Mika »

pete_c wrote:One of the first IP cams that I used was the Panasonic. Today its still on line after about 6 years. I do remember having some issues where the "control" portion appeared not to work. Afterwards just noticed it was a delay but that the control motion worked fine. As stated have a look at previous threads relating to Panasonic IP cams.

BTW always ran my Panasonic IP cam via streaming at 640X480. Never locked up the camera as I have with the initial Foscam attempts to stream. I've since moved to just utilizing the Snapshot.cgi for the Foscam at 640X480 and not locked it up. Control of said camera always worked fine. Initially for me it was a mis spelling of the control file.
Hi, thanks for reply,

i reinstall Ubuntu 10.04 Desktop and install the last ZoneMinder, well i see this log: /var/log/syslog and get this error when i press Control Move cam:

zmcontrol[19133]: ERR [Error check failed: '401 Unauthorized']

In "Control Tab" of my Cam IP i use "Control Address" with this method:

x.x.x.x
x.x.x.x:PORT
USER:PASSWORD@x.x.x.x:PORT
USER:PASSWORD@x.x.x.x

And always give me this error: 401 Unauthorized, but i see the Camera video perfectly.

Can help me?

Thx
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Post by bb99 »

Might help: http://pcsupport.about.com/od/findbyerr ... 1error.htm

Cause
The 401 Unauthorized error is an HTTP status code that means the page you were trying to access can not be loaded until you first log on with a valid user ID and password. If you have just logged on and received the 401 Unauthorized error, it means that the credentials you entered were invalid for some reason.
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

Post by Mika »

bb99 wrote:Might help: http://pcsupport.about.com/od/findbyerr ... 1error.htm

Cause
The 401 Unauthorized error is an HTTP status code that means the page you were trying to access can not be loaded until you first log on with a valid user ID and password. If you have just logged on and received the 401 Unauthorized error, it means that the credentials you entered were invalid for some reason.
Thanks for reply,

I know that mean this error, i don't know why appear...becouse i re-check login and are correctly, buy i use and get error, i think is sintaxis.....

Any idea?

thx
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

FIX IT :D (In few days send new script PanasonicIP.pm

Post by Mika »

Mika wrote:
bb99 wrote:Might help: http://pcsupport.about.com/od/findbyerr ... 1error.htm

Cause
The 401 Unauthorized error is an HTTP status code that means the page you were trying to access can not be loaded until you first log on with a valid user ID and password. If you have just logged on and received the 401 Unauthorized error, it means that the credentials you entered were invalid for some reason.
Thanks for reply,

I know that mean this error, i don't know why appear...becouse i re-check login and are correctly, buy i use and get error, i think is sintaxis.....

Any idea?

thx
Yeah, i fix it.

The problem is script: PanasonicIP.pm, i change this line 111 aprox, you see this:

Code: Select all

my $req = HTTP::Request->new( GET=>"http://".$self->{Monitor}->{ControlAddress}."/$cmd" );
Change for:

Code: Select all

my $req = HTTP::Request->new( GET=>"http://".$self->{Monitor}->{Host}.":".$self->{Monitor}->{Port}."/$cmd" );
And complete "Name Remote Host" and "Port Remote Host" in "Source Tab", i disable (for a while) "Control Address" in "Control Tab" but i rebuild in few days all Script "PanasonicIP.pm" for best compatibilty.

Thanks all.

i send new script "PanasonicIP.pm" in few days
User avatar
pete_c
Posts: 88
Joined: Thu Jan 24, 2008 3:21 am
Location: USA

Post by pete_c »

Good news Mika!

Looks like you found an error in the original Panasonic.pm file relating to using something other than port 80.

Apologies.

I should have tried changing the port number on my Panasonic camera to see if "control" worked.

Did you compare control scripts to find the error?

The Panasonic IP camera is a good camera. As I said its been on 24/7 now for about 6 years or so with no issues.

I can lock up my Foscam by changing the amount of light in a room and using the PT functions at the same time or just about anything else that makes it "work" hard.
Mika
Posts: 19
Joined: Fri Nov 05, 2010 6:57 pm

Post by Mika »

pete_c wrote:Good news Mika!

Looks like you found an error in the original Panasonic.pm file relating to using something other than port 80.

Apologies.

I should have tried changing the port number on my Panasonic camera to see if "control" worked.

Did you compare control scripts to find the error?

The Panasonic IP camera is a good camera. As I said its been on 24/7 now for about 6 years or so with no issues.

I can lock up my Foscam by changing the amount of light in a room and using the PT functions at the same time or just about anything else that makes it "work" hard.
Hi pete_c, thx for reply.

Ok, upload the script for compare.

My script work fine, i can see camera and move camre.

Thx
ttpdotcom
Posts: 4
Joined: Thu Nov 04, 2010 1:57 pm

Post by ttpdotcom »

Mika do you mind to post the setup for your BB camera?
Are you getting the image through HTTP or RTSP?
Thanks
"Who will talk for planet Earth?" - Carl Sagan
Post Reply