Page 1 of 1

Foscam FI8910W control

Posted: Tue Dec 04, 2012 1:06 am
by heri0n
I recently bought 2 of these cameras.
I installed the pm file for the control.

I couldn't control through zoneminder. I looked in the apache logs and I found a bunch of these errors.

Code: Select all

[Mon Dec 03 18:51:19 2012] [error] [client x.x.x.x] ERR [/usr/bin/zmcontrol.pl --autostop --command=moveConLeft --id=3=>], referer: x.x.x.x/zm/index.php?view=watch&mid=3


Not very descriptive... and apache seems to be stuck after trying to control the camera.
I tried running the command manually and nothing happened. Re-ran with sudo and it moved the camera. Do I have to change the permissions on zmcontrol.pl?

Code: Select all

-rwxr-xr-x 1 root root 6399 Feb 12  2012 /usr/bin/zmcontrol.pl
Also my FPS is not that high in zoneminder. Is it due to my hardware or can I change some setting? I set it for high bandwidth.

Re: Foscam FI8910W control

Posted: Tue Dec 04, 2012 4:09 pm
by ramasule
what is your distro and zm version?
You are one step further then I am, I could not get mine to move, it seems this is a common problem.

Re: Foscam FI8910W control

Posted: Tue Dec 04, 2012 4:23 pm
by heri0n
I'm using Ubuntu 12.04 and Zoneminder 1.25.0-1.
Just installed using apt-get install.

I used the control file here github /troywill/foscam-zoneminder and put it in here /usr/share/perl5/ZoneMinder/Control

Can't post links :( change github to the full url

Re: Foscam FI8910W control

Posted: Mon Dec 10, 2012 5:44 am
by ramasule
Try adding
extension=mysql.so

to your /etc/php5/apache2/php.ini file

I fixed my problem as follows.

Fresh Ubuntu Server Install with only SSH

Install LAMP as per this guide
http://www.howtoforge.com/ubuntu_lamp_for_newbies

Then install zoneminder as per this guide
http://www.zoneminder.com/wiki/index.ph ... e_easy_way

and it worked.

Last time I had installed lamp server with Ubuntu server install and I think something got left out.

Re: Foscam FI8910W control

Posted: Tue Dec 11, 2012 11:27 am
by zefiro88
im having trouble when i try to use a new control type.zm recognize default control type (like PanasonicIP.pm) instead when i try to use a new one i suppose that he cant create the zmcontrol sock or something similar.Your solution resolve that issue?
which is the line where i have to add that string in php.ini?

thx in advance