- Simple glue app to toggle Amcrest Camera Privacy on and off via a GET request
- Uses FastAPI for the webserver endpoint and https://github.com/tchellomello/python-amcrest for Camera control.
- Shoutout to @tchellomello
- Setup env file
cp .env.example .env
- Fill out the env file with your camera info
- You will need to deploy the application on a Linux VM with Docker installed
- The easiest thing to do is to copy your .env file and let Docker Compose handle the rest
- The docker_deploy TaskFile step can be used as reference
- You can trigger the privacy mode w/ a simple GET request to the webserver.py endpoints.
Install Go-Task --> https://taskfile.dev/installation/
task setup
task docker_build_and_run
task test
PS I'll be amazed if anyone actually uses this