Page 1 of 1

[SOLVE] [Panasonic] Cameras don't move

Posted: Fri Nov 05, 2010 7:05 pm
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

Posted: Fri Nov 05, 2010 10:51 pm
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

Posted: Sat Nov 06, 2010 8:58 am
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

Posted: Sat Nov 06, 2010 10:37 am
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

Posted: Sat Nov 06, 2010 1:10 pm
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

Panasonic Camera

Posted: Sat Nov 06, 2010 4:30 pm
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.

Re: Panasonic Camera

Posted: Sat Nov 06, 2010 4:50 pm
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

Posted: Sat Nov 06, 2010 5:40 pm
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.

Posted: Sat Nov 06, 2010 6:04 pm
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

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

Posted: Sat Nov 06, 2010 8:56 pm
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

Posted: Sun Nov 07, 2010 11:56 pm
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.

Posted: Mon Nov 08, 2010 1:44 pm
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

Posted: Fri Dec 10, 2010 7:55 pm
by ttpdotcom
Mika do you mind to post the setup for your BB camera?
Are you getting the image through HTTP or RTSP?
Thanks