https://github.com/jelloeater/cam-privacy
Simple glue app to toggle Amcrest Camera Privacy on and off via a GET request
https://github.com/jelloeater/cam-privacy
amcrest fastapi hubitat
Last synced: 2 months ago
JSON representation
Simple glue app to toggle Amcrest Camera Privacy on and off via a GET request
- Host: GitHub
- URL: https://github.com/jelloeater/cam-privacy
- Owner: Jelloeater
- License: mit
- Created: 2023-05-16T04:30:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T19:12:18.000Z (over 1 year ago)
- Last Synced: 2026-01-13T12:58:55.796Z (6 months ago)
- Topics: amcrest, fastapi, hubitat
- Language: Python
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: codeowners
Awesome Lists containing this project
README
# cam-privacy
[](https://github.com/Jelloeater/cam-privacy/actions/workflows/codeql.yml)
[](https://github.com/Jelloeater/cam-privacy/blob/main/LICENSE)
## Intro
- 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
# How to use
## STEP 1:
- Setup env file
```shell
cp .env.example .env
```
- Fill out the env file with your camera info
-
## STEP 2:
- 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
## STEP 3:
- You can trigger the privacy mode w/ a simple GET request to the webserver.py endpoints.
-
## Dev Setup
Install Go-Task -->
```shell
task setup
task docker_build_and_run
```
# Testing
```shell
task test
```
PS I'll be amazed if anyone actually uses this