0.0.2 • Published 11 years ago

wansview v0.0.2

Weekly downloads
1
License
-
Repository
-
Last release
11 years ago

Wansview

Wansview webcam controller for direction and taking pictures

Only tested with Wansview NC541W

Usage

var Webcam = require('wansview')
var webcam = new Webcam('192.168.1.178', 'admin', '123456')

webcam.left()

setTimeout(function(){
  webcam.stop()
  webcam.snapshot('leftUp.png')
}, 5000)

Commands

Movement:

webcam.up()
webcam.down()
webcam.left()
webcam.right()
webcam.rightUp()
webcam.rightDown()
webcam.leftUp()
webcam.leftDown()

Panning:

webcam.panHorizontal()
webcam.panVertical()

Take picture:

webcam.snapshot('path/to/image.png')

Copyright

Copyright (c) 2013 Andrew Nesbitt. See LICENSE for details.