From 2b27a31bee37d41fcabb7fb7228db3b6e6d3f12d Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 30 Dec 2021 09:33:58 -0600 Subject: [PATCH] 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. --- group_vars/frigate/main.yml | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/group_vars/frigate/main.yml b/group_vars/frigate/main.yml index e6f133a..a568ae0 100644 --- a/group_vars/frigate/main.yml +++ b/group_vars/frigate/main.yml @@ -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: