Skip to content

Commit

Permalink
App Submission: Frigate (getumbrel#843)
Browse files Browse the repository at this point in the history
Co-authored-by: nmfretz <nmfretz@gmail.com>
  • Loading branch information
2 people authored and zapomatic committed Mar 13, 2024
1 parent cb0f599 commit 271be13
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
14 changes: 14 additions & 0 deletions frigate/data/config.yml
@@ -0,0 +1,14 @@
mqtt:
enabled: False

cameras:
name_of_your_camera: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://10.0.10.10:554/rtsp # <----- The stream you want to use for detection
roles:
- detect
detect:
enabled: False # <---- disable detection until you have a working camera feed
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
Empty file added frigate/data/storage/.gitkeep
Empty file.
30 changes: 30 additions & 0 deletions frigate/docker-compose.yml
@@ -0,0 +1,30 @@
version: "3.7"

services:
app_proxy:
environment:
APP_HOST: frigate_web_1
APP_PORT: 5000
PROXY_AUTH_ADD: "false"

web:
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:0.12.1@sha256:bb7f7e76a13eccef0b12704e5851cc774a12af1f12df387d6a70a796a3e938c3
shm_size: "128mb" # update for your cameras based on calculation above
devices:
- /dev:/dev
volumes:
- /etc/localtime:/etc/localtime:ro
- ${APP_DATA_DIR}/data/config.yml:/config/config.yml
- ${APP_DATA_DIR}/data/storage:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: ${APP_PASSWORD}
34 changes: 34 additions & 0 deletions frigate/umbrel-app.yml
@@ -0,0 +1,34 @@
manifestVersion: 1
id: frigate
category: automation
name: Frigate
version: "0.12.1"
tagline: A complete and local NVR.
description: >-
A complete and local NVR designed for Home Assistant with AI object detection.
Uses OpenCV and Tensorflow to perform realtime object detection locally for IP cameras.
🛠️ SET-UP
- You can configure your cameras directly within the Frigate app, there is no need to manually edit the configuration files.
- Your RTSP password (if needed) is the "default app password" that is displayed on Frigate's page in the app store (shown after install).
releaseNotes: ""
developer: Blake Blackshear
website: https://frigate.video/
repo: https://github.com/blakeblackshear/frigate
support: https://github.com/blakeblackshear/frigate/issues
port: 5004
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
path: ""
defaultUsername: ""
deterministicPassword: true
dependencies: []
submitter: ~dibref-labter
submission: https://github.com/getumbrel/umbrel-apps/pull/843

0 comments on commit 271be13

Please sign in to comment.