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,8 +13,9 @@ frigate_cameras:
- detect - detect
- path: rtsp://frigate:{{ vault_frigate_password_front_porch }}@172.30.0.211/cam/realmonitor?channel=1&subtype=0 - path: rtsp://frigate:{{ vault_frigate_password_front_porch }}@172.30.0.211/cam/realmonitor?channel=1&subtype=0
roles: roles:
- clips - record
- rtmp - rtmp
detect:
height: 640 height: 640
width: 480 width: 480
objects: objects:
@ -32,11 +33,15 @@ frigate_cameras:
coordinates: 41,248,352,207,417,236,212,265,51,299 coordinates: 41,248,352,207,417,236,212,265,51,299
walkway_zone: walkway_zone:
coordinates: 251,640,124,640,42,293,247,260,403,235,480,274,480,457,341,566,365,592 coordinates: 251,640,124,640,42,293,247,260,403,235,480,274,480,457,341,566,365,592
clips: record:
enabled: true enabled: true
retain_days: 0
events:
required_zones: required_zones:
- driveway_zone - driveway_zone
- walkway_zone - walkway_zone
retain:
default: 90
rtmp: rtmp:
enabled: true enabled: true
snapshots: snapshots:
@ -53,11 +58,12 @@ frigate_cameras:
# 4k for recording # 4k for recording
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=0 - path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=0
roles: roles:
- clips - record
# 1080p for streaming viaHome Assistant # 1080p for streaming viaHome Assistant
- path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=2 - path: rtsp://frigate:{{ vault_frigate_password_back_yard }}@172.30.0.212/cam/realmonitor?channel=1&subtype=2
roles: roles:
- rtmp - rtmp
detect:
height: 480 height: 480
width: 640 width: 640
objects: objects:
@ -66,8 +72,12 @@ frigate_cameras:
- cat - cat
- dog - dog
- bird - bird
clips: record:
enabled: true enabled: true
retain_days: 0
events:
retain:
default: 90
rtmp: rtmp:
enabled: true enabled: true
snapshots: snapshots: