frigate: Split camera config into separate file
This will make it easier to manage Frigate camera settings.btop
parent
ee0e6873ad
commit
d5ef18ccc3
|
@ -0,0 +1,119 @@
|
||||||
|
frigate_cameras:
|
||||||
|
|
||||||
|
front_porch:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://frigate:{{ vault_frigate_password_front_porch }}@172.30.0.211/cam/realmonitor?channel=1&subtype=1
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
- path: rtsp://frigate:{{ vault_frigate_password_front_porch }}@172.30.0.211/cam/realmonitor?channel=1&subtype=0
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
- rtmp
|
||||||
|
detect:
|
||||||
|
height: 640
|
||||||
|
width: 480
|
||||||
|
objects:
|
||||||
|
track:
|
||||||
|
- person
|
||||||
|
- cat
|
||||||
|
- dog
|
||||||
|
- bird
|
||||||
|
- car
|
||||||
|
motion:
|
||||||
|
mask:
|
||||||
|
- 480,0,0,0,0,166,38,180,132,161,228,159,335,174,407,196,480,222
|
||||||
|
zones:
|
||||||
|
driveway_zone:
|
||||||
|
coordinates: 41,248,352,207,417,236,212,265,51,299
|
||||||
|
walkway_zone:
|
||||||
|
coordinates: 251,640,124,640,42,293,247,260,403,235,480,274,480,457,341,566,365,592
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain_days: 0
|
||||||
|
events:
|
||||||
|
required_zones:
|
||||||
|
- driveway_zone
|
||||||
|
- walkway_zone
|
||||||
|
retain:
|
||||||
|
default: 90
|
||||||
|
rtmp:
|
||||||
|
enabled: true
|
||||||
|
snapshots:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
default: 365
|
||||||
|
|
||||||
|
back_yard:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
# 640x480 for object detection
|
||||||
|
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=1
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
# 4k for recording
|
||||||
|
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=0
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
# 1080p for streaming viaHome Assistant
|
||||||
|
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=2
|
||||||
|
roles:
|
||||||
|
- rtmp
|
||||||
|
detect:
|
||||||
|
height: 480
|
||||||
|
width: 640
|
||||||
|
objects:
|
||||||
|
track:
|
||||||
|
- person
|
||||||
|
- cat
|
||||||
|
- dog
|
||||||
|
- bird
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain_days: 2
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 90
|
||||||
|
rtmp:
|
||||||
|
enabled: true
|
||||||
|
snapshots:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
default: 365
|
||||||
|
|
||||||
|
back_yard2:
|
||||||
|
ffmpeg:
|
||||||
|
inputs:
|
||||||
|
# 640x480 for object detection
|
||||||
|
- path: rtsp://frigate:{{ vault_frigate_password_back_yard2 }}@172.30.0.213/cam/realmonitor?channel=1&subtype=1
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
|
# 4k for recording
|
||||||
|
- path: rtsp://frigate:{{ vault_frigate_password_back_yard2 }}@172.30.0.213/cam/realmonitor?channel=1&subtype=0
|
||||||
|
roles:
|
||||||
|
- record
|
||||||
|
# 1080p for streaming via Home Assistant
|
||||||
|
- path: rtsp://frigate:{{ vault_frigate_password_back_yard2 }}@172.30.0.213/cam/realmonitor?channel=1&subtype=2
|
||||||
|
roles:
|
||||||
|
- rtmp
|
||||||
|
detect:
|
||||||
|
height: 480
|
||||||
|
width: 640
|
||||||
|
objects:
|
||||||
|
track:
|
||||||
|
- person
|
||||||
|
- cat
|
||||||
|
- dog
|
||||||
|
- bird
|
||||||
|
record:
|
||||||
|
enabled: true
|
||||||
|
retain_days: 2
|
||||||
|
events:
|
||||||
|
retain:
|
||||||
|
default: 90
|
||||||
|
rtmp:
|
||||||
|
enabled: true
|
||||||
|
snapshots:
|
||||||
|
enabled: true
|
||||||
|
retain:
|
||||||
|
default: 365
|
|
@ -4,120 +4,5 @@ frigate_mqtt:
|
||||||
user: frigate
|
user: frigate
|
||||||
password: >-
|
password: >-
|
||||||
{{ vault_frigate_mqtt_password }}
|
{{ vault_frigate_mqtt_password }}
|
||||||
frigate_cameras:
|
|
||||||
front_porch:
|
|
||||||
ffmpeg:
|
|
||||||
inputs:
|
|
||||||
- path: rtsp://frigate:{{ vault_frigate_password_front_porch }}@172.30.0.211/cam/realmonitor?channel=1&subtype=1
|
|
||||||
roles:
|
|
||||||
- detect
|
|
||||||
- path: rtsp://frigate:{{ vault_frigate_password_front_porch }}@172.30.0.211/cam/realmonitor?channel=1&subtype=0
|
|
||||||
roles:
|
|
||||||
- record
|
|
||||||
- rtmp
|
|
||||||
detect:
|
|
||||||
height: 640
|
|
||||||
width: 480
|
|
||||||
objects:
|
|
||||||
track:
|
|
||||||
- person
|
|
||||||
- cat
|
|
||||||
- dog
|
|
||||||
- bird
|
|
||||||
- car
|
|
||||||
motion:
|
|
||||||
mask:
|
|
||||||
- 480,0,0,0,0,166,38,180,132,161,228,159,335,174,407,196,480,222
|
|
||||||
zones:
|
|
||||||
driveway_zone:
|
|
||||||
coordinates: 41,248,352,207,417,236,212,265,51,299
|
|
||||||
walkway_zone:
|
|
||||||
coordinates: 251,640,124,640,42,293,247,260,403,235,480,274,480,457,341,566,365,592
|
|
||||||
record:
|
|
||||||
enabled: true
|
|
||||||
retain_days: 0
|
|
||||||
events:
|
|
||||||
required_zones:
|
|
||||||
- driveway_zone
|
|
||||||
- walkway_zone
|
|
||||||
retain:
|
|
||||||
default: 90
|
|
||||||
rtmp:
|
|
||||||
enabled: true
|
|
||||||
snapshots:
|
|
||||||
enabled: true
|
|
||||||
retain:
|
|
||||||
default: 365
|
|
||||||
back_yard:
|
|
||||||
ffmpeg:
|
|
||||||
inputs:
|
|
||||||
# 640x480 for object detection
|
|
||||||
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=1
|
|
||||||
roles:
|
|
||||||
- detect
|
|
||||||
# 4k for recording
|
|
||||||
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=0
|
|
||||||
roles:
|
|
||||||
- record
|
|
||||||
# 1080p for streaming viaHome Assistant
|
|
||||||
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=2
|
|
||||||
roles:
|
|
||||||
- rtmp
|
|
||||||
detect:
|
|
||||||
height: 480
|
|
||||||
width: 640
|
|
||||||
objects:
|
|
||||||
track:
|
|
||||||
- person
|
|
||||||
- cat
|
|
||||||
- dog
|
|
||||||
- bird
|
|
||||||
record:
|
|
||||||
enabled: true
|
|
||||||
retain_days: 2
|
|
||||||
events:
|
|
||||||
retain:
|
|
||||||
default: 90
|
|
||||||
rtmp:
|
|
||||||
enabled: true
|
|
||||||
snapshots:
|
|
||||||
enabled: true
|
|
||||||
retain:
|
|
||||||
default: 365
|
|
||||||
back_yard2:
|
|
||||||
ffmpeg:
|
|
||||||
inputs:
|
|
||||||
# 640x480 for object detection
|
|
||||||
- path: rtsp://frigate:{{ vault_frigate_password_back_yard2 }}@172.30.0.213/cam/realmonitor?channel=1&subtype=1
|
|
||||||
roles:
|
|
||||||
- detect
|
|
||||||
# 4k for recording
|
|
||||||
- path: rtsp://frigate:{{ vault_frigate_password_back_yard2 }}@172.30.0.213/cam/realmonitor?channel=1&subtype=0
|
|
||||||
roles:
|
|
||||||
- record
|
|
||||||
# 1080p for streaming via Home Assistant
|
|
||||||
- path: rtsp://frigate:{{ vault_frigate_password_back_yard2 }}@172.30.0.213/cam/realmonitor?channel=1&subtype=2
|
|
||||||
roles:
|
|
||||||
- rtmp
|
|
||||||
detect:
|
|
||||||
height: 480
|
|
||||||
width: 640
|
|
||||||
objects:
|
|
||||||
track:
|
|
||||||
- person
|
|
||||||
- cat
|
|
||||||
- dog
|
|
||||||
- bird
|
|
||||||
record:
|
|
||||||
enabled: true
|
|
||||||
retain_days: 2
|
|
||||||
events:
|
|
||||||
retain:
|
|
||||||
default: 90
|
|
||||||
rtmp:
|
|
||||||
enabled: true
|
|
||||||
snapshots:
|
|
||||||
enabled: true
|
|
||||||
retain:
|
|
||||||
default: 365
|
|
||||||
frigate_shm_size: 256
|
frigate_shm_size: 256
|
||||||
|
|
Loading…
Reference in New Issue