Advanced
#
Advanced configurationmotion
#
Global motion detection config. These may also be defined at the camera level.
detect
#
Global object detection settings. These may also be defined at the camera level.
logger
#
Change the default log level for troubleshooting purposes.
Available log levels are: debug
, info
, warning
, error
, critical
Examples of available modules are:
frigate.app
frigate.mqtt
frigate.edgetpu
frigate.zeroconf
detector.<detector_name>
watchdog.<camera_name>
ffmpeg.<camera_name>.<sorted_roles>
NOTE: All FFmpeg logs are sent aserror
level.
environment_vars
#
This section can be used to set environment variables for those unable to modify the environment of the container (ie. within Hass.io)
database
#
Event and clip information is managed in a sqlite database at /media/frigate/clips/frigate.db
. If that database is deleted, clips will be orphaned and will need to be cleaned up manually. They also won't show up in the Media Browser within HomeAssistant.
If you are storing your clips on a network share (SMB, NFS, etc), you may get a database is locked
error message on startup. You can customize the location of the database in the config if necessary.
This may need to be in a custom location if network storage is used for clips.
detectors
#
model
#
#
Custom ModelsModels for both CPU and EdgeTPU (Coral) are bundled in the image. You can use your own models with volume mounts:
- CPU Model:
/cpu_model.tflite
- EdgeTPU Model:
/edgetpu_model.tflite
- Labels:
/labelmap.txt
You also need to update the model width/height in the config if they differ from the defaults.
#
Customizing the LabelmapThe labelmap can be customized to your needs. A common reason to do this is to combine multiple object types that are easily confused when you don't need to be as granular such as car/truck. You must retain the same number of labels, but you can change the names. To change:
- Download the COCO labelmap
- Modify the label names as desired. For example, change
7 truck
to7 car
- Mount the new file at
/labelmap.txt
in the container with an additional volume