I am trying to set up the driveway camera to turn on the outside light when a car or person is seen. This much I have working. However, Frigate is recording several days of events and recordings. (I am using my office camera for experimenting).
I have retain set to 1, but I am showing 5 days of recordings. What am I doing wrong?
Why is this important? I do a nightly backup using Samba Backup and with Frigate recording my backups are approaching 10Gb. I have yet to find a way to do an automated backup excluding the media folder.
office:
ffmpeg:
inputs:
- path: rtsp://cam4:[email protected]/live
roles:
- detect
- rtmp
- record
rtmp:
enabled: False
detect:
width: 1920
height: 1080
enabled: True
record:
enabled: True
expire_interval: 60 #Cleanup every 60 minutes
retain:
days: 1
events:
pre_capture: 15 #seconds
post_capture: 5
snapshots:
enabled: True
timestamp: false
bounding_box: true
retain:
default: 1
objects:
track:
- dog
- person