Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wtjones/ip-cam-control
https://github.com/wtjones/ip-cam-control
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wtjones/ip-cam-control
- Owner: wtjones
- Created: 2015-01-02T00:13:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-07T01:18:53.000Z (almost 10 years ago)
- Last Synced: 2024-08-31T23:46:07.887Z (4 months ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ip-cam-control
Perform minimal remote adminstration of supported IP cameras. This list includes:
* WVC80N
# example
```
var camSettings = {
led: true,
motionDetection: true,
allowMobileStreaming: true
}camControl.editCamSettings('192.168.0.99', '80', 'admin', 'mypassword', camSettings, function(err) {
if (err) throw err;
});```
# installation
`npm install ip-cam-control`
# settings
## led (boolean)
LED indicator
## motionDetection (boolean)
Option 'Trigger Motion Detection' on the Motion Detection admin page.
## allowMobileStreaming (boolean)
Option 'Enable Mobile Streaming' on the Options admin page.
# methods
### editCamSettings(hostname, port, user, pass, settings, callback)
First param of the callback will either contain an error or null.
### getCamSettings(hostname, port, user, pass, callback)
#### callback
`function (err, result)`
```
result = {
led: boolean
motionDetection: bool
allowMobileStreaming: bool
}
```# license
MIT