Releases: muten84/ipcam-controller
Releases · muten84/ipcam-controller
ipcam-controller 1.0.0
API:
- action -> send command for given action and return a promise
- moveLeftFor - > send command for left action for duration D then sends relative stop command
- moveRightFor -> send command for right action for duration D then sends relative stop command
- moveUpFor -> send command for up action for duration D then sends relative stop command
- moveDownFor -> send command for down action for duration D then sends relative stop command
- schedule -> schedule given action for duration D, in date WHEN, for T times.
COMMAND LINE:
Usage: ipcam [options]
Options:
-h, --help output usage information
-u, --user <user> The user to authenticate as
-p, --password <password> The user's password
-a, --address <address> The camera ip address
-m, --modelType <modelType> The camera model type (e.g.: sricamAF004)
-d, --duration <duration> The move duration in milliseconds
-s, --schedule <schedule> Schedule given action for n times during schedule times: for instance '-s 30' schedule for 1 time the given action from now to now+30 minutes
-c, --count <count> Use it in combination with schedule to configure how many times during schedule time the given action should start: for instance -s 30 -c 3 schedule fo 3 times the given action during 30 minutes from now where now is the command start execution time
-n --cameraName <cameraName> The camera name identifier