Page 6 of 6
Hello
Posted: Fri Feb 25, 2011 10:13 pm
by cielk7dm
Hi everyone.
I'm not a expert in english language. but i try..
i have one...
Not-Foscam FI8908W
Device Firmware Version 11.14.1.46
Device Embeded Web UI Version 2.4.8.12
Ubuntu server 10.10
Everything is ok, video stream with
For me works better instead /videostream.cgi
Just PT don't work with this wiki. I get this...
zmcontrol.pl
Code: Select all
zmcontrol[1834].ERR [Error check failed:'500 Can't connect to 192.168.1.13:80 :80 (Bad hostname '192.168.1.13:80 ')']
messages
Code: Select all
zmcontrol[1595]: INF [Control server 2/FoscamFI8908W starting at 11/02/25 15:20:58]
someone have ideas? redirect ports? edit files?
Regards.
Posted: Sat Feb 26, 2011 10:39 am
by marcus87
Hello!
I just bought a Foscam FI8918W and it works very well. Thanks for the control script.
I was wondering if with this IP cam was possible to track motion when detected, and then moving back to a defined home position. Anyone has tried to do this?
Thanks!
cielk7dm wrote:I get this...
zmcontrol.pl
Code: Select all
zmcontrol[1834].ERR [Error check failed:'500 Can't connect to 192.168.1.13:80 :80 (Bad hostname '192.168.1.13:80 ')']
not sure, but I think you put into control addres x.x.x.x:80 instead of x.x.x.x
Posted: Sun Mar 06, 2011 5:13 am
by cielk7dm
Hi marcus
i reinstaled zoneminder with fresh ubuntu server 10.10, now i get this..
zmcontrol.log
Code: Select all
03/05/11 23:01:15.434851 zmcontrol[2290].INF [Starting control server 1/FoscamFI8908W]
03/05/11 23:01:15.457906 zmcontrol[2291].INF [Control server 1/FoscamFI8908W starting at 11/03/05 23:01:15]
03/05/11 23:01:25.462939 zmcontrol[2290].FAT [Can't connect: No such file or directory]
FoscamFI8908W.pm file is on /usr/share/perl5/ZoneMinder/Control instead perl/5.10/ on this wiki.
When i click on some button left, right, etc... i get this...
Code: Select all
Control response was status = undefined
message = /usr/bin/zmcontrol.pl --autostop --command=moveConUp --id=1=>
Where can i take a look?
Re: Foscam FI8908W IP Camera with PT (no Z) Working in ZM 1.
Posted: Wed May 18, 2011 8:35 pm
by aperry
Has anyone gotten presets to work with this? I have my Foscam working well in ZM, and the basic pan/tilt controls work okay using the information from this thread. But I cannot get presets to work. I've tried hardcoding various commands (like mapping 31 to the home function for "go to preset 0") with no luck. However "31" works great when put it into the browser. Weird. Anyway, just thought I'd check to see if anyone else has had luck with presets. I'm on 1.24.2 using the Foscam FI8908W firmware on what I think is a clone.
Device firmware: 11.14.2.28
WebUI firmware: 2.4.8.15
Thanks!
Aaron
Re: Foscam FI8908W IP Camera with PT (no Z) Working in ZM 1.
Posted: Thu Jun 16, 2011 4:17 pm
by bbobbo
aperry wrote:Has anyone gotten presets to work with this? I have my Foscam working well in ZM, and the basic pan/tilt controls work okay using the information from this thread. But I cannot get presets to work. I've tried hardcoding various commands (like mapping 31 to the home function for "go to preset 0") with no luck. However "31" works great when put it into the browser. Weird. Anyway, just thought I'd check to see if anyone else has had luck with presets. I'm on 1.24.2 using the Foscam FI8908W firmware on what I think is a clone.
Device firmware: 11.14.2.28
WebUI firmware: 2.4.8.15
Thanks!
Aaron
add the following functions to your Foscam.pm file:
Code: Select all
sub presetSet
{
my $self = shift;
my $params = shift;
my $preset = $self->getParam( $params, 'preset' );
Debug( "Set Preset $preset" );
my $val = 2 * $preset + 28;
my $cmd = "decoder_control.cgi?command=$val&";
$self->sendCmd( $cmd );
}
sub presetGoto
{
my $self = shift;
my $params = shift;
my $preset = $self->getParam( $params, 'preset' );
Debug( "Goto Preset $preset" );
my $val = 2 * $preset + 29;
my $cmd = "decoder_control.cgi?command=$val&";
$self->sendCmd( $cmd );
}
then in zoneminder, edit the control capabilities of the foscam control and change "Num Presets" to 8.
Re: Foscam FI8908W IP Camera with PT (no Z) Working in ZM 1.
Posted: Sun Jun 26, 2011 7:34 pm
by diotta
Hello everyone,
I hope you can help me, I tried several scripts from the forum and from the net but my Foscam Chinese version does not want to move.
I installed ZoneMinder 1.24.4 on ubuntu 11.04 by following the tutorial in the wiki.
I can view images from IP cameras but when I try to move it nothing happens. If I press the control from web-interface and even if i try from the command line, this is the result from log:
Code: Select all
06/26/11 21:20:24.090587 zmcontrol[4071].DBG [--autostop --command=moveConUp --id=4]
06/26/11 21:20:24.092903 zmcontrol[4071].INF [Starting control server 4/FoscamFI8908W]
06/26/11 21:20:24.095922 zmcontrol[4072].INF [Control server 4/FoscamFI8908W starting at 11/06/26 21:20:24]
Would seem at this point a camera problem but I do not think so!
I sniffed using wireshark all traffic to and from the camera and there are no packages with the http get command of movment selected.
I tried
with no error.
I think it is a problem of zmcontrol.pm that does not send the command.
I am currently using this .pm script from the wiki
I have tried others but nothing changes.
I hope you can enlighten me.
Thanks
Andrea
Re: Foscam FI8908W IP Camera with PT (no Z) Working in ZM 1.
Posted: Thu Nov 24, 2011 2:59 pm
by maclag
Hi all,
I'm struggling with a Foscam's clone PT control as well.
My problem is I'm not reported any problem from the system:
11/24/11 22:38:41.831585 zmcontrol[9386].INF [Starting control server 6/FoscamFI8908]
11/24/11 22:38:41.836072 zmcontrol[9387].INF [Control server 6/FoscamFI8908 starting at 11/11/24 22:38:41]
Yes, my script is really called FoscamFI8908.pm despite the fact that it's not a Foscam. (To be -not- precise, it's a true no name: no name on the box, no name on the device, no name anywhere ; bought in China!)
That's the last lines of my zmcontrol.pl file.
I tried to run manually:
zmcontrol.pl --autostop --command=moveConRight --id=6
After a few seconds, I get back the prompt, but the camera didn't move. I get a new entry in the log, telling that the server is starting (see above), and that's it!
If I use the web browser and enter directly the command there (/decoder_control.cgi?user=...), it just works! The camera moves and stop according to the commands.
I don't know anything about Perl, but I think it might be a very stupid problem. So starting with the basics:
How do I get back the query generated by the script? How can I verify it's really submitted?
Thanks all!!
Re: Foscam FI8908W IP Camera with PT (no Z) Working in ZM 1.
Posted: Fri Dec 30, 2011 5:56 pm
by px03afk
The real Foscam cameras have a setting, which by default, says Pan/Tilt is off and you have to switch it on before it will react to the commands.