Leverages the blinkpy Python library to access a Blink camera system in order to take a picture with a single camera and then save it
run.pycaptures and downloads an image from a single camera which is then saved to a local path using sequential naming. Credentials are read from a configured or default path. If credentials are not found, the script can request them- Args:
-c, --Camera: Specifies the camera to activate-o, --Output: Specifies the output path for captured images-a, --Auth: Specifies the path to the credentials file (credentials.json)-q, --Quiet: Enables quiet mode. Disables authentication prompts
- Environment Variables
Snap_Camera: Maps to-cSnap_OutputPath: Maps to-oSnap_AuthPath: Maps to-a
- Args:
session.pyis a wrapper around the initialization of a blinkpyBlinkobject which is consumed byrun.py. This script may be run directly to reset your login credentialsDockerfileExecutesrun.pyin quiet mode. Tip: Use environment variables for configurationdocker-compose.yamlExecutesDockerfilewith environment variable configuration and volume mounts
- Your Blink account credentials (username, password, session info), will be written to a
local file
.blinkpy/credentials.jsonupon running the sign in routine (session.py). Delete this file to remove them