Difference between revisions of "Foscam FI8918W"

From LinuxMCE
Jump to: navigation, search
(Created page with "Category: Hardware {{Versioninfo}} Category: Cameras Category: IP Cameras 300px == Info == Cheap IR wireless IP/Network Pan...")
 
 
(10 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
[[Category: IP Cameras]]
 
[[Category: IP Cameras]]
  
[[Image:Foscam-FI8908W.jpg|right|thumb|300px]]
 
  
== Info ==
+
[[Image:F8918W.jpg|right|thumb|300px]]
Cheap IR wireless IP/Network Pan/tilt Camera
+
  
== Status ==
+
== Thanks ==
Provisionally working either as a plug and play IP camera with pan/tilt commands or as a 'Generic Motion IP camera' under motion wrapper and used as a sensor as well as recording movement etc.
+
Thank you to the author of the [[Foscam FI8908W]] page as this is mostly a copy.
 +
<br>
  
== Generic Motion IP Camera Hack ==
 
If using under motion the pan/tilt commands do not work. It can optionally be made 'plug and play' under motion by manually adding the mac range of both the wireless and wired adapters into the 'Generic Motion IP Camera' template:
 
* Wireless range 79373008896 to 79389786111 (DHCP).
 
* Wired range 414170742784 to 414171791359 (DHCP).
 
  
After the device has been detected and assigned a room just give it a sensible name and add the following to the path parameter in web admin:
+
== Info ==
* hxxp://<CAMERA_IP_ADDRESS>/videostream.cgi?user=XXXXX&pwd=XXXXX
+
Cheap IR wireless IP/Network Pan/tilt Camera. There is no zoom with this camera.
 +
<br>
 +
Very similar camera to the [[Foscam FI8908W]] with some modifications to the camera (IR lights) but the firmware (I believe) is the same as the predecessor, the [[Foscam FI8908W]]
  
Replace the ip address and the XXXXX with your settings
 
  
Pros:
+
== What's New ==
* Plug and Play (Just give it a sensible name)
+
'''Compared to the older [[Foscam FI8908W]]:'''
* Installed under motion for security monitoring/recording
+
* IR lights can be turned off with the software (Not in LinuxMCE)
Cons:
+
* Audio quality is apparently improved and an added microphone jack is provided. (Not used in LinuxMCE)
* Path must be manually set as described above
+
* Extra IR light (Eleven now)
* No Pan/Tilt other than via its own web interface
+
* Power and network light at the back of the camera.
 +
* Haven't noticed any drop out isssues on my system
 +
 
 +
== Status ==
 +
Working as a plug and play IP camera with pan/tilt commands.
 +
<br>
 +
Should work as a 'Generic Motion IP camera' under motion wrapper and used as a sensor as well as recording movement etc. - Check the [[Foscam FI8908W]] page for more.
  
 
== Plug and Play Template Settings ==
 
== Plug and Play Template Settings ==
 
This camera is fully plug and play as a stand-alone pan/tilt camera by duplicating the panasonic template and inserting the following scripts.
 
This camera is fully plug and play as a stand-alone pan/tilt camera by duplicating the panasonic template and inserting the following scripts.
 +
<br>
 +
NOTE: The left and right scripts are the other way around from the what is noted in the [[Foscam FI8908W]]
  
 
#84 Get video frame
 
#84 Get video frame
Line 67: Line 71:
 
end
 
end
 
</pre>
 
</pre>
 +
 
#201 Move Down
 
#201 Move Down
 
<pre>
 
<pre>
Line 85: Line 90:
 
end
 
end
 
</pre>
 
</pre>
 +
 
#202 move left
 
#202 move left
 
<pre>
 
<pre>
Line 91: Line 97:
 
#auth_a=Array.new;
 
#auth_a=Array.new;
 
#auth_s.each{|c| auth_a.push(c)}
 
#auth_s.each{|c| auth_a.push(c)}
s = "GET /decoder_control.cgi?command=4&onestep=1&"+auth_s
+
s = "GET /decoder_control.cgi?command=6&onestep=1&"+auth_s
 
s+= " HTTP/1.0\r\n Accept: */*\r\n"
 
s+= " HTTP/1.0\r\n Accept: */*\r\n"
 
#s+= "Authorization: Basic "+auth_a.pack("m").chop+"\r\n"
 
#s+= "Authorization: Basic "+auth_a.pack("m").chop+"\r\n"
Line 106: Line 112:
 
end
 
end
 
</pre>
 
</pre>
 +
 
#203 Move Right
 
#203 Move Right
 
<pre>
 
<pre>
Line 112: Line 119:
 
#auth_a=Array.new;
 
#auth_a=Array.new;
 
#auth_s.each{|c| auth_a.push(c)}
 
#auth_s.each{|c| auth_a.push(c)}
s = "GET /decoder_control.cgi?command=6&onestep=1&"+auth_s
+
s = "GET /decoder_control.cgi?command=4&onestep=1&"+auth_s
 
s+= " HTTP/1.0\r\n Accept: */*\r\n"
 
s+= " HTTP/1.0\r\n Accept: */*\r\n"
 
#s+= "Authorization: Basic "+auth_a.pack("m").chop+"\r\n"
 
#s+= "Authorization: Basic "+auth_a.pack("m").chop+"\r\n"
Line 127: Line 134:
 
end
 
end
 
</pre>
 
</pre>
 +
 
#200 Move Up
 
#200 Move Up
 
<pre>
 
<pre>
Line 148: Line 156:
 
end
 
end
 
</pre>
 
</pre>
 +
 
It can be made 'plug and play' by adding the mac range of both the wireless and wired adapters into the new template:
 
It can be made 'plug and play' by adding the mac range of both the wireless and wired adapters into the new template:
* Wireless range 79373008896 to 79389786111 (DHCP).
+
* Wireless range 963357310976 to 963357376511 (DHCP).
* Wired range 414170742784 to 414171791359 (DHCP).
+
* Wired range ??????? - Will try and find this out???????
  
 
Pros:
 
Pros:
Line 161: Line 170:
 
* Browser based
 
* Browser based
 
* 10/100mbit LAN
 
* 10/100mbit LAN
 +
* WPA2 wireless security
 +
 
== Dropouts ==
 
== Dropouts ==
There have been reports of dhcp dropouts. Suggested fix:
+
There have been reported drop outs with the Foscam F8908W but I have not noticed this with the Foscam F8918W but I do use a static IP address.
http://blog.stead.id.au/2010/06/resolving-foscam-connection-dropouts.html
+
 
 +
== Wireless Setup ==
 +
How to setup IP camera wirelessly
 +
http://foscam.us/forum/post15934.html#p15934
 +
 
 +
== Test and Tweak IP Camera Setup and Configuration ==
 +
Make sure your IP Camera is functioning at peak ability
 +
http://foscam.us/forum/post34164.html#p34164
  
 
== Links ==
 
== Links ==
* [http://www.gadgetvictims.com/2009/07/foscam-ip-camera-part-two.html Foscam IP Camera (Part Two)]
+
* http://www.foscam.com
* [http://forum.linuxmce.org/index.php?topic=9969.0 Forum discussion]
+
* [http://foscam.us/forum/free-generic-browser-interface-for-foscam-ip-mjpeg-cameras-t2522.html#p10970 Generic Browser Based Interface Example]

Latest revision as of 17:08, 7 October 2013

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information
F8918W.jpg

Thanks

Thank you to the author of the Foscam FI8908W page as this is mostly a copy.


Info

Cheap IR wireless IP/Network Pan/tilt Camera. There is no zoom with this camera.
Very similar camera to the Foscam FI8908W with some modifications to the camera (IR lights) but the firmware (I believe) is the same as the predecessor, the Foscam FI8908W


What's New

Compared to the older Foscam FI8908W:

  • IR lights can be turned off with the software (Not in LinuxMCE)
  • Audio quality is apparently improved and an added microphone jack is provided. (Not used in LinuxMCE)
  • Extra IR light (Eleven now)
  • Power and network light at the back of the camera.
  • Haven't noticed any drop out isssues on my system

Status

Working as a plug and play IP camera with pan/tilt commands.
Should work as a 'Generic Motion IP camera' under motion wrapper and used as a sensor as well as recording movement etc. - Check the Foscam FI8908W page for more.

Plug and Play Template Settings

This camera is fully plug and play as a stand-alone pan/tilt camera by duplicating the panasonic template and inserting the following scripts.
NOTE: The left and right scripts are the other way around from the what is noted in the Foscam FI8908W

  1. 84 Get video frame
conn_.Reconnect()
auth_s="user="+device_.devdata_[114]+"&pwd="+device_.devdata_[115];

fix_path=device_.devdata_[2]+auth_s;
fix_path='/'+fix_path if(fix_path[0]!='/'[0]);

s = "GET "+fix_path+" HTTP/1.0\r\n"
s+= "Accept: */*\r\n"
s+= "\r\n"

conn_.Send(s)
recv=""
while(true)
  buff=conn_.Recv(16384, 5000)
  if(buff.length() == 0)
     break
   end
   recv = recv +  buff
end
if (recv=~ /^HTTP[^\r\n]+200\sOK.+?\r\n\r\n(.+)$/m)
  fileName="/tmp/ip_camera_img"+device_.devid_.to_s
  imageFile=File.new(fileName+".jpg",'w')
  imageFile.print $1
  imageFile.close()
  system("/usr/bin/convert "+fileName+".jpg "+fileName+".png");
  size=File.stat(fileName+".png").size 
  imageFile=File.new(fileName+".png",'r')
  img = imageFile.read(size);
  imageFile.close()
  data_set(img)
  format_set('png')
end
  1. 201 Move Down
conn_.Reconnect()
auth_s="user="+device_.devdata_[114]+"&pwd="+device_.devdata_[115];
s = "GET /decoder_control.cgi?command=2&onestep=1&"+auth_s
s+= " HTTP/1.0\r\n Accept: */*\r\n"
s+= "\r\n"

conn_.Send(s)
recv=""
while(true)
  buff=conn_.Recv(256, 5000)
  if(buff.length() == 0)
     break
   end
   recv = recv +  buff
end
  1. 202 move left
conn_.Reconnect()
auth_s="user="+device_.devdata_[114]+"&pwd="+device_.devdata_[115];
#auth_a=Array.new;
#auth_s.each{|c| auth_a.push(c)}
s = "GET /decoder_control.cgi?command=6&onestep=1&"+auth_s
s+= " HTTP/1.0\r\n Accept: */*\r\n"
#s+= "Authorization: Basic "+auth_a.pack("m").chop+"\r\n"
s+= "\r\n"

conn_.Send(s)
recv=""
while(true)
  buff=conn_.Recv(256, 5000)
  if(buff.length() == 0)
     break
   end
   recv = recv +  buff
end
  1. 203 Move Right
conn_.Reconnect()
auth_s="user="+device_.devdata_[114]+"&pwd="+device_.devdata_[115];
#auth_a=Array.new;
#auth_s.each{|c| auth_a.push(c)}
s = "GET /decoder_control.cgi?command=4&onestep=1&"+auth_s
s+= " HTTP/1.0\r\n Accept: */*\r\n"
#s+= "Authorization: Basic "+auth_a.pack("m").chop+"\r\n"
s+= "\r\n"

conn_.Send(s)
recv=""
while(true)
  buff=conn_.Recv(256, 5000)
  if(buff.length() == 0)
     break
   end
   recv = recv +  buff
end
  1. 200 Move Up
conn_.Reconnect()
auth_s="user="+device_.devdata_[114]+"&pwd="+device_.devdata_[115];
#auth_a=Array.new;
#auth_s.each{|c| auth_a.push(c)}
s = "GET /decoder_control.cgi?command=0&onestep=1&"+auth_s
s+= " HTTP/1.0\r\n Accept: */*\r\n"
#s+= "Authorization: Basic "+auth_a.pack("m").chop+"\r\n"
s+= "\r\n"

conn_.Send(s)
recv=""
while(true)
  buff=conn_.Recv(256, 5000)
  if(buff.length() == 0)
     break
   end
   recv = recv +  buff
end

It can be made 'plug and play' by adding the mac range of both the wireless and wired adapters into the new template:

  • Wireless range 963357310976 to 963357376511 (DHCP).
  • Wired range ??????? - Will try and find this out???????

Pros:

  • Plug and play (Just give it a sensible name)
  • Pan and Tilt work from on screen arrows

Cons:

  • No motion capture

Features

  • Browser based
  • 10/100mbit LAN
  • WPA2 wireless security

Dropouts

There have been reported drop outs with the Foscam F8908W but I have not noticed this with the Foscam F8918W but I do use a static IP address.

Wireless Setup

How to setup IP camera wirelessly http://foscam.us/forum/post15934.html#p15934

Test and Tweak IP Camera Setup and Configuration

Make sure your IP Camera is functioning at peak ability http://foscam.us/forum/post34164.html#p34164

Links