Equipment/Webcams

From London Hackspace Wiki
< Equipment
Revision as of 22:46, 7 August 2010 by Ms7821 (talk | contribs)
Jump to navigation Jump to search

The IP Secure300r webcam

The camera is one of these.

Warning

The java app on the main admin page of the camera tends to lockup firefox

Access

  • IP: 172.31.24.169
  • Host: netcam
  • Username: admin
  • Password: hackspace

Infrared led control

To toggle the ir leds:

wget netcam/goform/WebCam_MotoForm?MotoBut=Light --http-user=admin --http-password=hackspace

you will get a page returned as either:

webcam_logoIROff.htm (Meaning the leds are on)

or

webcam_logoIROn.htm (Meaning the leds are off)

How to get an image

  • Java a stream of width and size followed by JPEG.
  • M-JPEG returns a multipart/x-mixed-replace stream. However, the boundary provided is incorrect, which motion does not appreciate, so use:
  mkfifo campipe; nc -l -p 8011<campipe | nc netcam 80|sed -r 's/(boundary=)--sonixboundary/\1sonixboundry/'>campipe

And stream from there. On Babbage, the script netcamfix is started automatically from xinetd and does the same.

From outside the space

Currently http://hack.rs:8001 or http://knuth.london.hackspace.org.uk:8001

The Day So Far

EasyN IPCam

Model FS-618A-M136, ordered from Ebay.

http://172.31.24.122?cmmd=%s, where %s is:

52 username=?
32 ? (disconnects)
290404 pan scan
290405 tilt scan
290301 centre
290004 tilt down
290003 tilt up
290002 pan left
290001 pan right
28 state info
26 ? (disconnects)
25 ? (returns a value)
2200 flip off
2201 flip
2100 mirror off
2101 mirror
2005 ?
2003 ?
2001 ?
1E00 outdoor off
1E01 outdoor
1D00 night off
1D01 night
1C02 reboot
1802 high res
1801 med res
1800 low res
13E0 high compression (14kB for 640x480)
1389 ?
1359 ?
1339 ?
1329 low compression (60kB for 640x480)
12 qual high
11 qual std
10 qual low

Known URLs

/viwx.html /image.jpg /cgi-bin /pant.html

State info

The state info is also returned from UDP broadcast on port ?