Frigate finetuning recording

Hi,
I managed to get Frigate running for my rtsp camera.
It now correctly logs events and records clips when a person is detected.

However I notice that it seems to start recording for the slightest change.
The camera is pointed outside from a window, and a cloud or raindrop already triggers it to be recorded.

Can someone assist which parameter I need to change or modify in my code?

cameras:
  FrontDoorCamera:
    ffmpeg:
      inputs:
        - path: rtsp://admin:@192.168.2.10:8001
          roles:
            - rtmp
            - detect
            - record
    rtmp:
      enabled: True
    detect:
      width: 1920
      height: 1080
      fps: 5
    record:
      enabled: True
      retain: 
        days: 0
        mode: active_objects
      events:
       pre_capture: 10
       post_capture: 10       
       objects: 
        - person 
       retain:
        default: 3
        mode: active_objects
    snapshots:
      enabled: True
      timestamp: True
      retain:
        default: 10
        objects:
         person: 15

I actually only want it to record when it detects a person. No need to record any other movements?

Your config sets it to only record when objects are detected and active. What makes you think it’s recording too much?

Thanks!

I guess the recording is caused by raindrops on the window at the moment. Which cause quite some mp4 files created.

The event that I want seems to get triggered one time after a restart, but if I trigger it again by standing in front of it, i don’t see new events being created.

If possible I’d only want to view events when a person is recognized, with a small clip of the video recorded at that time.

Hi!
Thanks again for the feedback.
Just to let you know my config is working as expected now!
It only records when it detects a person, and the events are detecting correctly too now.
I did notice that a restart of HA sometimes seems to work better, then just reload the yaml + restart Frigate.

Used these settings :

cameras:
  Frontdoor:
    ffmpeg:
      inputs:
        - path: rtsp://admin:@192.168.1.20:8001
          roles:
            - rtmp
            - detect
            - record
    rtmp:
      enabled: True
    detect:
      width: 1920
      height: 1080
      fps: 5
    record:
      enabled: True
      retain: 
        days: 0
        mode: active_objects
      events:
       pre_capture: 10
       post_capture: 10       
       objects: 
        - person
        - dog
        - cat
       retain:
        default: 3
        mode: active_objects
    snapshots:
      enabled: True
      timestamp: True
      retain:
        default: 10
        objects:
         person: 15