Frigate and save battery

Hi,
I just succeed to install Frigate. And I’m still in configuration mode (for objects detection, notification, …).
But I use an outdoor camera on battery with solar panel.
So I wish to save battery consumption. Is it possible to change some options to decrease battery consumption ?

Here my frigate configuration :

## Connection à MQTT ##
mqtt:
  enabled: False

#cameras:
#  dummy_camera: # <--- this will be changed to your actual camera later
#    enabled: False
#    ffmpeg:
#      inputs:
#        - path: rtsp://127.0.0.1:554/rtsp
#          roles:
#            - detect
            
            
            
# /config/frigate.yaml

## Choix des caméras ##
go2rtc:
  streams:
    my_camera:
      - echo:bash /config/custom_components/expose_camera_stream_source/get_stream.sh camera.r4252_smart_outdoor_camera

## Liste des caméras avec leurs adresses de connection ##
cameras:
  my_camera:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/my_camera?video
          input_args: preset-rtsp-restream-low-latency
          roles:
            - detect
#    motion: ## Création des zones à ignorer ##
#      mask:
#        - 0,461,3,0,1919,0,1919,843,1699,492,1344,458,1346,336,973,317,869,375,866,432
## Choix des options de détection et d'enregistrement ##
record:
  enabled: True
  retain:
    days: 7
    mode: motion
  events:
    retain:
      default: 30
#      mode: motion ## Conserve les vidéos avec mouvements seulement ##
      mode: active_objects ## Conserve les vidéos avec détection d'objets ##
      objects:
        dog: 2 ## Durée de conservation par objets ##
        cat : 2
        person: 7

detect:
  stationary:
    # Optional: Frequency for confirming stationary objects (default: same as threshold)
    # When set to 1, object detection will run to confirm the object still exists on every frame.
    # If set to 10, object detection will run to confirm the object still exists on every 10th frame.
    interval: 50
    # Optional: Number of frames without a position change for an object to be considered stationary (default: 10x the frame rate or 10s)
    threshold: 50
    # Optional: Define a maximum number of frames for tracking a stationary object (default: not set, track forever)
    # This can help with false positives for objects that should only be stationary for a limited amount of time.
    # It can also be used to disable stationary object tracking. For example, you may want to set a value for person, but leave
    # car at the default.
    # WARNING: Setting these values overrides default behavior and disables stationary object tracking.
    #          There are very few situations where you would want it disabled. It is NOT recommended to
    #          copy these values from the example config into your config unless you know they are needed.
   

snapshots:
  enabled: True

AFAIK, not really? Frigate’s whole thing is being able to scan a substream constantly and look for objects. I don’t think there is any way to do that without the substream constantly being processed, otherwise you’re going to possibly miss events.

So need to buy some outside charger for my camera. The solar panel isn’t powerfull enough to charge it with live

1 Like