For the past couple of days Frigate has decided to stop deleting the clips which don’t have events in them, my conifig is setup ‘retain_days=0’.
It’s been working as expected for weeks/months but just suddenly started doing it a couple of days ago. As far as I can remember I’ve made no changes to Frigate or HA. This is resulting in my disk becoming full and me needing to manually delete clips, you can see the spikes in the screenshot below:
I’m running:
Frigate: 2.3
Installed as an add-on to HA core-2022.2.0 on Home Assistant OS 7.2, I was running 2021.12.x just upgraded today to Feb release to see if it would fix it.
This has happened to me once in the past, however after a few days it went back to deleting the clips so I never got to the bottom off it. Nothing in the Frigate or HA logs to indicate an issue. Any suggestions?
Config below, 11 cameras so it’s quite noisy:
mqtt:
host: 192.168.1.166
port: 1883
user: mqttuser
password: mqttPassw0rd
topic_prefix: frigate
client_id: frigate
detectors:
coral:
type: edgetpu
device: usb
ffmpeg:
hwaccel_args:
- -hwaccel
- qsv
- -qsv_device
- /dev/dri/renderD128
birdseye:
enabled: False
width: 1280
height: 720
quality: 4
mode: objects
snapshots:
enabled: True
bounding_box: true
retain:
default: 5
record:
enabled: True
retain_days: 0
events:
retain:
default: 5
objects:
track:
- person
- cat
- mouse
- dog
- bird
cameras:
front_door:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/4E0jPd2vPAlxvTxd
roles:
- detect
- record
detect:
width: 1024
height: 576
fps: 5
motion:
mask:
- 1024,482,934,431,963,287,1024,238
- 423,0,429,153,237,214,87,206,0,150,0,0,174,0
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: true
crop: False
height: 500
deck:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/x84oJyVPCbJkM6K3
roles:
- detect
- record
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 925,0,831,71,681,106,432,275,0,375,0,0
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
front_bins:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/1D7DHGoMfMtuiRPA
roles:
- detect
- record
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 1280,385,387,172,0,138,0,0,1280,0
zones:
front_of_house:
coordinates: 1280,720,0,720,0,93,114,131,250,149,725,224,1280,353
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
pool2:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/H6yu5EC02nug8e8a
roles:
- detect
- record
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 241,48,403,142,537,269,569,720,0,720,0,487,0,88
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
front_bbq:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/0vRR1mnUZGIYbmFc
roles:
- detect
- record
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 1280,0,1280,180,1191,182,1182,238,701,308,0,487,0,0
zones:
front_of_house:
coordinates: 474,358,1171,222,1186,176,1280,180,1280,720,0,720,0,480
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
back_garden:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/Mc4bF1KgSdwbWRov
roles:
- detect
- record
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 816,720,766,474,775,383,984,159,1120,138,1280,320,1280,720
- 0,0,1280,0,1079,259,731,259,602,252,244,359,186,468,0,588
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
garage:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/ywNuWiY0nfzantkr
roles:
- detect
- record
detect:
width: 1024
height: 576
fps: 5
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
door_bell:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/r1Fil4PuD5xYntVv
roles:
- detect
- record
detect:
width: 960
height: 720
fps: 5
motion:
mask:
- 0,60,960,59,960,361,849,380,854,408,553,435,347,446,120,459,118,431,0,421
zones:
front_of_house:
coordinates: 960,720,0,720,0,425,148,441,152,483,960,371
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
livingroom:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/Lncnic1vxoDvlvkw
roles:
detect:
width: 1024
height: 576
fps: 5
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
office:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/ihBjWrdkIC4LqEAg
roles:
detect:
width: 1024
height: 576
fps: 5
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500
kitchen:
ffmpeg:
inputs:
- path: rtsp://192.168.1.1:7447/127xhqW0hRMAlRsG
roles:
detect:
width: 1024
height: 576
fps: 5
rtmp:
enabled: false
mqtt:
timestamp: False
bounding_box: False
crop: False
height: 500