I know this has been asked 100 times before, and answer always is to let the configuration file handle the retention issues. But my configuration file does include those settings, but I have things going back since I first started using Frigate. I’m using HAOS, not a containerized installation.
Where are these files: Well, they are not on my NAS, nor on my camera storage. I can only assume they are on my NUC where my HAOS install is.
How do I see them: Using the HA media tab and click on Frigate.
There are clips, snapshots and recording sub-folders in the Media → Frigate tab. And lots of subdirectorlies.
So where do I go next? Here is my yaml file:
mqtt:
host: 192.168.1.55
port: 1883
client_id: frigate
user: harryfine
password: REDACTED
detectors:
cpu1:
type: cpu
ffmpeg:
input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- nobuffer+genpts+discardcorrupt
- -flags
- low_delay
- -strict
- experimental
- -analyzeduration
- 1000M
- -probesize
- 1000M
- -rw_timeout
- "5000000"
output_args:
record: preset-record-generic-audio-aac
go2rtc:
streams:
reolink:
- http://192.168.1.105/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=eibboR
- "ffmpeg:reolink#audio=opus"
reolink_sub:
- http://192.168.1.105/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=eibboR
cameras:
reolink:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/reolink?video=copy&audio=aac
input_args: preset-rtsp-restream-low-latency
roles:
- record
- path: rtsp://127.0.0.1:8554/reolink_sub?video=copy
input_args: preset-rtsp-restream-low-latency
roles:
- detect
detect:
width: 640
height: 480
fps: 5
birdseye:
enabled: true
width: 640
height: 480
quality: 8
mode: motion
record:
enabled: true
retain:
days: 2
mode: motion
events:
pre_capture: 5
post_capture: 5
retain:
default: 2
mode: active_objects
snapshots:
enabled: true
timestamp: true
bounding_box: true
retain:
default: 5
objects:
person: 5
dog: 2