<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gsx</id>
	<title>ZoneMinder Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.staging.zoneminder.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gsx"/>
	<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/Special:Contributions/Gsx"/>
	<updated>2026-04-19T21:52:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Pico2000&amp;diff=5517</id>
		<title>Pico2000</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Pico2000&amp;diff=5517"/>
		<updated>2012-08-14T13:40:11Z</updated>

		<summary type="html">&lt;p&gt;Gsx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
PICO2000 is a cheap DVR card that works well with ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
=== Name origination ===&lt;br /&gt;
&lt;br /&gt;
The name &amp;quot;PICO2000,&amp;quot; though often used, is technically not correct.  PICO2000 is the name of proprietary software that was bundled with this class of cards.&lt;br /&gt;
&lt;br /&gt;
PICO2000 is available under many different brand names such as &amp;#039;&amp;#039;&amp;#039;Star Imavision Video Capture&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Brooktree 848&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Brooktree 878&amp;#039;&amp;#039;&amp;#039;.  They are generally stated as &amp;#039;&amp;#039;&amp;#039;PICO2000 compatible&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Specifications ===&lt;br /&gt;
&lt;br /&gt;
PICO2000 is a quad camera input PCI card.  The card uses a single Conexant 878A chip.  In addition, some models have 1 audio input jack; it has not been tested with ZoneMinder.&lt;br /&gt;
&lt;br /&gt;
* Compression: MPEG4&lt;br /&gt;
* Display Resolution: 352 x 240 (NTSC)&lt;br /&gt;
* Screen Display: 1/4/7/10/13/16 multi-view or full screen&lt;br /&gt;
* Multiple cards allowed as per your PCI slot allocation&lt;br /&gt;
* Minimum PC capability: Pentium III 800 MHz or equivalent&lt;br /&gt;
* 30 FPS (degrades as the channels are utilized; expect ~2 FPS with all four channels capturing)&lt;br /&gt;
&lt;br /&gt;
=== Purchase information ===&lt;br /&gt;
&lt;br /&gt;
A PICO2000 costs about US$5.00 in China with free shipping.&lt;br /&gt;
&lt;br /&gt;
For the United States, ebay may be the best place to purchase a PICO2000.  As of January of 2010, they are $30 each (including shipping from China). An ebay search for &amp;quot;PICO CCTV&amp;quot; will return results.&lt;br /&gt;
&lt;br /&gt;
== Linux driver ==&lt;br /&gt;
&lt;br /&gt;
Linux kernels after 2.6.2x appear to have the driver for this card bundled in. Further info can be found at [http://linux.bytesex.org/v4l2/bttv.html http://linux.bytesex.org/v4l2/bttv.html].&lt;br /&gt;
&lt;br /&gt;
=== Linux configurations and experiments ===&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;tt&amp;gt;/etc/modprobe.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For one card:&lt;br /&gt;
 options bttv card=77 tuner=4 radio=0 triton1=0 vsfx=0 autoload=0&lt;br /&gt;
For two cards:&lt;br /&gt;
 options bttv card=77,77 tuner=4,4 radio=0,0 triton1=0 vsfx=0 autoload=0&lt;br /&gt;
And so on.&lt;br /&gt;
&lt;br /&gt;
Also, if during bootup your system hangs for 5 minutes or more at &amp;quot;Setting clock (utc)&amp;quot;:&lt;br /&gt;
 options i2c-algo-bit bit_test=1&lt;br /&gt;
 options bttv card=77 tuner=4 radio=0 triton1=0 vsfx=0 autoload=0&lt;br /&gt;
The order of the lines is important.&lt;br /&gt;
&lt;br /&gt;
In Ubuntu 12.04 server, &amp;lt;tt&amp;gt;/etc/modprobe.conf&amp;lt;/tt&amp;gt; is gone, so you need to create a config file in &amp;lt;tt&amp;gt;/etc/modprobe.d/&amp;lt;/tt&amp;gt;:&lt;br /&gt;
* call it bttv.conf (the name doesn&amp;#039;t really matter), and it contains:&lt;br /&gt;
&lt;br /&gt;
 alias char-major-81-0 bttv&lt;br /&gt;
 options bttv card=77 pll=1&lt;br /&gt;
&lt;br /&gt;
On an AMD 6-core running zm 1.25 on Centos 6 I got this error a couple times&lt;br /&gt;
a second in /var/log/messages -- kernel: bttv0: PLL can sleep.  The remedy was&lt;br /&gt;
to remove the options from a file in modprobe.d and put it in /etc/rc.d/rc.local as&lt;br /&gt;
&lt;br /&gt;
  modprobe bttv card=77,77 tuner=4,4 radio=0,0 triton1=0 vsfx=0 autoload=0  &lt;br /&gt;
&lt;br /&gt;
== ZoneMinder configuration ==&lt;br /&gt;
&lt;br /&gt;
Settings under source &amp;gt;&amp;gt; source &amp;gt;&amp;gt; general...&lt;br /&gt;
&lt;br /&gt;
The following settings depend on your camera.  Check your camera&amp;#039;s specification sheet (try the suggested starting values in brackets):&lt;br /&gt;
&lt;br /&gt;
* Device format [NTSC, PAL]&lt;br /&gt;
* Capture pallet [GREY]&lt;br /&gt;
* Dimensions [X=320, Y=240]&lt;br /&gt;
&lt;br /&gt;
When you have multiple cameras sharing one Pico card, you may have issues where:&lt;br /&gt;
&lt;br /&gt;
* An image from one camera shows up on more than one input&lt;br /&gt;
* Blank images on certain inputs&lt;br /&gt;
* Mixed images between inputs.&lt;br /&gt;
&lt;br /&gt;
The reported solution for these problems has varied.  You may want to try each of the following options one at a time.  Remember to restart ZoneMinder after each change.&lt;br /&gt;
&lt;br /&gt;
* Disable V4L_MULTI_BUFFER (found in options &amp;gt;&amp;gt; config)&lt;br /&gt;
* Change CAPTURES_PER_FRAME to a value such as 2 or 4 (found in options &amp;gt;&amp;gt; config)&lt;br /&gt;
* Use Video For Linux version 1 for each input (found in source &amp;gt;&amp;gt; source &amp;gt;&amp;gt; capture method)&lt;br /&gt;
* In ZoneMinder 1.25, I had to use V4L2 to get it to work&lt;br /&gt;
&lt;br /&gt;
== Chip history ==&lt;br /&gt;
&lt;br /&gt;
The Conexant Fusion 878A is the newer version of the Brooktree Bt878A.  The Brooktree Bt878A is the successor to the Bt848.&lt;br /&gt;
&lt;br /&gt;
Video capture software supporting Bt878A that is not designed for CCTV will likely only allow you to access one camera port at a time.  &lt;br /&gt;
&lt;br /&gt;
[http://wiki.robotz.com/index.php/Pico_Install_Instructions_4_Port_CCTV_DVR_Card#Conexant_Fusion_878A http://wiki.robotz.com/images/d/da/Conexantfusion878A.png]&lt;br /&gt;
&lt;br /&gt;
== Photos ==&lt;br /&gt;
[[Image:4ch DVR card.jpg|220px|Pico2000 photo 3]]&lt;br /&gt;
[[Image:Pico2000_1.jpg|200px|Pico2000 photo 1]]&lt;br /&gt;
[[Image:Pico2000_2.jpg|200px|Pico2000 photo 2]]&lt;/div&gt;</summary>
		<author><name>Gsx</name></author>
	</entry>
	<entry>
		<id>http://wiki.staging.zoneminder.com/index.php?title=Foscam&amp;diff=4580</id>
		<title>Foscam</title>
		<link rel="alternate" type="text/html" href="http://wiki.staging.zoneminder.com/index.php?title=Foscam&amp;diff=4580"/>
		<updated>2011-07-26T01:29:13Z</updated>

		<summary type="html">&lt;p&gt;Gsx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;(This was very helpful for me, but instead of &amp;#039;videostream&amp;#039; below I believe &lt;br /&gt;
it should be &amp;#039;snapshot&amp;#039;.  Using videostream my wifi, using iptraf to monitor&lt;br /&gt;
it, was fluctuating wildly from zero to 5 mbps and lots of events were missed.&lt;br /&gt;
Now that I&amp;#039;m using the snapshot cgi (/snapshot.cgi?user=mine&amp;amp;pwd=mine) &lt;br /&gt;
iptraf shows a steady stream that behaves as expected, jumps up when alarmed,&lt;br /&gt;
am getting the performance from zoneminder other are, where using the&lt;br /&gt;
videostream as below got nothing but furstration...   Best to y&amp;#039;all, gsx)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Foscam FI8908W IP Camera with PT (no Z) Working in ZM 1.24.2&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Firmware 11_14_2_28 with presets working. --[[User:Lowbayer|Lowbayer]] 21:39, 12 March 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
(This also works with the Foscam FI8918W camera.  No sound though.)&lt;br /&gt;
&lt;br /&gt;
See here for detail on [[Foscam_FI8918W]] with presets working. [[User:Hdurdle|Hdurdle]] 23:18, 26 February 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just thought this might be useful for anybody using the Foscam IP FI8908W Cameras.&lt;br /&gt;
&lt;br /&gt;
They can be bought on eBay for around £50 and for that money they are a great buy. (Beware of fakes, see here: http://www.gadgetvictims.com/2009/09/yet-another-firmware-for-foscam-fi8908w.html)&lt;br /&gt;
&lt;br /&gt;
A firmware upgrade can be performed to allow Server Push Mode, for FireFox etc.&lt;br /&gt;
&lt;br /&gt;
See here for a instructions and a link to the firmware file:&lt;br /&gt;
http://www.gadgetvictims.com/2009/07/foscam-ip-camera-part-two.html&lt;br /&gt;
&lt;br /&gt;
I recommend firmware V11.14.1.42 and Web UI V2.4.8.11&lt;br /&gt;
&lt;br /&gt;
Once that is done you can proceed to add the camera into ZoneMinder with the following settings:&lt;br /&gt;
&lt;br /&gt;
;General:&lt;br /&gt;
:Name: x&lt;br /&gt;
:Source Type: Remote&lt;br /&gt;
:Function: Modect (up to you though)&lt;br /&gt;
:Enabled: Tick&lt;br /&gt;
:Maximum FPS: Empty (I had some issues with it lagging when I used values here)&lt;br /&gt;
:Alarm Maximum FPS: Empty&lt;br /&gt;
;Source&lt;br /&gt;
:Remote Protocol: HTTP&lt;br /&gt;
:Remote Method: Simple&lt;br /&gt;
:Remote Host Name: x.x.x.x (The IP of the camera)&lt;br /&gt;
:Remote Host Port: 80&lt;br /&gt;
:Remote Host Path: /videostream.cgi?user=admin&amp;amp;pwd= (assuming you have an admin user on the cam with no password)&lt;br /&gt;
:Remote Image Colours: 24 bit colour&lt;br /&gt;
:Capture Width: 320 (You could use 640 x 480, I found 320 to be better)&lt;br /&gt;
:Capture Height: 240&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
{|border=&amp;quot;1&amp;quot;&lt;br /&gt;
|Video Stream Url and Parameter&lt;br /&gt;
|-&lt;br /&gt;
|http://&amp;lt;IP-CAM&amp;gt;/||videostream.cgi?||user=A&amp;amp;||pwd=B&amp;amp;||resolution=C||&amp;amp;rate=D&lt;br /&gt;
|-&lt;br /&gt;
| || || User || Password || 8 =&amp;gt; 320x240|| 0 =&amp;gt; maxframe&lt;br /&gt;
|-&lt;br /&gt;
| || || || || 32 =&amp;gt; 640x480|| 1 =&amp;gt; 20 fps&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 3 =&amp;gt; 15 fps&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 6 =&amp;gt; 10 fps&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 11 =&amp;gt; 5 fps&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 12 =&amp;gt; 4 fps&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 15 =&amp;gt; 3 fps&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 14 =&amp;gt; 2 fps&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 15 =&amp;gt; 1 fps&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 17 =&amp;gt; 1 fps/2s&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 19 =&amp;gt; 1 fps/3s&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 21 =&amp;gt; 1 fps/4s&lt;br /&gt;
|-&lt;br /&gt;
| || || || || || 23 =&amp;gt; 1 fps/5s&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
;Example&lt;br /&gt;
:http://&amp;lt;ip-webcam&amp;gt;/videostream.cgi?user=admin&amp;amp;pwd=geheim&amp;amp;resolution=32&amp;amp;rate=6  &lt;br /&gt;
--[[User:Lowbayer|Lowbayer]] 08:05, 11 April 2011 (UTC)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The other settings are for personal preference only – so I haven’t listed them.&lt;br /&gt;
&lt;br /&gt;
I modified an existing camera control file to create this file which will allow you to pan and tilt the camera from the web interface (working in ZM V1.24.2)&lt;br /&gt;
&lt;br /&gt;
Save the following in the same location as the other .pm files. You can search for “PanasonicIP.pm” on your machine and see where that is. In my case it is:&lt;br /&gt;
&lt;br /&gt;
/usr/share/perl/5.10/ZoneMinder/Control&lt;br /&gt;
&lt;br /&gt;
From a terminal window run:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit&lt;br /&gt;
&lt;br /&gt;
Which will open up your text editor in admin mode. Then paste the following between the +++ (excluding the +++) into the text editor:&lt;br /&gt;
&lt;br /&gt;
 +++&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 # ==========================================================================&lt;br /&gt;
 #&lt;br /&gt;
 # ZoneMinder Foscam FI8908W IP Control Protocol Module, $Date: 2009-11-25 09:20:00 +0000 (Wed, 04 Nov 2009) $, $Revision: 0001 $&lt;br /&gt;
 # Copyright (C) 2001-2008 Philip Coombes&lt;br /&gt;
 # Modified for use with Foscam FI8908W IP Camera by Dave Harris&lt;br /&gt;
 #&lt;br /&gt;
 # This program is free software; you can redistribute it and/or&lt;br /&gt;
 # modify it under the terms of the GNU General Public License&lt;br /&gt;
 # as published by the Free Software Foundation; either version 2&lt;br /&gt;
 # of the License, or (at your option) any later version.&lt;br /&gt;
 #&lt;br /&gt;
 # This program is distributed in the hope that it will be useful,&lt;br /&gt;
 # but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the&lt;br /&gt;
 # GNU General Public License for more details.&lt;br /&gt;
 #&lt;br /&gt;
 # You should have received a copy of the GNU General Public License&lt;br /&gt;
 # along with this program; if not, write to the Free Software&lt;br /&gt;
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.&lt;br /&gt;
 #&lt;br /&gt;
 # ==========================================================================&lt;br /&gt;
 #&lt;br /&gt;
 # This module contains the implementation of the Foscam FI8908W IP camera control&lt;br /&gt;
 # protocol&lt;br /&gt;
 #&lt;br /&gt;
 package ZoneMinder::Control::FoscamFI8908W;&lt;br /&gt;
 &lt;br /&gt;
 use 5.006;&lt;br /&gt;
 use strict;&lt;br /&gt;
 use warnings;&lt;br /&gt;
 &lt;br /&gt;
 require ZoneMinder::Base;&lt;br /&gt;
 require ZoneMinder::Control;&lt;br /&gt;
 &lt;br /&gt;
 our @ISA = qw(ZoneMinder::Control);&lt;br /&gt;
 &lt;br /&gt;
 our $VERSION = $ZoneMinder::Base::VERSION;&lt;br /&gt;
 &lt;br /&gt;
 # ==========================================================================&lt;br /&gt;
 #&lt;br /&gt;
 # Foscam FI8908W IP Control Protocol&lt;br /&gt;
 #&lt;br /&gt;
 # ==========================================================================&lt;br /&gt;
 &lt;br /&gt;
 use ZoneMinder::Debug qw(:all);&lt;br /&gt;
 use ZoneMinder::Config qw(:all);&lt;br /&gt;
 &lt;br /&gt;
  use Time::HiRes qw( usleep );&lt;br /&gt;
 &lt;br /&gt;
 sub new&lt;br /&gt;
 { &lt;br /&gt;
 &lt;br /&gt;
 my $class = shift;&lt;br /&gt;
 my $id = shift;&lt;br /&gt;
 my $self = ZoneMinder::Control-&amp;gt;new( $id );&lt;br /&gt;
 my $logindetails = &amp;quot;&amp;quot;;&lt;br /&gt;
 bless( $self, $class );&lt;br /&gt;
 srand( time() );&lt;br /&gt;
 return $self;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 our $AUTOLOAD;&lt;br /&gt;
 &lt;br /&gt;
 sub AUTOLOAD&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 my $class = ref($self) || croak( &amp;quot;$self not object&amp;quot; );&lt;br /&gt;
 my $name = $AUTOLOAD;&lt;br /&gt;
 $name =~ s/.*://;&lt;br /&gt;
 if ( exists($self-&amp;gt;{$name}) )&lt;br /&gt;
 {&lt;br /&gt;
 return( $self-&amp;gt;{$name} );&lt;br /&gt;
 }&lt;br /&gt;
 Fatal( &amp;quot;Can&amp;#039;t access $name member of object of class $class&amp;quot; );&lt;br /&gt;
 }&lt;br /&gt;
 our $stop_command;&lt;br /&gt;
 &lt;br /&gt;
 sub open&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 &lt;br /&gt;
 $self-&amp;gt;loadMonitor();&lt;br /&gt;
 &lt;br /&gt;
 use LWP::UserAgent;&lt;br /&gt;
 $self-&amp;gt;{ua} = LWP::UserAgent-&amp;gt;new;&lt;br /&gt;
 $self-&amp;gt;{ua}-&amp;gt;agent( &amp;quot;ZoneMinder Control Agent/&amp;quot;.ZM_VERSION );&lt;br /&gt;
 &lt;br /&gt;
 $self-&amp;gt;{state} = &amp;#039;open&amp;#039;;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 sub close&lt;br /&gt;
 { &lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $self-&amp;gt;{state} = &amp;#039;closed&amp;#039;;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 sub printMsg&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 my $msg = shift;&lt;br /&gt;
 my $msg_len = length($msg);&lt;br /&gt;
 &lt;br /&gt;
 Debug( $msg.&amp;quot;[&amp;quot;.$msg_len.&amp;quot;]&amp;quot; );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 sub sendCmd&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 my $cmd = shift;&lt;br /&gt;
 my $result = undef;&lt;br /&gt;
 printMsg( $cmd, &amp;quot;Tx&amp;quot; );&lt;br /&gt;
 &lt;br /&gt;
 my $req = HTTP::Request-&amp;gt;new( GET=&amp;gt;&amp;quot;http://&amp;quot;.$self-&amp;gt;{Monitor}-&amp;gt;{ControlAddress}.&amp;quot;/$cmd&amp;quot; );&lt;br /&gt;
 my $res = $self-&amp;gt;{ua}-&amp;gt;request($req);&lt;br /&gt;
 &lt;br /&gt;
 if ( $res-&amp;gt;is_success )&lt;br /&gt;
 {&lt;br /&gt;
 $result = !undef;&lt;br /&gt;
 }&lt;br /&gt;
 else&lt;br /&gt;
 {&lt;br /&gt;
 Error( &amp;quot;Error check failed:&amp;#039;&amp;quot;.$res-&amp;gt;status_line().&amp;quot;&amp;#039;&amp;quot; );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 return( $result );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 sub reset&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 Debug( &amp;quot;Camera Reset&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;reboot.cgi?user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Up Arrow&lt;br /&gt;
 sub moveConUp&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $stop_command = &amp;quot;1&amp;quot;;&lt;br /&gt;
 Debug( &amp;quot;Move Up&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=0&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Down Arrow&lt;br /&gt;
 sub moveConDown&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $stop_command = &amp;quot;1&amp;quot;;&lt;br /&gt;
 Debug( &amp;quot;Move Down&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=2&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Left Arrow&lt;br /&gt;
 sub moveConLeft&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $stop_command = &amp;quot;1&amp;quot;;&lt;br /&gt;
 Debug( &amp;quot;Move Left&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=4&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Right Arrow&lt;br /&gt;
 sub moveConRight&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $stop_command = &amp;quot;1&amp;quot;;&lt;br /&gt;
 Debug( &amp;quot;Move Right&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=6&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Diagonally Up Right Arrow&lt;br /&gt;
 sub moveConUpRight&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $stop_command = &amp;quot;1&amp;quot;;&lt;br /&gt;
 Debug( &amp;quot;Move Diagonally Up Right&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=91&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Diagonally Down Right Arrow&lt;br /&gt;
 sub moveConDownRight&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $stop_command = &amp;quot;1&amp;quot;;&lt;br /&gt;
 Debug( &amp;quot;Move Diagonally Down Right&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=93&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Diagonally Up Left Arrow&lt;br /&gt;
 sub moveConUpLeft&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $stop_command = &amp;quot;1&amp;quot;;&lt;br /&gt;
 Debug( &amp;quot;Move Diagonally Up Left&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=90&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Diagonally Down Left Arrow&lt;br /&gt;
 sub moveConDownLeft&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 $stop_command = &amp;quot;1&amp;quot;;&lt;br /&gt;
 Debug( &amp;quot;Move Diagonally Down Left&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=92&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Stop&lt;br /&gt;
 sub moveStop&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 Debug( &amp;quot;Move Stop&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?user=admin&amp;amp;pwd=&amp;amp;command=1&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 #Move Camera to Home Position&lt;br /&gt;
 sub presetHome&lt;br /&gt;
 {&lt;br /&gt;
 my $self = shift;&lt;br /&gt;
 Debug( &amp;quot;Home Preset&amp;quot; );&lt;br /&gt;
 my $cmd = &amp;quot;decoder_control.cgi?command=25&amp;amp;user=admin&amp;amp;pwd=&amp;quot;;&lt;br /&gt;
 $self-&amp;gt;sendCmd( $cmd );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 1;&lt;br /&gt;
 &lt;br /&gt;
 +++&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now save that as ‘FoscamFI8908W.pm’ in the same location where you found the PanasonicIP.pm file.&lt;br /&gt;
&lt;br /&gt;
(This file also assumes there is a user with the name admin and no password. If your setup is different, you will need to change this file). This is a first draft working version, I’ll tidy it up once ive learnt a bit more about perl &lt;br /&gt;
&lt;br /&gt;
Next you need to add the Control Type.&lt;br /&gt;
&lt;br /&gt;
Click on edit and add a new control with these details:&lt;br /&gt;
&lt;br /&gt;
Main:&lt;br /&gt;
Name: Foscam FI8908W&lt;br /&gt;
Type: Remote&lt;br /&gt;
Protocol: FoscamFI8908W (No space in there)&lt;br /&gt;
Move:&lt;br /&gt;
Can Move: Tick&lt;br /&gt;
Can Move Diagonally: Tick&lt;br /&gt;
Can Move Continuous: Tick&lt;br /&gt;
Pan:&lt;br /&gt;
Can Pan: Tick&lt;br /&gt;
Tilt:&lt;br /&gt;
Can Tilt: Tick&lt;br /&gt;
Presets:&lt;br /&gt;
Has Presets: Tick&lt;br /&gt;
Num Presets: 0&lt;br /&gt;
Has Home Presets: Tick&lt;br /&gt;
&lt;br /&gt;
Add the IP address of the camera to the &amp;#039;&amp;#039;&amp;#039;Control Address&amp;#039;&amp;#039;&amp;#039; field in the &amp;#039;&amp;#039;&amp;#039;Control&amp;#039;&amp;#039;&amp;#039; tab of camera settings&lt;br /&gt;
&lt;br /&gt;
Save all that and you should be up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
;Here a list of more feature from decoder_control.cgi with the Firmware 11.14.2.28 (found: http://www.gadgetvictims.com/2010/10/fi8908w-old-and-new.html) --[[User:Lowbayer|Lowbayer]] 21:39, 12 March 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
Example: http://&amp;lt;IP_CAM&amp;gt;/decoder_control.cgi?command=30&amp;amp;user=&amp;lt;user&amp;gt;&amp;amp;pwd=&amp;lt;pass&amp;gt; = Set the preset 0&lt;br /&gt;
&lt;br /&gt;
Parameters value&lt;br /&gt;
&lt;br /&gt;
:0 up&lt;br /&gt;
:1 Stop up&lt;br /&gt;
:2 down&lt;br /&gt;
:3 Stop down&lt;br /&gt;
:4 left&lt;br /&gt;
:5 Stop left&lt;br /&gt;
:6 right&lt;br /&gt;
:7 Stop right&lt;br /&gt;
: ... Reserved&lt;br /&gt;
:25 center&lt;br /&gt;
:26 Vertical patrol&lt;br /&gt;
:27 Stop vertical patrol&lt;br /&gt;
:28 Horizon patrol&lt;br /&gt;
:29 Stop horizon patrol&lt;br /&gt;
:30  Set preset 0&lt;br /&gt;
:31  Go preset 0&lt;br /&gt;
:32  Set preset 1&lt;br /&gt;
:33  Go preset 1&lt;br /&gt;
:34  Set preset 2&lt;br /&gt;
:35  Go preset 2&lt;br /&gt;
:  ....&lt;br /&gt;
:62  Set preset 16&lt;br /&gt;
:63  Go preset 16&lt;br /&gt;
:And the list goes further until preset 16&lt;br /&gt;
:94 IO output high&lt;br /&gt;
:95 IO output low &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
A few more notes that I found useful:&lt;br /&gt;
&lt;br /&gt;
Turning off the annoying green LED: (where x.x.x.x is the IP of your camera)&lt;br /&gt;
&lt;br /&gt;
http://x.x.x.x/set_misc.cgi?led_mode=2&amp;amp;user=admin&amp;amp;pwd=&lt;br /&gt;
&lt;br /&gt;
:led_mode=0 - the green led blinks only once connected.&lt;br /&gt;
:led_mode=1 - the green led blinks while searching for a connection and when connected.&lt;br /&gt;
:led_mode=2 - the green led is always off.&lt;br /&gt;
&lt;br /&gt;
Stop the camera moving around when you reboot it:&lt;br /&gt;
&lt;br /&gt;
http://x.x.x.x/set_misc.cgi?ptz_center_onstart=0&amp;amp;user=admin&amp;amp;pwd=&lt;br /&gt;
&lt;br /&gt;
I initially had some issues with no images displaying in ZM. I found this to be a shared memory issue, see here:&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/wiki/index.php -&amp;gt;  FAQ#What_does_a_.27Can.27t_shmget:_Invalid_argument.27_error_in_my_logs_mean.3F_and_my_cameras_won.27t_display_video_at_higher_resolutions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Here a list of interesting feature: --[[User:Lowbayer|Lowbayer]] 21:39, 12 March 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
http://[ipcam]/get_misc.cgi -&amp;gt;Returns all the current values for the functions above.&lt;br /&gt;
&lt;br /&gt;
http://[ipcam]/get_log.cgi -&amp;gt; Displays the visits log&lt;br /&gt;
&lt;br /&gt;
http://[ipcam]/get_params.cgi -&amp;gt;Returns the complete configuration of the camera.&lt;br /&gt;
&lt;br /&gt;
https://docs.google.com/fileview?id=0B-yhhBvC0DSlNWExZDU0NTQtMDlmZi00YzkzLWFkNDAtMGU4MTA1MDg2YjMz&amp;amp;hl=en&lt;br /&gt;
&lt;br /&gt;
The feature list from the IPCAM CGI SDK V1.7&lt;br /&gt;
&lt;br /&gt;
http://www.notesco.net/download/ipcamcgisdk21.pdf&lt;br /&gt;
&lt;br /&gt;
The feature list from the IPCAM CGI SDK V2.1&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I found this guide useful for getting ZM 1.24.2 installed in the first place on my ubuntu box:&lt;br /&gt;
&lt;br /&gt;
http://www.howtoforge.com/video_surveillance_zoneminder_ubuntu&lt;br /&gt;
&lt;br /&gt;
I replaced:&lt;br /&gt;
&lt;br /&gt;
ftp://www.northern-ridge.com.au/zoneminder/ubuntu/dapper/zoneminder_1.22.3-8_i386.deb&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
ftp://www.northern-ridge.com.au/zoneminder/1.24/ubuntu/jaunty/zoneminder_1.24.2-1_i386.deb&lt;br /&gt;
&lt;br /&gt;
I have also heard of people replacing the existing lens in the Foscam Camera (it simply unscrews) with a 160° Wide Angle lens to give a better view. (Search eBay for ‘2.1mm CCTV Lens’). I haven’t tried this myself yet, but will at some point in the future.&lt;br /&gt;
&lt;br /&gt;
On more thing to add. Since upgrading to 1.24.2 (I was originally on 1.23) I have had a few issues with apache locking up. I followed the recommended fix in this thread:&lt;br /&gt;
&lt;br /&gt;
http://www.zoneminder.com/forums/viewtopic.php?p=51045&lt;br /&gt;
&lt;br /&gt;
Which has helped a little but I’m still having a few issues. I have to run this command:&lt;br /&gt;
&lt;br /&gt;
sudo apache2ctl restart&lt;br /&gt;
&lt;br /&gt;
every now and then on the box (which I VNC into from my windows box) to restart apache.&lt;br /&gt;
&lt;br /&gt;
Hope this is useful to some people.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
DAVE.&lt;br /&gt;
&lt;br /&gt;
PS - As I&amp;#039;m not always on the forum, I tend to update my blog first (and the forum later - sorry!), it&amp;#039;s here: http://dave.harris.net see the &amp;#039;ZoneMinder&amp;#039; category :)&lt;/div&gt;</summary>
		<author><name>Gsx</name></author>
	</entry>
</feed>