Bash implementation of the Foscam IP Cameras API
This library provides utilities to control your Foscam IP camera.
First, you have to source foscam_api.sh
.
For example, to take and download an picture :
take_picture my.camera.org:88
To customize the behavior of the library you should define some environment variables.
If not provided, they will default to :
# Path to save the pictures
PICTURE_PATH=./
# Path to the log-file
LOG_FILE=foscam_api.log
# Time to sleep while the camera is moving
TRAVEL_DURATION=10