mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
🔧 frigate
This commit is contained in:
@@ -23,7 +23,7 @@ ffmpeg:
|
||||
global_args: ["-hide_banner", "-loglevel", "warning"]
|
||||
hwaccel_args: ["-hwaccel", "vaapi", "-hwaccel_device", "/dev/dri/renderD128", "-hwaccel_output_format", "yuv420p"]
|
||||
output_args:
|
||||
record: preset-record-reolink
|
||||
record: preset-record-generic-audio-aac
|
||||
|
||||
snapshots:
|
||||
enabled: true
|
||||
@@ -50,116 +50,29 @@ objects:
|
||||
max_area: 100000
|
||||
threshold: 0.7
|
||||
|
||||
# go2rtc:
|
||||
# streams:
|
||||
# frigate_porch_hq: rtspx://unifi-protect.turbo.ac:7441/j0GwJJkeqgWeDict
|
||||
# frigate_porch_lq: rtspx://unifi-protect.turbo.ac:7441/vXHPHzP9FVRJfDuY
|
||||
# frigate_driveway_hq: rtspx://unifi-protect.turbo.ac:7441/Ccg9H1IizE1vs1uY
|
||||
# frigate_driveway_lq: rtspx://unifi-protect.turbo.ac:7441/yTDnSmMVDs6C8Zn2
|
||||
# frigate_garage_hq: rtspx://unifi-protect.turbo.ac:7441/m5oOVxjEFf0a7An8
|
||||
# frigate_garage_lq: rtspx://unifi-protect.turbo.ac:7441/rfX5a2wiqGcwhkkT
|
||||
# frigate_river_hq: rtspx://unifi-protect.turbo.ac:7441/4TS1FINEr5tOeF7Q
|
||||
# frigate_river_lq: rtspx://unifi-protect.turbo.ac:7441/LgRGGzkoV1lelHBE
|
||||
# frigate_study_hq: rtspx://unifi-protect.turbo.ac:7441/SViFPpsChGahJTpR
|
||||
# frigate_study_lq: rtspx://unifi-protect.turbo.ac:7441/fHV4bNS1KiYJb3nK
|
||||
# frigate_living_room_hq: rtspx://unifi-protect.turbo.ac:7441/XRuGR7p9aDEg9jdB
|
||||
# frigate_living_room_lq: rtspx://unifi-protect.turbo.ac:7441/7qEIbCsbYqn4SMEj
|
||||
# frigate_basement_1_hq: rtspx://unifi-protect.turbo.ac:7441/0MoNwT3jxtK7jU37
|
||||
# frigate_basement_1_lq: rtspx://unifi-protect.turbo.ac:7441/M5bhAT4dLAKZfmTD
|
||||
go2rtc:
|
||||
streams:
|
||||
# cam_01_bedroom: ffmpeg:https://cam-01-bedroom.home.arpa:443/flv?port=1935&app=bcs&stream=channel0_main.bcs&user={FRIGATE_CAMERA_USER}&password={FRIGATE_CAMERA_PASSWORD}#video=copy#audio=copy#audio=opus
|
||||
cam_01_bedroom: rtsp://{FRIGATE_CAMERA_USER}:{FRIGATE_CAMERA_PASSWORD}@cam-01-bedroom.{FRIGATE_SECRET_DOMAIN}:554/h265Preview_01_main
|
||||
cam_01_bedroom_sub: ffmpeg:https://cam-01-bedroom.home.arpa:443/flv?port=1935&app=bcs&stream=channel0_main.bcs&user={FRIGATE_CAMERA_USER}&password={FRIGATE_CAMERA_PASSWORD}
|
||||
|
||||
# cameras:
|
||||
# frigate_porch:
|
||||
# ffmpeg:
|
||||
# inputs:
|
||||
# - path: rtsp://localhost:8554/frigate_porch_lq
|
||||
# roles: ["detect"]
|
||||
# - path: rtsp://localhost:8554/frigate_porch_hq
|
||||
# roles: ["record"]
|
||||
# detect:
|
||||
# width: 960
|
||||
# height: 720
|
||||
# fps: 10
|
||||
# objects:
|
||||
# filters:
|
||||
# person:
|
||||
# mask:
|
||||
# - 39,445,199,427,198,263,36,228
|
||||
# - 304,218,304,408,198,434,198,262
|
||||
# - 305,411,485,382,615,393,612,335,578,321,574,233,549,118,308,209
|
||||
|
||||
# frigate_driveway:
|
||||
# ffmpeg:
|
||||
# inputs:
|
||||
# - path: rtsp://localhost:8554/frigate_driveway_lq
|
||||
# roles: ["detect"]
|
||||
# - path: rtsp://localhost:8554/frigate_driveway_hq
|
||||
# roles: ["record"]
|
||||
# detect:
|
||||
# width: 1280
|
||||
# height: 720
|
||||
# fps: 10
|
||||
# objects:
|
||||
# filters:
|
||||
# person:
|
||||
# mask:
|
||||
# - 822,204,1280,360,1280,0,0,0,0,313
|
||||
|
||||
# frigate_garage:
|
||||
# ffmpeg:
|
||||
# inputs:
|
||||
# - path: rtsp://localhost:8554/frigate_garage_lq
|
||||
# roles: ["detect"]
|
||||
# - path: rtsp://localhost:8554/frigate_garage_hq
|
||||
# roles: ["record"]
|
||||
# detect:
|
||||
# width: 1024
|
||||
# height: 576
|
||||
# fps: 10
|
||||
|
||||
# frigate_river:
|
||||
# ffmpeg:
|
||||
# inputs:
|
||||
# - path: rtsp://localhost:8554/frigate_river_lq
|
||||
# roles: ["detect"]
|
||||
# - path: rtsp://localhost:8554/frigate_river_hq
|
||||
# roles: ["record"]
|
||||
# detect:
|
||||
# width: 1280
|
||||
# height: 720
|
||||
# fps: 10
|
||||
|
||||
# frigate_study:
|
||||
# ffmpeg:
|
||||
# inputs:
|
||||
# - path: rtsp://localhost:8554/frigate_study_lq
|
||||
# roles: ["detect"]
|
||||
# - path: rtsp://localhost:8554/frigate_study_hq
|
||||
# roles: ["record"]
|
||||
# detect:
|
||||
# width: 1280
|
||||
# height: 720
|
||||
# fps: 10
|
||||
|
||||
# frigate_living_room:
|
||||
# ffmpeg:
|
||||
# inputs:
|
||||
# - path: rtsp://localhost:8554/frigate_living_room_lq
|
||||
# roles: ["detect"]
|
||||
# - path: rtsp://localhost:8554/frigate_living_room_hq
|
||||
# roles: ["record"]
|
||||
# detect:
|
||||
# width: 1024
|
||||
# height: 576
|
||||
# fps: 10
|
||||
|
||||
# frigate_basement_1:
|
||||
# ffmpeg:
|
||||
# inputs:
|
||||
# - path: rtsp://localhost:8554/frigate_basement_1_lq
|
||||
# roles: ["detect"]
|
||||
# - path: rtsp://localhost:8554/frigate_basement_1_hq
|
||||
# roles: ["record"]
|
||||
# detect:
|
||||
# width: 1280
|
||||
# height: 720
|
||||
# fps: 10
|
||||
cameras:
|
||||
cam-01-bedroom:
|
||||
ffmpeg:
|
||||
inputs:
|
||||
- path: rtsp://localhost:8554/cam_01_bedroom?video=copy&audio=aac
|
||||
input_args: preset-rtsp-restream
|
||||
roles: ["record"]
|
||||
- path: rtsp://localhost:8554/cam_01_bedroom_sub?video=copy
|
||||
input_args: preset-rtsp-restream
|
||||
roles: ["detect"]
|
||||
detect:
|
||||
width: 640
|
||||
height: 480
|
||||
fps: 7
|
||||
objects:
|
||||
filters:
|
||||
person:
|
||||
mask:
|
||||
- 960,626,800,617,797,0,960,0
|
||||
- 960,0,960,138,0,149,0,0
|
||||
|
@@ -17,11 +17,17 @@ spec:
|
||||
data:
|
||||
# App
|
||||
# PLUS_API_KEY: "{{ .PLUS_API_KEY }}"
|
||||
# Mosquitto
|
||||
FRIGATE_CAMERA_USER: "{{ .FRIGATE_CAMERA_USER }}"
|
||||
FRIGATE_CAMERA_PASSWORD: "{{ .FRIGATE_CAMERA_PASSWORD }}"
|
||||
# EMQX
|
||||
FRIGATE_MQTT_USERNAME: "{{ .user_1_username }}"
|
||||
FRIGATE_MQTT_PASSWORD: "{{ .user_1_password }}"
|
||||
# GENERIC
|
||||
FRIGATE_SECRET_DOMAIN: "{{ .SECRET_DOMAIN }}"
|
||||
dataFrom:
|
||||
# - extract:
|
||||
# key: frigate
|
||||
- extract:
|
||||
key: emqx
|
||||
- extract:
|
||||
key: frigate
|
||||
- extract:
|
||||
key: generic
|
||||
|
@@ -39,6 +39,7 @@ spec:
|
||||
type: statefulset
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
podManagementPolicy: Parallel
|
||||
image:
|
||||
repository: ghcr.io/blakeblackshear/frigate
|
||||
tag: 0.12.1
|
||||
@@ -50,6 +51,9 @@ spec:
|
||||
name: frigate-secret
|
||||
service:
|
||||
main:
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
loadBalancerIP: ${CLUSTER_LB_FRIGATE}
|
||||
ports:
|
||||
http:
|
||||
port: &port 5000
|
||||
@@ -74,7 +78,7 @@ spec:
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
ingressClassName: internal
|
||||
ingressClassName: nginx
|
||||
hosts:
|
||||
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
||||
paths:
|
||||
@@ -102,7 +106,7 @@ spec:
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_OPENMEDIAVAULT}"
|
||||
path: /export/frigate
|
||||
mountPath: /export/frigate
|
||||
mountPath: /media/frigate
|
||||
cache:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
|
@@ -44,8 +44,8 @@ sops:
|
||||
WG82VkdBMlNnRzBySFQzMk41cEtXSlEKBqOmq9UpO61C85+pj0ibdT31y4pmFsbm
|
||||
pTi4N0vv81kcf4ilqBU5h1gudNCb42Q2iL0eGNR4e3JzH4iaNsvnEg==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2023-07-14T21:58:35Z"
|
||||
mac: ENC[AES256_GCM,data:G2sYqZY5/E/4QWVYKV5RGT5XCCnH5SIjdbW/xqw6WCV6G2nIEDpHKXSPKFLlzWHTsW3jRjWW2SOQ59ftkY5CB4doMi8EzEGzqMyw1d0llwl6sXGPzwOBjqlOeoECCc0/xm2BKA6bJ3uTyeifyFNQSx4iBvM8Djv1JTrIE/P8pVE=,iv:x8o2b+wO8FD43RtwHvz73yEtefTsgV6a1pWehLPSHoI=,tag:sqg4/tUSVE3AyZWhUGi9jw==,type:str]
|
||||
lastmodified: "2023-08-31T15:46:42Z"
|
||||
mac: ENC[AES256_GCM,data:OSvzXKIJBr8ImiHRk0kK7G5seEDIc7nBFQjLXCrec+QAuHqHlITWovUjkC/vsIsIIspUYL1xuDPKqOMFcq7GXRt6eCkFCkhAyzlfUF2EY+/xifymKCUA9WWLUC92sBQraxXBL4HrVjdzLQg1BBkmI7ukH3YEQO2FkPj9A2FkRco=,iv:hlkzKN/6/ojBYMPzXXpRwZlSxKQ5Ev+XnCjFyyHfcCM=,tag:2gXKLl1a/mx8erqrZNr+kw==,type:str]
|
||||
pgp: []
|
||||
encrypted_regex: ^(data|stringData)$
|
||||
version: 3.7.3
|
||||
|
@@ -21,6 +21,7 @@ data:
|
||||
CLUSTER_LB_RESILIOSYNC_HELENE: 192.168.169.111
|
||||
CLUSTER_LB_MAILRISE: 192.168.169.112
|
||||
CLUSTER_LB_REDIS: 192.168.169.113
|
||||
CLUSTER_LB_FRIGATE: 192.168.169.114
|
||||
LOCAL_LAN: 192.168.8.0/22
|
||||
LOCAL_LAN_OPNSENSE: 192.168.8.1
|
||||
LOCAL_LAN_TRUENAS: 192.168.9.10
|
||||
|
Reference in New Issue
Block a user