frigate: Update config syntax for 0.9.x

There were several backward-incompatible changes introduced in Frigate
[0.9.0](https://github.com/blakeblackshear/frigate/releases/tag/v0.9.0).
Notably, recordings and clips are now configured together.
ntfy
Dustin 2021-12-30 09:33:58 -06:00
parent 952050e326
commit 2b27a31bee
1 changed files with 21 additions and 11 deletions

View File

@ -13,10 +13,11 @@ frigate_cameras:
- detect
- path: rtsp://frigate:{{ vault_frigate_password_front_porch }}@172.30.0.211/cam/realmonitor?channel=1&subtype=0
roles:
- clips
- record
- rtmp
height: 640
width: 480
detect:
height: 640
width: 480
objects:
track:
- person
@ -32,11 +33,15 @@ frigate_cameras:
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
clips:
record:
enabled: true
required_zones:
- driveway_zone
- walkway_zone
retain_days: 0
events:
required_zones:
- driveway_zone
- walkway_zone
retain:
default: 90
rtmp:
enabled: true
snapshots:
@ -53,21 +58,26 @@ frigate_cameras:
# 4k for recording
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=0
roles:
- clips
- 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
height: 480
width: 640
detect:
height: 480
width: 640
objects:
track:
- person
- cat
- dog
- bird
clips:
record:
enabled: true
retain_days: 0
events:
retain:
default: 90
rtmp:
enabled: true
snapshots: