Hia,
i did begin today to create the template for the Foscam FI8908W ip camera.
Regarding the ruby code, i will include pan / tilt and flip.
I also found
http://forum.micasaverde.com/index.php?topic=3720.0, and will test to see if it works. If yes, will make the template available next week, after testing it.
foscam commands:
snapshot.cgi
description To obtain the snapshot
Permission visitor
Syntax /snapshot.cgi[?user=&pwd=&next_url=]
Parameters user:username
pwd:password
next_url:the name of snapshot
Note 1 If not use the parameter “next_url”, the snapshot name is:device
id(Alias)_ Current time.jpg
videostream.cgi
description Use server push mode to send videostream to Client APP
Permission visitor
Syntax /videostream.cgi[?user=&pwd=]
Parameters user:username
pwd:password
Note support 2 Authentication Metheds: http Basic64 encode and use
username/password in the param directly.
decoder_control.cgi
Syntax /decoder_control.cgi?command=[&next_url=]
Parameters value
0 up
1 Stop up
2 down
3 Stop down
4 left
5 Stop left
6 right
7 Stop right
... Reserved
25 center
26 Vertical patrol
27 Stop vertical patrol
28 Horizon patrol
29 Stop horizon patrol
... Reserved
94 IO output high
95 IO output low
camera_control.cgi
description To control camera sensor Parameters
Permission operator
Syntax /camera_control.cgi?param=&value=[&next_url=]
Parameters param value (see below)
param value
0 Resolution 8: QVGA 32:VGA
1 Brightness 0~255
2 Contrast 0~6
3 mode 0: 50Hz
1: 60Hz
2: Outdoor
5 Flip&mirror 0: default 1: flip 2: mirror 3: flip + mirror
reboot.cgi
Permission Administrator
Syntax /reboot.cgi[?next_url=]