[{"i":170,"id":"configuration/advanced/analytics","section_id":"frigate/configuration/advanced/analytics/0000","title":"Anonymous Analytics","heading":"Overview","text":"import AnalyticsFields from \"@site/src/components/AnalyticsFields\"; import NavPath from \"@site/src/components/NavPath\"; Frigate can send one anonymous usage report a day. The reports show the maintainers which hardware to support, which features people use, and how releases perform. Sharing is off until you turn it on.","url":"https://docs.frigate.video/configuration/advanced/analytics/","vehicles":[]},{"i":171,"id":"configuration/advanced/analytics","section_id":"frigate/configuration/advanced/analytics/0001","title":"Anonymous Analytics","heading":"Turning it on","text":"Enable **Share anonymous analytics** at System > Telemetry\" />, or set it in your config: The same page has a **Preview the report** button that shows exactly what the next report contains.","url":"https://docs.frigate.video/configuration/advanced/analytics/","vehicles":[]},{"i":172,"id":"configuration/advanced/analytics","section_id":"frigate/configuration/advanced/analytics/0002","title":"Anonymous Analytics","heading":"How it's sent","text":"- Once a day, as a JSON POST to `https://analytics.frigate.video/report` - The server looks up your country and region from your IP address and never stores the address - Raw reports are kept for 60 days; only aggregate totals are published - A random install ID, stored in `/config/.analytics.json`, keeps your install from being counted twice. Turning sharing off deletes it","url":"https://docs.frigate.video/configuration/advanced/analytics/","vehicles":[]},{"i":173,"id":"configuration/advanced/analytics","section_id":"frigate/configuration/advanced/analytics/0003","title":"Anonymous Analytics","heading":"What's never sent","text":"- Camera, zone, group, profile, or user names - Object labels, face names, or license plate text - IP addresses, hostnames, URLs, or stream paths - Credentials or API keys - Events, recordings, or anything from them","url":"https://docs.frigate.video/configuration/advanced/analytics/","vehicles":[]},{"i":174,"id":"configuration/advanced/analytics","section_id":"frigate/configuration/advanced/analytics/0004","title":"Anonymous Analytics","heading":"Every field","text":"Fields marked public appear in the published totals. The machine-readable schema is [frigate-analytics-schema.json](pathname:///frigate-analytics-schema.json). ","url":"https://docs.frigate.video/configuration/advanced/analytics/","vehicles":[]},{"i":175,"id":"configuration/advanced/reference","section_id":"frigate/configuration/advanced/reference/0005","title":"Full Reference Config","heading":"Full configuration reference:","text":":::warning It is not recommended to copy this full configuration file. Only specify values that are different from the defaults. Configuration options and default values may change in future versions. ::: Sections marked `# NOTE: Can be overridden at the camera level` can be set globally and then adjusted per camera. See [Global and Camera-Level Configuration](../config_overrides.md) for how that works.","url":"https://docs.frigate.video/configuration/advanced/reference/","vehicles":[]},{"i":176,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0006","title":"System","heading":"Frigate `logger`","text":"Change the default log level for troubleshooting purposes. Navigate to System > Logging\" />. | Field | Description | | ------------------------- | ------------------------------------------------------- | | **Logging level** | The default log level for all modules (default: `info`) | | **Per-process log level** | Override the log level for specific modules | Available log levels are: `debug`, `info`, `warning`, `error`, `critical` Examples of available modules are: - `frigate.app` - `frigate.mqtt` - `frigate.object_detection.base` - `detector.` - `watchdog.` - `ffmpeg..` NOTE: All FFmpeg logs are sent as `error` level.","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":177,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0007","title":"System","heading":"`environment_vars`","text":"This section sets environment variables in the Frigate process for those unable to modify the environment of the container, like within Home Assistant OS. It's meant for process settings such as `LIBVA_DRIVER_NAME` or the TensorFlow thread counts below. Docker users should set environment variables in their `docker run` command (`-e LIBVA_DRIVER_NAME=i965`) or `docker-compose.yml` file (`environment:` section) instead. Values set here are stored in plain text in your config file, so credentials belong in `secrets.yaml`, Docker environment variables, or Docker secrets instead. Besides `FRIGATE_` names, only these are accepted, and a variable already set in the container environment keeps its container value: - `LIBVA_DRIVER_NAME` and `HSA_OVERRIDE_GFX_VERSION` - `TF_INTRA_OP_PARALLELISM_THREADS`, `TF_INTER_OP_PARALLELISM_THREADS`, `TF_DATASET_THREAD_POOL_SIZE`, and `SHM_MAX_FRAMES` - `USE_FP16`, `HF_HUB_OFFLINE`, and `TRANSFORMERS_OFFLIN","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":178,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0008","title":"System","heading":"TensorFlow Thread Configuration","text":"If you encounter thread creation errors during classification model training, you can limit TensorFlow's thread usage: Navigate to System > Environment variables\" /> and add the following variables: | Variable | Description | | --------------------------------- | ---------------------------------------------- | | `TF_INTRA_OP_PARALLELISM_THREADS` | Threads within operations (`0` = use default) | | `TF_INTER_OP_PARALLELISM_THREADS` | Threads between operations (`0` = use default) | | `TF_DATASET_THREAD_POOL_SIZE` | Data pipeline threads (`0` = use default) | ","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":179,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0009","title":"System","heading":"`secrets.yaml`","text":"A `secrets.yaml` file next to your `config.yml` is an additional source of `FRIGATE_` variables, for installs that can't set container environment variables or mount Docker secrets. It's a flat map of names to values, and it is never read or written by the Frigate UI: For Docker this is `/config/secrets.yaml` inside the container, so it lives in whatever host directory you mounted at `/config`. For the Home Assistant App it's `/addon_configs//secrets.yaml`, in the same folder as your `config.yml`; see [the App config directory](../config.md#accessing-app-config-dir) for the directory name for your variant. Names must start with `FRIGATE_`, and nesting is not supported. `secrets.yaml` feeds `{FRIGATE_VARIABLE_NAME}` substitution, so the handful of variables Frigate reads straight from the process environment, such as `FRIGATE_JWT_SECRET`, still need a container environment variable or a Docker secret.","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":180,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0010","title":"System","heading":"Substitution sources and precedence","text":"The same `{FRIGATE_VARIABLE_NAME}` placeholder resolves from four sources. When a name is defined in more than one, the higher one wins and a warning at startup names which source was used. | Priority | Source | Where it's set | Who can use it | | ----------- | --------------------- | -------------------------------------------------------------------------- | ------------------------------ | | 1 (highest) | Docker secrets | Files in `/run/secrets`, or the directory named by `CREDENTIALS_DIRECTORY` | Docker, systemd | | 2 | Container environment | `docker run -e`, the `environment:` section of `docker-compose.yml` | Docker | | 3 | `secrets.yaml` | Next to `config.yml`, see above | Everyone, including the HA App | | 4 (lowest) | `environment_vars` | The block in `config.yml` described above | Everyone, including the HA App | For example, with this `secrets.yaml`: and this `config.yml`: the password resolves to `from_secrets`, and the log","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":181,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0011","title":"System","heading":"`database`","text":"Tracked object and recording information is managed in a sqlite database at `/config/frigate.db`. If that database is deleted, recordings will be orphaned and will need to be cleaned up manually. They also won't show up in the Media Browser within Home Assistant. If you are storing your database 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 if necessary. This may need to be in a custom location if network storage is used for the media folder. Navigate to System > Database\" />. - Set **Database path** to the custom path for the Frigate database file (default: `/config/frigate.db`) ","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":182,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0012","title":"System","heading":"`model`","text":"If using a custom model, the width and height will need to be specified. Custom models may also require different input tensor formats. The colorspace conversion supports RGB, BGR, or YUV frames to be sent to the object detector. The input tensor shape parameter is an enumeration to match what specified by the model. | Tensor Dimension | Description | | :--------------: | -------------- | | N | Batch Size | | H | Model Height | | W | Model Width | | C | Color Channels | | Available Input Tensor Shapes | | :---------------------------: | | \"nhwc\" | | \"nchw\" | Navigate to System > Detection models\" /> and, on the model you want to change, open the **Custom Model** tab to configure the model path, dimensions, and input format. | Field | Description | | --------------------------------------------- | ------------------------------------ | | **Custom object detector model path** | P","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":183,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0013","title":"System","heading":"`labelmap`","text":":::warning If the labelmap is customized then the labels used for alerts will need to be adjusted as well. See [alert labels](../review.md#restricting-alerts-to-specific-labels) for more info. ::: The 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. By default, truck is renamed to car because they are often confused. You cannot add new object types, but you can change the names of existing objects in the model. Note that if you rename objects in the labelmap, you will also need to update your `objects -> track` list as well. :::warning Some labels have special handling and modifications can disable functionality. `person` objects are associated with `face` and `amazon` `car` objects are associated with `license_plate`, `ups`, `fedex`, `amazon` :::","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":184,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0014","title":"System","heading":"Network Configuration","text":"Frigate exposes a few networking options. IPv6 and the listen ports are set in the `networking` configuration (or from the Settings UI); more advanced changes require [customizing the bundled Nginx configuration](#customizing-the-nginx-configuration).","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":185,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0015","title":"System","heading":"Enabling IPv6","text":"By default Frigate listens on IPv4 only. To also listen on IPv6 (on port `5000`, and on `8971` when TLS is configured), enable it in the `networking` configuration. Navigate to System > Networking\" /> and enable **IPv6**. ","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":186,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0016","title":"System","heading":"Listen on different ports","text":"You can change the ports Nginx uses for listening. The internal port (unauthenticated) and external port (authenticated) can be changed independently. You can also specify an IP address using the format `ip:port` if you wish to bind the port to a specific interface. This may be useful for example to prevent exposing the internal port outside the container. Navigate to System > Networking\" /> to configure the listen ports. | Field | Description | | ----------------- | --------------------------------------------------------- | | **Internal port** | The unauthenticated listen address/port (default: `5000`) | | **External port** | The authenticated listen address/port (default: `8971`) | :::warning This setting is for advanced users. For the majority of use cases it's recommended to change the `ports` section of your Docke","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":187,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0017","title":"System","heading":"Customizing the Nginx configuration","text":"More advanced changes to Frigate's internal network configuration can be made by bind mounting your own `nginx.conf` into the container. For example:","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":188,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0018","title":"System","heading":"Base path","text":"By default, Frigate runs at the root path (`/`). However some setups require to run Frigate under a custom path prefix (e.g. `/frigate`), especially when Frigate is located behind a reverse proxy that requires path-based routing.","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":189,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0019","title":"System","heading":"Set Base Path via HTTP Header","text":"The preferred way to configure the base path is through the `X-Ingress-Path` HTTP header, which needs to be set to the desired base path in an upstream reverse proxy. For example, in Nginx:","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":190,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0020","title":"System","heading":"Set Base Path via Environment Variable","text":"When it is not feasible to set the base path via a HTTP header, it can also be set via the `FRIGATE_BASE_PATH` environment variable in the Docker Compose file. For example: This can be used for example to access Frigate via a Tailscale agent (https), by simply forwarding all requests to the base path (http):","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":191,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0021","title":"System","heading":"Custom ffmpeg build","text":"Included with Frigate is a build of ffmpeg that works for the vast majority of users. However, there exists some hardware setups which have incompatibilities with the included build. In this case, statically built `ffmpeg` and `ffprobe` binaries can be placed in `/config/custom-ffmpeg/bin` for Frigate to use. To do this: 1. Download your ffmpeg build and uncompress it to the `/config/custom-ffmpeg` folder. Verify that both the `ffmpeg` and `ffprobe` binaries are located in `/config/custom-ffmpeg/bin`. 2. Update the `ffmpeg.path` in your Frigate config to `/config/custom-ffmpeg`. 3. Restart Frigate and the custom version will be used if the steps above were done correctly. Both binaries have to be executable by Frigate's unprivileged runtime user, so `chmod 755` them after extracting. go2rtc runs as its own user, so the build must be world-executable for go2rtc to use it (`ffmpeg:` sources, the birdseye restream and transcoded live strea","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":192,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0022","title":"System","heading":"Custom go2rtc version","text":"Frigate currently includes go2rtc v1.9.14, there may be certain cases where you want to run a different version of go2rtc. To do this: 1. Download the go2rtc build to the `/config` folder. 2. Rename the build to `go2rtc`. 3. Give `go2rtc` execute permission for all users (`chmod 755`). It runs as its own `go2rtc` user, which doesn't own the file, so owner-only execute permission isn't enough. 4. Restart Frigate and the custom version will be used, you can verify by checking go2rtc logs. The same exception applies, and again only to [`FRIGATE_ROOT_SERVICES`](/configuration/non_root#keeping-individual-services-root) listing `go2rtc`: the binary is ignored there and the embedded one is used, with a warning in the log. Unlike `ffmpeg.path`, the go2rtc binary location is not configurable, so there is no outside-`/config` alternative. Use `FRIGATE_RUN_AS_ROOT=true` instead if you need both a custom go2rtc build and root. The default mode and ","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":193,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0023","title":"System","heading":"Validating your config.yml file updates","text":"When frigate starts up, it checks whether your config file is valid, and if it is not, the process exits. To minimize interruptions when updating your config, you have three options -- you can edit the config via the WebUI which has built in validation, use the config API, or you can validate on the command line using the frigate docker container.","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":194,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0024","title":"System","heading":"Via API","text":"Frigate can accept a new configuration file as JSON at the `/api/config/save` endpoint. When updating the config this way, Frigate will validate the config before saving it, and return a `400` if the config is not valid. if you'd like you can use your yaml config directly by using [`yq`](https://github.com/mikefarah/yq) to convert it to json:","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":195,"id":"configuration/advanced/system","section_id":"frigate/configuration/advanced/system/0025","title":"System","heading":"Via Command Line","text":"You can also validate your config at the command line by using the docker container itself. In CI/CD, you leverage the return code to determine if your config is valid, Frigate will return `1` if the config is invalid, or `0` if it's valid.","url":"https://docs.frigate.video/configuration/advanced/system/","vehicles":[]},{"i":196,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0026","title":"Audio Detectors","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Frigate provides a builtin audio detector which runs on the CPU. Compared to object detection in images, audio detection is a relatively lightweight operation so the only option is to run the detection on a CPU.","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":197,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0027","title":"Audio Detectors","heading":"Configuration","text":"Audio events work by detecting a type of audio and creating an event, the event will end once the type of audio has not been heard for the configured amount of time. Audio events save a snapshot at the beginning of the event as well as recordings throughout the event. The recordings are retained using the configured recording retention.","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":198,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0028","title":"Audio Detectors","heading":"Enabling Audio Events","text":"Audio events can be enabled globally or for specific cameras. **Global:** Navigate to Global configuration > Audio events\" /> and set **Enable audio detection** to on. **Per-camera:** Navigate to Camera configuration > Audio events\" /> and set **Enable audio detection** to on for the desired camera. If you are using multiple streams then you must set the `audio` role on the stream that is going to be used for audio detection, this can be any stream but the stream must have audio included. :::note The ffmpeg process for capturing audio will be a separate connection to the camera along with the other roles assigned to the camera, for this reason it is recommended that the go2rtc restream is used for this purpose. See [the restream docs](/configuration/restream.md) for more information. ::: retain -> mode` is set to `motion` any time audio volume is > min_volume that recording segment for that camera will be kept. :::","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":200,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0030","title":"Audio Detectors","heading":"Configuring Audio Events","text":"The included audio model has over [500 different types](https://github.com/blakeblackshear/frigate/blob/dev/audio-labelmap.txt) of audio that can be detected, many of which are not practical. By default `bark`, `fire_alarm`, `speech`, and `yell` are enabled but these can be customized. Navigate to Global configuration > Audio events\" />. - Set **Enable audio detection** to on - Set **Listen types** to include the audio types you want to detect ","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":201,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0031","title":"Audio Detectors","heading":"Grouping Audio Labels","text":"Related audio classes can be grouped under one label by mapping their numeric class IDs to the same name. Add the grouped name to `listen` and use it for any corresponding filter: Class IDs are zero-based indices in [`audio-labelmap.txt`](https://github.com/blakeblackshear/frigate/blob/dev/audio-labelmap.txt), so each ID is one less than the displayed file line number. Audio label mappings are separate from the object detector's `model.labelmap`.","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":202,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0032","title":"Audio Detectors","heading":"Common Audio Labels","text":"The labelmap includes hundreds of sound types. The labels below are the ones most users may find practical, grouped by what they're typically used for. Use the exact label string from the left column in your `listen` config, or search for the label in the Frigate UI directly. Some labels cover several related sounds: `yell` is triggered by shouting, yelling, children shouting, and screaming; `crying` covers baby cries, sobbing, and whimpering; and `speech` covers ordinary talking and conversation. **Safety and security** | Label | Detects | | ---------------- | ---------------------------------- | | `yell` | Shouting, yelling, screaming | | `fire_alarm` | Fire and smoke alarm sirens | | `smoke_detector` | Smoke detector beeps | | `alarm` | General alarm sounds | | `car_alarm` | Car alarms | | `siren` | Emergency vehicle and civil sirens | | `glass` | Glass clinking | | `shatter` | Breaking glass | | `breaking` | Something breaking | | `","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":203,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0033","title":"Audio Detectors","heading":"Audio Transcription","text":"Frigate supports fully local audio transcription using either `sherpa-onnx` or OpenAI's open-source Whisper models via `faster-whisper`, and can alternatively offload transcription to a [GenAI provider](#genai-provider). The goal of this feature is to support Semantic Search for `speech` audio events. Frigate is not intended to act as a continuous, fully-automatic speech transcription service. Automatically transcribing all speech (or queuing many audio events for transcription) requires substantial CPU (or GPU) resources and is impractical on most systems. For this reason, transcriptions for events are initiated manually from the UI or the API rather than being run continuously in the background. :::info Audio transcription requires a one-time internet connection to download the Whisper or Sherpa-ONNX model on first use. Once cached, transcription runs fully offline. See [Network Requirements](/frigate/network_requirements#one-time-mod","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":204,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0034","title":"Audio Detectors","heading":"Configuration","text":"To enable transcription, configure it globally and optionally disable for specific cameras. Audio detection must also be enabled as described above. **Global:** Navigate to Enrichments > Audio transcription\" />. - Set **Enable audio transcription** to on - Set **Audio transcription model or GenAI provider name** to `whisper` for Frigate's built-in local models, or to the name of a GenAI provider - Set **Transcription device** to the desired device - Set **Model size** to the desired size **Per-camera:** Navigate to Camera configuration > Audio transcription\" /> to enable or disable transcription for a specific camera. Disable audio transcription for select cameras at the camera level: :::note Audio detection must be enabled and configured as described above in order to use audio transcription f","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":205,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0035","title":"Audio Detectors","heading":"GenAI Provider","text":"Frigate can send audio to a GenAI provider for transcription when that provider has the `transcribe` role. This is useful if you already run a GenAI provider, or if you do not have the CPU/GPU headroom for a local whisper model. See [Provider support](/configuration/genai/genai_config#provider-support) for which providers can serve this role. The model must accept audio: either a dedicated ASR model such as Qwen3-ASR, or a general multimodal model that accepts audio. To use a GenAI provider for audio transcription: 1. Configure a GenAI provider with `transcribe` in its `roles`. 2. Set the audio transcription model to that GenAI config key (e.g. `whisper_cloud`). Navigate to Enrichments > Audio transcription\" />. | Field | Description | | ---------------------------------------------------- | ---------------------------------------------------------------------------------------","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":206,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0036","title":"Audio Detectors","heading":"Live transcription","text":"The single camera Live view in the Frigate UI supports live transcription of audio for streams defined with the `audio` role. Use the Enable/Disable Live Audio Transcription button/switch to toggle transcription processing, or toggle it outside of the UI with the [`frigate//audio_transcription/set`](/integrations/mqtt#frigatecamera_nameaudio_transcriptionset) MQTT topic or the HTTP API. When speech is heard, the UI will display a black box over the top of the camera stream with text. The MQTT topic `frigate//audio/transcription` will also be updated in real-time with transcribed text. Results can be error-prone due to a number of factors, including: - Poor quality camera microphone - Distance of the audio source to the camera microphone - Low audio bitrate setting in the camera - Background noise - Using the `small` model - it's fast, but not accurate for poor quality audio For speech sources close to the camer","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":207,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0037","title":"Audio Detectors","heading":"Transcription and translation of `speech` audio events","text":"Any `speech` events in Explore can be transcribed and/or translated through the Transcribe button (the microphone icon) in the Tracked Object Details pane. In order to use transcription and translation for past events, you must enable audio detection and define `speech` as an audio type to listen for. To have `speech` events translated into the language of your choice, set the `language` config parameter with the correct [language code](https://github.com/openai/whisper/blob/main/whisper/tokenizer.py#L10). The transcribed/translated speech will appear in the description box in the Tracked Object Details pane. If Semantic Search is enabled, embeddings are generated for the transcription text and are fully searchable using the description search type. :::note Only one `speech` event may be transcribed at a time. Frigate does not automatically transcribe `speech` events or implement a queue for long-running transcription model inference. :","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":208,"id":"configuration/audio_detectors","section_id":"frigate/configuration/audio_detectors/0038","title":"Audio Detectors","heading":"FAQ","text":"1. Why doesn't Frigate automatically transcribe all `speech` events? Frigate does not implement a queue mechanism for speech transcription, and adding one is not trivial. A proper queue would need backpressure, prioritization, memory/disk buffering, retry logic, crash recovery, and safeguards to prevent unbounded growth when events outpace processing. That's a significant amount of complexity for a feature that, in most real-world environments, would mostly just churn through low-value noise. Because transcription is **serialized (one event at a time)** and speech events can be generated far faster than they can be processed, an auto-transcribe toggle would very quickly create an ever-growing backlog and degrade core functionality. For the amount of engineering and risk involved, it adds **very little practical value** for the majority of deployments, which are often on low-powered, edge hardware. If you hear speech that's actually impo","url":"https://docs.frigate.video/configuration/audio_detectors/","vehicles":[]},{"i":209,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0039","title":"Authentication","heading":"Authentication","text":"Frigate stores user information in its database. Password hashes are generated using industry standard PBKDF2-SHA256 with 600,000 iterations. Upon successful login, a JWT token is issued with an expiration date and set as a cookie. The cookie is refreshed as needed automatically. This JWT token can also be passed in the Authorization header as a bearer token. Users are managed in the UI under Settings > Users. The following ports are available to access the Frigate web UI. | Port | Description | | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `8971` | Authenticated UI and API. Reverse proxies should use this port. | | `5000` | Internal unauthenticated UI and API access. Access to this port should be limited. Intended to be used within the docker network for services t","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":210,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0040","title":"Authentication","heading":"Onboarding","text":"On startup, an admin user and password are generated and printed in the logs. It is recommended to set a new password for the admin account after logging in for the first time. On a new install the [setup wizard](../guides/getting_started.md#configuring-frigate) offers this as its first step, along with creating accounts for anyone else who needs access. You can also do both at any time under Users\" />.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":211,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0041","title":"Authentication","heading":"Resetting admin password","text":"In the event that you are locked out of your instance, you can tell Frigate to reset the admin password and print it in the logs on next startup. Navigate to System > Authentication\" />. - Set **Reset admin password** to on to reset the admin password and print it in the logs on next startup ","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":212,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0042","title":"Authentication","heading":"Password guidance","text":"Constructing secure passwords and managing them properly is important. Frigate requires a minimum length of 12 characters. For guidance on password standards see [NIST SP 800-63B](https://pages.nist.gov/800-63-3/sp800-63b.html). To learn what makes a password truly secure, read this [article](https://medium.com/peerio/how-to-build-a-billion-dollar-password-3d92568d9277).","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":213,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0043","title":"Authentication","heading":"Login failure rate limiting","text":"In order to limit the risk of brute force attacks, rate limiting is available for login failures. This is implemented with SlowApi, and the string notation for valid values is available in [the documentation](https://limits.readthedocs.io/en/stable/quickstart.html#examples). For example, `1/second;5/minute;20/hour` will rate limit the login endpoint when failures occur more than: - 1 time per second - 5 times per minute - 20 times per hour Restarting Frigate will reset the rate limits. If you are running Frigate behind a proxy, you will want to set `trusted_proxies` or these rate limits will apply to the upstream proxy IP address. This means that a brute force attack will rate limit login attempts from other devices and could temporarily lock you out of your instance. In order to ensure rate limits only apply to the actual IP address where the requests are coming from, you will need to list the upstream networks that you want to trust. ","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":214,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0044","title":"Authentication","heading":"Session Length","text":"The default session length for user authentication in Frigate is 24 hours. This setting determines how long a user's authenticated session remains active before a token refresh is required. Otherwise, the user will need to log in again. While the default provides a balance of security and convenience, you can customize this duration to suit your specific security requirements and user experience preferences. The session length is configured in seconds. The default value of `86400` will expire the authentication session after 24 hours. Some other examples: - `0`: Setting the session length to 0 will require a user to log in every time they access the application or after a very short, immediate timeout. - `604800`: Setting the session length to 604800 will require a user to log in if the token is not refreshed for 7 days. Navigate to System > Authentication\" />. - Set **Session ","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":215,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0045","title":"Authentication","heading":"JWT Token Secret","text":"The JWT token secret needs to be kept secure. Anyone with this secret can generate valid JWT tokens to authenticate with Frigate. This should be a cryptographically random string of at least 64 characters. You can generate a token using the Python secret library with the following command: Frigate looks for a JWT token secret in the following order: 1. An environment variable named `FRIGATE_JWT_SECRET` 2. A file named `FRIGATE_JWT_SECRET` in the directory specified by the `CREDENTIALS_DIRECTORY` environment variable (defaults to the Docker Secrets directory: `/run/secrets/`) 3. A `jwt_secret` option from the Home Assistant App options 4. A `.jwt_secret` file in the config directory If no secret is found on startup, Frigate generates one and stores it in a `.jwt_secret` file in the config directory. Changing the secret will invalidate current tokens.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":216,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0046","title":"Authentication","heading":"Proxy configuration","text":"Frigate can be configured to leverage features of common upstream authentication proxies such as Authelia, Authentik, oauth2_proxy, or traefik-forward-auth. Frigate does not implement OIDC, SAML, or LDAP natively; as an NVR focused on recording and object detection, it relies on robust, battle-tested proxies to handle those protocols and passes the authenticated user and role through via headers (see below). If you are leveraging the authentication of an upstream proxy, you likely want to disable Frigate's authentication as there is no correspondence between users in Frigate's database and users authenticated via the proxy. Optionally, if communication between the reverse proxy and Frigate is over an untrusted network, you should set an `auth_secret` in the `proxy` config and configure the proxy to send the secret value as a header named `X-Proxy-Secret`. Assuming this is an untrusted network, you will also want to [configure a real TLS","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":217,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0047","title":"Authentication","heading":"Header mapping","text":"If you have disabled Frigate's authentication and your proxy supports passing a header with authenticated usernames and/or roles, you can use the `header_map` config to specify the header name so it is passed to Frigate. For example, the following will map the `X-Forwarded-User` and `X-Forwarded-Groups` values. Header names are not case sensitive. Multiple values can be included in the role header. Frigate expects that the character separating the roles is a comma, but this can be specified using the `separator` config entry. Navigate to System > Proxy\" /> and configure the header mapping and separator settings. | Field | Description | | -------------------------------- | ---------------------------------------------------------------------------------------------------- | | **Separator character** | Character separating multiple roles in the role header (default: comma). Authe","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":218,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0048","title":"Authentication","heading":"Role mapping","text":"In some environments, upstream identity providers (OIDC, SAML, LDAP, etc.) do not pass a Frigate-compatible role directly, but instead pass one or more group claims. To handle this, Frigate supports a `role_map` that translates upstream group names into Frigate's internal roles (`admin`, `viewer`, or custom). This is configurable via YAML in the configuration file: In this example: - If the proxy passes a role header containing `sysadmins` or `access-level-security`, the user is assigned the `admin` role. - If the proxy passes a role header containing `camera-viewer`, the user is assigned the `viewer` role. - If the proxy passes a role header containing `operators`, the user is assigned the `operator` custom role. - If no mapping matches, Frigate falls back to `default_role` if configured, or denies access if `default_role` is `none`. - If `role_map` is not defined, Frigate assumes the role header directly contains `admin`, `viewer`, or","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":219,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0049","title":"Authentication","heading":"Port Considerations","text":"**Authenticated Port (8971)** - Header mapping is **fully supported**. - The `remote-role` header determines the user's privileges: - **admin** \u2192 Full access (user management, configuration changes). - **viewer** \u2192 Read-only access. - **Custom roles** \u2192 Read-only access limited to the cameras defined in `auth.roles[role]`. - Ensure your **proxy sends both user and role headers** for proper role enforcement. **Unauthenticated Port (5000)** - Headers are **ignored** for role enforcement. - All requests are treated as **anonymous**. - The `remote-role` value is **overridden** to **admin-level access**. - This design ensures **unauthenticated internal use** within a trusted network. Note that only the following list of headers are permitted by default: If you would like to add more options, you can overwrite the default file with a docker bind mount at `/usr/local/nginx/conf/proxy_trusted_headers.conf`. Reference the source code for the def","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":220,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0050","title":"Authentication","heading":"Login page redirection","text":"Frigate gracefully performs login page redirection that should work with most authentication proxies. If your reverse proxy returns a `Location` header on `401`, `302`, or `307` unauthorized responses, Frigate's frontend will automatically detect it and redirect to that URL.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":221,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0051","title":"Authentication","heading":"Custom logout url","text":"If your reverse proxy has a dedicated logout url, you can specify using the `logout_url` config option. This will update the link for the `Logout` link in the UI.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":222,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0052","title":"Authentication","heading":"User Roles","text":"Frigate supports user roles to control access to certain features in the UI and API, such as managing users or modifying configuration settings. Roles are assigned to users in the database or through proxy headers and are enforced when accessing the UI or API through the authenticated port (`8971`).","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":223,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0053","title":"Authentication","heading":"Supported Roles","text":"- **admin**: Full access to all features, including user management and configuration. - **viewer**: Read-only access to the UI and API, including viewing cameras, review items, and historical footage. Configuration editor and settings in the UI are inaccessible. - **Custom Roles**: Arbitrary role names (alphanumeric, dots/underscores) with specific camera permissions. These extend the system for granular access (e.g., \"operator\" for select cameras). The names `admin`, `viewer`, and `none` are reserved and cannot be used.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":224,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0054","title":"Authentication","heading":"Custom Roles and Camera Access","text":"The viewer role provides read-only access to all cameras in the UI and API. Custom roles allow admins to limit read-only access to specific cameras. Each role specifies an array of allowed camera names. If a user is assigned a custom role, their account is like the **viewer** role - they can only view Live, Review/History, Explore, and Export for the designated cameras. Backend API endpoints enforce this server-side (e.g., returning 403 for unauthorized cameras), and the frontend UI filters content accordingly (e.g., camera dropdowns show only permitted options).","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":225,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0055","title":"Authentication","heading":"Role Configuration Example","text":" Navigate to Users > Roles\" /> to define custom roles and assign which cameras each role can access. If you want to provide access to all cameras to a specific user, just use the **viewer** role.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":226,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0056","title":"Authentication","heading":"Managing User Roles","text":"1. Log in as an **admin** user via port `8971` (preferred), or unauthenticated via port `5000`. 2. Navigate to **Settings**. 3. In the **Users** section, edit a user's role by selecting from available roles (admin, viewer, or custom). 4. In the **Roles** section, add/edit/delete custom roles (select cameras via switches). Deleting a role auto-reassigns users to \"viewer\".","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":227,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0057","title":"Authentication","heading":"Role Enforcement","text":"When using the authenticated port (`8971`), roles are validated via the JWT token or proxy headers (e.g., `remote-role`). On the internal **unauthenticated** port (`5000`), roles are **not enforced**. All requests are treated as **anonymous**, granting access equivalent to the **admin** role without restrictions. To use role-based access control, you must connect to Frigate via the **authenticated port (`8971`)** directly or through a reverse proxy.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":228,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0058","title":"Authentication","heading":"Role Visibility in the UI","text":"- When logged in via port `8971`, your **username and role** are displayed in the **account menu** (bottom corner). - When using port `5000`, the UI will always display \"anonymous\" for the username and \"admin\" for the role.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":229,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0059","title":"Authentication","heading":"Managing User Roles","text":"1. Log in as an **admin** user via port `8971`. 2. Navigate to **Settings > Users**. 3. Edit a user's role by selecting **admin** or **viewer**.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":230,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0060","title":"Authentication","heading":"Getting a Bearer Token","text":"To use the Frigate API, you need to authenticate first. Follow these steps to obtain a Bearer token:","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":231,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0061","title":"Authentication","heading":"1. Login","text":"Make a POST request to `/login` with your credentials: :::note You may need to include `-k` in the argument list in these steps (eg: `curl -k -i -X POST ...`) if your Frigate instance is using a self-signed certificate. ::: The response will contain a cookie with the JWT token.","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":232,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0062","title":"Authentication","heading":"2. Using the Bearer Token","text":"Once you have the token, include it in the Authorization header for subsequent requests:","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":233,"id":"configuration/authentication","section_id":"frigate/configuration/authentication/0063","title":"Authentication","heading":"3. Token Lifecycle","text":"- Tokens are valid for the configured session length - Tokens are automatically refreshed when you visit the `/auth` endpoint - Tokens are invalidated when the user's password is changed - Use `/logout` to clear your session cookie","url":"https://docs.frigate.video/configuration/authentication/","vehicles":[]},{"i":234,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0064","title":"Camera Autotracking","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; import FaqItem from \"@site/src/components/FaqItem\"; An ONVIF-capable, PTZ (pan-tilt-zoom) camera that supports relative movement within the field of view (FOV) can be configured to automatically track moving objects and keep them in the center of the frame.","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":235,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0065","title":"Camera Autotracking","heading":"Autotracking behavior","text":"Once Frigate determines that an object is not a false positive and has entered one of the required zones, the autotracker will move the PTZ camera to keep the object centered in the frame until the object either moves out of the frame, the PTZ is not capable of any more movement, or Frigate loses track of it. Upon loss of tracking, Frigate will scan the region of the lost object for `timeout` seconds. If an object of the same type is found in that region, Frigate will autotrack that new object. When tracking has ended, Frigate will return to the camera firmware's PTZ preset specified by the `return_preset` configuration entry.","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":236,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0066","title":"Camera Autotracking","heading":"Checking ONVIF camera support","text":"Frigate autotracking functions with PTZ cameras capable of relative movement within the field of view (as specified in the [ONVIF spec](https://www.onvif.org/specs/srv/ptz/ONVIF-PTZ-Service-Spec-v1712.pdf) as `RelativePanTiltTranslationSpace` having a `TranslationSpaceFov` entry). Many cheaper or older PTZs may not support this standard. Frigate will report an error message in the log and disable autotracking if your PTZ is unsupported. The FeatureList on the [ONVIF Conformant Products Database](https://www.onvif.org/conformant-products/) can provide a starting point to determine a camera's compatibility with Frigate's autotracking. Look to see if a camera lists `PTZRelative`, `PTZRelativePanTilt` and/or `PTZRelativeZoom`. These features are required for autotracking, but some cameras still fail to respond even if they claim support. The [CCTV Camera Database](https://www.cctv-database.com/) is useful for researching a specific model.","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":237,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0067","title":"Camera Autotracking","heading":"Configuration","text":"First, set up a PTZ preset in your camera's firmware and give it a name. If you're unsure how to do this, consult the documentation for your camera manufacturer's firmware. Some tutorials for common brands: [Amcrest](https://www.youtube.com/watch?v=lJlE9-krmrM), [Reolink](https://www.youtube.com/watch?v=VAnxHUY5i5w), [Dahua](https://www.youtube.com/watch?v=7sNbc5U-k54). Configure the ONVIF connection and autotracking parameters for your camera. Specify the object types to track, a required zone the object must enter to begin autotracking, and the camera preset name you configured in your camera's firmware to return to when tracking has ended. Optionally, specify a delay in seconds before Frigate returns the camera to the preset. An [ONVIF connection](cameras.md) is required for autotracking to function. Also, a [motion mask](masks.md) over your camera's timestamp and any overlay text is recommended to ensure they are completely excluded","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":238,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0068","title":"Camera Autotracking","heading":"Calibration","text":"PTZ motors operate at different speeds. Performing a calibration will direct Frigate to measure this speed over a variety of movements and use those measurements to better predict the amount of movement necessary to keep autotracked objects in the center of the frame. Calibration is optional, but will greatly assist Frigate in autotracking objects that move across the camera's field of view more quickly. To begin calibration, set `calibrate_on_startup` for your camera to `True` and restart Frigate. Frigate will then make a series of small and large movements with your camera. Don't move the PTZ manually while calibration is in progress. Once complete, camera motion will stop and your config file will be automatically updated with a `movement_weights` parameter to be used in movement calculations. You should not modify this parameter manually. After calibration has ended, your PTZ will be moved to the preset specified by `return_preset`.","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":239,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0069","title":"Camera Autotracking","heading":"Best practices and considerations","text":"Every PTZ camera is different, so autotracking may not perform ideally in every situation. This experimental feature was initially developed using an EmpireTech/Dahua SD1A404XB-GNR. The object tracker in Frigate estimates the motion of the PTZ so that tracked objects are preserved when the camera moves. In most cases 5 fps is sufficient, but if you plan to track faster moving objects, you may want to increase this slightly. Higher frame rates (> 10fps) will only slow down Frigate and the motion estimator and may lead to dropped frames, especially if you are using experimental zooming. A fast [detector](object_detectors.md) is recommended. CPU detectors will not perform well or won't work at all. You can watch Frigate's [debug viewer](/usage/live#the-single-camera-view) for your camera to see a thicker colored box around the object currently being autotracked. A full-frame zone in `required_zones` is not recommended, especially if you've","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":240,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0070","title":"Camera Autotracking","heading":"Zooming","text":"Zooming is a very experimental feature and may use significantly more CPU when tracking objects than panning/tilting only. Absolute zooming makes zoom movements separate from pan/tilt movements. Most PTZ cameras will support absolute zooming. Absolute zooming was developed to be very conservative to work best with a variety of cameras and scenes. Absolute zooming usually will not occur until an object has stopped moving or is moving very slowly. Relative zooming attempts to make a zoom movement concurrently with any pan/tilt movements. It was tested to work with some Dahua and Amcrest PTZs. But the ONVIF specification indicates that there no assumption about how the generic zoom range is mapped to magnification, field of view or other physical zoom dimension when using relative zooming. So if relative zooming behavior is erratic or just doesn't work, try absolute zooming. You can optionally adjust the `zoom_factor` for your camera in yo","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":241,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0071","title":"Camera Autotracking","heading":"Usage applications","text":"In security and surveillance, it's common to use \"spotter\" cameras in combination with your PTZ. When your fixed spotter camera detects an object, you could use an automation platform like Home Assistant to move the PTZ to a specific preset so that Frigate can begin automatically tracking the object. For example: a residence may have fixed cameras on the east and west side of the property, capturing views up and down a street. When the spotter camera on the west side detects a person, a Home Assistant automation could move the PTZ to a camera preset aimed toward the west. When the object enters the specified zone, Frigate's autotracker could then continue to track the person as it moves out of view of any of the fixed cameras.","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":242,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0072","title":"Camera Autotracking","heading":"Camera Compatibility","text":" See [ONVIF PTZ camera recommendations](cameras.md#onvif-ptz-camera-recommendations) for how to check a camera's autotracking support before buying. Frigate's autotracking was developed with a Dahua SD1A404XB-GNR (now sold as the EmpireTech PTZ1A4M-4X-S2), and Dahua / EmpireTech PTZs are the most consistently reported as working well. When comparing models: - Verify ONVIF support first. See [Checking ONVIF camera support](#checking-onvif-camera-support) above. - Favor a camera with a fast PTZ motor. Cameras with slow motors may fail [calibration](#calibration) and will struggle to keep up with objects that move across the field of view quickly. No. Reolink cameras (including the TrackMix","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":243,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0073","title":"Camera Autotracking","heading":"Calibration Issues","text":" This is often caused by the same reason as the \"MOVING\" status error above - the `MoveStatus` ONVIF parameter is not changing due to a bug in your camera's firmware. Also, see the note above: Frigate's web UI and all other cameras will be unresponsive while calibration is in progress. This is expected and normal. But if you don't see log entries every few seconds for calibration progress, your camera is not compatible with autotracking. Calibration measures the amount of time it takes for Frigate to make a series of movements with your PTZ. This ","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":244,"id":"configuration/autotracking","section_id":"frigate/configuration/autotracking/0074","title":"Camera Autotracking","heading":"Tracking Behavior","text":" There are many reasons this could be the case. If you are using experimental zooming, your `zoom_factor` value might be too high, the object might be traveling too quickly, the scene might be too dark, there are not enough details in the scene (for example, a PTZ looking down on a driveway or other monotone background without a sufficient number of hard edges or corners), or the scene is otherwise less than optimal for Frigate to maintain tracking. Your camera's shutter speed may also be set too low so that blurring occurs with motion. Check your camera's firmware to see if you can increase the shutter speed. Watching Frigate's debug view can help to determine a possible cause. The autotracked object will have a thicker colored box around it. If the camera consistently zooms in on the object and then loses it, see [Autot","url":"https://docs.frigate.video/configuration/autotracking/","vehicles":[]},{"i":245,"id":"configuration/bird_classification","section_id":"frigate/configuration/bird_classification/0075","title":"Bird Classification","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Bird classification identifies known birds using a quantized Tensorflow model. When a known bird is recognized, its common name will be added as a `sub_label`. This information is included in the UI, filters, as well as in notifications. :::info Bird classification requires a one-time internet connection to download the classification model and label map from GitHub. Once cached, models work fully offline. See [Network Requirements](/frigate/network_requirements#one-time-model-downloads) for details. :::","url":"https://docs.frigate.video/configuration/bird_classification/","vehicles":[]},{"i":246,"id":"configuration/bird_classification","section_id":"frigate/configuration/bird_classification/0076","title":"Bird Classification","heading":"Minimum System Requirements","text":"Bird classification runs a lightweight tflite model on the CPU, there are no significantly different system requirements than running Frigate itself.","url":"https://docs.frigate.video/configuration/bird_classification/","vehicles":[]},{"i":247,"id":"configuration/bird_classification","section_id":"frigate/configuration/bird_classification/0077","title":"Bird Classification","heading":"Model","text":"The classification model used is the MobileNet INat Bird Classification, [available identifiers can be found here.](https://raw.githubusercontent.com/google-coral/test_data/master/inat_bird_labels.txt)","url":"https://docs.frigate.video/configuration/bird_classification/","vehicles":[]},{"i":248,"id":"configuration/bird_classification","section_id":"frigate/configuration/bird_classification/0078","title":"Bird Classification","heading":"Configuration","text":"Bird classification is disabled by default and must be enabled before it can be used. Bird classification is a global configuration setting. Navigate to Enrichments > Object classification\" />. - Set **Bird classification config > Bird classification** to on - Set **Bird classification config > Minimum score** to the desired confidence score (default: 0.9) ","url":"https://docs.frigate.video/configuration/bird_classification/","vehicles":[]},{"i":249,"id":"configuration/bird_classification","section_id":"frigate/configuration/bird_classification/0079","title":"Bird Classification","heading":"Advanced Configuration","text":"Fine-tune bird classification with these optional parameters: - `threshold`: Classification confidence score required to set the sub label on the object. - Default: `0.9`.","url":"https://docs.frigate.video/configuration/bird_classification/","vehicles":[]},{"i":250,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0080","title":"Birdseye","heading":"Birdseye","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; In addition to Frigate's Live camera dashboard, Birdseye allows a portable heads-up view of your cameras to see what is going on around your property / space without having to watch all cameras that may have nothing happening. Birdseye allows specific modes that intelligently show and disappear based on what you care about. Birdseye can be viewed by adding the \"Birdseye\" camera to a Camera Group in the Web UI. Add a Camera Group by pressing the pencil icon in the sidebar on the Live page, and choose \"Birdseye\" as one of the cameras. Birdseye can also be used in Home Assistant dashboards, cast to media devices, etc. :::note Each camera tile in Birdseye is composed from the frames of the stream assigned the `detect` role, so a camera's image quality in Birdseye matches its detect stream resolu","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":251,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0081","title":"Birdseye","heading":"Birdseye Activity Types","text":"Birdseye offers independent activity types that control when cameras are shown. Multiple activity types can be listed together. - **continuous:** The camera is always included - **motion:** The camera is included when motion was detected within the last 30 seconds - **all_objects:** The camera is included when a tracked object is present, active or stationary - **alerts:** The camera is included while an alert review item is in progress - **detections:** The camera is included while a detection review item is in progress `alerts` and `detections` follow the review item's own lifetime, so the camera is removed as soon as the review item ends. Which objects qualify for each is set in [review configuration](./review.md).","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":252,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0082","title":"Birdseye","heading":"Custom Birdseye Icon","text":"A custom icon can be added to the birdseye background by providing a 180x180 image named `custom.png` inside of the Frigate `media` folder. The file must be a png with the icon as transparent, any non-transparent pixels will be white when displayed in the birdseye view.","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":253,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0083","title":"Birdseye","heading":"Birdseye view override at camera level","text":"To include a camera in Birdseye view only for specific circumstances, or exclude it entirely, configure Birdseye at the camera level. **Global settings:** Navigate to System > Birdseye\" /> to configure the default Birdseye behavior for all cameras. **Per-camera overrides:** Navigate to Camera configuration > Birdseye\" /> to override the activity types or disable Birdseye for a specific camera. | Field | Description | | ---------------------- | ---------------------------------------------------------- | | **Enable Birdseye** | Whether this camera appears in Birdseye view | | **Activity types** | Conditions that determine when to show the camera | ","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":254,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0084","title":"Birdseye","heading":"Birdseye Inactivity","text":"By default birdseye shows all cameras that have had the configured activity in the last 30 seconds. This threshold can be configured, and applies to the `motion` and `all_objects` activity types only. Navigate to System > Birdseye\" />. | Field | Description | | ------------------------ | --------------------------------------------------------------------------- | | **Inactivity threshold** | Seconds of inactivity before a camera is hidden from Birdseye (default: 30) | ","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":255,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0085","title":"Birdseye","heading":"Birdseye Dimensions","text":"The resolution and aspect ratio of birdseye can be configured. Resolution will increase the quality but does not affect the layout. Changing the aspect ratio of birdseye does affect how cameras are laid out. Navigate to System > Birdseye\" />. | Field | Description | | ---------- | ----------------------------------------------- | | **Width** | Birdseye output width in pixels (default: 1280) | | **Height** | Birdseye output height in pixels (default: 720) | ","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":256,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0086","title":"Birdseye","heading":"Sorting cameras in the Birdseye view","text":"It is possible to override the order of cameras that are being shown in the Birdseye view. The order is set at the camera level (when using YAML). Navigate to System > Birdseye\" /> and in the **Camera order** field, use the drag handle next to each camera name to control the display order. _Note_: Cameras are sorted by default using their name to ensure a constant view inside Birdseye.","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":257,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0087","title":"Birdseye","heading":"Birdseye Cameras","text":"It is possible to limit the number of cameras shown on birdseye at one time. When this is enabled, birdseye will show the cameras with most recent activity. There is a cooldown to ensure that cameras do not switch too frequently. Navigate to System > Birdseye\" />. | Field | Description | | ------------------------ | ----------------------------------------------------------------------------------- | | **Layout > Max cameras** | Maximum number of cameras shown at once (e.g., `1` for only the most active camera) | ","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":258,"id":"configuration/birdseye","section_id":"frigate/configuration/birdseye/0088","title":"Birdseye","heading":"Birdseye Scaling","text":"By default birdseye tries to fit 2 cameras in each row and then double in size until a suitable layout is found. The scaling can be configured with a value between 1.0 and 5.0 depending on use case. Navigate to System > Birdseye\" />. | Field | Description | | --------------------------- | -------------------------------------------------------- | | **Layout > Scaling factor** | Camera scaling factor between 1.0 and 5.0 (default: 2.0) | ","url":"https://docs.frigate.video/configuration/birdseye/","vehicles":[]},{"i":259,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0089","title":"Camera Specific Configurations","heading":"Overview","text":"import NavPath from \"@site/src/components/NavPath\"; :::note This page makes use of presets of FFmpeg args. For more information on presets, see the [FFmpeg Presets](/configuration/ffmpeg_presets) page. ::: :::note Many cameras support encoding options which greatly affect the live view experience, see the [Live view](/configuration/live) page for more info. :::","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":260,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0090","title":"Camera Specific Configurations","heading":"H.265 Cameras via Safari","text":"Some cameras support h265 with different formats, but Safari only supports the annexb format. When using h265 camera streams for recording with devices that use the Safari browser, the `apple_compatibility` option should be used.","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":261,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0091","title":"Camera Specific Configurations","heading":"MJPEG Cameras","text":"Note that mjpeg cameras require encoding the video into h264 for recording, and restream roles. This will use significantly more CPU than if the cameras supported h264 feeds directly. It is recommended to use the restream role to create an h264 restream and then use that as the source for ffmpeg.","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":262,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0092","title":"Camera Specific Configurations","heading":"JPEG Stream Cameras","text":"Cameras using a live changing jpeg image will need input parameters as below Outputting the stream will have the same args and caveats as per [MJPEG Cameras](#mjpeg-cameras)","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":263,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0093","title":"Camera Specific Configurations","heading":"UDP Only Cameras","text":"If your cameras do not support TCP connections for RTSP, you can use UDP.","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":264,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0094","title":"Camera Specific Configurations","heading":"Amcrest & Dahua","text":"Amcrest & Dahua cameras should be connected to via RTSP using the following format:","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":265,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0095","title":"Camera Specific Configurations","heading":"Annke C800","text":"This camera is H.265 only. To be able to play clips on some devices (like MacOs or iPhone) the H.265 stream has to be adjusted using the `apple_compatibility` config.","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":266,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0096","title":"Camera Specific Configurations","heading":"Hikvision Cameras","text":"Hikvision cameras should be connected to via RTSP using the following format: :::note [Some users have reported](https://www.reddit.com/r/frigate_nvr/comments/1hg4ze7/hikvision_security_settings) that newer Hikvision cameras require adjustments to the security settings: :::","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":267,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0097","title":"Camera Specific Configurations","heading":"Reolink Cameras","text":"Reolink has many different camera models with inconsistently supported features and behavior. The below table shows a summary of various features and recommendations. | Camera Resolution | Camera Generation | Recommended Stream Type | Additional Notes | | ----------------- | ------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------- | | 5MP or lower | All | http-flv | Stream is h264 | | 6MP or higher | Latest (ex: Duo3, CX-8##) | http-flv with ffmpeg 8.0, or rtsp | This uses the new http-flv-enhanced over H265 which requires ffmpeg 8.0 (Frigate's default) | | 6MP or higher | Older (ex: RLC-8##) | rtsp | | Frigate works much better with newer Reolink cameras that are setup with the below options: If available, recommended settings are: - `On, fluency first` this sets the camera to CBR (constant bit rate) - `Interframe Space 1x` this sets the ","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":268,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0098","title":"Camera Specific Configurations","heading":"Setup via the Add Camera Wizard","text":"The [Add Camera Wizard](cameras.md#adding-a-camera-with-the-add-camera-wizard) is the recommended way to add a standard Reolink camera. Before starting, make sure [HTTP is enabled](https://support.reolink.com/articles/360003452893-How-to-Access-Reolink-Cameras-NVRs-Home-Hub-Locally-via-Web-Browsers/) in the camera's advanced network settings. The wizard uses the camera's HTTP API to determine its resolution and choose the recommended stream type from the table above. 1. Click **Add Camera** in Global configuration > Camera management\" />. 2. Choose **Manual selection** as the stream detection method and select **Reolink** as the camera brand. 3. The wizard queries the camera and automatically uses an http-flv stream for cameras 5MP and lower. For higher resolution cameras, it tries the http-flv stream first and falls back to RTSP when the camera does not support it. 4. The wizard turns on **Use stream compatibi","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":269,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0099","title":"Camera Specific Configurations","heading":"Manual configuration","text":"According to [this discussion](https://github.com/blakeblackshear/frigate/issues/3235#issuecomment-1135876973), the http video streams seem to be the most reliable for Reolink. Cameras connected via a Reolink NVR can be connected with the http stream, use `channel[0..15]` in the stream url for the additional channels. The setup of main stream can be also done via RTSP, but isn't always reliable on all hardware versions. The example configuration is working with the oldest HW version RLN16-410 device with multiple types of cameras.
Example Config :::tip Reolink's latest cameras support two way audio via go2rtc and other applications. It is important that the http-flv stream is still used for stability, a secondary rtsp stream can be added that will be using for the two way audio only. NOTE: The RTSP stream can not be prefixed with `ffmpeg:`, as go2rtc needs to handle the stream to support two way audio. Ensur","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":270,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0100","title":"Camera Specific Configurations","heading":"Unifi Protect Cameras","text":":::note Unifi G5s cameras and newer need a Unifi Protect server to enable rtsps stream, it's not possible to enable it in standalone mode. ::: Unifi protect cameras require the rtspx stream to be used with go2rtc. To utilize a Unifi protect camera, modify the rtsps link to begin with rtspx. Additionally, remove the \"?enableSrtp\" from the end of the Unifi link. [See the go2rtc docs for more information](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#source-rtsp) In the Unifi 2.0 update Unifi Protect Cameras had a change in audio sample rate which causes issues for ffmpeg. The input rate needs to be set for record if used directly with unifi protect.","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":271,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0101","title":"Camera Specific Configurations","heading":"TP-Link VIGI Cameras","text":"TP-Link VIGI cameras need some adjustments to the main stream settings on the camera itself to avoid issues. The stream needs to be configured as `H264` with `Smart Coding` set to `off`. Without these settings you may have problems when trying to watch recorded footage. For example Firefox will stop playback after a few seconds and show the following error message: `The media playback was aborted due to a corruption problem or because the media used features your browser did not support.`.","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":272,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0102","title":"Camera Specific Configurations","heading":"Wyze Wireless Cameras","text":"Some community members have found better performance on Wyze cameras by using an alternative firmware known as [Thingino](https://thingino.com/).","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":273,"id":"configuration/camera_specific","section_id":"frigate/configuration/camera_specific/0103","title":"Camera Specific Configurations","heading":"USB Cameras (aka Webcams)","text":"To use a USB camera (webcam) with Frigate, the recommendation is to use go2rtc's [FFmpeg Device](https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-ffmpeg-device) support: - Preparation outside of Frigate: - Get USB camera path. Run `v4l2-ctl --list-devices` to get a listing of locally-connected cameras available. (You may need to install `v4l-utils` in a way appropriate for your Linux distribution). In the sample configuration below, we use `video=0` to correlate with a detected device path of `/dev/video0` - Get USB camera formats & resolutions. Run `ffmpeg -f v4l2 -list_formats all -i /dev/video0` to get an idea of what formats and resolutions the USB Camera supports. In the sample configuration below, we use a width of 1024 and height of 576 in the stream and detection settings based on what was reported back. - If using Frigate in a container (e.g. Docker on TrueNAS), ensure you have USB Passthrough support enabled, along ","url":"https://docs.frigate.video/configuration/camera_specific/","vehicles":[]},{"i":274,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0104","title":"Camera Configuration","heading":"Adding a camera with the Add Camera Wizard","text":"The Add Camera Wizard is the recommended way to add a camera. Click **Add Camera** in Global configuration > Camera management\" />, or use it from the [setup wizard](../guides/getting_started.md#configuring-frigate) on a new install. The wizard connects to your camera, tests each stream, and writes the camera's configuration for you, including the [go2rtc](go2rtc.md) restream and the live view stream mapping, so a standard setup needs no hand-written YAML.","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":275,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0105","title":"Camera Configuration","heading":"Step 1: Name and connection","text":"Enter a name for the camera along with its host or IP address and credentials, then choose how the wizard should find the camera's streams: - **Probe camera** queries the camera over ONVIF (the ONVIF port is usually 80 or 8080) and asks it for its stream URLs. Some cameras use a separate ONVIF/service account rather than the device admin user, and some require **Use digest authentication** to be enabled. - **Manual selection** builds a stream URL from a template for the camera brand you pick (Dahua/Amcrest/EmpireTech, Hikvision/Uniview/Annke, Ubiquiti, Reolink, Axis, TP-Link, or Foscam). Choose **Other** to enter a custom RTSP URL directly. Non-RTSP stream types must be [configured manually](#setting-up-camera-inputs). The name you enter is lowercased and spaces become underscores. If the result still isn't a valid config key, the wizard generates a safe name and stores what you typed as `friendly_name`.","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":276,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0106","title":"Camera Configuration","heading":"Step 2: Probe or snapshot","text":"In probe mode, the wizard reports what the camera returned (manufacturer, model, firmware, profile count, and whether PTZ, presets, and [autotracking](autotracking.md) are supported) along with the RTSP URLs it discovered. Test each candidate to see its resolution, frame rate, and codecs together with a snapshot, then select the one you want to use. In manual mode, the wizard tests the templated URL and shows the same metadata and snapshot. If no RTSP URLs are found, the credentials may be wrong or the camera may not support ONVIF. Go back and use manual selection instead.","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":277,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0107","title":"Camera Configuration","heading":"Step 3: Stream configuration","text":"Assign [roles](#setting-up-camera-inputs) to the stream, and use **Add Another Stream** to add the camera's other streams, for example a substream for `detect` alongside the main stream for `record`. At least one stream must have the `detect` role before you can continue. **Reduce connections to camera** routes that input through the go2rtc restream so Frigate and the live view share a single connection to the camera instead of each opening their own. See [restream](restream.md) for more detail.","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":278,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0108","title":"Camera Configuration","heading":"Step 4: Validation and testing","text":"Connect each stream to get a live preview, an estimated bandwidth figure, and a list of validation results. The wizard checks for the most common misconfigurations, including: - A detect resolution that is too high (increased resource usage) or too low for reliable detection, or one it could not probe at all - A stream marked `record` whose audio codec is not AAC, or that has no audio at all - A stream marked `audio` that carries no audio stream - Using a restreamed input for the `record` role - Brand-specific issues, such as an RTSP stream on a Reolink camera that should use http-flv, or a Dahua/Hikvision substream selected for `detect` **Use stream compatibility mode** passes the stream through go2rtc's ffmpeg module. Enable it if a stream fails to load after several attempts. Note that this also prevents [two way talk](/configuration/live#two-way-talk) from being detected for that stream. **Save New Camera** writes the configuration ","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":279,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0109","title":"Camera Configuration","heading":"Deleting a camera","text":"Click **Delete Camera** in Global configuration > Camera management\" />, choose the camera, and confirm. Deleting a camera requires the `admin` role and cannot be undone. :::warning Deleting a camera permanently removes its recordings, tracked objects, and configuration. If you only want to stop processing a camera, set its state to **Off** or **Disabled** in Global configuration > Camera management\" /> instead. See [camera state](/configuration/live#camera-state). ::: Deleting a camera removes: - The camera's section of your config file, along with its entries in any [role](authentication.md#user-roles) camera list. A custom role left with no cameras is removed as well. - Every database record for the camera: tracked objects, review items, recordings, previews, timeline entries, the saved region grid, and [triggers](semantic_search.md#triggers). - Every media file for the camera: reco","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":280,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0110","title":"Camera Configuration","heading":"Setting Up Camera Inputs","text":"Several inputs can be configured for each camera and the role of each input can be mixed and matched based on your needs. This allows you to use a lower resolution stream for object detection, but create recordings from a higher resolution stream, or vice versa. A camera is enabled by default but can be disabled by using `enabled: False`. Cameras that are disabled through the configuration file will not appear in the Frigate UI and will not consume system resources. Each role can only be assigned to one input per camera. The options for roles are as follows: | Role | Description | | ------------ | ------------------------------------------------------------------------------------------------------------ | | `detect` | Main feed for object detection. [docs](object_detectors.md) | | `record` | Saves segments of the video feed based on configuration settings. [docs](record.md) | | `record_sub` | Saves segments of a second, lower quality s","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":281,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0111","title":"Camera Configuration","heading":"Setting up camera PTZ controls","text":":::warning Not every PTZ supports ONVIF, which is the standard protocol Frigate uses to communicate with your camera. Check the [official list of ONVIF conformant products](https://www.onvif.org/conformant-products/), your camera documentation, or camera manufacturer's website to ensure your PTZ supports ONVIF. Also, ensure your camera is running the latest firmware. ::: Configure the ONVIF connection for your camera to enable PTZ controls. 1. Navigate to Camera configuration > ONVIF\" /> and select your camera. - Set **ONVIF host** to your camera's IP address, e.g.: `10.0.10.10` - Set **ONVIF port** to your camera's ONVIF port, e.g.: `8000` - Set **ONVIF username** to your camera's ONVIF username, e.g.: `admin` - Set **ONVIF password** to your camera's ONVIF password, e.g.: `password` If the ONVIF connection is successf","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":282,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0112","title":"Camera Configuration","heading":"ONVIF PTZ camera recommendations","text":"Before buying a PTZ camera, check its ONVIF support. The [ONVIF Conformant Products Database](https://www.onvif.org/conformant-products/) is the most reliable source. Look at a camera's FeatureList for `PTZRelative`, `PTZRelativePanTilt` and/or `PTZRelativeZoom`. Autotracking requires these features. If they are missing, autotracking will not work, though basic PTZ in the WebUI might. Some cameras still fail to respond even when they claim support. Avoid cameras with no database entry. The [CCTV Camera Database](https://www.cctv-database.com/) is an open database of IP camera specifications and is useful for researching a specific model.","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":283,"id":"configuration/cameras","section_id":"frigate/configuration/cameras/0113","title":"Camera Configuration","heading":"Setting up camera groups","text":"Camera groups let you organize cameras together with a shared name and icon, making it easier to review and filter them. A default group for all cameras is always available. On the Live dashboard, press the **pencil icon** in the main navigation to add a new camera group. Configure the group name, select which cameras to include, choose an icon, and set the display order. ","url":"https://docs.frigate.video/configuration/cameras/","vehicles":[]},{"i":284,"id":"configuration/config","section_id":"frigate/configuration/config/0114","title":"Frigate Configuration","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Frigate can be configured through the **Settings UI** or by editing the YAML configuration file directly. The Settings UI is the recommended approach. It provides validation and a guided experience for all configuration options.","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":285,"id":"configuration/config","section_id":"frigate/configuration/config/0115","title":"Frigate Configuration","heading":"Using the Settings UI","text":"The Settings UI groups every configuration option into sections that are listed in the left-hand menu. Each section presents a guided form with validation, so you don't need to remember the structure of the YAML or look up option names by hand.","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":286,"id":"configuration/config","section_id":"frigate/configuration/config/0116","title":"Frigate Configuration","heading":"Global vs. camera-level configuration","text":"Settings are organized into two scopes: - **Global configuration**: values under Global configuration\" /> apply to every camera by default. This is where you set the baseline behavior for object detection, recording, snapshots, motion, and so on. - **Camera configuration**: values under Camera configuration\" /> apply to a single camera. Use the camera selector button at the top of these pages to choose which camera you are editing. When a camera-level section is left untouched, the camera simply inherits the global values. Changing a value on a camera page **overrides** the global value for that camera only: the global setting and every other camera are unaffected. This mirrors how the YAML works, where a value set under `cameras.` takes precedence over the same value set at the top level. See [Global and Camera-Level Configuration](./config_overrides.md) for the full details, in","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":287,"id":"configuration/config","section_id":"frigate/configuration/config/0117","title":"Frigate Configuration","heading":"Saving changes and the Save All button","text":"Edits are not applied until you save them. As soon as you change a value, the UI tracks it as a pending change: - The edited section shows a **Modified** badge, and the changed fields are highlighted. - A **You have unsaved changes** notice appears above the section's **Save** and **Undo** buttons. **Save** commits just that section; **Undo** discards its pending edits. Because pending changes can span multiple sections (and multiple cameras), the header provides a **Save All** button that writes every pending change at once. Next to it, **Review pending changes** opens a summary that lists each pending edit with its scope (Global or a specific camera), the affected field, and the new value, so you can confirm exactly what will be written before committing. **Undo All** discards every pending change across all sections.","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":288,"id":"configuration/config","section_id":"frigate/configuration/config/0118","title":"Frigate Configuration","heading":"Restart-required indicators","text":"Most settings take effect immediately, but some require Frigate to restart before they apply. Fields that require a restart are marked with a small restart icon and a **Restart required** tooltip next to the field label. When you save a change that touches one of these fields, Frigate confirms the save and reminds you that a restart is needed (for example, _\"Settings saved successfully. Restart Frigate to apply your changes.\"_). The notification includes a one-click **Restart Frigate** action so you can apply the change right away, or you can continue editing and restart later.","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":289,"id":"configuration/config","section_id":"frigate/configuration/config/0119","title":"Frigate Configuration","heading":"The colored dots in the camera configuration menu","text":"When you are working under Camera configuration\" />, small colored dots can appear next to a section's name in the menu. They give you an at-a-glance summary of that section's state for the selected camera: - **Blue dot**: this section **overrides the global configuration**. One or more values in the section have been set specifically for this camera and differ from the global defaults. - **Profile-colored dot**: when you are viewing a [camera profile](./profiles.md), a dot in that profile's assigned color indicates the section is **overridden by that profile**. Each profile is given its own distinct color so you can tell at a glance which sections it changes. - **Amber dot**: this section has **unsaved changes**. It appears alongside the **Modified** badge whenever you have pending edits in the section that haven't been saved yet. Hover over any dot to see a tooltip describing what it means. Open a section to ","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":290,"id":"configuration/config","section_id":"frigate/configuration/config/0120","title":"Frigate Configuration","heading":"Configuration File Location","text":"For users who prefer to edit the YAML configuration file directly, it is recommended to start with a minimal configuration and add to it as described in [the getting started guide](../guides/getting_started.md). - **Home Assistant App:** `/addon_configs//config.yml` (see [directory list](#accessing-app-config-dir)) - **All other installations:** Map to `/config/config.yml` inside the container It can be named `config.yml` or `config.yaml`, but if both files exist `config.yml` will be preferred and `config.yaml` will be ignored. A minimal starting configuration:","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":291,"id":"configuration/config","section_id":"frigate/configuration/config/0121","title":"Frigate Configuration","heading":"Accessing the Home Assistant App configuration directory {#accessing-app-config-dir}","text":"When running Frigate through the HA App, the Frigate `/config` directory is mapped to `/addon_configs/` in the host, where `` is specific to the variant of the Frigate App you are running. | App Variant | Configuration directory | | -------------------------- | ----------------------------------------- | | Frigate | `/addon_configs/ccab4aaf_frigate` | | Frigate (Full Access) | `/addon_configs/ccab4aaf_frigate-fa` | | Frigate Beta | `/addon_configs/ccab4aaf_frigate-beta` | | Frigate Beta (Full Access) | `/addon_configs/ccab4aaf_frigate-fa-beta` | **Whenever you see `/config` in the documentation, it refers to this directory.** If for example you are running the standard App variant and use the [VS Code App](https://github.com/hassio-addons/addon-vscode) to browse your files, you can click _File_ > _Open folder..._ and navigate to `/addon_configs/ccab4aaf_frigate` to access the Frigate `/config` directory","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":292,"id":"configuration/config","section_id":"frigate/configuration/config/0122","title":"Frigate Configuration","heading":"VS Code Configuration Schema","text":"VS Code supports JSON schemas for automatically validating configuration files. You can enable this feature by adding `# yaml-language-server: $schema=http://frigate_host:5000/api/config/schema.json` to the beginning of the configuration file. Replace `frigate_host` with the IP address or hostname of your Frigate server. If you're using both VS Code and Frigate as an App, you should use `ccab4aaf-frigate` instead. Make sure to expose the internal unauthenticated port `5000` when accessing the config from VS Code on another machine.","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":293,"id":"configuration/config","section_id":"frigate/configuration/config/0123","title":"Frigate Configuration","heading":"Environment Variable Substitution","text":"Frigate supports the use of environment variables starting with `FRIGATE_` **only** where specifically indicated in the [reference config](./advanced/reference.md). See [substitution sources and precedence](./advanced/system.md#substitution-sources-and-precedence) for where those values can come from, including `secrets.yaml`. For example, the following values can be replaced at runtime by using environment variables:","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":294,"id":"configuration/config","section_id":"frigate/configuration/config/0124","title":"Frigate Configuration","heading":"Common configuration examples","text":"Here are some common starter configuration examples. These can be configured through the Settings UI or via YAML. Refer to the [reference config](./advanced/reference.md) for detailed information about all config values.","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":295,"id":"configuration/config","section_id":"frigate/configuration/config/0125","title":"Frigate Configuration","heading":"Raspberry Pi Home Assistant App with USB Coral","text":"- Single camera with 720p, 5fps stream for detect - MQTT connected to the Home Assistant Mosquitto App - Hardware acceleration for decoding video - USB Coral detector - Save all video with any detectable motion for 7 days regardless of whether any objects were detected or not - Continue to keep all video if it qualified as an alert or detection for 30 days - Save snapshots for 30 days - Motion mask for the camera timestamp 1. Navigate to System > MQTT\" /> and configure the MQTT connection to your Home Assistant Mosquitto broker 2. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `Raspberry Pi (H.264)` 3. Navigate to System > Detection models\" /> and select **Coral EdgeTPU (USB)** from the **Hardware** dropdown 4. Navigate to Global configuration > Recording\"","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":296,"id":"configuration/config","section_id":"frigate/configuration/config/0126","title":"Frigate Configuration","heading":"Standalone Intel Mini PC with USB Coral","text":"- Single camera with 720p, 5fps stream for detect - MQTT disabled (not integrated with Home Assistant) - VAAPI hardware acceleration for decoding video - USB Coral detector - Save all video with any detectable motion for 7 days regardless of whether any objects were detected or not - Continue to keep all video if it qualified as an alert or detection for 30 days - Save snapshots for 30 days - Motion mask for the camera timestamp 1. Navigate to System > MQTT\" /> and set **Enable MQTT** to off 2. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `VAAPI (Intel/AMD GPU)` 3. Navigate to System > Detection models\" /> and select **Coral EdgeTPU (USB)** from the **Hardware** dropdown 4. Navigate to Global configuration > Recording\" /> and set **Enable recording** to ","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":297,"id":"configuration/config","section_id":"frigate/configuration/config/0127","title":"Frigate Configuration","heading":"Home Assistant integrated Intel Mini PC with OpenVINO","text":"- Single camera with 720p, 5fps stream for detect - MQTT connected to same MQTT server as Home Assistant - VAAPI hardware acceleration for decoding video - OpenVINO detector - Save all video with any detectable motion for 7 days regardless of whether any objects were detected or not - Continue to keep all video if it qualified as an alert or detection for 30 days - Save snapshots for 30 days - Motion mask for the camera timestamp 1. Navigate to System > MQTT\" /> and configure the connection to your MQTT broker 2. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `VAAPI (Intel/AMD GPU)` 3. Navigate to System > Detection models\" /> and select **Intel GPU** from the **Hardware** dropdown 4. On the same model, open the **Custom Model** tab and configure the OpenVINO model path and setting","url":"https://docs.frigate.video/configuration/config/","vehicles":[]},{"i":298,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0128","title":"Global and Camera-Level Configuration","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Most of Frigate's configuration can be set once for all cameras and then adjusted for individual cameras. The global value acts as the default for every camera, and any camera can override it. This page explains how that inheritance works. For a tour of the Settings UI itself, see [Frigate Configuration](./config.md).","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":299,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0129","title":"Global and Camera-Level Configuration","heading":"The basics","text":"Set a value globally and every camera uses it. Set the same value on a camera and that camera uses its own value instead. 1. Navigate to Global configuration > Object detection\" /> and set **Detect FPS** to `5`. Every camera now detects at 5 fps. 2. Navigate to Camera configuration > Object detection\" />, select the `driveway` camera, and set **Detect FPS** to `10`. The `driveway` camera now detects at 10 fps. Every other camera still uses the global value of 5. `front_door` inherits `fps: 5`, and `driveway` uses `10`. ","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":300,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0130","title":"Global and Camera-Level Configuration","heading":"Overrides apply per value, not per section","text":"Overriding one value in a section does not detach the rest of that section. Everything you don't set on the camera still comes from the global configuration. If you set a camera's **Motion threshold** but leave **Contour area** alone, only the threshold is overridden. The contour area continues to follow Global configuration > Motion detection\" />, and changing it there still affects that camera. Open a section to see which values are overridden: the section header indicates how many fields differ from the global configuration. The `driveway` camera ends up with `threshold: 40` and `contour_area: 10`. Only the value you wrote was overridden. ","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":301,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0131","title":"Global and Camera-Level Configuration","heading":"Returning a camera to the global value","text":" A camera section that has its own values shows an **Overridden** badge. To remove the override and go back to inheriting, use the **Reset to Global** button at the bottom of the section. Frigate treats a camera value as an override because it is written in the config file, not because it differs from the global value. Repeating the global value under a camera still creates an override: If you later change the global `snapshots.enabled` to `false`, `driveway` keeps saving snapshots, because it has its own value. To make a camera follow the global value again, delete the key from the camera rather than setting it to match. ","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":302,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0132","title":"Global and Camera-Level Configuration","heading":"Lists replace, maps merge","text":"This is the distinction that surprises people most. **Lists are replaced entirely.** A camera's list does not add to the global list, it takes its place. The camera page shows the objects the camera is currently tracking, starting from the global list. Changing that selection under Camera configuration > Objects\" /> replaces the list for that camera, so make sure every object you want tracked is selected, not just the ones you are adding. To track `dog` in addition to the global objects, list all of them on the camera. An empty list is a valid override, and is the normal way to opt a camera out of something: **Maps are merged key by key.** A camera can add an entry without redeclaring the others. Adding a filter for one object under Camera configuration > Objec","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":303,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0133","title":"Global and Camera-Level Configuration","heading":"Which settings can be overridden","text":"Most, but not all. The [full reference config](./advanced/reference.md) is the authoritative source: sections that support camera-level overrides are marked with the comment `# NOTE: Can be overridden at the camera level`. In the UI, a setting can be overridden if it appears under both Global configuration\" /> and Camera configuration\" />. A few things worth knowing beyond that: - Some sections are **global only** and have no camera-level equivalent, including `go2rtc`, `genai` providers, `classification`, `telemetry`, `camera_groups`, and `ui`. - Some sections exist **only at the camera level**, such as `zones` and `onvif`. - Some sections are **partially overridable**, meaning a camera accepts only a few of the keys available globally. `face_recognition`, `lpr`, and `audio_transcription` work this way, and the reference config notes which keys apply.","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":304,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0134","title":"Global and Camera-Level Configuration","heading":"Enrichments that must be enabled globally first","text":"License plate recognition and face recognition are special: the global setting is not just a default, it is a switch that must be on before any camera can use the feature. Enabling one on a camera while it is disabled globally is a configuration error, and Frigate will refuse to start: Enable the feature globally, then turn it off on the cameras that don't need it. 1. Navigate to Global configuration > License plate recognition\" /> and enable **LPR**. 2. Navigate to Camera configuration > License plate recognition\" />, select each camera that should not run LPR, and disable the **Enable LPR** toggle. :::note This applies only to `lpr` and `face_recognition`, because the global setting controls whether the supporting background process starts at all. Other features do not work this way. Audio tr","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":305,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0135","title":"Global and Camera-Level Configuration","heading":"Profiles","text":"[Profiles](./profiles.md) add a further layer on top of everything described above. A profile is a named set of camera overrides that you can switch on and off while Frigate is running, for example to change detection and recording behavior when you leave the house. Profiles are applied on top of a camera's already-resolved configuration, so a profile value wins over both the camera and the global value while that profile is active. Profiles cover a subset of the camera sections and do not modify your config file.","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":306,"id":"configuration/config_overrides","section_id":"frigate/configuration/config_overrides/0136","title":"Global and Camera-Level Configuration","heading":"Summary","text":"- A camera inherits every value you don't set on it. - Overriding one value does not detach the rest of the section. - Writing a value on a camera overrides it, even if it matches the global value. Remove it to inherit again. - Lists replace the global list. Maps merge into it. - An empty list is an override, not an omission. - `lpr` and `face_recognition` must be enabled globally before a camera can use them.","url":"https://docs.frigate.video/configuration/config_overrides/","vehicles":[]},{"i":307,"id":"configuration/custom_classification/object_classification","section_id":"frigate/configuration/custom_classification/object_classification/0137","title":"Object Classification","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Object classification allows you to train a custom MobileNetV2 classification model to run on tracked objects (persons, cars, animals, etc.) to identify a finer category or attribute for that object. Classification results are visible in the Tracked Object Details pane in Explore, through the `frigate/tracked_object_details` MQTT topic, in Home Assistant sensors via the official Frigate integration, or through the event endpoints in the HTTP API. :::info Training a custom object classification model requires an internet connection to download MobileNetV2 base weights. By default these weights are not cached in `/config/`, so they are downloaded again after the container is recreated. Once trained, the model runs fully offline. See [Network Requirements](/frigate/network_requirements#one-time","url":"https://docs.frigate.video/configuration/custom_classification/object_classification/","vehicles":[]},{"i":308,"id":"configuration/custom_classification/object_classification","section_id":"frigate/configuration/custom_classification/object_classification/0138","title":"Object Classification","heading":"Minimum System Requirements","text":"Object classification models are lightweight and run very fast on CPU. Training the model does briefly use a high amount of system resources for about 1-3 minutes per training run. On lower-power devices, training may take longer. A CPU with AVX + AVX2 instructions is required for training and inference.","url":"https://docs.frigate.video/configuration/custom_classification/object_classification/","vehicles":[]},{"i":309,"id":"configuration/custom_classification/object_classification","section_id":"frigate/configuration/custom_classification/object_classification/0139","title":"Object Classification","heading":"Classes","text":"Classes are the categories your model will learn to distinguish between. Each class represents a distinct visual category that the model will predict. For object classification: - Define classes that represent different types or attributes of the detected object - Examples: For `person` objects, classes might be `delivery_person`, `resident`, `stranger` - Include a `none` class for objects that don't fit any specific category - Keep classes visually distinct to improve accuracy","url":"https://docs.frigate.video/configuration/custom_classification/object_classification/","vehicles":[]},{"i":310,"id":"configuration/custom_classification/object_classification","section_id":"frigate/configuration/custom_classification/object_classification/0140","title":"Object Classification","heading":"Classification Type","text":"- **Sub label**: - Applied to the object's `sub_label` field. - Ideal for a single, more specific identity or type. - Example: `cat` \u2192 `Leo`, `Charlie`, `None`. - **Attribute**: - Added as metadata to the object, visible in the Tracked Object Details pane in Explore, `frigate/events` MQTT messages, and the HTTP API response as `: `. - Ideal when multiple attributes can coexist independently. - Example: Detecting if a `person` in a construction yard is wearing a helmet or not, and if they are wearing a yellow vest or not. :::note A tracked object can only have a single sub label. If you are using Triggers or Face Recognition and you configure an object classification model for `person` using the sub label type, your sub label may not be assigned correctly as it depends on which enrichment completes its analysis first. This could also occur with `car` objects that are assigned a sub label for a delivery carrie","url":"https://docs.frigate.video/configuration/custom_classification/object_classification/","vehicles":[]},{"i":311,"id":"configuration/custom_classification/object_classification","section_id":"frigate/configuration/custom_classification/object_classification/0141","title":"Object Classification","heading":"Assignment Requirements","text":"Sub labels and attributes are only assigned when both conditions are met: 1. **Threshold**: Each classification attempt must have a confidence score that meets or exceeds the configured `threshold` (default: `0.8`). 2. **Class Consensus**: After at least 3 classification attempts, 60% of attempts must agree on the same class label. If the consensus class is `none`, no assignment is made. This two-step verification prevents false positives by requiring consistent predictions across multiple frames before assigning a sub label or attribute.","url":"https://docs.frigate.video/configuration/custom_classification/object_classification/","vehicles":[]},{"i":312,"id":"configuration/custom_classification/object_classification","section_id":"frigate/configuration/custom_classification/object_classification/0142","title":"Object Classification","heading":"Sub label","text":"- **Known pet vs unknown**: For `dog` objects, set sub label to your pet's name (e.g., `buddy`) or `none` for others. - **Mail truck vs normal car**: For `car`, classify as `mail_truck` vs `car` to filter important arrivals. - **Delivery vs non-delivery person**: For `person`, classify `delivery` vs `visitor` based on uniform/props.","url":"https://docs.frigate.video/configuration/custom_classification/object_classification/","vehicles":[]},{"i":313,"id":"configuration/custom_classification/object_classification","section_id":"frigate/configuration/custom_classification/object_classification/0143","title":"Object Classification","heading":"Attributes","text":"- **Backpack**: For `person`, add attribute `backpack: yes/no`. - **Helmet**: For `person` (worksite), add `helmet: yes/no`. - **Leash**: For `dog`, add `leash: yes/no` (useful for park or yard rules). - **Ladder rack**: For `truck`, add `ladder_rack: yes/no` to flag service vehicles.","url":"https://docs.frigate.video/configuration/custom_classification/object_classification/","vehicles":[]},{"i":314,"id":"configuration/custom_classification/object_classification","section_id":"frigate/configuration/custom_classification/object_classification/0144","title":"Object Classification","heading":"Configuration","text":"Object classification is configured as a custom classification model. Each model has its own name and settings. Specify which object labels should be classified. Navigate to the **Classification** page from the main navigation sidebar, then click **Add Classification**. In the **Create New Classification** dialog: | Field | Description | | ----------------------- | ------------------------------------------------------------- | | **Name** | A name for your classification model (e.g., `dog`) | | **Type** | Select **Object** for object classification | | **Object Label** | The object label to classify (e.g., `dog`, `person`, `car`) | | **Classification Type** | Whether to assign results as a **Sub Label** or **Attribute** | | **Classes** | The class names the model will learn to distinguish between | The `threshold` (default: `0.8`) can be adjusted in the YAML configuration. Navigate to System > Logging\" />. - Set **Logging level** to `debug` - Set **Per-process log level > `frigate.data_processing.real_time.custom_classification`** to `debug` for verbose classification logging The debug logs will show: - Classification probabilities for each attempt - Whether scores meet the threshold requirement - Consensus calculations and when assignments are made - Object classificati","url":"https://docs.frigate.video/configuration/custom_classification/object_classification/","vehicles":[]},{"i":320,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0150","title":"State Classification","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; State classification allows you to train a custom MobileNetV2 classification model on a fixed region of your camera frame(s) to determine a current state. The model can be configured to run on a schedule and/or when motion is detected in that region. Classification results are available through the `frigate//classification/` MQTT topic and in Home Assistant sensors via the official Frigate integration. :::info Training a custom state classification model requires an internet connection to download MobileNetV2 base weights. By default these weights are not cached in `/config/`, so they are downloaded again after the container is recreated. Once trained, the model runs fully offline. See [Network Requirements](/frigate/network_requirements#one-time-model-downloads) for","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":321,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0151","title":"State Classification","heading":"Minimum System Requirements","text":"State classification models are lightweight and run very fast on CPU. Training the model does briefly use a high amount of system resources for about 1-3 minutes per training run. On lower-power devices, training may take longer. A CPU with AVX + AVX2 instructions is required for training and inference.","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":322,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0152","title":"State Classification","heading":"Classes","text":"Classes are the different states an area on your camera can be in. Each class represents a distinct visual state that the model will learn to recognize. For state classification: - Define classes that represent mutually exclusive states - Examples: `open` and `closed` for a garage door, `on` and `off` for lights - Use at least 2 classes (typically binary states work best) - Keep class names clear and descriptive","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":323,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0153","title":"State Classification","heading":"Example use cases","text":"- **Door state**: Detect if a garage or front door is open vs closed. - **Gate state**: Track if a driveway gate is open or closed. - **Trash day**: Bins at curb vs no bins present. - **Pool cover**: Cover on vs off.","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":324,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0154","title":"State Classification","heading":"Configuration","text":"State classification is configured as a custom classification model. Each model has its own name and settings. Provide at least one camera crop under `state_config.cameras`. Navigate to the **Classification** page from the main navigation sidebar, select the **States** tab, then click **Add Classification**. In the **Create New Classification** dialog: | Field | Description | | ----------- | ------------------------------------------------------------------------------------ | | **Name** | A name for your state classification model (e.g., `front_door`) | | **Type** | Select **State** for state classification | | **Classes** | The state names the model will learn to distinguish between (e.g., `open`, `closed`) | After creating the model, the wizard will guide you through selecting the camera crop area and assigning training examples. The `threshold` (default: `0.8`), `motion`, and `interval` settings can","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":325,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0155","title":"State Classification","heading":"Review items","text":"When a model's state changes while its camera has an active review item, the change is recorded on that review item. This includes changes in the few seconds before the item starts, such as a garage door opening just before the car is detected. State changes never create or extend review items on their own, and the first state reported after Frigate starts is not recorded as a change. Recorded changes appear in the review item's data as `classification_state_changes` (see the [`frigate/reviews`](/integrations/mqtt#frigatereviews) MQTT topic) and are passed to [GenAI review summaries](/configuration/genai/genai_review) as facts, so a description can note that a gate was opened during the activity. Change times are most accurate with `motion: true`. A model that only runs on an `interval` notices a change at its next run, so the change may be recorded late or attached to a later review item.","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":326,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0156","title":"State Classification","heading":"Training the model","text":"Creating and training the model is done within the Frigate UI using the `Classification` page. The process consists of three steps:","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":327,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0157","title":"State Classification","heading":"Step 1: Name and Define","text":"Enter a name for your model and define at least 2 classes (states) that represent mutually exclusive states. For example, `open` and `closed` for a door, or `on` and `off` for lights.","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":328,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0158","title":"State Classification","heading":"Step 2: Select the Crop Area","text":"Choose one or more cameras and draw a rectangle over the area of interest for each camera. The crop should be tight around the region you want to classify to avoid extra signals unrelated to what is being classified. You can drag and resize the rectangle to adjust the crop area.","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":329,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0159","title":"State Classification","heading":"Step 3: Assign Training Examples","text":"The system will automatically generate example images from your camera feeds. You'll be guided through each class one at a time to select which images represent that state. It's not strictly required to select all images you see. If a state is missing from the samples, you can train it from the Recent tab later. Once some images are assigned, training will begin automatically.","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":330,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0160","title":"State Classification","heading":"Improving the Model","text":":::tip Diversity matters far more than volume Selecting dozens of nearly identical images is one of the fastest ways to degrade model performance. MobileNetV2 can overfit quickly when trained on homogeneous data. The model learns what _that exact moment_ looked like rather than what actually defines the state. This often leads to models that work perfectly under the original conditions but become unstable when day turns to night, weather changes, or seasonal lighting shifts. **This is why Frigate does not implement bulk training in the UI.** For more detail, see [Frigate Tip: Best Practices for Training Face and Custom Classification Models](https://github.com/blakeblackshear/frigate/discussions/21374). ::: - **Start small and iterate**: Begin with a small, representative set of images per class. Models often begin working well with surprisingly few examples and improve naturally over time. - **Problem framing**: Keep classes visually d","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":331,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0161","title":"State Classification","heading":"Debugging Classification Models","text":"To troubleshoot issues with state classification models, enable debug logging to see detailed information about classification attempts, scores, and state verification. Enable debug logs for classification models by adding `frigate.data_processing.real_time.custom_classification: debug` to your `logger` configuration. These logs are verbose, so only keep this enabled when necessary. Restart Frigate after this change. Navigate to System > Logging\" />. - Set **Logging level** to `debug` - Set **Per-process log level > `frigate.data_processing.real_time.custom_classification`** to `debug` for verbose classification logging The debug logs will show: - Classification probabilities for each attempt - Whether scores meet the threshold requirement - State verification progress (consecutive detections needed) - When state change","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":332,"id":"configuration/custom_classification/state_classification","section_id":"frigate/configuration/custom_classification/state_classification/0162","title":"State Classification","heading":"Recent Classifications","text":"For state classification, images are only added to recent classifications under specific circumstances: - **First detection**: The first classification attempt for a camera is always saved - **State changes**: Images are saved when the detected state differs from the current verified state - **Pending verification**: Images are saved when there's a pending state change being verified (requires 3 consecutive identical states) - **Low confidence**: Images with scores below 100% are saved even if the state matches the current state (useful for training) Images are **not** saved when the state is stable (detected state matches current state) **and** the score is 100%. This prevents unnecessary storage of redundant high-confidence classifications.","url":"https://docs.frigate.video/configuration/custom_classification/state_classification/","vehicles":[]},{"i":333,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0163","title":"Face Recognition","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; import FaqItem from \"@site/src/components/FaqItem\"; Face recognition identifies known individuals by matching detected faces with previously learned facial data. When a known `person` is recognized, their name will be added as a `sub_label`. This information is included in the UI, filters, as well as in notifications. :::info Face recognition requires a one-time internet connection to download detection and embedding models from GitHub. Once cached, models work fully offline. See [Network Requirements](/frigate/network_requirements#one-time-model-downloads) for details. :::","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":334,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0164","title":"Face Recognition","heading":"Face Detection","text":"When running a Frigate+ model (or any custom model that natively detects faces) should ensure that `face` is added to the [list of objects to track](../plus/index.md#available-label-types) either globally or for a specific camera. This will allow face detection to run at the same time as object detection and be more efficient. When running a default COCO model or another model that does not include `face` as a detectable label, face detection will run via CV2 using a lightweight DNN model that runs on the CPU. In this case, you should _not_ define `face` in your list of objects to track. :::note Frigate needs to first detect a `person` before it can detect and recognize a face. :::","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":335,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0165","title":"Face Recognition","heading":"Face Recognition","text":"Frigate has support for two face recognition model types: - **small**: Frigate will run a FaceNet embedding model to recognize faces, which runs locally on the CPU. This model is optimized for efficiency and is not as accurate. - **large**: Frigate will run a large ArcFace embedding model that is optimized for accuracy. It is only recommended to be run when an integrated or dedicated GPU / NPU is available. In both cases, a lightweight face landmark detection model is also used to align faces before running recognition. All of these features run locally on your system.","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":336,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0166","title":"Face Recognition","heading":"Minimum System Requirements","text":"A CPU with AVX + AVX2 instructions is required to run Face Recognition. The `small` model is optimized for efficiency and runs on the CPU, most CPUs should run the model efficiently. The `large` model is optimized for accuracy, an integrated or discrete GPU / NPU is required. See the [Hardware Accelerated Enrichments](/configuration/hardware_acceleration_enrichments.md) documentation.","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":337,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0167","title":"Face Recognition","heading":"Configuration","text":"Face recognition is disabled by default and must be enabled before it can be used. Face recognition is a global configuration setting. Navigate to Enrichments > Face recognition\" />. - Set **Enable face recognition** to on Like the other real-time processors in Frigate, face recognition runs on the camera stream defined by the `detect` role in your config. To ensure optimal performance, select a suitable resolution for this stream in your camera's firmware that fits your specific scene and requirements.","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":338,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0168","title":"Face Recognition","heading":"Advanced Configuration","text":"Fine-tune face recognition with these optional parameters. The only optional parameters that can be set at the camera level are `enabled` and `min_area`.","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":339,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0169","title":"Face Recognition","heading":"Detection","text":" Navigate to Enrichments > Face recognition\" />. - **Detection threshold**: Face detection confidence score required before recognition runs. This field only applies to the standalone face detection model; `min_score` should be used to filter for models that have face detection built in. - Default: `0.7` - **Minimum face area**: Minimum size (in pixels) a face must be before recognition runs. Depending on the resolution of your camera's `detect` stream, you can increase this value to ignore small or distant faces. - Default: `750` pixels ","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":340,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0170","title":"Face Recognition","heading":"Recognition","text":" Navigate to Enrichments > Face recognition\" />. - **Model size**: Which model size to use, options are `small` or `large`. - **Unknown score threshold**: Min score to mark a person as a potential match; matches at or below this will be marked as unknown. - Default: `0.8` - **Recognition threshold**: Recognition confidence score required to add the face to the object as a sub label. - Default: `0.9` - **Minimum faces**: Min face recognitions for the sub label to be applied to the person object. - Default: `1` - **Save attempts**: Number of images of recognized faces to save for training. - Default: `200` - **Blur confidence filter**: Enables a filter that calculates how blurry the face is and adjusts the confidence based on this. - Default: `True` - **Device**: Target a specific device to run the face recognition model on (multi-GPU installation). This setting is only applicable","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":341,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0171","title":"Face Recognition","heading":"Usage","text":"Follow these steps to begin: 1. **Enable face recognition** in your configuration and restart Frigate. 2. **Upload one face** using the **Add Face** button's wizard in the Face Library section of the Frigate UI. Read below for the best practices on expanding your training set. 3. When Frigate detects and attempts to recognize a face, it will appear in the **Train** tab of the Face Library, along with its associated recognition confidence. 4. From the **Train** tab, you can **assign the face** to a new or existing person to improve recognition accuracy for the future.","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":342,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0172","title":"Face Recognition","heading":"Creating a Robust Training Set","text":":::tip **The short version:** Start with a few clear, front-facing photos of each person. As faces are detected in the Recent Recognitions tab, train clear images that scored lower, adding variety (different angles, lighting, and expressions) slowly. Diversity matters far more than volume, and low-quality images hurt recognition more than they help. For a step-by-step narrative of these best practices (and the same principles applied to state and object classification), see the [Frigate Tips: Best Practices for Training](https://github.com/blakeblackshear/frigate/discussions/21374) discussion. ::: The number of images needed for a sufficient training set for face recognition varies depending on several factors: - Diversity of the dataset: A dataset with diverse images, including variations in lighting, pose, and facial expressions, will require fewer images per person than a less diverse dataset. - Desired accuracy: The higher the desir","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":343,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0173","title":"Face Recognition","heading":"Understanding the Recent Recognitions Tab","text":"The Recent Recognitions tab in the face library displays recent face recognition attempts. Detected face images are grouped according to the person they were identified as potentially matching. Each face image is labeled with a name (or `Unknown`) along with the confidence score of that recognition attempt. Images are grouped by the person they were matched against, not by who they actually are, so a group labeled with a person's name can contain a crop that is really someone else but happened to score as a partial match. The name and score shown on each individual crop describe that single attempt. While each image can be used to train the system for a specific person, not all images are suitable for training. Refer to the guidelines below for best practices on selecting images for training.","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":344,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0174","title":"Face Recognition","heading":"How Frigate Decides Who a Person Is","text":"Recognition does not happen one frame at a time. While a `person` is in view, Frigate runs face recognition on many frames, not just a single frame. The final `sub_label` is decided from all of those attempts together, weighted by the area of each face (larger, closer faces count more), not from any single frame. This has a few practical consequences: - A handful of wrong guesses on blurry or distant frames usually do not change the result. If Frigate sees a person as \"Tom, Tom, Sam, Tom, Tom,\" it will still conclude the person was Tom. - The goal is not for every individual face crop to be correct. The goal is for each person to be recognized correctly overall, across all the faces captured while they were present. - A single very high confidence match will not by itself assign a sub label. Recognition must be consistent. See [I see scores above the threshold in the Recent Recognitions tab, but a sub label wasn't assigned?](#i-see-scor","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":345,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0175","title":"Face Recognition","heading":"Which Faces Are Worth Training?","text":"Whether a face is worth training has little to do with what it was recognized as. A crop is a good training candidate when all of these are true: - It did not already score high and correctly. Faces that are already recognized confidently add little and increase the risk of over-fitting. - It is clear enough to be useful: not blurry, not heavily off-axis, not infrared (gray-scale). If it is hard for you to make out the face, it will not help the model. - It adds something new: a different angle, lighting, expression, or distance than what you already have.","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":346,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0176","title":"Face Recognition","heading":"Step 1 - Building a Strong Foundation","text":"When first enabling face recognition it is important to build a foundation of strong images. It is recommended to start by uploading 1-5 photos containing just this person's face. It is important that the person's face in the photo is front-facing and not turned, this will ensure a good starting point. Then it is recommended to use the `Face Library` tab in Frigate to select and train images for each person as they are detected. When building a strong foundation it is strongly recommended to only train on images that are front-facing. Ignore images from cameras that recognize faces from an angle. Aim to strike a balance between the quality of images while also having a range of conditions (day / night, different weather conditions, different times of day, etc.) in order to have diversity in the images used for each person and not have over-fitting. You do not want to train images that are 90%+ as these are already being confidently reco","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":347,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0177","title":"Face Recognition","heading":"Step 2 - Expanding The Dataset","text":"Once front-facing images are performing well, start choosing slightly off-angle images to include for training. It is important to still choose images where enough face detail is visible to recognize someone, and you still only want to train on images that score lower.","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":348,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0178","title":"Face Recognition","heading":"Getting Recognition Working","text":" Start with the [Usage](#usage) section and re-read the [Model Requirements](#model-requirements) above. 1. Enable debug logs to see exactly what Frigate is doing. - Enable debug logs for face recognition by adding `frigate.data_processing.real_time.face: debug` to your `logger` configuration. Restart Frigate after this change. - These logs report where the pipeline stopped for each `person` object, such as no face being found within the person's bounding box, the detected face being smaller than `min_area`, or a face being recognized but scoring too low. - If you see no face-related messages at all, also add `frigate.embeddings.maintainer: debug` to confirm that the face processor was created at startup and that `person` updates are reaching it. 2. Ensure `person` is being _detected_. A `person` will automatically be scanned by Friga","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":349,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0179","title":"Face Recognition","heading":"Improving Accuracy and Training","text":" Accuracy is definitely going to be improved with higher quality cameras / streams. It is important to look at the DORI (Detection Observation Recognition Identification) range of your camera, if that specification is posted. This specification explains the distance from the camera that a person can be detected, observed, recognized, and identified. The identification range is the most relevant here, and the distance listed by the camera is the furthest that face recognition will realistically work. Some users have also noted that setting the stream in camera firmware to a constant bit rate (CBR) leads to better image clarity than with a variable bit rate (VBR). The embeddi","url":"https://docs.frigate.video/configuration/face_recognition/","vehicles":[]},{"i":350,"id":"configuration/face_recognition","section_id":"frigate/configuration/face_recognition/0180","title":"Face Recognition","heading":"Compatibility and Maintenance","text":" No, using another face recognition service will interfere with Frigate's built in face recognition. When using double-take the sub_label feature must be disabled if the built in face recognition is also desired. By default iOS devices will use HEIC (High Efficiency Image Container) for images, but this format is not supported for uploads. Choosing `large` as the format instead of `original` will use JPG which will work correctly. 1. Navigate to Enrichments > Generative AI\" />. - Click **Add** and enter a **Provider name**. Any name of letters, numbers, hyphens, and underscores is accepted, but it cannot be changed from the UI after the provider is created. - Set **Provider** to the service you are using (e.g., `ollama`) - Set **Base URL**, **API key**, and **Model** as required by that provider - Set **Roles** to the roles this provider should handle. 1. Navigate to Enrichments > Generative AI\" />. - Set **Provider** to `llamacpp` - Set **Base URL** to your llama.cpp server address (e.g., `http://localhost:8080`) - Set **Model** to the name of your model - Optionally, under **Provider Options**, set `context_size` to override the context size Frigate detects from the server Frigate queries the llama.cpp server for the model's context size at startup and logs it along with the other detected capabilities. If `context_size` is s","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":366,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0196","title":"Configuring Generative AI","heading":"Embeddings","text":"To serve the `embeddings` role for [Semantic Search](/configuration/semantic_search#genai-provider), start the llama.cpp server with `--embeddings`, plus `--mmproj` for image support. See the [llama.cpp server documentation](https://github.com/ggml-org/llama.cpp/blob/master/tools/server/README.md) for details.","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":367,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0197","title":"Configuring Generative AI","heading":"Ollama","text":"[Ollama](https://ollama.com/) allows you to self-host large language models and keep everything running locally. It is highly recommended to host this server on a machine with an Nvidia graphics card, or on a Apple silicon Mac for best performance. Most of the 7b parameter 4-bit vision models will fit inside 8GB of VRAM. There is also a [Docker container](https://hub.docker.com/r/ollama/ollama) available. Parallel requests also come with some caveats. You will need to set `OLLAMA_NUM_PARALLEL=1` and choose a `OLLAMA_MAX_QUEUE` and `OLLAMA_MAX_LOADED_MODELS` values that are appropriate for your hardware and preferences. See the [Ollama documentation](https://docs.ollama.com/faq#how-does-ollama-handle-concurrent-requests). :::tip If you are trying to use a single model for Frigate and HomeAssistant, it will need to support vision and tools calling. qwen3-VL supports vision and tools simultaneously in Ollama. ::: Note that Frigate will not","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":368,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0198","title":"Configuring Generative AI","heading":"Configuration","text":" 1. Navigate to Enrichments > Generative AI\" />. - Set **Provider** to `ollama` - Set **Base URL** to your Ollama server address (e.g., `http://localhost:11434`) - Set **Model** to the model tag (e.g., `qwen3-vl:4b`) - Under **Provider Options**, set `keep_alive` (e.g., `-1`) and `options.num_ctx` to match your desired context size ","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":369,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0199","title":"Configuring Generative AI","heading":"Embeddings","text":"Ollama can serve the `embeddings` role for [Semantic Search](/configuration/semantic_search#genai-provider). Embedding images requires Ollama 0.40.1 or newer and an embedding model with a vision encoder, such as `embeddinggemma-2:440m`. For a saved provider, the UI hides the role unless Ollama reports its model as an embedding model. Use a separate provider entry for the embedding model rather than adding the role to a vision chat model.","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":370,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0200","title":"Configuring Generative AI","heading":"OpenAI-Compatible","text":"Frigate supports any provider that implements the OpenAI API standard. This includes self-hosted solutions like [vLLM](https://docs.vllm.ai/), [LocalAI](https://localai.io/), and other OpenAI-compatible servers. :::tip Frigate reads the model's context size from the server when it is reported (such as by vLLM or OpenRouter). For OpenAI-compatible servers (such as llama.cpp) that don't expose the configured context size in the API response, you can manually specify the context size in `provider_options`: This ensures Frigate uses the correct context window size when generating prompts. :::","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":371,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0201","title":"Configuring Generative AI","heading":"Configuration","text":" 1. Navigate to Enrichments > Generative AI\" />. - Set **Provider** to `openai` - Set **Base URL** to your server address (e.g., `http://your-server:port`) - Set **API key** if required by your server - Set **Model** to the model name To use a different OpenAI-compatible API endpoint, set the `OPENAI_BASE_URL` environment variable to your provider's API URL.","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":372,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0202","title":"Configuring Generative AI","heading":"Cloud Providers","text":"Cloud providers run on remote infrastructure and require an API key for authentication. These services handle all model inference on their servers. :::info Cloud Generative AI providers require an active internet connection to send images and prompts for processing. Local providers like llama.cpp and Ollama (with local models) do not require internet. See [Network Requirements](/frigate/network_requirements#generative-ai) for details. :::","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":373,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0203","title":"Configuring Generative AI","heading":"Ollama Cloud","text":"Ollama also supports [cloud models](https://ollama.com/cloud), where model inference is performed in the cloud. You can connect directly to Ollama Cloud by setting `base_url` to `https://ollama.com` and providing an API key. Alternatively, you can run Ollama locally and use a cloud model name so your local instance forwards requests to the cloud. For more details, see the Ollama cloud model [docs](https://docs.ollama.com/cloud).","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":374,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0204","title":"Configuring Generative AI","heading":"Configuration","text":" 1. Navigate to Enrichments > Generative AI\" />. - Set **Provider** to `ollama` - Set **Base URL** to your local Ollama address (e.g., `http://localhost:11434`) or `https://ollama.com` for direct cloud inference - Set **API key** if required by your endpoint (e.g., when using `https://ollama.com`) - Set **Model** to the cloud model name or when using Ollama Cloud directly ","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":375,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0205","title":"Configuring Generative AI","heading":"Google Gemini","text":"Google Gemini has a [free tier](https://ai.google.dev/pricing) for the API, however the limits may not be sufficient for standard Frigate usage. Choose a plan appropriate for your installation.","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":376,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0206","title":"Configuring Generative AI","heading":"Supported Models","text":"You must use a vision capable model with Frigate. Current model variants can be found [in their documentation](https://ai.google.dev/gemini-api/docs/models/gemini).","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":377,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0207","title":"Configuring Generative AI","heading":"Get API Key","text":"To start using Gemini, you must first get an API key from [Google AI Studio](https://aistudio.google.com). 1. Accept the Terms of Service 2. Click \"Get API Key\" from the right hand navigation 3. Click \"Create API key in new project\" 4. Copy the API key for use in your config","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":378,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0208","title":"Configuring Generative AI","heading":"Configuration","text":" 1. Navigate to Enrichments > Generative AI\" />. - Set **Provider** to `gemini` - Set **API key** to your Gemini API key (or use an environment variable such as `{FRIGATE_GEMINI_API_KEY}`) - Set **Model** to the desired model (e.g., `gemini-3.5-flash-lite`) :::tip Gemini 3.x models charge a (roughly) flat ~1,100 tokens per image regardless of resolution, so a 180p preview frame costs the same as a 480p recording frame. Set the review [image source](/configuration/genai/genai_review#image-source) to `recordings` to send higher quality frames at no extra cost, as long as recordings are enabled for the camera. ::: :::note To use a different Gemini-compatible API endpoint, set the `provider_options` with the `base_url` key to your provider's API URL. For example: Other HTTP options are available, see the [python-genai docume","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":379,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0209","title":"Configuring Generative AI","heading":"Embeddings","text":"Gemini can serve the `embeddings` role for [Semantic Search](/configuration/semantic_search#genai-provider) with a multimodal embedding model such as `gemini-embedding-2`. Give that model its own provider entry. Reindexing sends every stored thumbnail to Google and uses API quota. See [Network Requirements](/frigate/network_requirements#generative-ai).","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":380,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0210","title":"Configuring Generative AI","heading":"Supported Models","text":"You must use a vision capable model with Frigate. Current model variants can be found [in their documentation](https://platform.openai.com/docs/models).","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":381,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0211","title":"Configuring Generative AI","heading":"Get API Key","text":"To start using OpenAI, you must first [create an API key](https://platform.openai.com/api-keys) and [configure billing](https://platform.openai.com/settings/organization/billing/overview).","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":382,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0212","title":"Configuring Generative AI","heading":"Configuration","text":" 1. Navigate to Enrichments > Generative AI\" />. - Set **Provider** to `openai` - Set **API key** to your OpenAI API key (or use an environment variable such as `{FRIGATE_OPENAI_API_KEY}`) - Set **Model** to the desired model (e.g., `gpt-4o`) :::note To use a different OpenAI-compatible API endpoint, set the `OPENAI_BASE_URL` environment variable to your provider's API URL. ::: :::tip Frigate reads the model's context size from the server when it is reported (such as by vLLM or OpenRouter). For OpenAI-compatible servers (such as llama.cpp) that don't expose the configured context size in the API response, you can manually specify the context size in `provider_options`: This ensures Frigate uses the correct context window size when generating prompts. :::","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":383,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0213","title":"Configuring Generative AI","heading":"Supported Models","text":"You must use a vision capable model with Frigate. Current model variants can be found [in their documentation](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models).","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":384,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0214","title":"Configuring Generative AI","heading":"Create Resource and Get API Key","text":"To start using Azure OpenAI, you must first [create a resource](https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal#create-a-resource). You'll need your API key, model name, and resource URL, which must include the `api-version` parameter (see the example below).","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":385,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0215","title":"Configuring Generative AI","heading":"Configuration","text":" 1. Navigate to Enrichments > Generative AI\" />. - Set **Provider** to `azure_openai` - Set **Base URL** to your Azure resource URL including the `api-version` parameter (e.g., `https://instance.cognitiveservices.azure.com/openai/responses?api-version=2025-04-01-preview`) - Set **Model** to your deployed model name (e.g., `gpt-5-mini`) - Set **API key** to your Azure OpenAI API key (or use an environment variable such as `{FRIGATE_OPENAI_API_KEY}`) ","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":386,"id":"configuration/genai/config","section_id":"frigate/configuration/genai/config/0216","title":"Configuring Generative AI","heading":"FAQ","text":" Frigate's Generative AI features are configured and enabled separately. [Review descriptions and summaries](/configuration/genai/genai_review) live under `review.genai`, and [object descriptions](/configuration/genai/genai_objects) live under `objects.genai`. Configuring a provider on this page does not enable either feature, and enabling one does not enable the other. Decide which of the two is not working, then work through the steps below. 1. Confirm a provider is available and holds the `descriptions` role. - Review descriptions, review summaries, and object descriptions all use the provider that has the `descriptions` role assigned in Enrichments > Generative AI > Roles\" /> (`genai..roles`). - A provider is contacted the first time one of its roles is actually used. A provider holding the `embeddings` role for sema","url":"https://docs.frigate.video/configuration/genai/config/","vehicles":[]},{"i":387,"id":"configuration/genai/objects","section_id":"frigate/configuration/genai/objects/0217","title":"Object Descriptions","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Generative AI can be used to automatically generate descriptive text based on the thumbnails of your tracked objects. This helps with [Semantic Search](/configuration/semantic_search) in Frigate to provide more context about your tracked objects. Descriptions are accessed via the _Explore_ view in the Frigate UI by clicking on a tracked object's thumbnail. Requests for a description are sent off automatically to your AI provider at the end of the tracked object's lifecycle, or can optionally be sent earlier after a number of significantly changed frames, for example in use in more real-time notifications. Descriptions can also be regenerated manually via the Frigate UI. Note that if you are manually entering a description for tracked objects prior to its end, this will be overwritten by the ","url":"https://docs.frigate.video/configuration/genai/objects/","vehicles":[]},{"i":388,"id":"configuration/genai/objects","section_id":"frigate/configuration/genai/objects/0218","title":"Object Descriptions","heading":"Usage and Best Practices","text":"Frigate's thumbnail search excels at identifying specific details about tracked objects -- for example, using an \"image caption\" approach to find a \"person wearing a yellow vest,\" \"a white dog running across the lawn,\" or \"a red car on a residential street.\" To enhance this further, Frigate's default prompts are designed to ask your AI provider about the intent behind the object's actions, rather than just describing its appearance. While generating simple descriptions of detected objects is useful, understanding intent provides a deeper layer of insight. Instead of just recognizing \"what\" is in a scene, Frigate's default prompts aim to infer \"why\" it might be there or \"what\" it could do next. Descriptions tell you what's happening, but intent gives context. For instance, a person walking toward a door might seem like a visitor, but if they're moving quickly after hours, you can infer a potential break-in attempt. Detecting a person loi","url":"https://docs.frigate.video/configuration/genai/objects/","vehicles":[]},{"i":389,"id":"configuration/genai/objects","section_id":"frigate/configuration/genai/objects/0219","title":"Object Descriptions","heading":"Custom Prompts","text":"Frigate sends multiple frames from the tracked object along with a prompt to your Generative AI provider asking it to generate a description. The default prompt is as follows: :::tip Prompts can use variable replacements `{label}`, `{sub_label}`, and `{camera}` to substitute information from the tracked object as part of the prompt. ::: You can define custom prompts at the global level and per-object type. To configure custom prompts: 1. Navigate to Global configuration > Objects\" />. - Expand the **GenAI object config** section - Set **Caption prompt** to your custom prompt text - Under **Object prompts**, add entries keyed by object type (e.g., `person`, `car`) with custom prompts for each Prompts can also be overridden at the camera level to provide a more detailed prompt to the model about your specific camera. To c","url":"https://docs.frigate.video/configuration/genai/objects/","vehicles":[]},{"i":390,"id":"configuration/genai/objects","section_id":"frigate/configuration/genai/objects/0220","title":"Object Descriptions","heading":"Experiment with prompts","text":"Many providers also have a public facing chat interface for their models. Download a couple of different thumbnails or snapshots from Frigate and try new things in the playground to get descriptions to your liking before updating the prompt in Frigate. - OpenAI - [ChatGPT](https://chatgpt.com) - Gemini - [Google AI Studio](https://aistudio.google.com) - Ollama - [Open WebUI](https://docs.openwebui.com/)","url":"https://docs.frigate.video/configuration/genai/objects/","vehicles":[]},{"i":391,"id":"configuration/genai/objects","section_id":"frigate/configuration/genai/objects/0221","title":"Object Descriptions","heading":"Troubleshooting","text":"If descriptions are not being generated, or the generated descriptions are not what you expect, see [How do I debug GenAI issues?](/configuration/genai/genai_config#how-do-i-debug-genai-issues).","url":"https://docs.frigate.video/configuration/genai/objects/","vehicles":[]},{"i":392,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0222","title":"Review Summaries","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Generative AI can be used to automatically generate structured summaries of review items. These summaries will show up in Frigate's native notifications as well as in the UI. Generative AI can also be used to take a collection of summaries over a period of time and provide a report, which may be useful to get a quick report of everything that happened while out for some amount of time. Requests for a summary are requested automatically to your AI provider for alert review items when the activity has ended, they can also be optionally enabled for detections as well. Generative AI review summaries can also be toggled dynamically for a [camera via MQTT](/integrations/mqtt#frigatecamera_namereview_descriptionsset).","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":393,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0223","title":"Review Summaries","heading":"Review Summary Usage and Best Practices","text":"Review summaries provide structured JSON responses that are saved for each review item: This will show in multiple places in the UI to give additional context about each activity, and allow viewing more details when extra attention is required. Frigate's built in notifications will automatically show the title and `shortSummary` when the data is available, while the full `scene` description is available in the UI for detailed review.","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":394,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0224","title":"Review Summaries","heading":"Defining Typical Activity","text":"Each installation and even camera can have different parameters for what is considered suspicious activity. Frigate allows the `activity_context_prompt` to be defined globally and at the camera level, which allows you to define more specifically what should be considered normal activity. It is important that this is not overly specific as it can sway the output of the response. To configure the activity context prompt: Navigate to Global configuration > Review\" />. - Set **GenAI config > Activity context prompt** to your custom activity context text
Default Activity Context Prompt
","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":395,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0225","title":"Review Summaries","heading":"Image Source","text":"By default, review summaries use preview images (cached preview frames) which have a lower resolution but use fewer tokens per image. For better image quality and more detailed analysis, configure Frigate to extract frames directly from recordings at a higher resolution. Navigate to Global configuration > Review\" />. - Set **GenAI config > Enable GenAI descriptions** to on - Set **GenAI config > Review image source** to `recordings` (default is `preview`) When using `recordings`, frames are extracted at 480px height while maintaining the camera's original aspect ratio, providing better detail for the LLM while being mindful of context window size. This is particularly useful for scenarios where fine details matter, such as identifying license plates, reading text, or analyzing distant objects. The number of frames sent ","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":396,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0226","title":"Review Summaries","heading":"Additional Concerns","text":"Along with the concern of suspicious activity or immediate threat, you may have concerns such as animals in your garden or a gate being left open. Configure these concerns so that review summaries will make note of them if the activity requires additional review. Navigate to Global configuration > Review\" />. - Set **GenAI config > Additional concerns** to a list of your concerns (e.g., `animals in the garden`) ","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":397,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0227","title":"Review Summaries","heading":"Preferred Language","text":"By default, review summaries are generated in English. Configure Frigate to generate summaries in your preferred language by setting the `preferred_language` option. Navigate to Global configuration > Review\" />. - Set **GenAI config > Preferred language** to the desired language (e.g., `Spanish`) ","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":398,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0228","title":"Review Summaries","heading":"Frame Mode","text":"Review items are sent to the model as a sequence of still frames. Some models follow that sequence well on their own; others lose track of activity that repeats or reverses, and describe a single trip when the subject actually made several. The `frame_mode` option controls how those frames are presented. - `frames` (default): the prompt followed by the frames, exactly as earlier versions of Frigate sent them. - `annotated_frames`: each frame is preceded by its frame number and elapsed time, along with notes describing what the object tracker recorded at that moment, such as an object being first detected, starting to move, turning around, stopping, or no longer being detected. The notes come from tracking data rather than from the images, so they describe activity the model may not have picked up on its own. In testing with a person carrying three waste bins to the curb one at a time, `gemma4` described a single trip on every attempt wi","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":399,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0229","title":"Review Summaries","heading":"Response Style","text":"Different models respond to the built-in prompt with very different writing styles: some produce natural narration while others sound short and mechanical. The `response_style` option selects a writing style preset that rewords the prompt's instructions for the user-facing fields (the title, short summary, and scene description). Presets replace those instructions rather than adding extra ones, so the model never receives competing style directions. Available presets: - `default`: The built-in prompt, unchanged. This already reads like a neutral security report. - `natural`: Plain, everyday narration with flowing sentences and sentence-style headline titles. Useful when a model's output sounds robotic. - `concise`: As brief as possible while still covering each significant action, with terse two-to-four word titles. - `detailed`: Thorough descriptions and titles that include the most identifying specifics, like colors, clothing, and car","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":400,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0230","title":"Review Summaries","heading":"Review Reports","text":"Along with individual review item summaries, Generative AI can also produce a single report of review items from all cameras marked \"suspicious\" over a specified time period (for example, a daily summary of suspicious activity while you're on vacation).","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":401,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0231","title":"Review Summaries","heading":"Requesting Reports Programmatically","text":"Review reports can be requested via the [API](/integrations/api/generate-review-summary-review-summarize-start-start-ts-end-end-ts-post) by sending a POST request to `/api/review/summarize/start/{start_ts}/end/{end_ts}` with Unix timestamps. For Home Assistant users, there is a built-in service (`frigate.review_summarize`) that makes it easy to request review reports as part of automations or scripts. This allows you to automatically generate daily summaries, vacation reports, or custom time period reports based on your specific needs.","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":402,"id":"configuration/genai/review_summaries","section_id":"frigate/configuration/genai/review_summaries/0232","title":"Review Summaries","heading":"Troubleshooting","text":"If summaries are not being generated, or the generated summaries are not what you expect, see [How do I debug GenAI issues?](/configuration/genai/genai_config#how-do-i-debug-genai-issues).","url":"https://docs.frigate.video/configuration/genai/review_summaries/","vehicles":[]},{"i":403,"id":"configuration/go2rtc","section_id":"frigate/configuration/go2rtc/0233","title":"go2rtc","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Frigate uses the bundled go2rtc to power a number of key features: - WebRTC or MSE for live viewing with audio, higher resolutions and frame rates than the jsmpeg stream which is limited to the detect stream and does not support audio - Live stream support for cameras in Home Assistant Integration - RTSP relay for use with other consumers to reduce the number of connections to your camera streams :::tip[Most users no longer need to configure go2rtc by hand] The [**camera setup wizard**](cameras.md#adding-a-camera-with-the-add-camera-wizard) is the recommended way to add cameras. Click **Add Camera** in Global configuration > Camera management\" />, and the wizard probes your camera and writes its configuration for you, including the go2rtc restream and the live strea","url":"https://docs.frigate.video/configuration/go2rtc/","vehicles":[]},{"i":404,"id":"configuration/go2rtc","section_id":"frigate/configuration/go2rtc/0234","title":"go2rtc","heading":"Adding a go2rtc stream manually","text":"If you added your cameras with the wizard, go2rtc is already configured. You can skip straight to [troubleshooting](/troubleshooting/go2rtc). The steps below are for upgrading users with existing cameras that aren't using go2rtc yet, or for anyone who prefers to configure a stream by hand. Configure go2rtc to connect to your camera by adding the stream you want to use for live view. Avoid changing any other parts of your config at this step. Note that go2rtc supports [many different stream types](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#module-streams), not just rtsp. :::tip For the best experience, set the stream name under `go2rtc` to match the name of your camera so that Frigate will automatically map it and be able to use better live view options for the camera. See [the live view docs](/configuration/live#setting-streams-for-live-ui) for more information. ::: Navigate to :1984/editor.html`. Pairings are saved back to that file automatically. See the [HomeKit integration docs](/integrations/homekit) for the full setup, including the video and audio requirements HomeKit places on the stream.","url":"https://docs.frigate.video/configuration/go2rtc/","vehicles":[]},{"i":408,"id":"configuration/hardware_acceleration_enrichments","section_id":"frigate/configuration/hardware_acceleration_enrichments/0238","title":"Enrichments","heading":"Enrichments","text":"Some of Frigate's enrichments can use a discrete GPU or integrated GPU for accelerated processing.","url":"https://docs.frigate.video/configuration/hardware_acceleration_enrichments/","vehicles":[]},{"i":409,"id":"configuration/hardware_acceleration_enrichments","section_id":"frigate/configuration/hardware_acceleration_enrichments/0239","title":"Enrichments","heading":"Requirements","text":"Object detection and enrichments (like Semantic Search, Face Recognition, and License Plate Recognition) are independent features. To use a GPU / NPU for object detection, see the [Object Detectors](/configuration/object_detectors.md) documentation. If you want to use your GPU for any supported enrichments, you must choose the appropriate Frigate Docker image for your GPU / NPU and configure the enrichment according to its specific documentation. - **AMD** - ROCm support in the `-rocm` Frigate image is automatically detected for enrichments, but only some enrichment models are available due to ROCm's focus on LLMs and limited stability with certain neural network models. Frigate disables models that perform poorly or are unstable to ensure reliable operation, so only compatible enrichments may be active. - **Intel** - OpenVINO will automatically be detected and used for enrichments in the default Frigate image. - **Note:** Intel NPUs ha","url":"https://docs.frigate.video/configuration/hardware_acceleration_enrichments/","vehicles":[]},{"i":410,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0240","title":"Video Decoding","heading":"Overview","text":"import CommunityBadge from '@site/src/components/CommunityBadge'; import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\";","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":411,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0241","title":"Video Decoding","heading":"Video Decoding","text":"It is highly recommended to use an integrated or discrete GPU for hardware acceleration video decoding in Frigate. Some types of hardware acceleration are detected and used automatically, but you may need to update your configuration to enable hardware accelerated decoding in ffmpeg. To verify that hardware acceleration is working: - Check the logs: A message will either say that hardware acceleration was automatically detected, or there will be a warning that no hardware acceleration was automatically detected - If hardware acceleration is specified in the config, verification can be done by ensuring the logs are free from errors. There is no CPU fallback for hardware acceleration. Frigate supports presets for optimal hardware accelerated video decoding: **AMD** - [AMD](#amd-based-cpus): Frigate can utilize modern AMD integrated GPUs and AMD discrete GPUs to accelerate video decoding. **Intel** - [Intel](#intel-based-cpus): Frigate can","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":412,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0242","title":"Video Decoding","heading":"Intel-based CPUs","text":"Frigate can utilize most Intel integrated GPUs and Arc GPUs to accelerate video decoding. **Recommended hwaccel Preset** | CPU Generation | Intel Driver | Recommended Preset | Notes | | ------------------ | ------------ | ------------------- | ------------------------------------------- | | gen1 - gen5 | i965 | preset-vaapi | qsv is not supported, may not support H.265 | | gen6 - gen7 | iHD | preset-vaapi | qsv is not supported | | gen8 - gen12 | iHD | preset-vaapi | preset-intel-qsv-\\* can also be used | | gen13+ | iHD / Xe | preset-intel-qsv-\\* | | | Intel Arc A-series | iHD / Xe | preset-intel-qsv-\\* | | | Intel Arc B-series | iHD / Xe | preset-intel-qsv-\\* | Requires host kernel 6.12+ | :::note The default driver is `iHD`. You may need to change the driver to `i965` by adding the following environment variable `LIBVA_DRIVER_NAME=i965` to your docker-compose file or [in the `config.yml` for HA App users](advanced/system.md#environmen","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":413,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0243","title":"Video Decoding","heading":"Via VAAPI","text":"VAAPI supports automatic profile selection so it will work automatically with both H.264 and H.265 streams. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `VAAPI (Intel/AMD GPU)`. For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. ","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":414,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0244","title":"Video Decoding","heading":"H.264 streams","text":" Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `Intel QuickSync (H.264)`. For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. ","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":415,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0245","title":"Video Decoding","heading":"H.265 streams","text":" Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `Intel QuickSync (H.265)`. For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. ","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":416,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0246","title":"Video Decoding","heading":"Configuring Intel GPU Stats","text":"Frigate reads Intel GPU utilization directly from the kernel's per-client DRM usage counters exposed at `/proc//fdinfo/`. This requires: - An Intel GPU from Broadwell (5th gen) or newer. Older GPUs do not expose these counters on any kernel. - Linux kernel **5.19 or newer** for the `i915` driver (**6.5 or newer** on 12th gen and newer), or any release of the `xe` driver. - Frigate running with permission to read other processes' fdinfo. Running as root inside the container (the default) satisfies this; non-root setups may need `CAP_SYS_PTRACE`. No `intel_gpu_top` binary, `CAP_PERFMON`, privileged mode, or `perf_event_paranoid` tuning is required.","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":417,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0247","title":"Video Decoding","heading":"Stats for SR-IOV or specific devices","text":"If the host has more than one Intel GPU (e.g. an iGPU plus a discrete GPU, or SR-IOV virtual functions), pin stats collection to a specific device by setting `intel_gpu_device` to either its PCI bus address or a DRM card/render-node path: When passing a device path, make sure the device is also passed through to the container.","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":418,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0248","title":"Video Decoding","heading":"AMD-based CPUs","text":"Frigate can utilize modern AMD integrated GPUs and AMD GPUs to accelerate video decoding using VAAPI.","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":419,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0249","title":"Video Decoding","heading":"Configuring Radeon Driver","text":"You need to change the driver to `radeonsi` by adding the following environment variable `LIBVA_DRIVER_NAME=radeonsi` to your docker-compose file or [in the `config.yml` for HA App users](advanced/system.md#environment_vars).","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":420,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0250","title":"Video Decoding","heading":"Via VAAPI","text":"VAAPI supports automatic profile selection so it will work automatically with both H.264 and H.265 streams. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `VAAPI (Intel/AMD GPU)`. For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. ","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":421,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0251","title":"Video Decoding","heading":"NVIDIA GPUs","text":"While older GPUs may work, it is recommended to use modern, supported GPUs. NVIDIA provides a [matrix of supported GPUs and features](https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new). If your card is on the list and supports CUVID/NVDEC, it will most likely work with Frigate for decoding. However, you must also use [a driver version that will work with FFmpeg](https://github.com/FFmpeg/nv-codec-headers/blob/master/README). Older driver versions may be missing symbols and fail to work, and older cards are not supported by newer driver versions. The only way around this is to [provide your own FFmpeg](/configuration/advanced/system#custom-ffmpeg-build) that will work with your driver version, but this is unsupported and may not work well if at all. A more complete list of cards and their compatible drivers is available in the [driver release readme](https://download.nvidia.com/XFree86/Linux-x86_64/525.85.05/REA","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":422,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0252","title":"Video Decoding","heading":"Configuring Nvidia GPUs in Docker","text":"Additional configuration is needed for the Docker container to be able to access the NVIDIA GPU. The supported method for this is to install the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker) and specify the GPU to Docker. How you do this depends on how Docker is being run:","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":423,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0253","title":"Video Decoding","heading":"Setup Decoder","text":"Using `preset-nvidia` ffmpeg will automatically select the necessary profile for the incoming video, and will log an error if the profile is not supported by your GPU. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `NVIDIA GPU`. For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. If everything is working correctly, you should see a significant improvement in performance. Verify that hardware decoding is working by running `nvidia-smi`, which should show `ffmpeg` processes: :::note `nvidia-smi` will not show `ffmpeg` processes when run inside the container [due to docker limitations](https://github.com/NVIDIA/nvidia-docker/issues/179#issuecomment-645579458). ::: If you do not see these processes, check the `docker logs`","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":424,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0254","title":"Video Decoding","heading":"Raspberry Pi 3/4","text":"Ensure you increase the allocated RAM for your GPU to at least 128 (`raspi-config` > Performance Options > GPU Memory). If you are using the HA App, you may need to use the full access variant and turn off _Protection mode_ for hardware acceleration. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `Raspberry Pi (H.264)` (for H.264 streams) or `Raspberry Pi (H.265)` (for H.265/HEVC streams). For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. :::note If running Frigate through Docker, map the relevant `/dev/video*` devices into the container. Running in privileged mode also works but grants far more access than needed. With Docker Compose add: Or with `docker run`: `/dev/video11` is the correct device (on Raspberry Pi 4B","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":425,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0255","title":"Video Decoding","heading":"NVIDIA Jetson","text":"A separate set of docker images is available for Jetson devices. They come with an `ffmpeg` build with codecs that use the Jetson's dedicated media engine. If your Jetson host is running Jetpack 6.0+ use the `stable-tensorrt-jp6` tagged image. Note that the Orin Nano has no video encoder, so frigate will use software encoding on this platform, but the image will still allow hardware decoding and tensorrt object detection. You will need to use the image with the nvidia container runtime:","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":426,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0256","title":"Video Decoding","heading":"Docker Compose - Jetson","text":":::note The `runtime:` tag is not supported on older versions of docker-compose. If you run into this, you can instead use the nvidia runtime system-wide by adding `\"default-runtime\": \"nvidia\"` to `/etc/docker/daemon.json`: :::","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":427,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0257","title":"Video Decoding","heading":"Setup Decoder","text":"The decoder you need to pass in the `hwaccel_args` will depend on the input video. A list of supported codecs (you can use `ffmpeg -decoders | grep nvmpi` in the container to get the ones your card supports) For example, for H264 video, you'll select `preset-jetson-h264`. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `NVIDIA Jetson (H.264)` (or `NVIDIA Jetson (H.265)` for HEVC streams). For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. If everything is working correctly, you should see a significant reduction in ffmpeg CPU load and power consumption. Verify that hardware decoding is working by running `jtop` (`sudo pip3 install -U jetson-stats`), which should show that NVDEC/NVDEC1 are in use.","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":428,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0258","title":"Video Decoding","heading":"Rockchip platform","text":"Hardware accelerated video de-/encoding is supported on all Rockchip SoCs using [Nyanmisaka's FFmpeg 6.1 Fork](https://github.com/nyanmisaka/ffmpeg-rockchip) based on [Rockchip's mpp library](https://github.com/rockchip-linux/mpp).","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":429,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0259","title":"Video Decoding","heading":"Configuration","text":"Set the FFmpeg hwaccel preset to enable hardware video processing. Navigate to Global configuration > FFmpeg\" /> and set **Hardware acceleration arguments** to `Rockchip RKMPP`. For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. :::note Make sure that your SoC supports hardware acceleration for your input stream. For example, if your camera streams with h265 encoding and a 4k resolution, your SoC must be able to de- and encode h265 with a 4k resolution or higher. If you are unsure whether your SoC meets the requirements, take a look at the datasheet. ::: :::warning If one or more of your cameras are not properly processed and this error is shown in the logs: you should try to upgrade to FFmpeg 7. This can be done using this config option: You can set this option ","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":430,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0260","title":"Video Decoding","heading":"Configuration","text":"Set the FFmpeg hwaccel args to enable hardware video processing. Navigate to Global configuration > FFmpeg\" /> and configure the hardware acceleration args and input args manually for Synaptics hardware. For per-camera overrides, navigate to Camera configuration > Streams (FFmpeg)\" />. :::warning Make sure that your SoC supports hardware acceleration for your input stream and your input stream is h264 encoding. For example, if your camera streams with h264 encoding, your SoC must be able to de- and encode with it. If you are unsure whether your SoC meets the requirements, take a look at the datasheet. :::","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":431,"id":"configuration/hardware_acceleration_video","section_id":"frigate/configuration/hardware_acceleration_video/0261","title":"Video Decoding","heading":"Apple Silicon Mac (lighter)","text":"[lighter](https://github.com/fieldwork-ai/lighter) is an open-source container runtime for macOS. It gives a container the Mac's media engine as a standard V4L2 decoder, backed by VideoToolbox, so Frigate decodes H.264 and H.265 streams in hardware with the ffmpeg it already ships. It works on M1 and newer Macs with lighter 0.9.2 or newer. Give the container the video device. With Docker Compose: Or with `docker run`, add `--device lighter.sh/video=all`. Then set the preset for the codec your cameras stream. The decoder is specific to the codec, so if your cameras mix H.264 and H.265, set the preset for the most common codec globally and override it on the other cameras: The presets decode on the media engine and encode the Birdseye restream and timelapses there too. Scaling to the detect resolution runs on the CPU, as ffmpeg's V4L2 decoders cannot scale. lighter can also run object detection on the Mac's Neural Engine; see [Apple Neura","url":"https://docs.frigate.video/configuration/hardware_acceleration_video/","vehicles":[]},{"i":432,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0262","title":"License Plate Recognition (LPR)","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; import FaqItem from \"@site/src/components/FaqItem\"; Frigate can recognize license plates on vehicles and automatically add the detected characters to the `recognized_license_plate` field or a [known](#matching) name as a `sub_label` to tracked objects of type `car`, `motorcycle`, `bus`, `truck`, `school_bus`, or `garbage_truck`, depending on which of those labels your model detects. A common use case may be to read the license plates of cars pulling into a driveway or cars passing by on a street. LPR works best when the license plate is clearly visible to the camera. For moving vehicles, Frigate continuously refines the recognition process, keeping the most confident result. When a vehicle becomes stationary, LPR continues to run for a short time after to attempt recognition. :::info License","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":433,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0263","title":"License Plate Recognition (LPR)","heading":"Model Requirements","text":"Users running a Frigate+ model (or any custom model that natively detects license plates) should ensure that `license_plate` is added to the [list of objects to track](https://docs.frigate.video/plus/#available-label-types) either globally or for a specific camera. This will improve the accuracy and performance of the LPR model. Users without a model that detects license plates can still run LPR. Frigate uses a lightweight YOLOv9 license plate detection model that can be configured to run on your CPU or GPU. In this case, you should _not_ define `license_plate` in your list of objects to track. :::note In the default mode, Frigate's LPR needs to first detect a vehicle before it can recognize a license plate. If you're using a dedicated LPR camera and have a zoomed-in view where a vehicle will not be detected, you can still run LPR, but the configuration parameters will differ from the default mode. See the [Dedicated LPR Cameras](#dedic","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":434,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0264","title":"License Plate Recognition (LPR)","heading":"Minimum System Requirements","text":"License plate recognition works by running AI models locally on your system. The YOLOv9 plate detector model and the OCR models ([PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)) are relatively lightweight and can run on your CPU or GPU, depending on your configuration. At least 4GB of RAM and a CPU with AVX + AVX2 instructions is required.","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":435,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0265","title":"License Plate Recognition (LPR)","heading":"Configuration","text":"License plate recognition is disabled by default and must be enabled before it can be used. Navigate to Enrichments > License plate recognition\" />. - Set **Enable LPR** to on Like other enrichments in Frigate, LPR **must be enabled globally** to use the feature. Disable it for specific cameras at the camera level if you don't want to run LPR on cars on those cameras. Navigate to Camera configuration > License plate recognition\" /> for the desired camera and disable the **Enable LPR** toggle. For non-dedicated LPR cameras, ensure that your camera is configured to detect vehicle objects, and that a vehicle is actually being detected by Frigate. Otherwise, LPR will not run. The object types that can carry","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":436,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0266","title":"License Plate Recognition (LPR)","heading":"Advanced Configuration","text":"Fine-tune the LPR feature using these optional parameters. The only optional parameters that can be set at the camera level are `enabled`, `min_area`, and `enhancement`.","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":437,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0267","title":"License Plate Recognition (LPR)","heading":"Detection","text":" Navigate to Enrichments > License plate recognition\" />. - **Detection threshold**: License plate object detection confidence score required before recognition runs. This field only applies to the standalone license plate detection model; `threshold` and `min_score` object filters should be used for models like Frigate+ that have license plate detection built in. - Default: `0.7` - **Minimum plate area**: Minimum area (in pixels) a license plate must be before recognition runs. This is an _area_ measurement (length x width). For reference, 1000 pixels represents a ~32x32 pixel square in your camera image. Depending on the resolution of your camera's `detect` stream, you can increase this value to ignore small or distant plates. - Default: `1000` pixels - **Device**: Device to use to run license plate detection _and_ recognition models. Auto-selected by Frigate and can be `CPU`,","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":438,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0268","title":"License Plate Recognition (LPR)","heading":"Recognition","text":" Navigate to Enrichments > License plate recognition\" />. - **Recognition threshold**: Recognition confidence score required to add the plate to the object as a `recognized_license_plate` and/or `sub_label`. - Default: `0.9` - **Min plate length**: Minimum number of characters a detected license plate must have to be added as a `recognized_license_plate` and/or `sub_label`. Use this to filter out short, incomplete, or incorrect detections. - **Plate format regex**: A regular expression defining the expected format of detected plates. Plates that do not match this format will be discarded. Websites like https://regex101.com/ can help test regular expressions for your plates. ","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":439,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0269","title":"License Plate Recognition (LPR)","heading":"Matching","text":" Navigate to Enrichments > License plate recognition\" />. - **Known plates**: Assign custom `sub_label` values to vehicle objects when a recognized plate matches a known value. These labels appear in the UI, filters, and notifications. Unknown plates are still saved but are added to the `recognized_license_plate` field rather than the `sub_label`. - **Match distance**: Allows for minor variations (missing/incorrect characters) when matching a detected plate to a known plate. For example, setting to `1` allows a plate `ABCDE` to match `ABCBE` or `ABCD`. This parameter will _not_ operate on known plates that are defined as regular expressions. ","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":440,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0270","title":"License Plate Recognition (LPR)","heading":"Image Enhancement","text":" Navigate to Enrichments > License plate recognition\" />. - **Enhancement level**: A value between 0 and 10 that adjusts the level of image enhancement applied to captured license plates before they are processed for recognition. Higher values increase contrast, sharpen details, and reduce noise, but excessive enhancement can blur or distort characters. This setting is best adjusted at the camera level if running LPR on multiple cameras. - Default: `0` (no enhancement) If Frigate is already recognizing plates correctly, leave enhancement at the default of `0`. However, if you're experiencing frequent character issues or incomplete plates and you can already easily read the plates yourself, try increasing the value gradually, starting at 3 and adjusting as needed. Use the `debug_save_plates` configuration option (see belo","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":441,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0271","title":"License Plate Recognition (LPR)","heading":"Normalization Rules","text":" Navigate to Enrichments > License plate recognition\" />. Under **Replacement rules**, add regex rules to normalize detected plate strings before matching. Rules fire in order. For example: | Pattern | Replacement | Description | | ---------------- | ----------- | -------------------------------------------------- | | `[%#*?]` | _(empty)_ | Remove noise symbols | | `[= ]` | `-` | Normalize `=` or space to dash | | `O` | `0` | Swap `O` to `0` (common OCR error) | | `I` | `1` | Swap `I` to `1` | | `(\\w{3})(\\w{3})` | `\\1-\\2` | Split 6 chars into groups (e.g., ABC123 \u2192 ABC-123) | These rules must be defined at the global level of your `lpr` config. - Rules fire in order: In the example above: clean noise first, then separators, then swaps, then splits. - Backrefs (`\\1`, `\\2`) allow dynamic replacements (e.g., capture groups)","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":442,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0272","title":"License Plate Recognition (LPR)","heading":"Debugging","text":" Navigate to Enrichments > License plate recognition\" />. - **Save debug plates**: Set to on to save captured text on plates for debugging. These images are stored in `/media/frigate/clips/lpr`, organized into subdirectories by `/`, and named based on the capture timestamp. The saved images are not full plates but rather the specific areas of text detected on the plates. It is normal for the text detection model to sometimes find multiple areas of text on the plate. Use them to analyze what text Frigate recognized and how image enhancement affects detection. **Note:** Frigate does **not** automatically delete these debug images. Once LPR is functioning correctly, you should disable this option and manually remove the saved files to free up storage.","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":443,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0273","title":"License Plate Recognition (LPR)","heading":"Configuration Examples","text":"These configuration parameters are available at the global level. The only optional parameters that should be set at the camera level are `enabled`, `min_area`, and `enhancement`. Navigate to Enrichments > License plate recognition\" />. | Field | Description | | ------------------------------ | ----------------------------------------------------------------------------------------------------- | | **Enable LPR** | Set to on | | **Minimum plate area** | Set to `1500` to ignore plates with an area (length x width) smaller than 1500 pixels | | **Min plate length** | Set to `4` to only recognize plates with 4 or more characters | | **Known plates > Wife's Car** | `ABC-1234`, `ABC-I234` (accounts for potential confusion between the number one and capital letter I) | | **Known plates > Johnny** | `J*N-*234` (matches JHN-1234 and JMN-I234; `*` matches any number of characters) | | **","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":444,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0274","title":"License Plate Recognition (LPR)","heading":"Dedicated LPR Cameras","text":"Dedicated LPR cameras are single-purpose cameras with powerful optical zoom to capture license plates on distant vehicles, often with fine-tuned settings to capture plates at night. To mark a camera as a dedicated LPR camera, set `type: \"lpr\"` in the camera configuration. :::note Frigate's dedicated LPR mode is optimized for cameras with a narrow field of view, specifically positioned and zoomed to capture license plates exclusively. If your camera provides a general overview of a scene rather than a tightly focused view, this mode is not recommended. ::: Users can configure Frigate's dedicated LPR mode in two different ways depending on whether a Frigate+ (or native `license_plate` detecting) model is used:","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":445,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0275","title":"License Plate Recognition (LPR)","heading":"Using a Frigate+ (or Native `license_plate` Detecting) Model","text":"Users running a Frigate+ model (or any model that natively detects `license_plate`) can take advantage of `license_plate` detection. This allows license plates to be treated as standard objects in dedicated LPR mode, meaning that alerts, detections, snapshots, and other Frigate features work as usual, and plates are detected efficiently through your configured object detector. An example configuration for a dedicated LPR camera using a `license_plate`-detecting model: Navigate to Enrichments > License plate recognition\" /> and set **Enable LPR** to on. Set **Device** to `CPU` (can also be `GPU` if available). Navigate to Camera configuration > Streams (FFmpeg)\" /> and add your camera streams. Navigate to Camera configuration > Object detection\" />. | Field | Description | | --------------------------------- | -----------------","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":446,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0276","title":"License Plate Recognition (LPR)","heading":"Using the Secondary LPR Pipeline (Without Frigate+)","text":"If you are not running a Frigate+ model, you can use Frigate's built-in secondary dedicated LPR pipeline. In this mode, Frigate bypasses the standard object detection pipeline and runs a local license plate detector model on the full frame whenever motion activity occurs. An example configuration for a dedicated LPR camera using the secondary pipeline: Navigate to Enrichments > License plate recognition\" /> and set **Enable LPR** to on. Set **Device** to `CPU` (can also be `GPU` if available and the correct Docker image is used). Set **Detection threshold** to `0.7` (change if necessary). Navigate to Camera configuration > License plate recognition\" /> for your dedicated LPR camera. | Field | Description | | --------------------- | -------------------------------------------------------------------------------- | | **Enable LPR** | Set to on | | **Enha","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":447,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0277","title":"License Plate Recognition (LPR)","heading":"Summary","text":"| Feature | Native `license_plate` detecting Model (like Frigate+) | Secondary Pipeline (without native model or Frigate+) | | ----------------------- | ------------------------------------------------------ | --------------------------------------------------------------- | | License Plate Detection | Uses `license_plate` as a tracked object | Runs a dedicated LPR pipeline | | FPS Setting | 5 (increase for fast-moving cars) | 5 (increase for fast-moving cars, but it may use much more CPU) | | Object Detection | Standard Frigate+ detection applies | Bypasses standard object detection | | Debug View | May show `license_plate` bounding boxes | May **not** show `license_plate` bounding boxes | | MQTT `frigate/events` | Publishes tracked object updates | Publishes limited updates | | Explore | Recognized plates available in More Filters | Recognized plates available in More Filters | By selecting the appropriate configuration, users can opt","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":448,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0278","title":"License Plate Recognition (LPR)","heading":"Best practices for using Dedicated LPR camera mode","text":"- Tune your motion detection and increase the `contour_area` until you see only larger motion boxes being created as cars pass through the frame (likely somewhere between 50-90 for a 1920x1080 detect stream). Increasing the `contour_area` filters out small areas of motion and will prevent excessive resource use from looking for license plates in frames that don't even have a car passing through it. - Disable the `improve_contrast` motion setting, especially if you are running LPR at night and the frame is mostly dark. This will prevent small pixel changes and smaller areas of motion from triggering license plate detection. - Ensure your camera's timestamp is covered with a motion mask so that it's not incorrectly detected as a license plate. - For non-Frigate+ users, you may need to change your camera settings for a clearer image or decrease your global `recognition_threshold` config if your plates are not being accurately recognized at","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":449,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0279","title":"License Plate Recognition (LPR)","heading":"Detection and Recognition","text":" Ensure that: - Your camera has a clear, human-readable, well-lit view of the plate. If you can't read the plate's characters, Frigate certainly won't be able to, even if the model is recognizing a `license_plate`. This may require changing video size, quality, or frame rate settings on your camera, depending on your scene and how fast the vehicles are traveling. - The plate is large enough in the image (try adjusting `min_area`) or increasing the resolution of your camera's stream. - Your `enhancement` level (if you've changed it from the default of `0`) is not too high. Too much enhancement will run too much denoising and cause the plate characters to become blurry and unreadable. If you are using a Frigate+ model or a custom model that detects license plates, ensure that `license_plate` is added t","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":450,"id":"configuration/license_plate_recognition","section_id":"frigate/configuration/license_plate_recognition/0280","title":"License Plate Recognition (LPR)","heading":"Performance and Troubleshooting","text":" Start with [\"Why isn't my license plate being detected and recognized?\"](#why-isnt-my-license-plate-being-detected-and-recognized). If you are still having issues, work through these steps. 1. Start with a simplified LPR config. - Remove or comment out everything in your LPR config, including `min_area`, `min_plate_length`, `format`, `known_plates`, or `enhancement` values so that the only values left are `enabled` and `debug_save_plates`. This will run LPR with Frigate's default values. Navigate to Enrichments > License plate recognition\" />. - Set **Enable LPR** to on - Set **Device** to `CPU` - Set **Save debug plates** to on 2. Enable debug logs to see exactly what Frigate is doing. - Enable debug logs for LPR by adding `frigate.data_proc","url":"https://docs.frigate.video/configuration/license_plate_recognition/","vehicles":[]},{"i":451,"id":"configuration/live","section_id":"frigate/configuration/live/0281","title":"Live View","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; import FaqItem from \"@site/src/components/FaqItem\"; Frigate intelligently displays your camera streams on the Live view dashboard. By default, Frigate employs \"smart streaming\" where camera images update once per minute when no detectable activity is occurring to conserve bandwidth and resources. As soon as any motion or active objects are detected, cameras seamlessly switch to a live stream.","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":452,"id":"configuration/live","section_id":"frigate/configuration/live/0282","title":"Live View","heading":"Live View technologies","text":"Frigate intelligently uses three different streaming technologies to display your camera streams on the dashboard and the single camera view, switching between available modes based on network bandwidth, player errors, or required features like two-way talk. The highest quality and fluency of the Live view requires the bundled `go2rtc` to be [configured](/configuration/go2rtc). The jsmpeg live view will use more browser and client GPU resources. Using go2rtc is highly recommended and will provide a superior experience. | Source | Frame Rate | Resolution | Audio | Requires go2rtc | Notes | | ------ | ------------------------------------- | ---------- | ---------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | jsmpeg | same as `detect -> fps`, capped at 10 | 720p | no | no | Resolut","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":453,"id":"configuration/live","section_id":"frigate/configuration/live/0283","title":"Live View","heading":"Selecting a streaming technology","text":"Frigate [defaults to MSE](#why-does-frigate-prefer-mse-over-webrtc-for-live-view) for restreamed cameras by design. To use WebRTC, select it explicitly from a camera's single-camera Live view settings (the settings menu in the camera's Live view header on desktop, or the settings drawer on mobile). Three related controls work together: - **Stream**: _what_ to play. This lists the [streams you've configured](#setting-streams-for-live-ui) (for example `Main Stream` and `Sub Stream`). - **Force low-bandwidth mode**: a switch that always plays Frigate's built-in low-bandwidth feed (the stream assigned the `detect` role, using JSMpeg) instead of the selected stream. It works anywhere without go2rtc and is useful on slow or metered connections. While it is enabled, the stream and streaming technology selectors are disabled; your stream and technology choices are restored when you turn it off. - **Streaming Technology**: _how_ to play the sele","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":454,"id":"configuration/live","section_id":"frigate/configuration/live/0284","title":"Live View","heading":"Camera Settings Recommendations","text":"If you are using go2rtc, you should adjust the following settings in your camera's firmware for the best experience with Live view: - Video codec: **H.264** - provides the most compatible video codec with all Live view technologies and browsers. Avoid any kind of \"smart codec\" or \"+\" codec like _H.264+_ or _H.265+_. as these non-standard codecs remove keyframes (see below). - Audio codec: **AAC** - provides the most compatible audio codec with all Live view technologies and browsers that support audio. - I-frame interval (sometimes called the keyframe interval, the interframe space, or the GOP length): match your camera's frame rate, or choose \"1x\" (for interframe space on Reolink cameras). For example, if your stream outputs 20fps, your i-frame interval should be 20 (or 1x on Reolink). Values higher than the frame rate will cause the stream to take longer to begin playback. See [this page](https://web.archive.org/web/20251213190836/htt","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":455,"id":"configuration/live","section_id":"frigate/configuration/live/0285","title":"Live View","heading":"Audio Support","text":"MSE Requires PCMA/PCMU or AAC audio, WebRTC requires PCMA/PCMU or opus audio. If you want to support both MSE and WebRTC then your restream config needs to make sure both are enabled. If your camera does not support AAC audio or are having problems with Live view, try transcoding to AAC audio directly: If your camera does not have audio and you are having problems with Live view, you should have go2rtc send video only:","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":456,"id":"configuration/live","section_id":"frigate/configuration/live/0286","title":"Live View","heading":"Setting Streams For Live UI","text":"You can configure Frigate to allow manual selection of the stream you want to view in the Live UI. For example, you may want to view your camera's substream on mobile devices, but the full resolution stream on desktop devices. Setting the streams list will populate a dropdown in the UI's Live view that allows you to choose between the streams. This stream setting is _per device_ and is saved in your browser's local storage. When a camera has more than one stream, the dropdown also offers **Auto**, which is used until you pick a specific stream. Auto starts on the first stream, steps down the list when your connection can't keep up, and steps back up when it recovers. To retry the top stream right away, select **Try highest quality** under the stream picker. List streams from highest to lowest quality, and avoid names that are plain numbers (such as `720`), which the browser sorts ahead of the others. In the UI, drag streams to reorder t","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":457,"id":"configuration/live","section_id":"frigate/configuration/live/0287","title":"Live View","heading":"Transcoded streams","text":"When a camera has no suitable sub stream, Frigate can add lower-quality streams that go2rtc transcodes to H.264 while someone is watching. They appear in the stream list like any other stream, so Auto mode can step down to them. Enable them under Camera configuration > Live playback\" />, or in YAML: Each quality becomes a go2rtc stream named `_transcode_p`. go2rtc picks a hardware encoder automatically and falls back to the CPU, which costs CPU for each transcode while it is being watched. Check go2rtc's `api/ffmpeg/hardware` page to see which encoder it found. Using a sub stream as the `source` lowers the cost.","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":458,"id":"configuration/live","section_id":"frigate/configuration/live/0288","title":"Live View","heading":"WebRTC extra configuration:","text":"WebRTC works by creating a TCP or UDP connection on port `8555`. However, it requires additional configuration: - For external access, over the internet, setup your router to forward port `8555` to port `8555` on the Frigate device, for both TCP and UDP. - For internal/local access, unless you are running through the HA App, you will also need to set the WebRTC candidates list in the go2rtc config. For example, if `192.168.1.10` is the local IP of the device running Frigate: - The web UI uses the STUN and TURN servers in `ice_servers` and falls back to Google's public STUN server when none are set: - For access through Tailscale, the Frigate system's Tailscale IP must be added as a WebRTC candidate. Tailscale IPs all start with `100.`, and are reserved within the `100.64.0.0/10` CIDR block. - Note that some browsers may not support H.265 (HEVC). You can check your browser's current version for H.265 compatibility [here](https://github.c","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":459,"id":"configuration/live","section_id":"frigate/configuration/live/0289","title":"Live View","heading":"Two way talk","text":"For devices that support two way talk, Frigate can be configured to use the feature from the camera's Live view in the Web UI. You should: - Set up go2rtc with [WebRTC](#webrtc-extra-configuration). - Ensure you access Frigate via https (may require [opening port 8971](/frigate/installation/#ports)). - For the Home Assistant Frigate card, [follow the docs](http://card.camera/#/usage/2-way-audio) for the correct source. The two-way talk control in the single-camera Live view is only enabled when WebRTC is available; if WebRTC isn't configured or can't connect, the control is shown disabled. To use the Reolink Doorbell with two way talk, you should use the [recommended Reolink configuration](/configuration/camera_specific#reolink-cameras) As a starting point to check compatibility for your camera, view the list of cameras supported for two-way talk on the [go2rtc repository](https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#two-way-aud","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":460,"id":"configuration/live","section_id":"frigate/configuration/live/0290","title":"Live View","heading":"Streaming options on camera group dashboards","text":"Frigate provides a dialog in the Camera Group Edit pane with several options for streaming on a camera group's dashboard. These settings are _per device_ and are saved in your device's local storage. - Stream selection using the streams configuration option (see _Setting Streams For Live UI_ above) - Streaming type: - _No streaming_: Camera images will only update once per minute and no live streaming will occur. - _Smart Streaming_ (default, recommended setting): Smart streaming will update your camera image once per minute when no detectable activity is occurring to conserve bandwidth and resources, since a static picture is the same as a streaming image with no motion or objects. When motion or objects are detected, the image seamlessly switches to a live stream. - _Continuous Streaming_: Camera image will always be a live stream when visible on the dashboard, even if no activity is being detected. Continuous streaming may cause high","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":461,"id":"configuration/live","section_id":"frigate/configuration/live/0291","title":"Live View","heading":"jsmpeg Stream Quality","text":"The jsmpeg live view resolution and encoding quality can be adjusted globally or per camera. These settings only affect the jsmpeg player and do not apply when go2rtc is used for live view. Navigate to Global configuration > Live playback\" /> for global defaults, or Camera configuration > Live playback\" /> and select a camera for per-camera overrides. | Field | Description | | ---------------- | --------------------------------------------------------------------------------------------------- | | **Live height** | Height in pixels for the jsmpeg live stream; must be less than or equal to the detect stream height | | **Live quality** | Encoding quality for the jsmpeg stream (1 = highest, 31 = lowest) | ","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":462,"id":"configuration/live","section_id":"frigate/configuration/live/0292","title":"Live View","heading":"Camera state","text":"Each camera has three possible states, surfaced as a status selector in **Settings \u2192 Global configuration \u2192 Camera management**: - **On**: streams are processed normally. Object detection, recording, and Live view are active. - **Off**: Frigate's ffmpeg processes are paused. Recording stops, object detection is paused, and the Live dashboard displays a blank image with a \"Camera is off\" message. The camera is still visible in the Live dashboard and its past review items, tracked objects, and historical footage remain accessible via the UI. The Off state persists across Frigate restarts via a `.runtime_state.json` file alongside `config.yml` (see [Runtime toggle persistence](#runtime-toggle-persistence)). - **Disabled**: the change is saved to your configuration file (`enabled: False`). The camera stops immediately, Frigate stops ffmpeg processes, and all live and historical UI elements for the camera are no longer visible but remains re","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":463,"id":"configuration/live","section_id":"frigate/configuration/live/0293","title":"Live View","heading":"Turning a camera on or off","text":"Turning a camera off is temporary and does not require a restart. The available controls are: - The power button in the single-camera Live view header - The right-click context menu on a camera tile on the Live dashboard - The Camera management settings pane (status set to **Off**) - The mobile settings drawer on the single-camera Live view (admin users only) - The [MQTT topic](/integrations/mqtt#frigatecamera_nameenabledset) `frigate//enabled/set` with payload `ON` or `OFF` - The Home Assistant integration via the [`camera.turn_on` / `camera.turn_off` actions](/integrations/home-assistant#camera-api)","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":464,"id":"configuration/live","section_id":"frigate/configuration/live/0294","title":"Live View","heading":"Disabling a camera","text":"Disabling a camera saves the change to your configuration file. Navigate to **Settings \u2192 Global configuration \u2192 Camera management** and set the camera's status to **Disabled**. Runtime processing stops immediately; the change persists across restarts. Re-enabling a disabled camera requires a restart of Frigate so that the ffmpeg processes and other camera-scoped resources can be initialized. The UI will prompt you to restart when you switch a disabled camera back to On.","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":465,"id":"configuration/live","section_id":"frigate/configuration/live/0295","title":"Live View","heading":"Restream behavior","text":"For both Off and Disabled cameras, go2rtc remains active but does not use system resources for decoding or processing unless there are active external consumers (such as the Advanced Camera Card in Home Assistant using a go2rtc source).","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":466,"id":"configuration/live","section_id":"frigate/configuration/live/0296","title":"Live View","heading":"Choosing Off versus Disabled","text":"If you want a camera's historical data (review items, tracked objects, footage) to stay accessible in the UI while you stop processing, set the camera to **Off**. If you want the camera fully removed from the Live dashboard, review filters, and other UI surfaces, set it to **Disabled**. The Disabled state still keeps the camera in Camera management so it can be re-enabled later; if you want to remove all traces of a camera including its configuration, delete it via Camera management instead.","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":467,"id":"configuration/live","section_id":"frigate/configuration/live/0297","title":"Live View","heading":"Runtime toggle persistence","text":"The Live view toggles for **camera on/off**, **detect**, **recordings**, **snapshots**, and **audio detection** (along with the equivalent MQTT `/set` topics) write the new state to `.runtime_state.json` next to your `config.yml`. The file is replayed on Frigate startup so your last-known toggle states survive a restart. Two interactions worth knowing: - **Settings UI saves win.** When you save a field through **Settings \u2192 Global configuration**, the matching entry is cleared from `.runtime_state.json` so the new value in your config file is the durable source. - **Switching profiles clears all runtime overrides.** Activating or deactivating a [profile](/configuration/profiles) is treated as a deliberate state change, so the file is wiped to avoid stale overrides replaying on top of the new profile. If you hand-edit `config.yml` while runtime overrides exist, the overrides will still replay on restart. Delete `.runtime_state.json` to re","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":468,"id":"configuration/live","section_id":"frigate/configuration/live/0298","title":"Live View","heading":"Live player error messages","text":"When your browser runs into problems playing back your camera streams, it will log short error messages to the browser console. They indicate playback, codec, or network issues on the client/browser side, not something server side with Frigate itself. Below are the common messages you may see and simple actions you can take to try to resolve them. - **startup** - What it means: The player failed to initialize or connect to the live stream (network or startup error). - What to try: Reload the Live view or click _Reset_. Verify `go2rtc` is running and the camera stream is reachable. Try switching to a different stream from the Live UI dropdown (if available) or use a different browser. - Possible console messages from the player code: - `Error opening MediaSource.` - `Browser reported a network error.` - `Max error count ${errorCount} exceeded.` (the numeric value will vary) - **mse-decode** - What it means: The browser reported a decodin","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":469,"id":"configuration/live","section_id":"frigate/configuration/live/0299","title":"Live View","heading":"Getting Live View Working","text":" You must use go2rtc to hear audio in your live streams. If you have go2rtc already configured, you need to ensure your camera is sending PCMA/PCMU or AAC audio. If you can't change your camera's audio codec, you need to [transcode the audio](https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-ffmpeg) using go2rtc. If the audio controls don't appear in the UI at all, verify that the Live view is actually using your go2rtc stream. If your go2rtc stream names don't match your Frigate camera name, you must map them with the `live -> streams` config (see [Setting Streams For Live UI](#setting-streams-for-live-ui) above); otherwise the UI falls back to the video-only jsmpeg player. Note that the low bandwidth mode player is a video-only stream. You should not expect to hear audio when in low bandwidth mode, even if you've set up go2","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":470,"id":"configuration/live","section_id":"frigate/configuration/live/0300","title":"Live View","heading":"Streaming Behavior","text":" Because a static image of a scene looks exactly the same as a live stream with no motion or activity, smart streaming updates your camera images once per minute when no detectable activity is occurring to conserve bandwidth and resources. As soon as any activity (motion or object/audio detection) occurs, cameras seamlessly switch to a live stream. This static image is pulled from the stream defined in your config with the `detect` role. When activity is detected, images from the `detect` stream immediately begin updating at ~5 frames per second so you can see the activity until the live player is loaded and begins playing. This usually only takes a second or two. If the live player times out, buffers, or has streaming errors, the jsmpeg player is loaded and plays a video-only stream from the `detect` role. When activity ends, the players are destr","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":471,"id":"configuration/live","section_id":"frigate/configuration/live/0301","title":"Live View","heading":"Video Quality Issues","text":" This is caused by incorrect dimensions set in your detect width or height (or incorrectly auto-detected), causing the jsmpeg player's rendering engine to display a slightly distorted image. You should enlarge the width and height of your `detect` resolution up to a standard aspect ratio (example: 640x352 becomes 640x360, and 800x443 becomes 800x450, 2688x1520 becomes 2688x1512, etc). If changing the resolution to match a standard (4:3, 16:9, or 32:9, etc) aspect ratio does not solve the issue, you can enable \"compatibility mode\" in your camera group dashboard's stream settings. Depending on your browser and device, more than a few cameras in compatibility mode may not be supported, so only use this option if changing your `detect","url":"https://docs.frigate.video/configuration/live/","vehicles":[]},{"i":472,"id":"configuration/masks","section_id":"frigate/configuration/masks/0302","title":"Masks","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Frigate has two kinds of masks: motion masks and object filter masks. Both are narrow tools for fine-tuning, **not for hiding an area from Frigate**. Masks should be used sparingly; in most cases where users reach for one, a [zone](zones.md) with [`required_zones`](zones.md#restricting-alerts-and-detections-to-specific-zones) is the right tool instead. See [Which tool do I need?](#which-tool-do-i-need) and [Common mistakes](#common-mistakes) below if you're new to Frigate's mask behavior.","url":"https://docs.frigate.video/configuration/masks/","vehicles":[]},{"i":473,"id":"configuration/masks","section_id":"frigate/configuration/masks/0303","title":"Masks","heading":"Motion masks","text":"Motion masks are used to prevent unwanted types of motion from triggering detection. Try watching the [Debug view](/usage/live#the-single-camera-view) with `Motion Boxes` enabled to see what may be regularly detected as motion. For example, you want to mask out your timestamp, the sky, rooftops, etc. Keep in mind that this mask only prevents motion from being detected and does not prevent objects from being detected if object detection was started due to motion in unmasked areas. Motion is also used during object tracking to refine the object detection area in the next frame. _Over-masking will make it more difficult for objects to be tracked._ See [further clarification](#further-clarification) below on why you may not want to use a motion mask.","url":"https://docs.frigate.video/configuration/masks/","vehicles":[]},{"i":474,"id":"configuration/masks","section_id":"frigate/configuration/masks/0304","title":"Masks","heading":"Object filter masks","text":"Object filter masks are used to filter out false positives for a given object type based on location. These should be used to filter any areas where it is not possible for an object of that type to be. The bottom center of the detected object's bounding box is evaluated against the mask. If it is in a masked area, it is assumed to be a false positive. For example, you may want to mask out rooftops, walls, the sky, treetops for people. For cars, masking locations other than the street or your driveway will tell Frigate that anything in your yard is a false positive. Object filter masks can be used to filter out stubborn false positives in fixed locations. For example, the base of this tree may be frequently detected as a person. The following image shows an example of an object filter mask (shaded red area) over the location where the bottom center is typically located to filter out person detections in a precise location.","url":"https://docs.frigate.video/configuration/masks/","vehicles":[]},{"i":475,"id":"configuration/masks","section_id":"frigate/configuration/masks/0305","title":"Masks","heading":"Which tool do I need?","text":"| What you're trying to do | Recommended tool | How it works | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Only get alerts/detections for activity in the areas you care about, ignoring activity elsewhere (e.g., alert when someone enters your yard, but not when they walk past on the sidewalk) | A [zone](zones.md) combined with [`required_zones`](zones.md#restricting-alerts-and-detections-to-specific-zones) | Frigate keeps detecting and tracking activity everywhere in the frame, but a review item is","url":"https://docs.frigate.video/configuration/masks/","vehicles":[]},{"i":476,"id":"configuration/masks","section_id":"frigate/configuration/masks/0306","title":"Masks","heading":"Using the mask creator","text":" Navigate to Camera configuration > Masks / Zones\" /> and select a camera. Use the mask editor to draw motion masks and object filter masks directly on the camera feed. Each mask can be given a friendly name and toggled on or off. Your config file will be updated with the relative coordinates of the mask/zone: Multiple motion masks can be listed in your config: Object filter masks are configured under the object filters section for each object type: ","url":"https://docs.frigate.video/configuration/masks/","vehicles":[]},{"i":477,"id":"configuration/masks","section_id":"frigate/configuration/masks/0307","title":"Masks","heading":"Enabling/Disabling Masks","text":"Both motion masks and object filter masks can be toggled on or off without removing them from the configuration. Disabled masks are completely ignored at runtime - they will not affect motion detection or object filtering. This is useful for temporarily disabling a mask during certain seasons or times of day without modifying the configuration.","url":"https://docs.frigate.video/configuration/masks/","vehicles":[]},{"i":478,"id":"configuration/masks","section_id":"frigate/configuration/masks/0308","title":"Masks","heading":"Further Clarification","text":"This is a response to a [question posed on reddit](https://www.reddit.com/r/homeautomation/comments/ppxdve/replacing_my_doorbell_with_a_security_camera_a_6/hd876w4?utm_source=share&utm_medium=web2x&context=3): It is helpful to understand a bit about how Frigate uses motion detection and object detection together. First, Frigate uses motion detection as a first line check to see if there is anything happening in the frame worth checking with object detection. Once motion is detected, it tries to group up nearby areas of motion together in hopes of identifying a rectangle in the image that will capture the area worth inspecting. These are the red \"motion boxes\" you see in the debug viewer. After the area with motion is identified, Frigate creates a \"region\" (the green boxes in the debug viewer) to run object detection on. The models are trained on square images, so these regions are always squares. It adds a margin around the motion area ","url":"https://docs.frigate.video/configuration/masks/","vehicles":[]},{"i":479,"id":"configuration/masks","section_id":"frigate/configuration/masks/0309","title":"Masks","heading":"Common mistakes","text":"**\"I added a motion mask to ignore my driveway/sidewalk.\"** A motion mask doesn't hide an area from Frigate. Objects can still be detected and tracked inside a masked area. The mask only stops motion _in that area_ from triggering object detection. If you want activity on the sidewalk to never produce a review item, define a [zone](zones.md) over the area you DO care about (your stoop, your driveway) and add it to [`required_zones`](zones.md#restricting-alerts-and-detections-to-specific-zones). Frigate will still see people on the sidewalk, but it won't create an alert until they cross into the zone. **\"I added an object filter mask because I don't care about cars in my yard.\"** Object filter masks are for stubborn false positives at fixed locations, not for filtering whole areas or whole object types. If you only want alerts when a car enters the driveway, use a [zone](zones.md) with [`required_zones`](zones.md#restricting-alerts-and-d","url":"https://docs.frigate.video/configuration/masks/","vehicles":[]},{"i":480,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0310","title":"Metrics","heading":"Metrics","text":"Frigate exposes Prometheus metrics at the `/api/metrics` endpoint that can be used to monitor the performance and health of your Frigate instance.","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":481,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0311","title":"Metrics","heading":"Enabling Telemetry","text":"Prometheus metrics are exposed via the telemetry configuration. Enable or configure telemetry to control metric availability. Navigate to System > Telemetry\" /> to configure metrics and telemetry settings. Metrics are available at `/api/metrics` by default. No additional Frigate configuration is required to expose them. ","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":482,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0312","title":"Metrics","heading":"System Metrics","text":"- `frigate_cpu_usage_percent{pid=\"\", name=\"\", process=\"\", type=\"\", cmdline=\"\"}` - Process CPU usage percentage - `frigate_mem_usage_percent{pid=\"\", name=\"\", process=\"\", type=\"\", cmdline=\"\"}` - Process memory usage percentage - `frigate_gpu_usage_percent{gpu_name=\"\"}` - GPU utilization percentage - `frigate_gpu_mem_usage_percent{gpu_name=\"\"}` - GPU memory usage percentage","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":483,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0313","title":"Metrics","heading":"Camera Metrics","text":"- `frigate_camera_fps{camera_name=\"\"}` - Frames per second being consumed from your camera - `frigate_detection_fps{camera_name=\"\"}` - Number of times detection is run per second - `frigate_process_fps{camera_name=\"\"}` - Frames per second being processed - `frigate_skipped_fps{camera_name=\"\"}` - Frames per second skipped for processing - `frigate_detection_enabled{camera_name=\"\"}` - Detection enabled status for camera - `frigate_audio_dBFS{camera_name=\"\"}` - Audio dBFS for camera - `frigate_audio_rms{camera_name=\"\"}` - Audio RMS for camera","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":484,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0314","title":"Metrics","heading":"Detector Metrics","text":"- `frigate_detector_inference_speed_seconds{name=\"\"}` - Time spent running object detection in seconds - `frigate_detection_start{name=\"\"}` - Detector start time (unix timestamp)","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":485,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0315","title":"Metrics","heading":"Storage Metrics","text":"- `frigate_storage_free_bytes{storage=\"\"}` - Storage free bytes - `frigate_storage_total_bytes{storage=\"\"}` - Storage total bytes - `frigate_storage_used_bytes{storage=\"\"}` - Storage used bytes - `frigate_storage_mount_type{mount_type=\"\", storage=\"\"}` - Storage mount type info These gauges report the operating system's figures for the whole filesystem (the same numbers as `df`), not Frigate's own recording footprint. For how this differs from the recordings usage shown in the UI, see [Understanding storage usage](/configuration/record#understanding-storage-usage).","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":486,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0316","title":"Metrics","heading":"Service Metrics","text":"- `frigate_service_uptime_seconds` - Uptime in seconds - `frigate_service_last_updated_timestamp` - Stats recorded time (unix timestamp) - `frigate_device_temperature{device=\"\"}` - Device Temperature","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":487,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0317","title":"Metrics","heading":"Event Metrics","text":"- `frigate_camera_events{camera=\"\", label=\"\"}` - Current number of events stored in the database for each camera and label","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":488,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0318","title":"Metrics","heading":"Grafana Dashboard","text":"You can use these metrics to create Grafana dashboards to monitor your Frigate instance. Here's an example of metrics you might want to track: - CPU, Memory and GPU usage over time - Camera FPS and detection rates - Storage usage and trends - Event counts by camera - System temperatures A sample Grafana dashboard JSON will be provided in a future update.","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":489,"id":"configuration/metrics","section_id":"frigate/configuration/metrics/0319","title":"Metrics","heading":"Metric Types","text":"The metrics exposed by Frigate use the following Prometheus metric types: - **Gauge**: Values that can go up and down (e.g., `frigate_cpu_usage_percent`, `frigate_camera_events`) - **Info**: Key-value pairs for metadata (e.g., `frigate_storage_mount_type`) For more information about Prometheus metric types, see the [Prometheus documentation](https://prometheus.io/docs/concepts/metric_types/).","url":"https://docs.frigate.video/configuration/metrics/","vehicles":[]},{"i":490,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0320","title":"Motion Detection","heading":"Tuning Motion Detection","text":"Frigate uses motion detection as a first line check to see if there is anything happening in the frame worth checking with object detection. Once motion is detected, it tries to group up nearby areas of motion together in hopes of identifying a rectangle in the image that will capture the area worth inspecting. These are the red \"motion boxes\" you see in the [debug viewer](/usage/live#the-single-camera-view).","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":491,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0321","title":"Motion Detection","heading":"The Goal","text":"The default motion settings should work well for the majority of cameras, however there are cases where tuning motion detection can lead to better and more optimal results. Each camera has its own environment with different variables that affect motion, this means that the same motion settings will not fit all of your cameras. Before tuning motion it is important to understand the goal. In an optimal configuration, motion from people and cars would be detected, but not grass moving, lighting changes, timestamps, etc. If your motion detection is too sensitive, you will experience higher CPU loads and greater false positives from the increased rate of object detection. If it is not sensitive enough, you will miss objects that you want to track.","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":492,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0322","title":"Motion Detection","heading":"Create Motion Masks","text":"First, mask areas with regular motion not caused by the objects you want to detect. The best way to find candidates for motion masks is by watching the debug stream with motion boxes enabled. Good use cases for motion masks are timestamps or tree limbs and large bushes that regularly move due to wind. When possible, avoid creating motion masks that would block motion detection for objects you want to track **even if they are in locations where you don't want alerts or detections**. Motion masks should not be used to avoid detecting objects in specific areas. More details can be found [in the masks docs.](/configuration/masks.md).","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":493,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0323","title":"Motion Detection","heading":"Prepare For Testing","text":"The recommended way to tune motion detection is to use the built-in Motion Tuner. Navigate to Camera configuration > Motion tuner\" /> and select the camera you want to tune. This screen lets you adjust motion detection values live and immediately see the effect on what is detected as motion, making it the fastest way to find optimal settings for each camera.","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":494,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0324","title":"Motion Detection","heading":"Tuning Motion Detection During The Day","text":"Now that things are set up, find a time to tune that represents normal circumstances. For example, if you tune your motion on a day that is sunny and windy you may find later that the motion settings are not sensitive enough on a cloudy and still day. :::note Remember that motion detection is just used to determine when object detection should be used. You should aim to have motion detection sensitive enough that you won't miss objects you want to detect with object detection. The goal is to prevent object detection from running constantly for every small pixel change in the image. Windy days are still going to result in lots of motion being detected. :::","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":495,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0325","title":"Motion Detection","heading":"Threshold","text":"The threshold value dictates how much of a change in a pixels luminance is required to be considered motion. Navigate to Global configuration > Motion detection\" /> to set the threshold globally. To override for a specific camera, navigate to Camera configuration > Motion detection\" /> and select the camera, or use the Camera configuration > Motion tuner\" /> to adjust it live. | Field | Description | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Motion threshold** | The threshold passed to cv2.threshold to determine if a pixel is different enough to be counted a","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":496,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0326","title":"Motion Detection","heading":"Contour Area","text":" Navigate to Global configuration > Motion detection\" /> to set the contour area globally. To override for a specific camera, navigate to Camera configuration > Motion detection\" /> and select the camera, or use the Camera configuration > Motion tuner\" /> to adjust it live. | Field | Description | | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Contour area** | Minimum size in pixels in the resized motion image that counts as motion. Increasing this value will prevent smaller areas of motion from being detected. Decr","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":497,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0327","title":"Motion Detection","heading":"Improve Contrast","text":"At this point if motion is working as desired there is no reason to continue with tuning for the day. If you were unable to find a balance between desired and undesired motion being detected, you can try disabling improve contrast and going back to the threshold and contour area steps.","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":498,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0328","title":"Motion Detection","heading":"Tuning Motion Detection During The Night","text":"Once daytime motion detection is tuned, there is a chance that the settings will work well for motion detection during the night as well. If this is the case then the preferred settings can be written to the config file and left alone. However, if the preferred day settings do not work well at night it is recommended to use Home Assistant or some other solution to automate changing the settings. That way completely separate sets of motion settings can be used for optimal day and night motion detection.","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":499,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0329","title":"Motion Detection","heading":"Lightning Threshold","text":" Navigate to Global configuration > Motion detection\" /> and expand the advanced fields to find the lightning threshold setting. To override for a specific camera, navigate to Camera configuration > Motion detection\" /> and select the camera. | Field | Description | | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Lightning threshold** | The percentage of the image used to detect lightning or other substantial changes where motion detection needs to recalibrate. Increasin","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":500,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0330","title":"Motion Detection","heading":"Skip Motion On Large Scene Changes","text":" Navigate to Global configuration > Motion detection\" /> and expand the advanced fields to find the skip motion threshold setting. To override for a specific camera, navigate to Camera configuration > Motion detection\" /> and select the camera. | Field | Description | | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Skip motion threshold** | Fraction of the frame that must change in a single update before Frigate will completely ignore any motion in that frame. Values ","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":501,"id":"configuration/motion_detection","section_id":"frigate/configuration/motion_detection/0331","title":"Motion Detection","heading":"Reviewing Detected Motion","text":"To review what the detector picked up, or to search past recordings for motion in a specific region, see [Reviewing Motion](/usage/review#reviewing-motion) on the Review page.","url":"https://docs.frigate.video/configuration/motion_detection/","vehicles":[]},{"i":502,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0332","title":"Running as a non-root user","heading":"Running as a non-root user","text":"Frigate's services run as an unprivileged user inside the container. The main Frigate process and nginx run as `frigate`, and go2rtc runs as its own more restricted `go2rtc` user. Only the s6 init system and the certsync helper stay root. The runtime user is uid/gid `1000:1000` by default. You can change it with `PUID`/`PGID`, or bypass Frigate's user handling entirely with Docker's own `user:`. Most upgrades need nothing. Frigate aligns your volume ownership on the first boot and grants access to your hardware at startup. The sections below cover the cases that need attention: large storage volumes, network storage, and hardware the automatic grant can't reach.","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":503,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0333","title":"Running as a non-root user","heading":"Run modes","text":"| Mode | How to enable | Ownership of `/config` and `/media/frigate` | `read_only: true` | | ------------------- | ------------------------------- | ------------------------------------------------------ | ----------------- | | Default | nothing, this is the default | Aligned to `1000:1000` on first boot | Supported | | `PUID`/`PGID` | `PUID=1001`, `PGID=1001` | Aligned to the values you set, on first boot | Not supported | | Docker-native user | `user: \"1001:1001\"` | You own it, Frigate never changes ownership | Supported | | Root (escape hatch) | `FRIGATE_RUN_AS_ROOT=true` | Never touched | Not supported | | Granular root | `FRIGATE_ROOT_SERVICES=frigate` | Aligned at boot; recordings and exports also at create | Not supported | `PUID`/`PGID` remapping runs `usermod` at startup, which writes to `/etc/passwd`, so it can't work with a read-only root filesystem. That combination stops at startup with a message pointing here. `EXTRA_GROUP","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":504,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0334","title":"Running as a non-root user","heading":"Keeping individual services root","text":"`FRIGATE_ROOT_SERVICES` takes a comma separated list of `frigate`, `go2rtc`, and `nginx`. A listed service keeps running as root, and everything else about non-root operation still applies: `PUID`/`PGID` remapping, the ownership sweep, and ownership of the files those services create. There are two reasons to use it: - Your detector hardware won't work as an unprivileged user, even after reading [Hardware device access](#hardware-device-access). `FRIGATE_ROOT_SERVICES=frigate` keeps the main process and its detectors as root while nginx and go2rtc stay unprivileged. - You want everything to run as root but still want your files owned by `PUID`/`PGID` instead of root. `FRIGATE_ROOT_SERVICES=frigate,go2rtc,nginx` does that. Try the device grants and `EXTRA_GROUPS` first. The `frigate` service runs the API and every ffmpeg process that decodes your camera streams, so listing it puts those back on root as well, not just your detectors. List","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":505,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0335","title":"Running as a non-root user","heading":"Migrating an existing install","text":"Volumes from earlier versions of Frigate are owned by root, so ownership has to be aligned with the runtime user once. This happens automatically on the first boot after upgrading. On large recordings volumes, do it from the host beforehand instead. The boot sweep runs before any service starts, so a multi-terabyte `/media/frigate` can hold the container in startup long enough for Docker's healthcheck to mark it unhealthy, and orchestrators that watch health will restart it mid-sweep. If you'd rather not run the script, raise the healthcheck start period instead (`--start-period=1800s`, or `start_period: 1800s` under `healthcheck:` in compose). Grab [`fix-permissions.sh`](https://github.com/blakeblackshear/frigate/blob/dev/docker/migration/fix-permissions.sh) from the Frigate repo and dry run it first: That reports how many entries would change and touches nothing. When it looks right, run it without `--dry-run`: Pass `PUID` and `PGID` ","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":506,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0336","title":"Running as a non-root user","heading":"Network storage","text":"Recordings on a NAS behave differently, so check what you have before migrating: **SMB and CIFS** don't store per-file ownership at all. It's synthesized from the mount options, so a per-file `chown` fails and isn't needed. Mount the share as the uid and gid Frigate runs as, and every file already looks correct to the sweep: **NFS** exports default to `root_squash` on most servers, which maps the container's root to `nobody`. The chown then fails, you get `[WARN] fix-ownership: some entries under /media/frigate could not be updated`, and since the sweep didn't finish it doesn't record the migration, so it retries on every boot. The best fix is to not chown over NFS at all. Do it on the server, where there's no squash and no network round trip per file: Frigate's sweep then finds nothing to change and records the migration normally. If you can't get a shell on the server, you can export temporarily with `no_root_squash`, migrate, and put","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":507,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0337","title":"Running as a non-root user","heading":"Rolling back","text":"Set `FRIGATE_RUN_AS_ROOT=true` and restart. Everything runs as root again, exactly as it did before. This is the fastest way to get a broken install running while you sort out a device permission problem. The escape hatch never changes ownership, and it clears the record of the last sweep on startup, so switching back to non-root later corrects whatever root created in the meantime. Toggling in either direction is safe.","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":508,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0338","title":"Running as a non-root user","heading":"Hardware device access","text":"Frigate grants the runtime user access to your devices at startup. Pass your hardware with `--device` (or `devices:` in compose) and detection and hardware acceleration work with no group or udev setup on the host. The grant covers the common accelerator and camera nodes: GPU render nodes, Intel/AMD NPUs (`/dev/accel`), Coral, Hailo, Rockchip, Jetson, `/dev/video*`, and the USB bus. For hardware it misses, add your own paths with `DEVICE_ACL_PATHS`, a comma separated list of globs: Set `FRIGATE_DEVICE_ACLS=false` if you manage device permissions yourself and want Frigate to leave them alone. Frigate grants access by adding an ACL entry for the runtime users. The device's owner and mode are unchanged, and nothing is made world accessible. One thing to know: `--device` nodes belong to the container, but a bind mounted `/dev/bus/usb` (the usual Coral USB setup) shares the host's device nodes, so the entry is visible on the host until udev ","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":509,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0339","title":"Running as a non-root user","heading":"Manual setup","text":"You only need this for hardware the automatic grant can't reach, or for Docker's `user:` mode, where there's no root startup to do the granting. Your accelerator most likely worked in older versions because Frigate ran as root. Device nodes are usually owned by `root:root`, and root either matches the group or skips the check entirely. The runtime user does neither, so a device that worked before can become unreadable with no change to your Frigate config.","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":510,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0340","title":"Running as a non-root user","heading":"Read what your device requires","text":"Find the node and look at its owner, group, and mode: Then work out which of the three permission sets applies to the runtime user. It isn't the owner, since that's root, so it gets the group bits if it belongs to that GID and otherwise falls through to \"other\". In the example above \"other\" is empty, so without membership in group 105 the runtime user can't open the node. Watch for a node that looks permissive but isn't. A USB Coral defaults to this: The group is `0`, so \"other\" applies to the runtime user, and \"other\" here is read only. `libedgetpu` needs to write to the node, so detection fails with `No EdgeTPU was detected` as though no Coral were attached. Read access alone isn't enough for most accelerators.","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":511,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0341","title":"Running as a non-root user","heading":"Grant access","text":"Give the runtime user the GID with `EXTRA_GROUPS`, a comma separated list of numeric host GIDs. They're added to both the `frigate` and `go2rtc` users, which matters because go2rtc needs its own render and video access for hardware accelerated restreams. Use numeric GIDs from the host, not names. Group names don't have to match between the host and the container, and the kernel only checks the number. If the GID doesn't exist in the image, Frigate creates a placeholder group for it. Two things that look like they should work but don't: - Docker's `group_add` has no effect in the default or `PUID` modes. Frigate rebuilds the supplementary group list from `/etc/group` when it drops privileges, which discards what Docker passed in. It is the right tool with Docker's `user:`, where no privilege drop happens and `EXTRA_GROUPS` does nothing. - `privileged: true` doesn't help. It grants capabilities to root, and the runtime user isn't root, so","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":512,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0342","title":"Running as a non-root user","heading":"Verify access","text":"Check the group landed, then check the runtime user can open the node. Test for write, not just read: A permission check is only a proxy for the driver working. These exercise the real libraries as the runtime user: `vainfo` should reach `va_openDriver() returns 0` and list profiles. Complaints about `XDG_RUNTIME_DIR` or an X server above that are normal. OpenVINO should list `GPU`; if it returns only `CPU`, detection has fallen back and inference will be much slower without an error in the log. To tell a permissions problem from anything else, start the container once with `FRIGATE_RUN_AS_ROOT=true`. If the device works as root and not otherwise, it's node permissions and a udev rule is the fix. If it's missing either way, the problem is your device mapping or the host, and isn't related to running non-root.","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":513,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0343","title":"Running as a non-root user","heading":"udev rules by device","text":"Rules go in `/etc/udev/rules.d/` on the host and take effect after: A device that's already connected sometimes keeps its original ownership through a trigger. If `ls -ln` doesn't show the new group, replug it, or reboot for a built-in device. **Coral USB** needs two rules, because the device re-enumerates after loading firmware. It appears as Global Unichip `1a6e` before and Google `18d1` after, with a different node each time. A rule covering only `1a6e` gives you a Coral that starts up once and then disappears mid-run. Map the whole `/dev/bus/usb` rather than a single node, for the same reason. Most hosts put `plugdev` at GID 46 and the image agrees, so a USB Coral often needs no `EXTRA_GROUPS` entry. Confirm with `getent group plugdev` and add the number if your host differs. **Coral PCIe** is often `crw------- root root`, which only root can open: Create the group with `sudo groupadd -f apex`, then add its GID to `EXTRA_GROUPS`. **","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":514,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0344","title":"Running as a non-root user","heading":"Quick reference","text":"What each device needs when you're setting it up by hand. The automatic grant covers most of these already, so start here only if it didn't. | Hardware | Device(s) | What non-root needs | | ------------------------- | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | Intel/AMD GPU (VAAPI/QSV) | `/dev/dri/renderD128` | Host render GID in `EXTRA_GROUPS`, from `getent group render` | | Intel/AMD NPU | `/dev/accel` | udev rule granting a group, then that GID in `EXTRA_GROUPS` | | Coral USB | `/dev/bus/usb` | udev rules for both `1a6e` and `18d1`; usually already covered by `plugdev` 46 | | Coral PCIe | `/dev/apex_0` | udev rule granting a group, then that GID in `EXTRA_GROUPS` | | Hailo | `/dev/hailo0` | udev rule granting a group, then that GID in `EXTRA_GROUPS` | | NVIDIA | nvidia runtime | Nothing, works with t","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":515,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0345","title":"Running as a non-root user","heading":"Hardened deployment","text":"A read-only root filesystem means the container can't modify itself, only the volumes you give it. It works in the default mode and under Docker's `user:`, but not with `PUID`/`PGID` or `EXTRA_GROUPS`, which both need to write to `/etc`. Start with the default mode. It keeps go2rtc on its own restricted user and still grants your hardware automatically, at the cost of a short root startup that finishes before any service runs. `/run` has to allow `exec`. With a read-only root filesystem s6 copies its service scripts into `/run` and runs them from there, and tmpfs mounts default to `noexec`. The equivalent for `docker run` is `--tmpfs /run:exec,nosuid,nodev,mode=0755`. Spelling out `nosuid` and `nodev` matters: passing any tmpfs options replaces Docker's defaults instead of adjusting them, so asking for `exec` alone would drop those two as well. Size `/tmp` deliberately. It now carries nginx's config copy and its five proxy temp director","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":516,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0346","title":"Running as a non-root user","heading":"Never starting as root","text":"To remove root from the container entirely, add Docker's `user:`: `/run` has to be owned by that uid as well. s6 writes its runtime state there before anything else starts, and with no root in the container a root-owned `/run` stops it during init with `cannot create /run/test of writability`. Keep `uid` and `gid` in the tmpfs options matching `user:`, and don't carry that pair back into the default mode, where a root-owned `/run` is what keeps the unprivileged services out of s6's runtime state. This only bites once root is genuinely gone. s6's init helper is setuid, so `user:` on its own still lets init regain root and correct `/run` itself. The `no-new-privileges:true` above is what blocks that, which is also what makes the `/run` ownership mandatory. Dropping it would hide the problem by handing init root again. Two things change, and the first one will break a working install if you skip it. The startup device grants can't run, bec","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":517,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0347","title":"Running as a non-root user","heading":"Per-variant exceptions","text":"- **Rockchip** needs `- /sys/:/sys/:ro` alongside its device nodes, in addition to everything above. - **MemryX** and **QNAP Container Station** still require `privileged: true` per their own documentation, which gives back most of what this layout removes. MemryX also downloads its models to `/memryx_models` on the root filesystem, so it can't run read-only regardless. Its SDK is installed into `/config/.local` like the other detector runtimes.","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":518,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0348","title":"Running as a non-root user","heading":"Network isolation","text":"Everything above limits what a compromised container can do to the host. It doesn't limit what your cameras can do to your network. Camera firmware is closed source, rarely patched, and not something you can audit, and none of it needs internet access for Frigate to work. Put the cameras on their own VLAN or subnet, give the Frigate host a route into it, and deny that VLAN any route out. Frigate reaches in to pull streams, the cameras reach nothing. A second NIC on the Frigate host is the simplest version of this, and a tagged VLAN on the NIC you already have works just as well. Here's the deny as nftables on the router, with cameras on `vlan20` and the Frigate host at `192.168.10.5`: It's in its own table so it can sit alongside an existing ruleset without touching it. Streams keep working because Frigate opens those connections and the return traffic is `established`. Cameras can still reach each other on their own VLAN, since that tr","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":519,"id":"configuration/non_root","section_id":"frigate/configuration/non_root/0349","title":"Running as a non-root user","heading":"Known limitations","text":"`telemetry.stats.network_bandwidth` uses nethogs, which needs `CAP_NET_ADMIN` and `CAP_NET_RAW` and therefore root. The stat is turned off automatically when Frigate isn't running as root, with one warning in the log. Use `FRIGATE_ROOT_SERVICES=frigate` (or `FRIGATE_RUN_AS_ROOT=true`) if you need it. Rockchip NPU and GPU usage come from `/sys/kernel/debug`, which the kernel makes readable only by root. To keep these stats, bind the two load files into the container as shown in the [Rockchip installation steps](/frigate/installation#rockchip-platform). Without them, Frigate logs one warning and leaves the stats out. go2rtc's ffmpeg processes no longer appear in Intel GPU stats. Frigate reads per-process GPU usage from `/proc//fdinfo`, which the kernel won't let one user read for another user's processes, so anything go2rtc spawns is invisible to it. Overall GPU utilization is unaffected. If you mount your own TLS certificate at `/et","url":"https://docs.frigate.video/configuration/non_root/","vehicles":[]},{"i":520,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0350","title":"Notifications","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; import FaqItem from \"@site/src/components/FaqItem\";","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":521,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0351","title":"Notifications","heading":"Notifications","text":"Frigate offers native notifications using the [WebPush Protocol](https://web.dev/articles/push-notifications-web-push-protocol) which uses the [VAPID spec](https://tools.ietf.org/html/draft-thomson-webpush-vapid) to deliver notifications to web apps using encryption. :::info Push notifications require internet access from the Frigate server to the browser vendor's push service (e.g., Google FCM, Mozilla autopush). See [Network Requirements](/frigate/network_requirements#push-notifications) for details. :::","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":522,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0352","title":"Notifications","heading":"Setting up Notifications","text":"In order to use notifications the following requirements must be met: - Frigate must be accessed via a secure `https` connection while signed in as a Frigate user ([see the authorization docs](/configuration/authentication)). - A supported browser must be used. Currently Chrome, Firefox, and Safari are known to be supported. - In order for notifications to be usable externally, Frigate must be accessible externally. - For iOS devices, some users have also indicated that the Notifications switch needs to be enabled in iOS Settings --> Apps --> Safari --> Advanced --> Features.","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":523,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0353","title":"Notifications","heading":"Configuration","text":"Enable notifications and fill out the required fields. Optionally, change the default cooldown period for notifications. The cooldown can also be overridden at the camera level. Notifications will be prevented if either: - The global cooldown period hasn't elapsed since any camera's last notification - The camera-specific cooldown period hasn't elapsed for the specific camera","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":524,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0354","title":"Notifications","heading":"Global notifications","text":" 1. Navigate to Notifications\" />. - Set **Email** to your email address - Enable notifications for the desired cameras ","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":525,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0355","title":"Notifications","heading":"Per-camera notifications","text":" 1. Navigate to Camera configuration > Notifications\" /> and select the desired camera. - Set **Enable notifications** to on - Set **Cooldown period** to the desired number of seconds to wait before sending another notification from this camera (e.g. `30`) ","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":526,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0356","title":"Notifications","heading":"Registration","text":"Once notifications are enabled, press the `Register This Device` button on all devices that you would like to receive notifications on. This will register the background worker. After this Frigate must be restarted and then notifications will begin to be sent. :::warning Each registration is attached to the Frigate user account you are signed in as, so you must register over a secure connection to the authenticated port (`8971`). Reverse proxies and tunnels should point at port `8971`. :::","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":527,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0357","title":"Notifications","heading":"Supported Notifications","text":"Currently notifications are only supported for review alerts. More notifications will be supported in the future. :::note Currently, only Chrome supports images in notifications. Safari and Firefox will only show a title and message in the notification. :::","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":528,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0358","title":"Notifications","heading":"Reduce Notification Latency","text":"Different platforms handle notifications differently, some settings changes may be required to get optimal notification delivery.","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":529,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0359","title":"Notifications","heading":"Notification TTL","text":"By default, Frigate sends notifications for an active alert with a `ttl` of `immediate`, so the push service either delivers them immediately or drops them. If your device is briefly unreachable (asleep, switching from Wi-Fi to cellular, or on a weak signal), those notifications are lost and you only receive the notification sent when the alert ends, which is always kept for up to an hour. Setting `ttl` to `reliable` tells the push service to keep retrying these notifications for up to 30 seconds. This makes delivery more reliable, but a notification delivered late will still say an object is detected, even if the object has already left. 1. Navigate to Notifications\" />. - Expand **Advanced Settings** and set **Notification TTL** to **Reliable** ","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":530,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0360","title":"Notifications","heading":"Android","text":"Most Android phones have battery optimization settings. To get reliable Notification delivery the browser (Chrome, Firefox) should have battery optimizations disabled. If Frigate is running as a PWA then the Frigate app should have battery optimizations disabled as well.","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":531,"id":"configuration/notifications","section_id":"frigate/configuration/notifications/0361","title":"Notifications","heading":"Notifications FAQ","text":" Push notifications involve Frigate, your browser, and your browser vendor's push service, so it helps to work from the server outward. 1. Enable debug logs for the push client by adding `frigate.comms.webpush: debug` to your `logger` configuration. Restart Frigate after this change. These logs show exactly where a notification stopped, including: - `Email must be provided for push notifications to be sent` means the global `email` field is empty and nothing will ever be sent. - `Sending test notification` and `Sending push notification for , review ID ` mean Frigate handed the message off to the push service. - `Skipping notification for - in global cooldown period` (or `camera-specific cooldown period`) means your [cooldown](#configuration) values suppressed it. - `Notifications for are currently suspended` m","url":"https://docs.frigate.video/configuration/notifications/","vehicles":[]},{"i":532,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0362","title":"Object Detectors","heading":"Overview","text":"import CommunityBadge from '@site/src/components/CommunityBadge'; import ConfigTabs from '@site/src/components/ConfigTabs'; import TabItem from '@theme/TabItem'; import NavPath from '@site/src/components/NavPath'; import ModelConfigDropdown from '@site/src/components/ModelConfigDropdown'; import objectDetectorsModels from '@site/data/object_detectors_models.yaml';","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":533,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0363","title":"Object Detectors","heading":"Supported hardware","text":"Object detection is what allows Frigate to identify _what_ is in your camera's view (people, cars, animals, and more) rather than just reacting to pixel changes. When Frigate's motion detection finds activity in a frame, that region is sent to an **object detector**, which returns the objects it recognizes along with their location and a confidence score. These detections are what drive tracked objects, alerts, detections, and notifications. Object detection is computationally intensive, so Frigate is designed to run it on a dedicated AI accelerator or GPU rather than the CPU. A **detector** is the specific hardware-and-model backend Frigate uses to run inference. Choosing a detector that matches your hardware is one of the most important steps in getting good performance, and the right choice depends on what device Frigate is running on. :::info Frigate supports multiple different detectors that work on different types of hardware: **M","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":534,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0364","title":"Object Detectors","heading":"Configuring models and hardware","text":"Object detection is configured with a `models` list. Each entry describes one model and the hardware it runs on: Each entry in `devices` is a detector type, optionally followed by a colon and a device for that detector, such as `edgetpu:pci:0`, `openvino:NPU`, or `tensorrt:0`. The per-detector sections below document the device values each one accepts. Listing several devices runs the model on all of them, and listing the **same** device more than once runs additional inference processes against it, which can improve throughput on hardware that keeps up with more than one stream: Coral EdgeTPU, MemryX, and Axelera Metis accelerators can only be opened by one process, so those devices can not be repeated.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":535,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0365","title":"Object Detectors","heading":"Running more than one model","text":"Cameras can be split across models by scene, which is useful when some cameras benefit from a differently trained model, such as thermal cameras. Each model declares the `scene` it is for, and each camera picks one with `detect -> scene`: A scene is any name made up of letters, numbers, `_`, and `-`. The model with a scene of `default` is used by every camera that does not set one (or sets a scene that no model is configured for), and `default` is used when a model does not declare a scene. Changing a camera's scene requires a restart. :::warning Scenes are for running **different** models. Do not configure the same model under several scenes to dedicate a detector to specific cameras: every detector of a model already serves every camera using it, and splitting them only leaves some detectors idle while others fall behind. Frigate detects models that use the same model file, even under a different path or file name, combines them into ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":536,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0366","title":"Object Detectors","heading":"Choosing a model size","text":"Along with picking a detector for your hardware, you will choose a model's **input resolution** (such as `320x320` or `640x640`) and, for model families like YOLOv9, a **variant size** (`tiny`, `small`, etc.). Both affect the balance between accuracy and the inference time your hardware can sustain. **Resolution (320x320 vs 640x640):** Frigate is optimized for `320x320` models, and `320x320` is the best choice for the vast majority of setups. Frigate is specifically designed to compensate for the smaller model by cropping a region of motion from the full frame and zooming into it before running detection, so a `320x320` model is actually _better_ at small and distant objects, not worse. A `640x640` model is slower and uses more resources, and its main benefit is fitting more objects into a single inference when many objects are spread across a large area. Recent versions of Frigate have improved support for `640x640` models, but `320x32","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":537,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0367","title":"Object Detectors","heading":"Officially Supported Detectors","text":"Frigate provides a number of builtin detector types. By default, Frigate will use a single CPU detector. Other detectors may require additional configuration as described below. Each of a model's devices runs in a dedicated process, and they pull from a common queue of detection requests from the cameras assigned to that model.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":538,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0368","title":"Object Detectors","heading":"Edge TPU Detector","text":"The Edge TPU detector type runs TensorFlow Lite models utilizing the Google Coral delegate for hardware acceleration. To use it, prefix a model's device with `edgetpu`. The Edge TPU device can be specified using the `\"device\"` attribute according to the [Documentation for the TensorFlow Lite Python API](https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api). If not set, the delegate will use the first device it finds. :::tip See [common Edge TPU troubleshooting steps](/troubleshooting/edgetpu) if the Edge TPU is not detected. :::","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":539,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0369","title":"Object Detectors","heading":"Single USB Coral","text":" Navigate to System > Detection models\" /> and select **Coral EdgeTPU (USB)** from the **Hardware** dropdown. ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":540,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0370","title":"Object Detectors","heading":"Multiple USB Corals","text":" Navigate to System > Detection models\" /> and select **Coral EdgeTPU (USB)** from the **Hardware** dropdown and check each Coral the model should run on. ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":541,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0371","title":"Object Detectors","heading":"Native Coral (Dev Board)","text":"_warning: may have [compatibility issues](https://github.com/blakeblackshear/frigate/issues/1706) after `v0.9.x`_ Navigate to System > Detection models\" /> and select the **Coral EdgeTPU** entry from the **Hardware** dropdown. ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":542,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0372","title":"Object Detectors","heading":"Single PCIE/M.2 Coral","text":" Navigate to System > Detection models\" /> and select **Coral EdgeTPU (PCIe)** from the **Hardware** dropdown. ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":543,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0373","title":"Object Detectors","heading":"Multiple PCIE/M.2 Corals","text":" Navigate to System > Detection models\" /> and select **Coral EdgeTPU (PCIe)** from the **Hardware** dropdown and check each Coral the model should run on. ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":544,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0374","title":"Object Detectors","heading":"Mixing Corals","text":" Navigate to System > Detection models\" /> and select **Coral EdgeTPU (USB)** from the **Hardware** dropdown. USB and PCIe Corals are listed as separate hardware, so mixing the two on one model has to be done in YAML. ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":545,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0375","title":"Object Detectors","heading":"Hailo","text":"This detector is available for use with the Hailo-8, Hailo-8L and Hailo-8R AI Acceleration Modules. The integration identifies which of them is attached and selects the matching default model if no custom model is specified. See the [installation docs](../frigate/installation.md#hailo-8) for information on configuring the Hailo hardware. :::info If no custom model is provided, the Hailo detector downloads a default model from the Hailo Model Zoo on first startup. Once cached, the model works fully offline. See [Network Requirements](/frigate/network_requirements#hardware-specific-detector-models) for details. ::: :::info The HailoRT runtime is not part of the Frigate image. It is downloaded and installed into `/config/.local` the first time a Hailo detector is configured, verified against pinned checksums, and updated automatically when a Frigate release pins a new version. If the container has no internet access, see [Detector runtimes","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":546,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0376","title":"Object Detectors","heading":"Configuration {#configuration-hailo}","text":"When configuring the Hailo detector, you have two options to specify the model: a local **path** or a **URL**. If both are provided, the detector will first check for the model at the given local path. If the file is not found, it will download the model from the specified URL. The model file is cached under `/config/model_cache/hailo`. For additional ready-to-use models, please visit: https://github.com/hailo-ai/hailo_model_zoo Hailo supports all models in the Hailo Model Zoo that include HailoRT post-processing. You're welcome to choose any of these pre-configured models for your implementation. > **Note:** > The config.path parameter can accept either a local file path or a URL ending with .hef. When provided, the detector will first check if the path is a local file path. If the file exists locally, it will use it directly. If the file is not f","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":547,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0377","title":"Object Detectors","heading":"OpenVINO Detector","text":"The OpenVINO detector type runs an OpenVINO IR model on AMD and Intel CPUs, Intel GPUs and Intel NPUs. To use it, prefix a model's device with `openvino`. The OpenVINO device to be used is specified using the `\"device\"` attribute according to the naming conventions in the [Device Documentation](https://docs.openvino.ai/2025/openvino-workflow/running-inference/inference-devices-and-modes.html). The most common devices are `CPU`, `GPU`, or `NPU`. OpenVINO is supported on 6th Gen Intel platforms (Skylake) and newer. It will also run on AMD CPUs despite having no official support for it. A supported Intel platform is required to use the `GPU` or `NPU` device with OpenVINO. For detailed system requirements, see [OpenVINO System Requirements](https://docs.openvino.ai/2025/about-openvino/release-notes-openvino/system-requirements.html) :::tip **NPU + GPU Systems:** If you have both NPU and GPU available (Intel Core Ultra processors), use NPU f","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":548,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0378","title":"Object Detectors","heading":"Intel NPU host requirements {#intel-npu-requirements}","text":"The NPU device must be passed into the container by adding `/dev/accel:/dev/accel` to the `devices` section of your compose file. Frigate grants the runtime user access to the device automatically; see [hardware device access](/configuration/non_root#hardware-device-access) if you manage device permissions yourself. The NPU firmware is loaded by the host kernel and is not part of the Frigate image. Everything else the NPU needs is bundled in the container, so host NPU libraries should never be mounted in. Frigate bundles a specific version of Intel's [linux-npu-driver](https://github.com/intel/linux-npu-driver/releases), and the host firmware must come from that release or a newer one. Firmware older than the bundled driver may fail with `MAPPED_INFERENCE_VERSION is NOT compatible with the ELF`, where `Expected` is the version the firmware supports and `received` is the version the bundled compiler produced. Distributions often package ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":549,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0379","title":"Object Detectors","heading":"Apple Silicon detector","text":":::warning The Apple Silicon detector client is being reworked. Its extra options no longer have a place in the config, so only the endpoint carried in the device string is honored right now, and `request_timeout_ms` and `linger_ms` are ignored. Anything else is dropped when your config is migrated. ::: The NPU in Apple Silicon can't be accessed from within a container, so the [Apple Silicon detector client](https://github.com/frigate-nvr/apple-silicon-detector) must first be setup. It is recommended to use the Frigate docker image with `-standard-arm64` suffix, for example `ghcr.io/blakeblackshear/frigate:stable-standard-arm64`.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":550,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0380","title":"Object Detectors","heading":"Setup {#setup-apple-silicon}","text":"1. Setup the [Apple Silicon detector client](https://github.com/frigate-nvr/apple-silicon-detector) and run the client 2. Configure the detector in Frigate and startup Frigate","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":551,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0381","title":"Object Detectors","heading":"Configuration {#configuration-apple-silicon}","text":"Using the detector config below will connect to the client: Note that the labelmap uses a subset of the complete COCO label set that has only 80 objects.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":552,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0382","title":"Object Detectors","heading":"Setup {#setup-rocm}","text":"Support for AMD GPUs is provided using the [ONNX detector](#onnx). In order to utilize the AMD GPU for object detection use a frigate docker image with `-rocm` suffix, for example `ghcr.io/blakeblackshear/frigate:stable-rocm`.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":553,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0383","title":"Object Detectors","heading":"Supported GPUs {#supported-gpus-rocm}","text":"The `-rocm` image includes ROCm support for these GPU chipsets, which work without any chipset override: | Chipset | Example GPUs | | -------------------------------------------- | ------------------------------------------------------------------------ | | gfx1030 (RDNA2) | Radeon RX 6800 / 6800 XT / 6900 XT / 6950 XT, Radeon PRO W6800 | | gfx1100, gfx1101, gfx1102 (RDNA3) | Radeon RX 7900 / 7800 / 7700 / 7600 series, Radeon PRO W7000 series | | gfx1103 (RDNA3 integrated) | Radeon 780M / 760M in Ryzen 7040, 8040, 8000G, and 200 series processors | | gfx1150, gfx1151, gfx1152, gfx1153 (RDNA3.5) | Integrated GPUs in Ryzen AI 300 / 400 series and Ryzen AI Max processors | | gfx1200, gfx1201 (RDNA4) | Radeon RX 9060 / 9070 series, Radeon AI PRO R9700 | Other RDNA2 GPUs (gfx1031 through gfx1036), such as the Radeon RX 6700 / 6600 / 6500 series and the Radeon 680M / 660M integrated GPUs, run on the gfx1030 support by [overriding the chipset]","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":554,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0384","title":"Object Detectors","heading":"Docker settings for GPU access","text":"ROCm needs access to the `/dev/kfd` and `/dev/dri` devices. When docker or frigate is not run under root then also `video` (and possibly `render` and `ssl/_ssl`) groups should be added. When running docker directly the following flags should be added for device access: When using Docker Compose: For reference on recommended settings see [running ROCm/pytorch in Docker](https://rocm.docs.amd.com/projects/install-on-linux/en/develop/how-to/3rd-party/pytorch-install.html#using-docker-with-pytorch-pre-installed).","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":555,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0385","title":"Object Detectors","heading":"Docker settings for overriding the GPU chipset","text":"A GPU whose chipset isn't in the [supported GPUs](#supported-gpus-rocm) list can run on the support for a closely related chipset by setting the `HSA_OVERRIDE_GFX_VERSION` environment variable. RDNA2 GPUs other than gfx1030 (gfx1031 through gfx1036) need this, using `10.3.0`: When using Docker Compose: GPUs in the supported list don't need an override. An override that was set for the Radeon 780M / 760M (gfx1103) on an earlier version of Frigate is no longer needed and can be removed. You can't tell the chipset from the AMD brand name, so check it in the container: - first make sure that the ROCm environment is running properly by running `/opt/rocm/bin/rocminfo` in the Frigate container. It should list both the CPU and the GPU with their properties - find the chipset version you have (gfxNNN) from the output of `rocminfo` (see below) - if the chipset isn't in the supported list, set `HSA_OVERRIDE_GFX_VERSION` to the closest supported c","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":556,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0386","title":"Object Detectors","heading":"Figuring out your AMD GPU chipset version:","text":"We unset the `HSA_OVERRIDE_GFX_VERSION` to prevent an existing override from messing up the result:","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":557,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0387","title":"Object Detectors","heading":"Configuration {#configuration-rocm}","text":":::tip The AMD GPU kernel is known problematic especially when converting models to mxr format. The recommended approach is: 1. Disable object detection in the config. 2. Startup Frigate with the onnx detector configured, the main object detection model will be converted to mxr format and cached in the config directory. 3. Once this is finished as indicated by the logs, enable object detection in the UI and confirm that it is working correctly. 4. Re-enable object detection in the config. ::: See [ONNX supported models](#onnx) for supported models, there are some caveats: - D-FINE / DEIMv2 models are not supported - YOLO-NAS models are known to not run well on integrated GPUs ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":558,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0388","title":"Object Detectors","heading":"ONNX","text":"ONNX is an open format for building machine learning models, Frigate supports running ONNX models on CPU, OpenVINO, ROCm, TensorRT, and a Mac's Neural Engine. On startup Frigate will automatically try to use a GPU if one is available. :::info If the correct build is used for your GPU then the GPU will be detected and used automatically. - **AMD** - ROCm will automatically be detected and used with the ONNX detector in the `-rocm` Frigate image. - **Intel** - OpenVINO will automatically be detected and used with the ONNX detector in the default Frigate image. - **Nvidia** - Nvidia GPUs will automatically be detected and used with the ONNX detector in the `-tensorrt` Frigate image. - Jetson devices will automatically be detected and used with the ONNX detector in the `-tensorrt-jp6` Frigate image. - **Apple Silicon Mac** - The Neural Engine will automatically be detected and used with the ONNX detector when Frigate runs","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":559,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0389","title":"Object Detectors","heading":"Apple Neural Engine (lighter) {#apple-neural-engine-lighter}","text":"[lighter](https://github.com/fieldwork-ai/lighter) is an open-source container runtime for macOS. A container started with its `lighter.sh/ane` device gets an ONNX Runtime execution provider that runs models on the Mac's Neural Engine, and the ONNX detector uses it automatically, with the same models and configuration as on any other hardware. It works on M1 and newer Macs with lighter 0.9.2 or newer. Give the Frigate container the Neural Engine device. With Docker Compose: Or with `docker run`, add `--device lighter.sh/ane=all`. Frigate then reports the Neural Engine under **Settings > System > Detection models**, and the ONNX detector's model loads on it. lighter can also decode camera streams on the Mac's media engine; see [Video Decoding](hardware_acceleration_video.md#apple-silicon-mac-lighter).","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":560,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0390","title":"Object Detectors","heading":"CPU Detector (not recommended)","text":"The CPU detector type runs a TensorFlow Lite model utilizing the CPU without hardware acceleration. It is recommended to use a hardware accelerated detector type instead for better performance. To use it, set a model's device to `cpu`. :::danger The CPU detector is not recommended for general use. If you do not have GPU or Edge TPU hardware, using the [OpenVINO Detector](#openvino-detector) in CPU mode is often more efficient than using the CPU detector. ::: The number of threads used by the interpreter can be specified using the `\"num_threads\"` attribute, and defaults to `3.` A TensorFlow Lite model is provided in the container at `/cpu_model.tflite` and is used by this detector type by default. To provide your own model, bind mount the file into the container and provide the path with the model's `path`.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":561,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0391","title":"Object Detectors","heading":"Configuration {#configuration-cpu}","text":" When using CPU detectors, you can add one CPU detector per camera. Adding more detectors than the number of cameras should not improve performance.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":562,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0392","title":"Object Detectors","heading":"AMD XDNA2","text":"AMD Ryzen AI / XDNA2 NPUs can be used through the community-maintained [frigate-xdna](https://github.com/mitchins/frigate-xdna) detector sidecar. The sidecar runs separately from Frigate and connects using Frigate's ZMQ detector interface. Currently qualified on **Ryzen AI Max 300 / Strix Halo**. Other XDNA2 devices are not yet qualified; XDNA1 is unsupported. Follow the frigate-xdna setup instructions to prepare and start the sidecar before starting Frigate.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":563,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0393","title":"Object Detectors","heading":"Configuration {#configuration-xdna2}","text":"Using the detector config below will connect Frigate to the sidecar: The example assumes Frigate and the sidecar share a Docker network where the sidecar is named `xdna`.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":564,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0394","title":"Object Detectors","heading":"MemryX MX3","text":"This detector is available for use with the MemryX MX3 accelerator M.2 module. Frigate supports the MX3 on compatible hardware platforms, providing efficient and high-performance object detection. See the [installation docs](../frigate/installation.md#memryx-mx3) for information on configuring the MemryX hardware. To configure a MemryX detector, simply set the `type` attribute to `memryx` and follow the configuration guide below. :::info The MemryX SDK is not part of the Frigate image. It is downloaded and installed into `/config/.local` the first time a MemryX detector is configured, verified against pinned checksums, and updated automatically when a Frigate release pins a new version. If the container has no internet access, see [Detector runtimes](/frigate/network_requirements#detector-runtimes) for how to provide the files yourself. :::","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":565,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0395","title":"Object Detectors","heading":"Using a Custom Model","text":"To use your own custom model, first compile it into a [.dfp](https://developer.memryx.com/2p1/specs/files.html#dataflow-program) file, which is the format used by MemryX.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":566,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0396","title":"Object Detectors","heading":"Compile the Model","text":"Custom models must be compiled using **MemryX SDK 2.1**. Before compiling your model, install the MemryX Neural Compiler tools from the [Install Tools](https://developer.memryx.com/2p1/get_started/install_tools.html) page on the **host**. > **Note:** It is recommended to compile the model on the host machine, or on another separate machine, rather than inside the Frigate Docker container. Installing the compiler inside Docker may conflict with container packages. It is recommended to create a Python virtual environment and install the compiler there. Once the SDK 2.1 environment is set up, follow the [MemryX Compiler](https://developer.memryx.com/2p1/tools/neural_compiler.html#usage) documentation to compile your model. Example: For detailed instructions on compiling models, refer to the [MemryX Compiler](https://developer.memryx.com/2p1/tools/neural_compiler.html#usage) docs and [Tutorials](https://developer.memryx.com/2p1/tutorials/tu","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":567,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0397","title":"Object Detectors","heading":"Package the Compiled Model","text":"1. Package your compiled model into a `.zip` file. 2. The `.zip` file must contain the compiled `.dfp` file. 3. Depending on the model, the compiler may also generate a cropped post-processing network. If present, it will be named with the suffix `_post.onnx`. 4. Bind-mount the `.zip` file into the container and specify its path using the model's `path` in your config. 5. Update `labelmap_path` to match your custom model's labels. ---","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":568,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0398","title":"Object Detectors","heading":"DEEPX NPU","text":"This detector is available for use with the DEEPX NPU, both the DX-M1 M.2 module and the DX-M1M on the Sixfab AI HAT+ for the Raspberry Pi 5. The configuration below applies unchanged to either form factor. DEEPX NPU support in Frigate is developed and maintained by [Sixfab](https://sixfab.com). See the [installation docs](../frigate/installation.md#deepx-npu) for information on installing the DEEPX kernel driver and runtime on the host and passing the NPU through to the container. To run a model on a DEEPX NPU, list a `deepx` device on that model. :::info The DX-RT Python bindings are not part of the Frigate image. The `libdxrt-bin` package is downloaded and its `dx_engine` wheel installed into `/config/.local` the first time a DEEPX device is configured, verified against pinned checksums, and updated automatically when a Frigate release pins a new version. The package stays in the runtime cache, so a container recreated without intern","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":569,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0399","title":"Object Detectors","heading":"Configuration {#configuration-deepx}","text":" Frigate does not bundle a model for this detector. Models must be compiled to DEEPX's `.dxnn` format. Two model types are supported: - `yolo-generic` for YOLO object detection models, the recommended default. The detector reads the model's output layout from the compiled file, so anchor-based, anchor-free and NMS-in-head models all work with the same configuration, as do models compiled with DEEPX's Post-Processing Unit (PPU) support. - `yolox` for YOLOX models compiled without PPU support, whose raw head needs Frigate's YOLOX decoder. A YOLOX model compiled with PPU support works under either `yolox` or `yolo-generic`. The quickest way to get one is the [DEEPX ModelZoo](https://developer.deepx.ai/modelzoo), which publishes pre-compiled `.dxnn` files for a range of YOLO object detection models. Download the `.dxnn`, bind-mount it into the container","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":570,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0400","title":"Object Detectors","heading":"Label maps","text":"The object detection models in the DEEPX ModelZoo are trained on the standard 80-class COCO label set, so `labelmap_path` must be set to `/labelmap/coco-80.txt`. Frigate's default label map uses an extended 91-class COCO scheme, and leaving it in place will cause detections to be reported as the wrong object type. For `yolo-generic` models the label map is also what the detector uses to tell the output layout, so a label map with the wrong number of classes is reported as an error at startup. ---","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":571,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0401","title":"Object Detectors","heading":"NVidia TensorRT Detector","text":"Nvidia Jetson devices may be used for object detection using the TensorRT libraries. Due to the size of the additional libraries, this detector is only provided in images with the `-tensorrt-jp6` tag suffix, e.g. `ghcr.io/blakeblackshear/frigate:stable-tensorrt-jp6`. This detector is designed to work with Yolo models for object detection.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":572,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0402","title":"Object Detectors","heading":"Generate Models","text":"The model used for TensorRT must be preprocessed on the same hardware platform that they will run on. This means that each user must run additional setup to generate a model file for the TensorRT library. A script is included that will build several common models. The Frigate image will generate model files during startup if the specified model is not found. Processed models are stored in the `/config/model_cache` folder. Typically the `/config` path is mapped to a directory on the host already and the `model_cache` does not need to be mapped separately unless the user wants to store it in a different location on the host. By default, no models will be generated, but this can be overridden by specifying the `YOLO_MODELS` environment variable in Docker. One or more models may be listed in a comma-separated format, and each one will be generated. Models will only be generated if the corresponding `{model}.trt` file is not present in the `","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":573,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0403","title":"Object Detectors","heading":"Configuration Parameters","text":"The TensorRT detector can be selected by specifying `tensorrt` as the model type. The GPU will need to be passed through to the docker container using the same methods described in the [Hardware Acceleration](hardware_acceleration_video.md#nvidia-gpus) section. If you pass through multiple GPUs, you can select which GPU is used for a detector with the `device` configuration parameter. The `device` parameter is an integer value of the GPU index, as shown by `nvidia-smi` within the container. The TensorRT detector uses `.trt` model files that are located in `/config/model_cache/tensorrt` by default. These model path and dimensions used will depend on which model you have generated. Use the config below to work with generated TRT models: ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":574,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0404","title":"Object Detectors","heading":"Synaptics","text":"Hardware accelerated object detection is supported on the following SoCs: - SL1680 This implementation uses the [Synaptics model conversion](https://synaptics-synap.github.io/doc/v/latest/docs/manual/introduction.html#offline-model-conversion), version v3.1.0. This implementation is based on sdk `v1.5.0`. See the [installation docs](../frigate/installation.md#synaptics) for information on configuring the SL-series NPU hardware.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":575,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0405","title":"Object Detectors","heading":"Configuration {#configuration-synaptics}","text":"When configuring the Synap detector, you have to specify the model: a local **path**. ","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":576,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0406","title":"Object Detectors","heading":"Rockchip platform","text":"Hardware accelerated object detection is supported on the following SoCs: - RK3562 - RK3566 - RK3568 - RK3576 - RK3588 This implementation uses the [Rockchip's RKNN-Toolkit2](https://github.com/airockchip/rknn-toolkit2/), version v2.3.2. :::info If no custom model is provided, the RKNN detector downloads a default model from GitHub on first startup. Once cached, the model works fully offline. See [Network Requirements](/frigate/network_requirements#hardware-specific-detector-models) for details. ::: :::tip When using many cameras one detector may not be enough to keep up. Multiple detectors can be defined assuming NPU resources are available. An example configuration would be: :::","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":577,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0407","title":"Object Detectors","heading":"Prerequisites","text":"Make sure to follow the [Rockchip specific installation instructions](/frigate/installation#rockchip-platform). :::tip You can get the load of your NPU with the following command: :::","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":578,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0408","title":"Object Detectors","heading":"RockChip Supported Models","text":"This `config.yml` shows all relevant options to configure the detector and explains them. All values shown are the default values (except for two). Lines that are required at least to use the detector are labeled as required, all other lines are optional. The inference time was determined on a rk3588 with 3 NPU cores. | Model | Size in mb | Inference time in ms | | --------------------- | ---------- | -------------------- | | deci-fp16-yolonas_s | 24 | 25 | | deci-fp16-yolonas_m | 62 | 35 | | deci-fp16-yolonas_l | 81 | 45 | | frigate-fp16-yolov9-t | 6 | 35 | | rock-i8-yolox_nano | 3 | 14 | | rock-i8_yolox_tiny | 6 | 18 | - All models are automatically downloaded and stored in the folder `config/model_cache/rknn_cache`. After upgrading Frigate, you should remove older models to free up space. - You can also provide your own `.rknn` model. You should not save your own models in the `rknn_cache` folder, store them directly in the `model_ca","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":579,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0409","title":"Object Detectors","heading":"Converting your own onnx model to rknn format","text":"To convert a onnx model to the rknn format using the [rknn-toolkit2](https://github.com/airockchip/rknn-toolkit2/) you have to: - Place one or more models in onnx format in the directory `config/model_cache/rknn_cache/onnx` on your docker host (this might require `sudo` privileges). - Save the configuration file under `config/conv2rknn.yaml` (see below for details). - Run `docker exec python3 /opt/conv2rknn.py`. If the conversion was successful, the rknn models will be placed in `config/model_cache/rknn_cache`. This is an example configuration file that you need to adjust to your specific onnx model: Explanation of the parameters: - `soc`: A list of all SoCs you want to build the rknn model for. If you don't specify this parameter, the script tries to find out your SoC and builds the rknn model for this one. - `quantization`: true: 8 bit integer (i8) quantization, false: 16 bit float (fp16). Default: false. - `out","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":580,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0410","title":"Object Detectors","heading":"AXERA","text":"Hardware accelerated object detection is supported on the following SoCs: - AX650N - AX8850N This implementation uses the [AXera Pulsar2 Toolchain](https://huggingface.co/AXERA-TECH/Pulsar2). See the [installation docs](../frigate/installation.md#axera) for information on configuring the AXEngine hardware. :::info The AXEngine detector downloads its default model from HuggingFace on first startup. Once cached, the model works fully offline. See [Network Requirements](/frigate/network_requirements#hardware-specific-detector-models) for details. ::: :::info The AXEngine python package is not part of the Frigate image. It is downloaded and installed into `/config/.local` the first time an AXEngine detector is configured, verified against a pinned checksum, and updated automatically when a Frigate release pins a new version. If the container has no internet access, see [Detector runtimes](/frigate/network_requirements#detector-runtimes) for","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":581,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0411","title":"Object Detectors","heading":"Configuration {#configuration-axengine}","text":"When configuring the AXEngine detector, you have to specify the model name. ---","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":582,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0412","title":"Object Detectors","heading":"Axelera Metis","text":" Hardware accelerated object detection is supported on the Axelera Metis AI Accelerator, available in M.2 and PCIe card formats. Inference runs through Axelera's low-level runtime (`axelera.runtime`), which executes compiled YOLO-family models with a flat per-frame latency. See the [installation docs](../frigate/installation.md#axelera-metis) for information on configuring the Metis hardware. :::info The Axelera runtime is not part of the Frigate image. It is downloaded and installed into `/config/.local` the first time an Axelera detector is configured, verified against pinned checksums, and updated automatically when a Frigate release pins a new version. If the container has no internet access, see [Detector runtimes](/frigate/network_requirements#detector-runtimes) for how to provide the files yourself. :::","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":583,"id":"configuration/object_detectors","section_id":"frigate/configuration/object_detectors/0413","title":"Object Detectors","heading":"Using a Custom Model","text":"Models must be compiled for the Metis NPU with the Axelera Voyager SDK before Frigate can run them. The compiled output is a directory containing `1/model.json`, `1/manifest.json`, and the baked `1/postprocess_graph.onnx`. Compile the model on a machine with the Voyager SDK installed (compilation is not supported inside the Frigate container), for example with the SDK's `deploy.py` against a model-zoo yaml. Then zip the compiled output and point the model's `path` at the zip (bind-mounted, or at an http(s) URL); the archive extracts fresh on every start.","url":"https://docs.frigate.video/configuration/object_detectors/","vehicles":[]},{"i":584,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0414","title":"Filters","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; There are several types of object filters that can be used to reduce [false positive](/frigate/glossary#false-positive) rates.","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":585,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0415","title":"Filters","heading":"Object Scores","text":"For object filters, any single detection below `min_score` will be ignored as a false positive. `threshold` is based on the median of the history of scores (padded to 3 values) for a tracked object. Consider the following frames when `min_score` is set to 0.6 and threshold is set to 0.85: | Frame | Current Score | Score History | Computed Score | Detected Object | | ----- | ------------- | --------------------------------- | -------------- | --------------- | | 1 | 0.7 | 0.0, 0, 0.7 | 0.0 | No | | 2 | 0.55 | 0.0, 0.7, 0.0 | 0.0 | No | | 3 | 0.85 | 0.7, 0.0, 0.85 | 0.7 | No | | 4 | 0.90 | 0.7, 0.85, 0.95, 0.90 | 0.875 | Yes | | 5 | 0.88 | 0.7, 0.85, 0.95, 0.90, 0.88 | 0.88 | Yes | | 6 | 0.95 | 0.7, 0.85, 0.95, 0.90, 0.88, 0.95 | 0.89 | Yes | In frame 2, the score is below the `min_score` value, so Frigate ignores it and it becomes a 0.0. The computed score is the median of the score history (padding to at least 3 values), and only when t","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":586,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0416","title":"Filters","heading":"Minimum Score","text":"Any detection below `min_score` will be immediately thrown out and never tracked because it is considered a false positive. If `min_score` is too low then false positives may be detected and tracked which can confuse the object tracker and may lead to wasted resources. If `min_score` is too high then lower scoring true positives like objects that are further away or partially occluded may be thrown out which can also confuse the tracker and cause valid tracked objects to be lost or disjointed.","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":587,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0417","title":"Filters","heading":"Threshold","text":"`threshold` is used to determine that the object is a true positive. Once an object is detected with a score >= `threshold` object is considered a true positive. If `threshold` is too low then some higher scoring false positives may create a tracked object. If `threshold` is too high then true positive tracked objects may be missed due to the object never scoring high enough.","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":588,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0418","title":"Filters","heading":"Configuring Object Scores","text":" Navigate to Global configuration > Objects\" /> to set score filters globally. | Field | Description | | -------------------------------------------------- | ---------------------------------------------------------------- | | **Object filters > Person > Minimum confidence** | Minimum score for a single detection to initiate tracking | | **Object filters > Person > Confidence threshold** | Minimum computed (median) score to be considered a true positive | To override score filters for a specific camera, navigate to Camera configuration > Objects\" /> and select the camera. To override at the camera level: ","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":589,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0419","title":"Filters","heading":"Object Shape","text":"False positives can also be reduced by filtering a detection based on its shape.","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":590,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0420","title":"Filters","heading":"Object Area","text":"`min_area` and `max_area` filter on the area of an objects bounding box and can be used to reduce false positives that are outside the range of expected sizes. For example when a leaf is detected as a dog or when a large tree is detected as a person, these can be reduced by adding a `min_area` / `max_area` filter. These values can either be in pixels or as a percentage of the frame (for example, 0.12 represents 12% of the frame).","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":591,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0421","title":"Filters","heading":"Object Proportions","text":"`min_ratio` and `max_ratio` values are compared against a given detected object's width/height ratio (in pixels). If the ratio is outside this range, the object will be ignored as a false positive. This allows objects that are proportionally too short-and-wide (higher ratio) or too tall-and-narrow (smaller ratio) to be ignored. :::info Conceptually, a ratio of 1 is a square, 0.5 is a \"tall skinny\" box, and 2 is a \"wide flat\" box. If `min_ratio` is 1.0, any object that is taller than it is wide will be ignored. Similarly, if `max_ratio` is 1.0, then any object that is wider than it is tall will be ignored. :::","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":592,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0422","title":"Filters","heading":"Configuring Shape Filters","text":" Navigate to Global configuration > Objects\" /> to set shape filters globally. | Field | Description | | -------------------------------------------------- | ------------------------------------------------------------------------ | | **Object filters > Person > Minimum object area** | Minimum bounding box area in pixels (or decimal for percentage of frame) | | **Object filters > Person > Maximum object area** | Maximum bounding box area in pixels (or decimal for percentage of frame) | | **Object filters > Person > Minimum aspect ratio** | Minimum width/height ratio of the bounding box | | **Object filters > Person > Maximum aspect ratio** | Maximum width/height ratio of the bounding box | To override shape filters for a specific camera, navigate to Camera configuration > Objects\" /> and select the camera. To override a","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":593,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0423","title":"Filters","heading":"Zones","text":"[Required zones](/configuration/zones.md#restricting-alerts-and-detections-to-specific-zones) can be a great tool to reduce false positives that may be detected in the sky or other areas that are not of interest. The required zones will only create tracked objects for objects that enter the zone.","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":594,"id":"configuration/object_filters","section_id":"frigate/configuration/object_filters/0424","title":"Filters","heading":"Object Masks","text":"[Object Filter Masks](/configuration/masks#object-filter-masks) are a last resort but can be useful when false positives are in the relatively same place but can not be filtered due to their size or shape. Object filter masks can be configured in Camera configuration > Masks / Zones\" />.","url":"https://docs.frigate.video/configuration/object_filters/","vehicles":[]},{"i":595,"id":"configuration/objects","section_id":"frigate/configuration/objects/0425","title":"Available Objects","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; import labels from \"../../../labelmap.txt\"; Frigate includes the object labels listed below from the Google Coral test data. Please note: - `car` is listed twice because `truck` has been renamed to `car` by default. These object types are frequently confused. - `person` is the only tracked object by default. To track additional objects, configure them in the objects settings.
    {labels.split(\"\\n\").map((label) => (
  • {label.replace(/^\\d+\\s+/, \"\")}
  • ))}
","url":"https://docs.frigate.video/configuration/objects/","vehicles":[]},{"i":596,"id":"configuration/objects","section_id":"frigate/configuration/objects/0426","title":"Available Objects","heading":"Configuring Tracked Objects","text":"By default, Frigate only tracks `person`. To track additional object types, add them to the tracked objects list. 1. Navigate to Global configuration > Objects\" />. - Add the desired object types to the **Objects to track** list (e.g., `person`, `car`, `dog`) To override the tracked objects list for a specific camera: 1. Navigate to Camera configuration > Objects\" />. - Add the desired object types to the **Objects to track** list To override at the camera level: ","url":"https://docs.frigate.video/configuration/objects/","vehicles":[]},{"i":597,"id":"configuration/objects","section_id":"frigate/configuration/objects/0427","title":"Available Objects","heading":"Filtering Objects","text":"Object filters help reduce false positives by constraining the size, shape, and confidence thresholds for each object type. Filters can be configured globally or per camera. Navigate to Global configuration > Objects\" />. | Field | Description | | -------------------------------------------------- | ------------------------------------------------------------------------ | | **Object filters > Person > Minimum object area** | Minimum bounding box area in pixels (or decimal for percentage of frame) | | **Object filters > Person > Maximum object area** | Maximum bounding box area in pixels (or decimal for percentage of frame) | | **Object filters > Person > Minimum aspect ratio** | Minimum width/height ratio of the bounding box | | **Object filters > Person > Maximum aspect ratio** | Maximum width/height ratio of the bounding box | | **Object filters > Person > Minimum confidence","url":"https://docs.frigate.video/configuration/objects/","vehicles":[]},{"i":598,"id":"configuration/objects","section_id":"frigate/configuration/objects/0428","title":"Available Objects","heading":"Object Filter Masks","text":"Object filter masks prevent specific object types from being detected in certain areas of the camera frame. These masks check the bottom center of the bounding box. A global mask applies to all object types, while per-object masks apply only to the specified type. Navigate to Camera configuration > Masks / Zones\" /> and select a camera. Use the mask editor to draw object filter masks directly on the camera feed. Global object masks and per-object masks can both be configured from this view. :::note The global mask is combined with any object-specific mask. Both are checked based on the bottom center of the bounding box. :::","url":"https://docs.frigate.video/configuration/objects/","vehicles":[]},{"i":599,"id":"configuration/objects","section_id":"frigate/configuration/objects/0429","title":"Available Objects","heading":"Custom Models","text":"Models 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 config](advanced/system.md#model) if they differ from the defaults.","url":"https://docs.frigate.video/configuration/objects/","vehicles":[]},{"i":600,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0430","title":"Profiles","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Profiles allow you to define named sets of camera configuration overrides that can be activated and deactivated at runtime without restarting Frigate. This is useful for scenarios like switching between \"Home\" and \"Away\" modes, daytime and nighttime configurations, or any situation where you want to quickly change how multiple cameras behave.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":601,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0431","title":"Profiles","heading":"How Profiles Work","text":"Profiles operate as a two-level system: 1. **Profile definitions** are declared at the top level of your config under `profiles`. Each definition has a machine name (the key) and a `friendly_name` for display in the UI. 2. **Camera profile overrides** are declared under each camera's `profiles` section, keyed by the profile name. Only the settings you want to change need to be specified. Everything else is inherited from the camera's base configuration. When a profile is activated, Frigate merges each camera's profile overrides on top of its base config. When the profile is deactivated, all cameras revert to their original settings. Only one profile can be active at a time. :::info Profile changes are applied in-memory and take effect immediately. No restart is required. The active profile is persisted across Frigate restarts (stored in the `/config/.profiles` file). :::","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":602,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0432","title":"Profiles","heading":"Configuration","text":"The easiest way to define profiles is to use the Frigate UI. Profiles can also be configured manually in your configuration file.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":603,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0433","title":"Profiles","heading":"Creating and Managing Profiles","text":" 1. **Create a profile**: Navigate to Global configuration > Profiles\" />. Click the **Add Profile** button, enter a name (and optionally a profile ID). 2. **Configure overrides**: Navigate to a camera configuration section (e.g. Motion detection, Record, Notifications). In the top right, two buttons will appear - choose a camera and a profile from the profile selector to edit overrides for that camera and section. Only the fields you change will be stored as overrides. Fields that require a restart are hidden since profiles are applied at runtime. You can click the **Remove Profile Override** button to clear overrides. 3. **Activate a profile**: Use the **Profiles** option in Frigate's main menu to choose a profile. Alternatively, in Settings, navigate to Global configuration > Profiles\" />, then choose a profile in the Active Profile dropdown to activ","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":604,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0434","title":"Profiles","heading":"Supported Override Sections","text":"The following camera configuration sections can be overridden in a profile: | Section | Description | | ------------------ | ----------------------------------------- | | `enabled` | Enable or disable the camera entirely | | `audio` | Audio detection settings | | `birdseye` | Birdseye view settings | | `detect` | Object detection settings | | `face_recognition` | Face recognition settings | | `lpr` | License plate recognition settings | | `motion` | Motion detection settings | | `notifications` | Notification settings | | `objects` | Object tracking and filter settings | | `record` | Recording settings | | `review` | Review alert and detection settings | | `snapshots` | Snapshot settings | | `zones` | Zone definitions (merged with base zones) | :::note Only the fields you explicitly set in a profile override are applied. All other fields retain their base configuration values. For masks and zones, profile zones **override** the camera's","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":605,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0435","title":"Profiles","heading":"Activating Profiles","text":"Profiles can be activated and deactivated via the Frigate UI, [MQTT](/integrations/mqtt#frigateprofileset), the [HTTP API](../integrations/api/camera-set-camera-camera-name-set-feature-sub-command-put.api.mdx), or the Home Assistant integration. In the Frigate UI, open the Settings cog and select **Profiles** from the submenu to see all defined profiles. From there you can activate any profile or deactivate the current one. The active profile is indicated in the UI so you always know which profile is in effect. Activating or deactivating a profile clears any [runtime toggle overrides](/configuration/live#runtime-toggle-persistence) so the profile's settings aren't silently undone by a stale toggle from before the switch.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":606,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0436","title":"Profiles","heading":"Example: Home / Away Setup","text":"A common use case is having different detection and notification settings based on whether you are home or away. This example below is for a system with two cameras, `front_door` and `indoor_cam`. 1. Navigate to Global configuration > Profiles\" /> and create two profiles: **Home** and **Away**. 2. From to the Camera configuration section in Settings, choose the **front_door** camera, and select the **Away** profile from the profile dropdown. Then, enable notifications from the Notifications pane, and set alert labels to `person` and `car` from the Review pane. Then, from the profile dropdown choose **Home** profile, then navigate to Notifications to disable notifications. 3. For the **indoor_cam** camera, perform similar steps - configure the **Away** profile to enable the camera, detection, and recording. Configure the **Home** profile to disable the camera entirely for privac","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":607,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0437","title":"Profiles","heading":"Can I define a zone or mask in a profile but not have it in the base config?","text":"No. Profiles are pure overrides. Every zone and mask defined under a profile must reference an entry that already exists on the base camera config. Configurations that introduce profile-only zones or masks are rejected at startup. If you want a zone or mask to be active only under a specific profile, define it on the base config with `enabled: false`, then enable it in that profile's overrides.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":608,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0438","title":"Profiles","heading":"How do I revert a profile zone or mask override back to the base configuration?","text":"Delete the override. In the Frigate UI, edit the profile and use the \"Revert override\" action (the trash can icon) on the zone or mask. The base entry is left untouched, and once the override is removed the profile inherits the base values for that zone or mask.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":609,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0439","title":"Profiles","heading":"Can multiple profiles be active at the same time?","text":"No. Only one profile can be active at a time. Activating a new profile automatically deactivates the current one.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":610,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0440","title":"Profiles","heading":"What happens to my profile overrides if I delete a zone or mask from the base?","text":"When you delete a base zone or mask in the Frigate UI, any profile overrides for that entry are deleted automatically as part of the same operation. If you remove a base entry by editing your config file directly and leave a profile override behind, the config will fail validation at startup until the orphaned override is removed as well.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":611,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0441","title":"Profiles","heading":"How do I make a YAML profile track no objects at all?","text":"Set the tracked object list explicitly to an empty list in the profile: Leaving the `objects` section empty (or omitting `track`) does not clear the list. Empty sections set no fields, so the profile inherits the full tracked object list from the base config, including anything set at the global level. The same applies to other lists, such as `audio.listen`.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":612,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0442","title":"Profiles","heading":"Why are some settings missing when I configure a profile override?","text":"Fields that require a Frigate restart to take effect cannot be overridden by profiles, since profiles are applied at runtime without restarting. Those fields are hidden when editing a profile override and can only be changed on the base configuration.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":613,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0443","title":"Profiles","heading":"Why can't a profile enable recording when it's disabled in the base config?","text":"Frigate only sets up a camera's recording stream at startup when recording is enabled in the base config, so enabling it later from a profile has no effect. The same applies to turning recording on from the UI or MQTT. To keep recording off by default, leave `record.enabled: true` in the base config and create a profile that sets `record.enabled: false`. Activate that profile and it will be restored automatically when Frigate starts.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":614,"id":"configuration/profiles","section_id":"frigate/configuration/profiles/0444","title":"Profiles","heading":"Can I schedule profiles to be enabled or disabled at certain times?","text":"Not within Frigate itself. Frigate is an NVR, not an automation platform, so it intentionally does not include a scheduler for activating profiles. Instead, activate profiles from an automation platform that already handles time- and event-based triggers well, such as [Home Assistant](https://www.home-assistant.io/) or [Node-RED](https://nodered.org/). These integrate with Frigate and give you far more robust and flexible scheduling than a built-in scheduler could. If you prefer something lightweight, a simple script driven by a cron job that toggles profiles on a schedule works too.","url":"https://docs.frigate.video/configuration/profiles/","vehicles":[]},{"i":615,"id":"configuration/pwa","section_id":"frigate/configuration/pwa/0445","title":"Installing Frigate App","heading":"Overview","text":"Frigate supports being installed as a [Progressive Web App](https://web.dev/explore/progressive-web-apps) on Desktop, Android, and iOS. This adds features including the ability to deep link directly into the app.","url":"https://docs.frigate.video/configuration/pwa/","vehicles":[]},{"i":616,"id":"configuration/pwa","section_id":"frigate/configuration/pwa/0446","title":"Installing Frigate App","heading":"Requirements","text":"In order to install Frigate as a PWA, the following requirements must be met: - Frigate must be accessed via a secure context (localhost, secure https, VPN, etc.) - On Android, Firefox, Chrome, Edge, Opera, and Samsung Internet Browser all support installing PWAs. - On iOS 16.4 and later, PWAs can be installed from the Share menu in Safari, Chrome, Edge, Firefox, and Orion.","url":"https://docs.frigate.video/configuration/pwa/","vehicles":[]},{"i":617,"id":"configuration/pwa","section_id":"frigate/configuration/pwa/0447","title":"Installing Frigate App","heading":"Installation","text":"Installation varies slightly based on the device that is being used: - Desktop: Use the install button typically found in right edge of the address bar - Android: Use the `Install as App` button in the more options menu for Chrome, and the `Add app to Home screen` button for Firefox - iOS: Use the `Add to Homescreen` button in the share menu","url":"https://docs.frigate.video/configuration/pwa/","vehicles":[]},{"i":618,"id":"configuration/pwa","section_id":"frigate/configuration/pwa/0448","title":"Installing Frigate App","heading":"Usage","text":"Once setup, the Frigate app can be used wherever it has access to Frigate. This means it can be setup as local-only, VPN-only, or fully accessible depending on your needs.","url":"https://docs.frigate.video/configuration/pwa/","vehicles":[]},{"i":619,"id":"configuration/record","section_id":"frigate/configuration/record/0449","title":"Recording","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Recordings can be enabled and are stored at `/media/frigate/recordings`. The folder structure for the recordings is `YYYY-MM-DD/HH//MM.SS.mp4` in **UTC time**. These recordings are written directly from your camera stream without re-encoding. Each camera supports a configurable retention policy. Frigate chooses the largest matching retention value between the recording retention and the tracked object retention when determining if a recording should be removed. New recording segments are written from the camera stream to cache, they are only moved to disk if they pass a validation check and match the setup recording retention policy. :::tip To keep a specific clip beyond your retention window, [export](/usage/exports) it rather than increasing retention for the whole camera. Exp","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":620,"id":"configuration/record","section_id":"frigate/configuration/record/0450","title":"Recording","heading":"Most conservative: Ensure all video is saved","text":"For users deploying Frigate in environments where it is important to have contiguous video stored even if there was no detectable motion, the following configuration will store all video for 3 days. After 3 days, only video containing motion will be saved for 7 days. After 7 days, only video containing motion and overlapping with alerts or detections will be retained until 30 days have passed. Navigate to Global configuration > Recording\" />. - Set **Enable recording** to on - Set **Continuous retention > Retention days** to `3` - Set **Motion retention > Retention days** to `7` - Set **Alert retention > Event retention > Retention days** to `30` - Set **Alert retention > Event retention > Retention mode** to `all` - Set **Detection retention > Event retention > Retention days** to `30` - Set **Detection retention > Event retention > Retention mode** to `all` Navigate to Global configuration > Recording\" />. - Set **Enable recording** to on - Set **Motion retention > Retention days** to `3` - Set **Alert retention > Event retention > Retention days** to `30` - Set **Alert retention > Event retention > Retention mode** to `motion` - Set **Detection retention > Event retention > Retention days** to `30` - Set **Detection retention > Event retention > Retention mode** to `motion` ","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":622,"id":"configuration/record","section_id":"frigate/configuration/record/0452","title":"Recording","heading":"Minimum: Alerts only","text":"If you only want to retain video that occurs during activity caused by tracked object(s), this configuration will discard video unless an alert is ongoing. Navigate to Global configuration > Recording\" />. - Set **Enable recording** to on - Set **Continuous retention > Retention days** to `0` - Set **Alert retention > Event retention > Retention days** to `30` - Set **Alert retention > Event retention > Retention mode** to `motion` ","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":623,"id":"configuration/record","section_id":"frigate/configuration/record/0453","title":"Recording","heading":"Pre-capture and Post-capture","text":"The `pre_capture` and `post_capture` settings control how many seconds of video are included before and after an alert or detection. These can be configured independently for alerts and detections, and can be set globally or overridden per camera. Navigate to Global configuration > Recording\" /> for global defaults, or Camera configuration > (select camera) > Recording\" /> to override for a specific camera. | Field | Description | | ---------------------------------------------- | ---------------------------------------------------- | | **Alert retention > Pre-capture seconds** | Seconds of video to include before an alert event | | **Alert retention > Post-capture seconds** | Seconds of video to include after an alert event | | **Detection retention > Pre-capture seconds** | Seconds of video to include before a detection event | | **Detection retentio","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":624,"id":"configuration/record","section_id":"frigate/configuration/record/0454","title":"Recording","heading":"How pre/post capture interacts with retention mode","text":"The `pre_capture` and `post_capture` values define the **time window** around a review item, but only recording segments that also match the configured **retention mode** are actually kept on disk. - **`mode: all`**: Retains every segment within the capture window, regardless of whether motion was detected. - **`mode: motion`** (default): Only retains segments within the capture window that contain motion. This includes segments with active tracked objects, since object motion implies motion. Segments without any motion are discarded even if they fall within the pre/post capture range. - **`mode: active_objects`**: Only retains segments within the capture window where tracked objects were actively moving. Segments with general motion but no active objects are discarded. This means that with the default `motion` mode, you may see less footage than the configured pre/post capture duration if parts of the capture window had no motion. To g","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":625,"id":"configuration/record","section_id":"frigate/configuration/record/0455","title":"Recording","heading":"Where to view pre/post capture footage","text":"Pre and post capture footage is included in the **recording timeline**, visible in the History view. Note that pre/post capture settings only affect which recording segments are **retained on disk**. They do not change the start and end points shown in the UI. The History view will still center on the review item's actual time range, but you can scrub backward and forward through the retained pre/post capture footage on the timeline. The Explore view shows object-specific clips that are trimmed to when the tracked object was actually visible, so pre/post capture time will not be reflected there.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":626,"id":"configuration/record","section_id":"frigate/configuration/record/0456","title":"Recording","heading":"Configuring Recording Retention","text":"Frigate supports both continuous and tracked object based recordings with separate retention modes and retention periods. :::tip Retention configs support decimals meaning they can be configured to retain `0.5` days, for example. :::","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":627,"id":"configuration/record","section_id":"frigate/configuration/record/0457","title":"Recording","heading":"Continuous and Motion Recording","text":"The number of days to retain continuous and motion recordings can be configured. By default, continuous recording is disabled. Navigate to Global configuration > Recording\" />. | Field | Description | | ----------------------------------------- | -------------------------------------------- | | **Enable recording** | Enable or disable recording for all cameras | | **Continuous retention > Retention days** | Number of days to keep continuous recordings | | **Motion retention > Retention days** | Number of days to keep motion recordings | Continuous recording supports different retention modes [which are described below](#configuring-recording-retention).","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":628,"id":"configuration/record","section_id":"frigate/configuration/record/0458","title":"Recording","heading":"Object Recording","text":"The number of days to retain recordings for review items can be specified for items classified as alerts as well as tracked objects. Navigate to Global configuration > Recording\" />. | Field | Description | | ---------------------------------------------------------- | ------------------------------------------- | | **Enable recording** | Enable or disable recording for all cameras | | **Alert retention > Event retention > Retention days** | Number of days to keep alert recordings | | **Detection retention > Event retention > Retention days** | Number of days to keep detection recordings | This configuration will retain recording segments that overlap with alerts and detections for 10 days. Because multiple tracked objects can reference the same recording segments, this avoids storing duplicate footage for overlapping t","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":629,"id":"configuration/record","section_id":"frigate/configuration/record/0459","title":"Recording","heading":"Sub Stream Recording","text":"In addition to the main recording stream, Frigate can record a second, lower quality stream for each camera. This serves two purposes: - **Quality selection during playback**: A quality selector (`Auto`, `Original`, or `Low`) appears in History view for cameras with sub stream recording enabled. `Original` and `Low` play only that stream's recordings. Time ranges where the selected stream has no footage are skipped during playback, and the selector notes when the selected stream has no recordings at all in the viewed time range. With `Auto` (the default), playback prefers the original quality and automatically falls back to the low quality stream when the connection cannot keep up, or for time ranges where the original recordings have expired. The selector shows each stream's video codec and audio details beneath the options; footage recorded by older Frigate versions shows no details. - **Quality selection when exporting**: A `Quality`","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":630,"id":"configuration/record","section_id":"frigate/configuration/record/0460","title":"Recording","heading":"Configuring sub stream recording","text":"Sub stream recording uses the `record_sub` input role. This role can be assigned to the same input as `detect`, so in the common case where detect already uses the camera's sub stream, no additional camera connection is needed. Like the main recording stream, sub stream segments are copied directly from the camera stream without re-encoding, so the recording quality is determined by the source stream. The following examples keep 7 days of full quality continuous recordings and 60 days of low quality continuous recordings: Navigate to Camera configuration > Streams (FFmpeg)\" /> and select the camera. - In **Camera inputs**, enable the **Record (Sub Stream)** role on the stream you want to record at low quality, commonly the same stream that has the **Detect** role. Only one stream may have this role, and it cannot be assigned to the same stream as the **Record** role. Navigate t","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":631,"id":"configuration/record","section_id":"frigate/configuration/record/0461","title":"Recording","heading":"How Auto picks a quality","text":"`Auto` measures throughput on every segment download and compares it against the original stream's bitrate (computed from the recorded footage itself). Playback drops to the low quality stream when any of these happen: - A freeze lasts 4 seconds (10 seconds when it starts within 2 seconds of a seek, since the seek target is rarely buffered), or freezes total 7 seconds within the last minute. - 3 downloads in a row measure below the original bitrate plus 10%, dropping quality before a stall ever becomes visible. - No first frame appears within 10 seconds, or loading fails outright. Playback returns to full quality only when measured throughput exceeds the original bitrate by 50%, checked continuously while playing the low quality stream and again at each new hour. The asymmetric thresholds (1.1x to drop, 1.5x to return) keep a borderline connection from switching back and forth. The most recent measurement is remembered on the device: a ","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":632,"id":"configuration/record","section_id":"frigate/configuration/record/0462","title":"Recording","heading":"Sub stream output args","text":"By default the sub stream is recorded with the same [output args](/configuration/ffmpeg_presets#output-args-presets) as the main recording stream, so it inherits any customization made to `ffmpeg.output_args.record`. Setting `ffmpeg.output_args.record_sub` gives the sub stream its own args instead. Like all `ffmpeg` config, this can be set globally or per camera. The most common reason to set this is a pair of streams whose audio differs. Many cameras send AAC on the main stream but PCM on the sub stream, and PCM cannot be copied into an mp4 recording. Copying the main stream's audio avoids re-encoding audio that is already AAC, while the sub stream still needs to be transcoded: Other reasons to set this are recording a sub stream whose codec needs a different preset than the main stream, such as `preset-record-mjpeg`, or forcing a matching audio sample rate across the two streams with manual args ending in `-c:a aac -ar 16000`. :::warn","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":633,"id":"configuration/record","section_id":"frigate/configuration/record/0463","title":"Recording","heading":"Which stream do features use?","text":"As a general rule, features that read recordings prefer the main stream and fall back to the sub stream for time ranges where the main recordings have expired. Analytics features use only the main stream. | Feature | Stream used | | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | | Recording playback (History and Review) | Both (main preferred with sub fallback by default), or exactly one stream when a quality is selected manually | | Tracking details and Explore clip playback | Main, falling back to sub where the main recordings have expired | | Exports | Both (main preferred with sub fallback by default), or exactly one stream when a quality is selected in the export dialog | | Clip downloads | Main; sub is used when no main recordings remain in the range (streams are ne","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":634,"id":"configuration/record","section_id":"frigate/configuration/record/0464","title":"Recording","heading":"Trade-offs","text":"- Recording a second stream increases overall storage use. The increase is typically small relative to the main recordings, since the low quality stream is much smaller. Both streams are cached before being written to disk, so cache use goes up as well. See [the `/tmp/cache` area is separate](#the-tmpcache-area-is-separate) if you start seeing `No space left on device` errors after enabling it. - The go2rtc transcode approach continuously encodes the low quality stream, which uses CPU or GPU resources. This cost only applies to the transcode path; recording the camera's native sub stream does not re-encode. See the [go2rtc hardware acceleration documentation](https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-ffmpeg) for accelerating the transcode. - Many camera sub streams do not include audio. If the source stream has no audio, the low quality recordings will not have audio. - **Matching video codecs and audio settings betwee","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":635,"id":"configuration/record","section_id":"frigate/configuration/record/0465","title":"Recording","heading":"Can I have \"continuous\" recordings, but only at certain times?","text":"Using Frigate UI, Home Assistant, or MQTT, cameras can be automated to only record in certain situations or at certain times.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":636,"id":"configuration/record","section_id":"frigate/configuration/record/0466","title":"Recording","heading":"How do I export recordings?","text":"Footage can be exported from Frigate by right-clicking (desktop) or long pressing (mobile) on a review item in the Review pane or by clicking the Export button in the History view. Exported footage is then organized and searchable through the Export view, accessible from the main navigation bar.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":637,"id":"configuration/record","section_id":"frigate/configuration/record/0467","title":"Recording","heading":"Custom export with FFmpeg arguments","text":"For advanced use cases, the [custom export HTTP API](../integrations/api/export-recording-custom-export-custom-camera-name-start-start-time-end-end-time-post.api.mdx) lets you pass custom FFmpeg arguments when exporting a recording: The request body accepts `ffmpeg_input_args` and `ffmpeg_output_args` to control encoding, frame rate, filters, and other FFmpeg options. If neither is provided, Frigate defaults to time-lapse output settings (25x speed, 30 FPS) with audio removed (`-an`). When providing your own `ffmpeg_input_args`, include `-an` if you want audio stripped from the export. The following example exports a time-lapse at 60x speed with 25 FPS:","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":638,"id":"configuration/record","section_id":"frigate/configuration/record/0468","title":"Recording","heading":"CPU fallback","text":"If hardware acceleration is configured and the export fails (e.g., the GPU is unavailable), set `cpu_fallback: true` in the request body to automatically retry using software encoding. :::note Non-admin users are restricted from using FFmpeg arguments that can access the filesystem (e.g., `-filter_complex`, file paths, and protocol references). Admin users have full control over FFmpeg arguments. ::: :::tip When `hwaccel_args` is configured, hardware encoding is used for exports. This can be overridden per camera (e.g., when camera resolution exceeds hardware encoder limits) by setting a camera-level `hwaccel_args`. Using an unrecognized value or empty string falls back to software encoding (libx264). ::: :::tip To reduce output file size, add the FFmpeg parameter `-qp n` to `ffmpeg_output_args` (where `n` is the quantization parameter). Adjust the value to balance quality and file size for your scenario. :::","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":639,"id":"configuration/record","section_id":"frigate/configuration/record/0469","title":"Recording","heading":"Apple Compatibility with H.265 Streams","text":"Apple devices running the Safari browser may fail to playback h.265 recordings. The [apple compatibility option](../configuration/camera_specific.md#h265-cameras-via-safari) should be used to ensure seamless playback on Apple devices.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":640,"id":"configuration/record","section_id":"frigate/configuration/record/0470","title":"Recording","heading":"Syncing Media Files With Disk","text":"Media files (event snapshots, event thumbnails, review thumbnails, previews, exports, and recordings) can become orphaned when database entries are deleted but the corresponding files remain on disk. Normal operation may leave small numbers of orphaned files until Frigate's scheduled cleanup, but crashes, configuration changes, or upgrades may cause more orphaned files that Frigate does not clean up. This feature checks the file system for media files and removes any that are not referenced in the database. The Maintenance pane in the Frigate UI or an API endpoint `POST /api/media/sync` can be used to trigger a media sync. When using the API, a job ID is returned and the operation continues on the server. Status can be checked with the `/api/media/sync/status/{job_id}` endpoint. Results include the disk space reclaimed, or with `dry_run: true`, the space that would be reclaimed. Setting `verbose: true` writes a detailed report of every ","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":641,"id":"configuration/record","section_id":"frigate/configuration/record/0471","title":"Recording","heading":"Understanding storage usage","text":"The storage usage Frigate reports will not exactly match what the operating system reports with `df` or `du`. This is expected, not a bug. The sections below explain how Frigate derives its storage figures and why they differ from the disk's own accounting.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":642,"id":"configuration/record","section_id":"frigate/configuration/record/0472","title":"Recording","heading":"How Frigate measures recording usage","text":"The **Recordings** value on the Storage Metrics page ( Storage\" />), and the per-camera **Camera Storage** breakdown, is the sum of the recording segment sizes Frigate has written, taken from Frigate's database. It is **not** computed by a scan of the disk. Frigate tracks usage this way by design: repeatedly walking the entire drive to total its size would keep hard drives spun up and add unnecessary I/O. The disk **total** shown beside it, and the free-space figure Frigate uses to decide when to delete recordings, instead come from the operating system's report for the whole filesystem mounted at `/media/frigate`. As a result, the **Unused** value on the page is _total disk capacity minus Frigate's recordings_, not the drive's real free space, which will be lower whenever anything else is stored on the disk.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":643,"id":"configuration/record","section_id":"frigate/configuration/record/0473","title":"Recording","heading":"What counts toward usage, and why it won't match `df`","text":"Only **recording segments** (`/media/frigate/recordings`) are included in the recordings storage total. Plenty of other things consume real disk space but are **not** part of that number: - **Snapshots and thumbnails** (`/media/frigate/clips`): see [Snapshots](/configuration/snapshots). These are retained independently of recordings. - **Preview videos** and **review thumbnails** (also under `/media/frigate/clips`). - **Exports** (`/media/frigate/exports`): exports are never removed by retention. - **The database, downloaded detection models, and face / license plate training images** (stored under `/config`). - **Debug images from enrichments** (`/media/frigate/clips`): when enabled, License Plate Recognition's `debug_save_plates` and GenAI's `debug_save_thumbnails` save plate crops and request images for troubleshooting. These files are the usual explanation for an \"other\" or seemingly unaccounted bucket of space: it is real, it is Fr","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":644,"id":"configuration/record","section_id":"frigate/configuration/record/0474","title":"Recording","heading":"Free space and the `/media/frigate` mount","text":"Frigate reports the capacity and free space of whatever filesystem is actually mounted at `/media/frigate` **inside the container**. If an external drive or network share isn't truly mounted there (a missing `/etc/fstab` entry, a share that was offline when the container started, or a host that doesn't pass the path through), the container falls back to the host's OS disk, and Frigate will correctly report that smaller disk instead of the drive you intended. If the reported capacity doesn't match your drive, the mount is the place to look, not Frigate. Verify what is actually mounted from inside the container: See the [storage mount layout](/frigate/installation#storage) for how the volumes are expected to be configured.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":645,"id":"configuration/record","section_id":"frigate/configuration/record/0475","title":"Recording","heading":"The `/tmp/cache` area is separate","text":"Recording segments are first written to `/tmp/cache`, a small, in-memory (`tmpfs`) area, before being checked and moved to `/media/frigate/recordings`. Because it is separate and small, `/tmp/cache` can fill up and produce `No space left on device` errors even when the recordings disk has plenty of room. They are different storage areas. See [Recordings troubleshooting](/troubleshooting/recordings) for diagnosing cache and slow-storage issues.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":646,"id":"configuration/record","section_id":"frigate/configuration/record/0476","title":"Recording","heading":"When the metrics don't match what's on disk","text":"Because usage is tracked in the database, deleting recording files directly on disk, or files left behind after an upgrade, will not update the reported usage, and can even push it above 100%. Frigate is unaware of files it didn't record and won't count or remove them automatically. Use [Syncing Media Files With Disk](#syncing-media-files-with-disk) to reconcile the database with what is actually on disk.","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":647,"id":"configuration/record","section_id":"frigate/configuration/record/0477","title":"Recording","heading":"Will Frigate delete old recordings if my storage runs out?","text":"Yes. Frigate continuously checks the **free space of the disk** holding `/media/frigate/recordings`. This is different from adding up the size of every recording: free space is a single number the operating system already tracks, so Frigate can ask for it instantly without reading through your files or spinning up the disk, which is exactly why it relies on this check rather than scanning the drive. When less than roughly one hour of recording space remains (estimated from the current recording bitrate, **not** a fixed percentage), Frigate deletes the oldest recordings to reclaim space and logs a message. This emergency cleanup removes the oldest recordings first **regardless of retention settings**. Two consequences follow from this being based on whole-disk free space: - Because the check uses the disk's real free space, **anything** filling the drive, including non-Frigate files, can trigger deletion of your oldest recordings. - Clea","url":"https://docs.frigate.video/configuration/record/","vehicles":[]},{"i":648,"id":"configuration/restream","section_id":"frigate/configuration/restream/0478","title":"Restream","heading":"RTSP","text":"Frigate can restream your video feed as an RTSP feed for other applications such as Home Assistant to utilize it at `rtsp://:8554/`. Port 8554 must be open. [This allows you to use a video feed for detection in Frigate and Home Assistant live view at the same time without having to make two separate connections to the camera](#reduce-connections-to-camera). The video feed is copied from the original video feed directly to avoid re-encoding. This feed does not include any annotation by Frigate. Frigate uses [go2rtc](https://github.com/AlexxIT/go2rtc/tree/v1.9.14) to provide its restream and MSE/WebRTC capabilities. The go2rtc config is hosted at the `go2rtc` in the config, see [go2rtc docs](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#configuration) for more advanced configurations and features. :::note You can access the go2rtc stream info at `/api/go2rtc/streams` which can be helpful to debug as well as pro","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":649,"id":"configuration/restream","section_id":"frigate/configuration/restream/0479","title":"Restream","heading":"Birdseye Restream","text":"Birdseye RTSP restream can be accessed at `rtsp://:8554/birdseye`. Enabling the birdseye restream will cause birdseye to run 24/7 which may increase CPU usage somewhat. :::tip To improve connection speed when using Birdseye via restream you can enable a small idle heartbeat by setting `birdseye.idle_heartbeat_fps` to a low value (e.g. `1\u20132`). This makes Frigate periodically push the last frame even when no motion is detected, reducing initial connection latency. :::","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":650,"id":"configuration/restream","section_id":"frigate/configuration/restream/0480","title":"Restream","heading":"Securing Restream With Authentication","text":"The go2rtc restream can be secured with RTSP based username / password authentication. Ex: **NOTE:** This does not apply to localhost requests, there is no need to provide credentials when using the restream as a source for frigate cameras.","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":651,"id":"configuration/restream","section_id":"frigate/configuration/restream/0481","title":"Restream","heading":"Reduce Connections To Camera","text":"Some cameras only support one active connection or you may just want to have a single connection open to the camera. The RTSP restream allows this to be possible.","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":652,"id":"configuration/restream","section_id":"frigate/configuration/restream/0482","title":"Restream","heading":"With Single Stream","text":"One connection is made to the camera. One for the restream, `detect` and `record` connect to the restream. Configure the go2rtc stream and point the camera inputs at the local restream. Navigate to System > go2rtc streams\" /> and add stream entries for each camera. Then navigate to Camera configuration > Streams (FFmpeg)\" /> for each camera. For each input, choose **Restream (go2rtc)** and pick the matching stream from the dropdown. Frigate uses the local restream URL (`rtsp://127.0.0.1:8554/`) and the `preset-rtsp-restream` input args for that input automatically. (Choose **Manual input path** instead to type a URL directly.) ","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":653,"id":"configuration/restream","section_id":"frigate/configuration/restream/0483","title":"Restream","heading":"With Sub Stream","text":"Two connections are made to the camera. One for the sub stream, one for the restream, `record` connects to the restream. Navigate to System > go2rtc streams\" /> and add stream entries for each camera and its sub stream. Then navigate to Camera configuration > Streams (FFmpeg)\" /> for each camera and add separate inputs for the main and sub streams. Set each input's source to **Restream (go2rtc)** and pick the matching stream from the dropdown. Frigate uses the local restream URL and the `preset-rtsp-restream` input args for that input automatically. ","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":654,"id":"configuration/restream","section_id":"frigate/configuration/restream/0484","title":"Restream","heading":"Handling Complex Passwords","text":"go2rtc expects URL-encoded passwords in the config, [urlencoder.org](https://urlencoder.org) can be used for this purpose. For example: becomes See [this comment](https://github.com/AlexxIT/go2rtc/issues/1217#issuecomment-2242296489) for more information.","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":655,"id":"configuration/restream","section_id":"frigate/configuration/restream/0485","title":"Restream","heading":"Preventing go2rtc from blocking two-way audio {#two-way-talk-restream}","text":"For cameras that support two-way talk, go2rtc will automatically establish an audio output backchannel when connecting to an RTSP stream. This backchannel blocks access to the camera's audio output for two-way talk functionality, preventing both Frigate and other applications from using it. To prevent this, you must configure two separate stream instances: 1. One stream instance with `#backchannel=0` for Frigate's viewing, recording, and detection (prevents go2rtc from establishing the blocking backchannel) 2. A second stream instance with no `#` parameters at all for two-way talk functionality (can be used by Frigate's WebRTC viewer or other applications) Configuration example: In this configuration: - `front_door` stream is used by Frigate for viewing, recording, and detection. The `#backchannel=0` parameter prevents go2rtc from establishing the audio output backchannel, so it won't block two-way talk access. - `front_door_twoway` str","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":656,"id":"configuration/restream","section_id":"frigate/configuration/restream/0486","title":"Restream","heading":"Security: Restricted Stream Sources","text":"For security reasons, the `echo:`, `expr:`, and `exec:` stream sources are disabled by default in go2rtc. These sources allow arbitrary command execution and can pose security risks if misconfigured. go2rtc's `${VAR:default}` variable syntax is also disabled by default in stream sources, since its default can name one of those sources. Use Frigate's [`{FRIGATE_*}` substitution](./config.md#environment-variable-substitution) instead. If you attempt to use these sources in your configuration, the streams will be removed and an error message will be printed in the logs. go2rtc also refuses to run anything but Frigate's ffmpeg from `exec:` and `echo:` sources added through its API or `/config/go2rtc_homekit.yml`. To enable these sources, you must set the environment variable `GO2RTC_ALLOW_ARBITRARY_EXEC=true`. This can be done in your Docker Compose file or container environment, or for Home Assistant App users with the `go2rtc_allow_arbitr","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":657,"id":"configuration/restream","section_id":"frigate/configuration/restream/0487","title":"Restream","heading":"Advanced Restream Configurations","text":"The [exec](https://github.com/AlexxIT/go2rtc/tree/v1.9.14#source-exec) source in go2rtc can be used for custom ffmpeg commands and other applications. An example is below: :::warning The `exec:`, `echo:`, and `expr:` sources are disabled by default for security. You must set `GO2RTC_ALLOW_ARBITRARY_EXEC=true` to use them. See [Security: Restricted Stream Sources](#security-restricted-stream-sources) for more information. ::: NOTE: RTSP output will need to be passed with two curly braces `{{output}}`, whereas pipe output must be passed without curly braces.","url":"https://docs.frigate.video/configuration/restream/","vehicles":[]},{"i":658,"id":"configuration/review","section_id":"frigate/configuration/review/0488","title":"Review","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; The Review page of the Frigate UI is for quickly reviewing historical footage of interest from your cameras. _Review items_ are indicated on a vertical timeline and displayed as a grid of previews - bandwidth-optimized, low frame rate, low resolution videos. Hovering over or swiping a preview plays the video and marks it as reviewed. If more in-depth analysis is required, the preview can be clicked/tapped and the full frame rate, full resolution recording is displayed. Review items are filterable by date, object type, and camera.","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":659,"id":"configuration/review","section_id":"frigate/configuration/review/0489","title":"Review","heading":"Review items vs. tracked objects (formerly \"events\")","text":"In Frigate 0.13 and earlier versions, the UI presented \"events\". An event was synonymous with a tracked or detected object. In Frigate 0.14 and later, a review item is a time period where any number of tracked objects were active. For example, consider a situation where two people walked past your house. One was walking a dog. At the same time, a car drove by on the street behind them. In this scenario, Frigate 0.13 and earlier would show 4 \"events\" in the UI - one for each person, another for the dog, and yet another for the car. You would have had 4 separate videos to watch even though they would have all overlapped. In 0.14 and later, all of that is bundled into a single review item which starts and ends to capture all of that activity. Reviews for a single camera cannot overlap. Once you have watched that time period on that camera, it is marked as reviewed.","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":660,"id":"configuration/review","section_id":"frigate/configuration/review/0490","title":"Review","heading":"Alerts and Detections","text":"Not every segment of video captured by Frigate may be of the same level of interest to you. Video of people who enter your property may be a different priority than those walking by on the sidewalk. For this reason, Frigate categorizes review items as _alerts_ and _detections_. By default, all person and car objects are considered alerts. You can refine categorization of your review items by configuring [required zones](/configuration/zones#restricting-alerts-and-detections-to-specific-zones) for them. :::note Alerts and detections categorize the tracked objects in review items, but Frigate must first detect those objects with your configured object detector (Coral, OpenVINO, etc). By default, the object tracker only detects `person`. Setting `labels` for `alerts` and `detections` does not automatically enable detection of new objects. To detect more than `person`, you should add more labels via Global configur","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":661,"id":"configuration/review","section_id":"frigate/configuration/review/0491","title":"Review","heading":"Restricting alerts to specific labels","text":"By default a review item will only be marked as an alert if a person or car is detected. Configure the alert labels to include any object or audio label. Navigate to Global configuration > Review\" /> or Camera configuration > Review\" /> and select your camera. Expand **Alerts config** and configure which labels and zones should generate alerts. ","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":662,"id":"configuration/review","section_id":"frigate/configuration/review/0492","title":"Review","heading":"Restricting detections to specific labels","text":"By default all detections that do not qualify as an alert qualify as a detection. However, detections can further be filtered to only include certain labels or certain zones. Navigate to Global configuration > Review\" /> or Camera configuration > Review\" /> and select your camera. Expand **Detections config** and configure which labels should qualify as detections. ","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":663,"id":"configuration/review","section_id":"frigate/configuration/review/0493","title":"Review","heading":"Excluding a camera from alerts or detections","text":"To exclude a specific camera from alerts or detections, provide an empty list to the alerts or detections labels field at the camera level. For example, to exclude objects on the camera _gatecamera_ from any detections: 1. Navigate to Camera configuration > Review\" /> and select the **gatecamera** camera. - Expand **Detections config** and turn off all of the object label switches. ","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":664,"id":"configuration/review","section_id":"frigate/configuration/review/0494","title":"Review","heading":"Categorizing manual events","text":"Events created with the [create manual event API](../integrations/api/create-event-events-camera-name-label-create-post.api.mdx) are categorized with the same label lists, using the label from the request path: 1. If alerts are enabled and the label is listed in `review -> alerts -> labels`, the review item is an alert. 2. Otherwise, if detections are enabled and the label is listed in `review -> detections -> labels`, the review item is a detection. 3. If the label is in neither list, the review item is an alert, or no review item is created if alerts are disabled. This means manual events are alerts unless you explicitly list their label as a detection label. For example, to have PIR sensors create detections instead of alerts, post to `/api/events/front_door/pir_sensor/create` with the following config: :::note Required zones do not apply to manual events, since they are created through the API rather than by the object tracker. Sett","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":665,"id":"configuration/review","section_id":"frigate/configuration/review/0495","title":"Review","heading":"Restricting review items to specific zones","text":"By default a review item will be created if any `review -> alerts -> labels` and `review -> detections -> labels` are detected anywhere in the camera frame. You will likely want to configure review items to only be created when the object enters an area of interest, [see the zone docs for more information](./zones.md#restricting-alerts-and-detections-to-specific-zones) :::info Because zones don't apply to audio, audio labels will always be marked as a detection by default. :::","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":666,"id":"configuration/review","section_id":"frigate/configuration/review/0496","title":"Review","heading":"Reviewing Motion","text":"The Review page can also surface periods of motion that didn't produce a tracked object, and lets you search past recordings for motion in a region you draw. See [Reviewing Motion](/usage/review#reviewing-motion) in the Usage docs for how to use **Motion Previews** and **Motion Search**, and [Tuning Motion Detection](motion_detection.md) for configuring the underlying motion detector.","url":"https://docs.frigate.video/configuration/review/","vehicles":[]},{"i":667,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0497","title":"Semantic Search","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Semantic Search in Frigate allows you to find tracked objects within your review items using either the image itself, a user-defined text description, or an automatically generated one. This feature works by creating _embeddings_, numerical vector representations, for both the images and text descriptions of your tracked objects. By comparing these embeddings, Frigate assesses their similarities to deliver relevant search results. Frigate uses models from [Jina AI](https://huggingface.co/jinaai) to create and save embeddings to Frigate's database. All of this runs locally. Semantic Search is accessed via the _Explore_ view in the Frigate UI. :::info Semantic search requires a one-time internet connection to download embedding models from HuggingFace. Once cached, models work fully offline. S","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":668,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0498","title":"Semantic Search","heading":"Minimum System Requirements","text":"Semantic Search works by running a large AI model locally on your system. Small or underpowered systems like a Raspberry Pi will not run Semantic Search reliably or at all. A minimum of 8GB of RAM is required to use Semantic Search. A CPU with AVX + AVX2 instructions is required to run Semantic Search. A GPU is not strictly required but will provide a significant performance increase over CPU-only systems. For best performance, 16GB or more of RAM and a dedicated GPU are recommended.","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":669,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0499","title":"Semantic Search","heading":"Configuration","text":"Semantic Search is disabled by default and must be enabled before it can be used. Semantic Search is a global configuration setting. Navigate to Enrichments > Semantic search\" />. - Set **Enable semantic search** to on :::tip The embeddings database can be re-indexed from the existing tracked objects in your database by pressing the \"Reindex\" button in the Enrichments Settings in the UI or by adding `reindex: True` to your `semantic_search` configuration and restarting Frigate. Depending on the number of tracked objects you have, it can take a long while to complete and may max out your CPU while indexing. If you are enabling Semantic Search for the first time, be advised that Frigate does not automatically index older tracked objects. You will need to reindex as described above. :::","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":670,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0500","title":"Semantic Search","heading":"Jina AI CLIP (version 1)","text":"The [V1 model from Jina](https://huggingface.co/jinaai/jina-clip-v1) has a vision model which is able to embed both images and text into the same vector space, which allows `image -> image` and `text -> image` similarity searches. Frigate uses this model on tracked objects to encode the thumbnail image and store it in the database. When searching for tracked objects via text in the search box, Frigate will perform a `text -> image` similarity search against this embedding. When clicking \"Find Similar\" in the tracked object detail pane, Frigate will perform an `image -> image` similarity search to retrieve the closest matching thumbnails. The V1 text model is used to embed tracked object descriptions and perform searches against them. Descriptions can be created, viewed, and modified on the Explore page when clicking on thumbnail of a tracked object. See [the object description docs](/configuration/genai/objects.md) for more information ","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":671,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0501","title":"Semantic Search","heading":"Jina AI CLIP (version 2)","text":"Frigate also supports the [V2 model from Jina](https://huggingface.co/jinaai/jina-clip-v2), which introduces multilingual support (89 languages). In contrast, the V1 model only supports English. V2 offers only a 3% performance improvement over V1 in both text-image and text-text retrieval tasks, an upgrade that is unlikely to yield noticeable real-world benefits. Additionally, V2 has _significantly_ higher RAM and GPU requirements, leading to increased inference time and memory usage. If you plan to use V2, ensure your system has ample RAM and a discrete GPU. CPU inference (with the `small` model) using V2 is not recommended. To use the V2 model, set the model to `jinav2`. Navigate to Enrichments > Semantic search\" />. | Field | Description | | ------------------------------------------------ | ----------------------------------------------------- | | **Semantic search model or","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":672,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0502","title":"Semantic Search","heading":"GenAI Provider","text":"Frigate can use a GenAI provider for semantic search embeddings when that provider has the `embeddings` role. See [Provider support](/configuration/genai/genai_config#provider-support) for which providers can serve this role. To use a GenAI provider for semantic search: 1. Configure a GenAI provider with `embeddings` in its `roles`, using a multimodal embedding model (both text and images). See [Embedding models](/configuration/genai/genai_config#embedding-models) for recommendations, and your provider's section of the [GenAI docs](/configuration/genai/genai_config) for any extra setup it needs. 2. Set the semantic search model to the GenAI config key (e.g. `default`). Navigate to Enrichments > Semantic search\" />. | Field | Description | | ------------------------------------------------ | ----------------------------------------------------------------------------------------","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":673,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0503","title":"Semantic Search","heading":"GPU Acceleration","text":"The CLIP models are downloaded in ONNX format, and the `large` model can be accelerated using GPU hardware, when available. This depends on the Docker build that is used. You can also target a specific device in a multi-GPU installation. Navigate to Enrichments > Semantic search\" />. | Field | Description | | -------------- | ---------------------------------------------------------------------- | | **Model size** | Set to `large` to enable GPU acceleration | | **Device** | (Optional) Specify a GPU device index in a multi-GPU system (e.g. `0`) | :::info If the correct build is used for your GPU / NPU and the `large` model is configured, then the GPU will be detected and used automatically. Specify the `device` option to target a specific GPU in a multi-GPU system (see [onnxruntime's provider options](https://onnxruntime","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":674,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0504","title":"Semantic Search","heading":"Usage and Best Practices","text":"For tips on getting the best results from Semantic Search (choosing between thumbnail and description search, phrasing queries effectively, and combining search with the other Explore filters), see [Usage and best practices](/usage/explore#usage-and-best-practices) in the Usage docs.","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":675,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0505","title":"Semantic Search","heading":"Triggers","text":"Triggers utilize Semantic Search to automate actions when a tracked object matches a specified image or description. Triggers can be configured so that Frigate executes specific actions when a tracked object's image or description matches a predefined image or text, based on a similarity threshold. Triggers are managed per camera and can be configured via the Frigate UI in the Settings page under the Triggers tab. :::note Semantic Search must be enabled to use Triggers. :::","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":676,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0506","title":"Semantic Search","heading":"Configuration","text":"Triggers are defined within the `semantic_search` configuration for each camera. Each trigger consists of a `friendly_name`, a `type` (either `thumbnail` or `description`), a `data` field (the reference image event ID or text), a `threshold` for similarity matching, and a list of `actions` to perform when the trigger fires - `notification`, `sub_label`, and `attribute`. Triggers are best configured through the Frigate UI.","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":677,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0507","title":"Semantic Search","heading":"Managing Triggers in the UI","text":"1. Navigate to Enrichments > Triggers\" /> and select a camera from the dropdown menu. 2. Click **Add Trigger** to create a new trigger or use the pencil icon to edit an existing one. 3. In the **Create Trigger** wizard: - Enter a **Name** for the trigger (e.g., \"Red Car Alert\"). Frigate derives the trigger's internal **ID** from this name, which can be revealed and edited with the show/hide toggle. - Select the **Type** (`Thumbnail` or `Description`). - For `Thumbnail`, select an image to trigger this action when a similar thumbnail image is detected, based on the threshold. - For `Description`, enter text to trigger this action when a similar tracked object description is detected. - Set the **Threshold** for similarity matching. - Select **Actions** to perform when the trigger fires. If native webpush notifications are enabled, check the `Send Notification` box to send a notification. Check the `Add Sub Label","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":678,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0508","title":"Semantic Search","heading":"Usage and Best Practices","text":"1. **Thumbnail Triggers**: Select a representative image (event ID) from the Explore page that closely matches the object you want to detect. For best results, choose images where the object is prominent and fills most of the frame. 2. **Description Triggers**: Write concise, specific text descriptions (e.g., \"Person in a red jacket\") that align with the tracked object's description. Avoid vague terms to improve matching accuracy. 3. **Threshold Tuning**: Adjust the threshold to balance sensitivity and specificity. A higher threshold (e.g., 0.8) requires closer matches, reducing false positives but potentially missing similar objects. A lower threshold (e.g., 0.6) is more inclusive but may trigger more often. 4. **Using Explore**: Use the context menu or right-click / long-press on a tracked object in the Grid View in Explore to quickly add a trigger based on the tracked object's thumbnail. 5. **Editing triggers**: For the best experien","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":679,"id":"configuration/semantic_search","section_id":"frigate/configuration/semantic_search/0509","title":"Semantic Search","heading":"Notes","text":"- Triggers rely on the same Jina AI CLIP models (V1 or V2) used for semantic search. Ensure `semantic_search` is enabled and properly configured. - Reindexing embeddings (via the UI or `reindex: True`) does not affect trigger configurations but may update the embeddings used for matching. - For optimal performance, use a system with sufficient RAM (8GB minimum, 16GB recommended) and a GPU for `large` model configurations, as described in the Semantic Search requirements.","url":"https://docs.frigate.video/configuration/semantic_search/","vehicles":[]},{"i":680,"id":"configuration/snapshots","section_id":"frigate/configuration/snapshots/0510","title":"Snapshots","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; A snapshot is a single still image that captures a tracked object at its best moment: the clearest frame Frigate saw while following that object across the scene. Unlike a [recording](./record.md), which is continuous video, a snapshot is one representative image saved per tracked object once tracking ends. When snapshots are enabled, Frigate saves one image to `/media/frigate/clips` for each tracked object, named `--clean.webp`. A clean image is always stored without any annotations (no timestamp, bounding boxes, or cropping) so you have an unmodified copy of the original frame. Annotations like bounding boxes and timestamps are applied on demand when a snapshot is requested [via the HTTP API](../integrations/api/event-snapshot-events-event-id-snapshot-jpg-get.api.mdx). See [Ren","url":"https://docs.frigate.video/configuration/snapshots/","vehicles":[]},{"i":681,"id":"configuration/snapshots","section_id":"frigate/configuration/snapshots/0511","title":"Snapshots","heading":"Enabling Snapshots","text":"Enable snapshot saving and configure the default settings that apply to all cameras. Navigate to Global configuration > Snapshots\" />. - Set **Enable snapshots** to on To override snapshot settings for a specific camera: Navigate to Camera configuration > Snapshots\" /> and select your camera. - Set **Enable snapshots** to on ","url":"https://docs.frigate.video/configuration/snapshots/","vehicles":[]},{"i":682,"id":"configuration/snapshots","section_id":"frigate/configuration/snapshots/0512","title":"Snapshots","heading":"Snapshot Options","text":"Configure how snapshots are rendered and stored. These settings control the defaults applied when snapshots are requested via the API. Navigate to Global configuration > Snapshots\" />. | Field | Description | | ------------------------ | ------------------------------------------------------------------------------ | | **Enable snapshots** | Enable or disable saving snapshots for tracked objects | | **Timestamp overlay** | Overlay a timestamp on snapshots from API | | **Bounding box overlay** | Draw bounding boxes for tracked objects on snapshots from API | | **Crop snapshot** | Crop snapshots from API to the detected object's bounding box | | **Snapshot height** | Height in pixels to resize snapshots to; leave empty to preserve original size | | **Snapshot quality** | Encode quality for saved snapshots (0-100) | | **Required zones** | Zones an object must enter for a snapshot ","url":"https://docs.frigate.video/configuration/snapshots/","vehicles":[]},{"i":683,"id":"configuration/snapshots","section_id":"frigate/configuration/snapshots/0513","title":"Snapshots","heading":"Snapshot Retention","text":"Configure how long snapshots are retained on disk. Per-object retention overrides allow different retention periods for specific object types. Navigate to Global configuration > Snapshots\" />. | Field | Description | | -------------------------------------------------- | ----------------------------------------------------------------------------------- | | **Snapshot retention > Default retention** | Number of days to retain snapshots (default: 10) | | **Snapshot retention > Object retention > Person** | Per-object overrides for retention days (e.g., keep `person` snapshots for 15 days) | ","url":"https://docs.frigate.video/configuration/snapshots/","vehicles":[]},{"i":684,"id":"configuration/snapshots","section_id":"frigate/configuration/snapshots/0514","title":"Snapshots","heading":"Frame Selection","text":"Frigate does not save every frame. It picks a single \"best\" frame for each tracked object based on detection confidence, object size, and the presence of key attributes like faces or license plates. Frames where the object touches the edge of the frame are deprioritized. That best frame is written to disk once tracking ends. MQTT snapshots are published more frequently: each time a better thumbnail frame is found during tracking, or when the current best image is older than `best_image_timeout` (default: 60s). These use their own annotation settings configured under the camera MQTT settings.","url":"https://docs.frigate.video/configuration/snapshots/","vehicles":[]},{"i":685,"id":"configuration/snapshots","section_id":"frigate/configuration/snapshots/0515","title":"Snapshots","heading":"Rendering","text":"Frigate stores a single clean snapshot on disk: | API / Use | Result | | ---------------------------------------- | ----------------------------------------------------------------------------------------------------- | | Stored file | `--clean.webp`, always unannotated | | `/api/events//snapshot.jpg` | Starts from the camera's `snapshots` defaults, then applies any query param overrides at request time | | `/api/events//snapshot-clean.webp` | Returns the same stored snapshot without annotations | | [Frigate+](/plus/first_model) submission | Uses the same stored clean snapshot | MQTT snapshots are configured separately under the camera MQTT settings and are unrelated to the stored event snapshot.","url":"https://docs.frigate.video/configuration/snapshots/","vehicles":[]},{"i":686,"id":"configuration/stationary_objects","section_id":"frigate/configuration/stationary_objects/0516","title":"Stationary Objects","heading":"Stationary Objects","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; An object is considered stationary when it is being tracked and has been in a very similar position for a certain number of frames. This number is defined in the configuration under `detect -> stationary -> threshold`, and is 10x the frame rate (or 10 seconds) by default. Once an object is considered stationary, it will remain stationary until motion occurs within the object at which point object detection will start running again. If the object changes location, it will be considered active.","url":"https://docs.frigate.video/configuration/stationary_objects/","vehicles":[]},{"i":687,"id":"configuration/stationary_objects","section_id":"frigate/configuration/stationary_objects/0517","title":"Stationary Objects","heading":"Why does it matter if an object is stationary?","text":"Once an object becomes stationary, object detection will not be continually run on that object. This serves to reduce resource usage and redundant detections when there has been no motion near the tracked object. This also means that Frigate is contextually aware, and can for example [filter out recording segments](record.md#configuring-recording-retention) to only when the object is considered active. Motion alone does not determine if an object is \"active\" for active_objects segment retention. Lighting changes for a parked car won't make an object active.","url":"https://docs.frigate.video/configuration/stationary_objects/","vehicles":[]},{"i":688,"id":"configuration/stationary_objects","section_id":"frigate/configuration/stationary_objects/0518","title":"Stationary Objects","heading":"Tuning stationary behavior","text":"Configure how Frigate handles stationary objects. Navigate to Global configuration > Object detection\" />. - Set **Stationary objects config > Stationary interval** to the frequency for running detection on stationary objects (default: 50). Once stationary, detection runs every nth frame to verify the object is still present. There is no way to disable stationary object tracking with this value. - Set **Stationary objects config > Stationary threshold** to the number of frames an object must remain relatively still before it is considered stationary (default: 50) ","url":"https://docs.frigate.video/configuration/stationary_objects/","vehicles":[]},{"i":689,"id":"configuration/stationary_objects","section_id":"frigate/configuration/stationary_objects/0519","title":"Stationary Objects","heading":"Why does Frigate track stationary objects?","text":"Frigate didn't always track stationary objects. In fact, it didn't even track objects at all initially. Let's look at an example use case: I want to record any cars that enter my driveway. One might simply think \"Why not just run object detection any time there is motion around the driveway area and notify if the bounding box is in that zone?\" With that approach, what video is related to the car that entered the driveway? Did it come from the left or right? Was it parked across the street for an hour before turning into the driveway? One approach is to just record 24/7 or for motion (on any changed pixels) and not attempt to do that at all. This is what most other NVRs do. Just don't even try to identify a start and end for that object since it's hard and you will be wrong some portion of the time. Couldn't you just look at when motion stopped and started? Motion for a video feed is nothing more than looking for pixels that are differen","url":"https://docs.frigate.video/configuration/stationary_objects/","vehicles":[]},{"i":690,"id":"configuration/tls","section_id":"frigate/configuration/tls/0520","title":"TLS","heading":"TLS","text":"Frigate's integrated NGINX server supports TLS certificates. By default Frigate will generate a self signed certificate that will be used for port 8971, stored in `/config/tls` so it survives container recreation. Frigate is designed to make it easy to use whatever tool you prefer to manage certificates. Frigate is often running behind a reverse proxy that manages TLS certificates for multiple services. You will likely need to set your reverse proxy to allow self signed certificates or you can disable TLS in Frigate's config. However, if you are running on a dedicated device that's separate from your proxy or if you expose Frigate directly to the internet, you may want to configure TLS with valid certificates. In many deployments, TLS will be unnecessary. Disable it as follows: Navigate to System > TLS\" />. - Set **Enable TLS** to off if running behind a reverse proxy that hand","url":"https://docs.frigate.video/configuration/tls/","vehicles":[]},{"i":691,"id":"configuration/tls","section_id":"frigate/configuration/tls/0521","title":"TLS","heading":"Certificates","text":"TLS certificates can be mounted at `/etc/letsencrypt/live/frigate` using a bind mount or docker volume. Within the folder, the private key is expected to be named `privkey.pem` and the certificate is expected to be named `fullchain.pem`. Mounted certificates take precedence over the self signed pair in `/config/tls`. `privkey.pem` must be readable by the runtime user that runs NGINX. Frigate hands it over at startup when the mount is writable; on a `:ro` mount, make it readable by uid 1000 (or your `PUID`) yourself. See [Running as a non-root user](/configuration/non_root). Note that certbot uses symlinks, and those can't be followed by the container unless it has access to the targets as well, so if using certbot you'll also have to mount the `archive` folder for your domain, e.g.: Frigate automatically compares the fingerprint of the certificate it loaded, from either location, against the fingerprint of the TLS cert in NGINX every mi","url":"https://docs.frigate.video/configuration/tls/","vehicles":[]},{"i":692,"id":"configuration/tls","section_id":"frigate/configuration/tls/0522","title":"TLS","heading":"ACME Challenge","text":"Frigate also supports hosting the acme challenge files for the HTTP challenge method if needed. The challenge files should be mounted at `/etc/letsencrypt/www`. With a read-only root filesystem this has to be a mounted volume, since Frigate cannot create the directory itself.","url":"https://docs.frigate.video/configuration/tls/","vehicles":[]},{"i":693,"id":"configuration/zones","section_id":"frigate/configuration/zones/0523","title":"Zones","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; Zones allow you to define a specific area of the frame and apply additional filters for object types so you can determine whether or not an object is within a particular area. Presence in a zone is evaluated based on the bottom center of the bounding box for the object. It does not matter how much of the bounding box overlaps with the zone. For example, the cat in this image is currently in Zone 1, but **not** Zone 2. Zones cannot have the same name as a camera. If desired, a single zone can include multiple cameras if you have multiple cameras covering the same area by configuring zones with the same name for each camera.","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":694,"id":"configuration/zones","section_id":"frigate/configuration/zones/0524","title":"Zones","heading":"Enabling/Disabling Zones","text":"Zones can be toggled on or off without removing them from the configuration. Disabled zones are completely ignored at runtime - objects will not be tracked for zone presence, and zones will not appear in the debug view. This is useful for temporarily disabling a zone during certain seasons or times of day without modifying the configuration. During testing, enable the Zones option for the [Debug view](/usage/live#the-single-camera-view) of your camera so you can adjust as needed. The zone line will increase in thickness when any object enters the zone.","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":695,"id":"configuration/zones","section_id":"frigate/configuration/zones/0525","title":"Zones","heading":"Creating a Zone","text":" 1. Navigate to Camera configuration > Masks / Zones\" /> and select the desired camera. 2. Under the **Zones** section, click the plus icon to add a new zone. 3. Click on the camera's latest image to create the points for the zone boundary. Click the first point again to close the polygon. 4. Configure zone options such as **Name**, **Objects**, **Loitering Time**, and **Inertia** in the zone editor. 5. Press **Save** when finished. Follow [the steps for creating a mask](masks.md), but use the zone section of the web UI instead. Alternatively, define zones directly in your configuration file: ","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":696,"id":"configuration/zones","section_id":"frigate/configuration/zones/0526","title":"Zones","heading":"Restricting alerts and detections to specific zones","text":"Often you will only want alerts to be created when an object enters areas of interest. This is done by combining zones with required zones for review items. To create an alert only when an object enters the `entire_yard` zone: Navigate to Camera configuration > Review\" />. | Field | Description | | ---------------------------------- | ----------------------------------------------------------------------------------------- | | **Alerts config > Required zones** | Set to `entire_yard` so an object must enter that zone to be considered an alert; leave empty to allow alerts anywhere in the frame. | You may also want to filter detections to only be created when an object enters a secondary area of interest. For example, to trigger alerts when an object enters the inner area of the yard (an `inner_yard` zone) but detections ","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":697,"id":"configuration/zones","section_id":"frigate/configuration/zones/0527","title":"Zones","heading":"Restricting snapshots to specific zones","text":"To only save snapshots when an object enters a specific zone, for example an `entire_yard` zone: 1. Navigate to Camera configuration > Snapshots\" /> and select your camera. - Set **Required zones** to `entire_yard` ","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":698,"id":"configuration/zones","section_id":"frigate/configuration/zones/0528","title":"Zones","heading":"Restricting zones to specific objects","text":"Sometimes you want to limit a zone to specific object types to have more granular control of when alerts, detections, and snapshots are saved. The following example limits one zone to person objects and the other to cars. 1. Navigate to Camera configuration > Masks / Zones\" /> and select the desired camera. 2. Create a zone named `entire_yard` covering everywhere you want to track a person. - Under **Objects**, add `person` 3. Create a second zone named `front_yard_street` covering just the street. - Under **Objects**, add `car` Only car objects can trigger the `front_yard_street` zone and only person can trigger the `entire_yard`. Objects will be tracked for any `person` that enter anywhere in the yard, and for cars only if they enter the street.","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":699,"id":"configuration/zones","section_id":"frigate/configuration/zones/0529","title":"Zones","heading":"Zone Loitering","text":"Sometimes objects are expected to be passing through a zone, but an object loitering in an area is unexpected. Zones can be configured to have a minimum loitering time after which the object will be considered in the zone. :::note When using loitering zones, a review item will behave in the following way: - When a person is in a loitering zone, the review item will remain active until the person leaves the loitering zone, regardless of if they are stationary. - When any other object is in a loitering zone, the review item will remain active until the loitering time is met. Then if the object is stationary the review item will end. ::: 1. Navigate to Camera configuration > Masks / Zones\" /> and select the desired camera. 2. Edit or create the zone (e.g., `sidewalk`). - Set **Loitering Time** to the desired number of seconds (e.g., `4`) - Under **Objects**, add the relevant objec","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":700,"id":"configuration/zones","section_id":"frigate/configuration/zones/0530","title":"Zones","heading":"Zone Inertia","text":"Sometimes an objects bounding box may be slightly incorrect and the bottom center of the bounding box is inside the zone while the object is not actually in the zone. Zone inertia helps guard against this by requiring an object's bounding box to be within the zone for multiple consecutive frames. 1. Navigate to Camera configuration > Masks / Zones\" /> and select the desired camera. 2. Edit or create the zone (e.g., `front_yard`). - Set **Inertia** to the desired number of consecutive frames (e.g., `3`) There may also be cases where you expect an object to quickly enter and exit a zone, like when a car is pulling into the driveway, and you may want to have the object be considered present in the zone immediately: 1. Navigate to Camera configuration > Masks / Zon","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":701,"id":"configuration/zones","section_id":"frigate/configuration/zones/0531","title":"Zones","heading":"Speed Estimation","text":"Frigate can be configured to estimate the speed of objects moving through a zone. This works by combining data from Frigate's object tracker and \"real world\" distance measurements of the edges of the zone. The recommended use case for this feature is to track the speed of vehicles on a road as they move through the zone. Your zone must be defined with exactly 4 points and should be aligned to the ground where objects are moving. Speed estimation requires a minimum number of frames for your object to be tracked before a valid estimate can be calculated, so create your zone away from places where objects enter and exit for the best results. The object's bounding box must be stable and remain a constant size as it enters and exits the zone. _Your zone should not take up the full frame, and the zone does **not** need to be the same size or larger than the objects passing through it._ An object's speed is tracked while it passes through the ","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":702,"id":"configuration/zones","section_id":"frigate/configuration/zones/0532","title":"Zones","heading":"Best practices and caveats","text":"- Speed estimation works best with a straight road or path when your object travels in a straight line across that path. Avoid creating your zone near intersections or anywhere that objects would make a turn. - Create a zone where the bottom center of your object's bounding box travels directly through it and does not become obscured at any time. - A large zone can be used (as in the photo example above), but it may cause inaccurate estimation if the object's bounding box changes shape (such as when it turns or becomes partially hidden). Generally it's best to make your zone large enough to capture a few frames, but small enough so that the bounding box doesn't change size as it enters, travels through, and exits the zone. - Depending on the size and location of your zone, you may want to decrease the zone's `inertia` value from the default of 3. - The more accurate your real-world dimensions can be measured, the more accurate speed est","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":703,"id":"configuration/zones","section_id":"frigate/configuration/zones/0533","title":"Zones","heading":"Speed Threshold","text":"Zones can be configured with a minimum speed requirement, meaning an object must be moving at or above this speed to be considered inside the zone. Zone `distances` must be defined as described above. 1. Navigate to Camera configuration > Masks / Zones\" /> and select the desired camera. 2. Edit or create the zone with distances configured. - Set **Speed Threshold** to the desired minimum speed (e.g., `20`) - The unit is kph or mph, depending on the **Unit system** setting ","url":"https://docs.frigate.video/configuration/zones/","vehicles":[]},{"i":704,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0534","title":"Community Supported Boards","heading":"About Community Supported Boards","text":"There are many SBCs (small board computers) that have a passionate community behind them, Jetson Nano for example. These SBCs often have dedicated hardware that can greatly accelerate Frigate's AI and video workloads, but this hardware requires very specific frameworks for interfacing with it. This means it would be very difficult for Frigate's maintainers to support these different boards especially given the relatively low userbase. The community support boards framework allows a user in the community to be the codeowner to add support for an SBC or other detector by providing the code, maintenance, and user support.","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":705,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0535","title":"Community Supported Boards","heading":"Getting Started","text":"1. Follow the steps from [the main contributing docs](/development/contributing.md). 2. Create a new build type under `docker/` 3. Get build working as expected, all board-specific changes should be done inside of the board specific docker file.","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":706,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0536","title":"Community Supported Boards","heading":"Required Structure","text":"Each board will have different build requirements, run on different architectures, etc. however there are set of files that all boards will need.","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":707,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0537","title":"Community Supported Boards","heading":"Bake File .hcl","text":"The `board.hcl` file is what allows the community boards build to be built using the main build as a cache. This enables a clean base and quicker build times. For more information on the format and options available in the Bake file, [see the official Buildx Bake docs](https://docs.docker.com/build/bake/reference/)","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":708,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0538","title":"Community Supported Boards","heading":"Board Make File","text":"The `board.mk` file is what allows automated and configurable Make targets to be included in the main Make file. Below is the general format for this file:","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":709,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0539","title":"Community Supported Boards","heading":"Dockerfile","text":"The `Dockerfile` is what orchestrates the build, this will vary greatly depending on the board but some parts are required for things to work. Below are the required parts of the Dockerfile:","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":710,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0540","title":"Community Supported Boards","heading":"CI/CD","text":"The images for each board will be built for each Frigate release, this is done in the `.github/workflows/ci.yml` file. The board build workflow will need to be added here.","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":711,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0541","title":"Community Supported Boards","heading":"Code Owner File","text":"The `CODEOWNERS` file should be updated to include the `docker/board` along with `@user` for each user that is a code owner of this board","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":712,"id":"development/contributing-boards","section_id":"frigate/development/contributing-boards/0542","title":"Community Supported Boards","heading":"Docs","text":"At a minimum the `installation`, `object_detectors`, `hardware_acceleration_video`, and `ffmpeg-presets` docs should be updated (if applicable) to reflect the configuration of this community board.","url":"https://docs.frigate.video/development/contributing-boards/","vehicles":[]},{"i":713,"id":"development/contributing","section_id":"frigate/development/contributing/0543","title":"Contributing To The Main Code Base","heading":"Core, Web, Docker, and Documentation","text":"This repository holds the main Frigate application and all of its dependencies. Fork [blakeblackshear/frigate](https://github.com/blakeblackshear/frigate.git) to your own GitHub profile, then clone the forked repo to your local machine. From here, follow the guides for: - [Core](#core) - [Web Interface](#web-interface) - [Documentation](#documentation)","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":714,"id":"development/contributing","section_id":"frigate/development/contributing/0544","title":"Contributing To The Main Code Base","heading":"Frigate Home Assistant App","text":"This repository holds the Home Assistant App, for use with Home Assistant OS and compatible installations. It is the piece that allows you to run Frigate from your Home Assistant Supervisor tab. Fork [blakeblackshear/frigate-hass-addons](https://github.com/blakeblackshear/frigate-hass-addons) to your own Github profile, then clone the forked repo to your local machine.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":715,"id":"development/contributing","section_id":"frigate/development/contributing/0545","title":"Contributing To The Main Code Base","heading":"Frigate Home Assistant Integration","text":"This repository holds the custom integration that allows your Home Assistant installation to automatically create entities for your Frigate instance, whether you are running Frigate as a standalone Docker container or as a [Home Assistant App](#frigate-home-assistant-app). Fork [blakeblackshear/frigate-hass-integration](https://github.com/blakeblackshear/frigate-hass-integration) to your own GitHub profile, then clone the forked repo to your local machine.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":716,"id":"development/contributing","section_id":"frigate/development/contributing/0546","title":"Contributing To The Main Code Base","heading":"Prerequisites","text":"- GNU make - Docker (including buildx plugin) - An extra detector (Coral, OpenVINO, etc.) is optional but recommended to simulate real world performance. :::note A Coral device can only be used by a single process at a time, so an extra Coral device is recommended if using a coral for development purposes. :::","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":717,"id":"development/contributing","section_id":"frigate/development/contributing/0547","title":"Contributing To The Main Code Base","heading":"1. Open the repo with Visual Studio Code","text":"Upon opening, you should be prompted to open the project in a remote container. This will build a container on top of the base Frigate container with all the development dependencies installed. This ensures everyone uses a consistent development environment without the need to install any dependencies on your host machine.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":718,"id":"development/contributing","section_id":"frigate/development/contributing/0548","title":"Contributing To The Main Code Base","heading":"2. Modify your local config file for testing","text":"Place the file at `config/config.yml` in the root of the repo. Here is an example, but modify for your needs: These input args tell ffmpeg to read the mp4 file in an infinite loop. You can use any valid ffmpeg input here.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":719,"id":"development/contributing","section_id":"frigate/development/contributing/0549","title":"Contributing To The Main Code Base","heading":"3. Gather some mp4 files for testing","text":"Create and place these files in a `debug` folder in the root of the repo. This is also where recordings will be created if you enable them in your test config. Update your config from step 2 above to point at the right file. You can check the `docker-compose.yml` file in the repo to see how the volumes are mapped.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":720,"id":"development/contributing","section_id":"frigate/development/contributing/0550","title":"Contributing To The Main Code Base","heading":"4. Run Frigate from the command line","text":"VS Code will start the Docker Compose file for you and open a terminal window connected to `frigate-dev`. - Depending on what hardware you're developing on, you may need to amend `docker-compose.yml` in the project root to pass through a USB Coral or GPU for hardware acceleration. - Run `python3 -m frigate` to start the backend. - In a separate terminal window inside VS Code, change into the `web` directory and run `npm install && npm run dev` to start the frontend.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":721,"id":"development/contributing","section_id":"frigate/development/contributing/0551","title":"Contributing To The Main Code Base","heading":"5. Teardown","text":"After closing VS Code, you may still have containers running. To close everything down, just run `docker-compose down -v` to cleanup all containers.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":722,"id":"development/contributing","section_id":"frigate/development/contributing/0552","title":"Contributing To The Main Code Base","heading":"Unit Tests","text":"GitHub will execute unit tests on new PRs. You must ensure that all tests pass.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":723,"id":"development/contributing","section_id":"frigate/development/contributing/0553","title":"Contributing To The Main Code Base","heading":"FFMPEG Hardware Acceleration","text":"The following commands are used inside the container to ensure hardware acceleration is working properly. **Raspberry Pi (64bit)** This should show less than 50% CPU in top, and ~80% CPU without `-c:v h264_v4l2m2m`. **NVIDIA GPU** **NVIDIA Jetson** **VAAPI** **QSV**","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":724,"id":"development/contributing","section_id":"frigate/development/contributing/0554","title":"Contributing To The Main Code Base","heading":"Submitting a pull request","text":"Code must be formatted, linted and type-tested. GitHub will run these checks on pull requests, so it is advised to run them yourself prior to opening. **Formatting** **Linting** **MyPy Static Typing**","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":725,"id":"development/contributing","section_id":"frigate/development/contributing/0555","title":"Contributing To The Main Code Base","heading":"Prerequisites","text":"- All [core](#core) prerequisites _or_ another running Frigate instance locally available - Node.js 20","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":726,"id":"development/contributing","section_id":"frigate/development/contributing/0556","title":"Contributing To The Main Code Base","heading":"1. Set up a Frigate instance","text":"The Web UI requires an instance of Frigate to interact with for all of its data. You can either run an instance locally (recommended) or attach to a separate instance accessible on your network. To run the local instance, follow the [core](#core) development instructions. If you won't be making any changes to the Frigate HTTP API, you can attach the web development server to any Frigate instance on your network. Skip this step and go to [3a](#3a-run-the-development-server-against-a-non-local-instance).","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":727,"id":"development/contributing","section_id":"frigate/development/contributing/0557","title":"Contributing To The Main Code Base","heading":"3. Run the development server","text":"##### 3a. Run the development server against a non-local instance To run the development server against a non-local instance, you will need to replace the `localhost` values in `vite.config.ts` with the IP address of the non-local backend server.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":728,"id":"development/contributing","section_id":"frigate/development/contributing/0558","title":"Contributing To The Main Code Base","heading":"4. Making changes","text":"The Web UI is built using [Vite](https://vitejs.dev/), [Preact](https://preactjs.com), and [Tailwind CSS](https://tailwindcss.com). Light guidelines and advice: - Avoid adding more dependencies. The web UI intends to be lightweight and fast to load. - Do not make large sweeping changes. [Open a discussion on GitHub](https://github.com/blakeblackshear/frigate/discussions/new) for any large or architectural ideas. - Ensure `lint` passes. This command will ensure basic conformance to styles, applying as many automatic fixes as possible, including Prettier formatting. - Ensure the backend [unit tests](#unit-tests) pass. Your PR cannot be merged unless tests pass. - Ensure the end-to-end tests pass. They run in Playwright against a production build with mocked API data, so they don't need a running Frigate instance. Add or update tests in `web/e2e/specs/` when you change UI behavior. - Test in different browsers. Firefox, Chrome, and Safari ","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":729,"id":"development/contributing","section_id":"frigate/development/contributing/0559","title":"Contributing To The Main Code Base","heading":"2. Local Development","text":"This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server. The docs are built using [Docusaurus v3](https://docusaurus.io). Please refer to the Docusaurus docs for more information on how to modify Frigate's documentation.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":730,"id":"development/contributing","section_id":"frigate/development/contributing/0560","title":"Contributing To The Main Code Base","heading":"3. Build (optional)","text":"This command generates static content into the `build` directory and can be served using any static contents hosting service.","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":731,"id":"development/contributing","section_id":"frigate/development/contributing/0561","title":"Contributing To The Main Code Base","heading":"Nginx","text":"When testing nginx config changes from within the dev container, the following command can be used to copy and reload the config for testing without rebuilding the container:","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":732,"id":"development/contributing","section_id":"frigate/development/contributing/0562","title":"Contributing To The Main Code Base","heading":"Contributing translations of the Web UI","text":"Frigate uses [Weblate](https://weblate.org) to manage translations of the Web UI. To contribute translation, sign up for an account at Weblate and navigate to the Frigate NVR project: https://hosted.weblate.org/projects/frigate-nvr/ When translating, maintain the existing key structure while translating only the values. Ensure your translations maintain proper formatting, including any placeholder variables (like `{{example}}`).","url":"https://docs.frigate.video/development/contributing/","vehicles":[]},{"i":733,"id":"frigate/camera_setup","section_id":"frigate/frigate/camera_setup/0563","title":"Camera setup","heading":"Overview","text":"Cameras configured to output H.264 video and AAC audio will offer the most compatibility with all features of Frigate and Home Assistant. H.265 has better compression, but less compatibility. Firefox 134+/136+/137+ (Windows/Mac/Linux & Android), Chrome 108+, Safari and Edge are the only browsers able to play H.265 and only support a limited number of H.265 profiles. Ideally, cameras should be configured directly for the desired resolutions and frame rates you want to use in Frigate. Reducing frame rates within Frigate will waste CPU resources decoding extra frames that are discarded. There are three different goals that you want to tune your stream configurations around. - **Detection**: This is the only stream that Frigate will decode for processing. Also, this is the stream where snapshots will be generated from. The resolution for detection should be tuned for the size of the objects you want to detect. See [Choosing a detect resolut","url":"https://docs.frigate.video/frigate/camera_setup/","vehicles":[]},{"i":734,"id":"frigate/camera_setup","section_id":"frigate/frigate/camera_setup/0564","title":"Camera setup","heading":"Choosing a detect resolution","text":"The ideal resolution for detection is one where the objects you want to detect fit inside the dimensions of the model used by Frigate (320x320). Frigate does not pass the entire camera frame to object detection. It will crop an area of motion from the full frame and look in that portion of the frame. If the area being inspected is larger than 320x320, Frigate must resize it before running object detection. Higher resolutions do not improve the detection accuracy because the additional detail is lost in the resize. Below you can see a reference for how large a 320x320 area is against common resolutions. Larger resolutions **do** improve performance if the objects are very small in the frame.","url":"https://docs.frigate.video/frigate/camera_setup/","vehicles":[]},{"i":735,"id":"frigate/camera_setup","section_id":"frigate/frigate/camera_setup/0565","title":"Camera setup","heading":"Choosing a detect frame rate","text":"`detect.fps` controls how many times per second Frigate runs object detection. It does **not** need to match your camera's frame rate. The default of **5** is correct for the vast majority of cameras. :::warning Most users who raise `detect.fps` above the default don't need to. Increasing it consumes more CPU/GPU (detection load scales directly with the frame rate) while providing **no benefit to tracking** once objects are already being followed smoothly. Leave it at **5** unless you have a specific scene that fails the test below, and confirm any change actually helps in the [debug view](/usage/live#the-single-camera-view). :::","url":"https://docs.frigate.video/frigate/camera_setup/","vehicles":[]},{"i":736,"id":"frigate/camera_setup","section_id":"frigate/frigate/camera_setup/0566","title":"Camera setup","heading":"Why 5 is enough for almost everyone","text":"Frigate follows an object by matching its bounding box from one detection frame to the next, which requires the object to be detected often enough while it is on screen. At 5 fps this is satisfied in normal scenes: an object crossing a yard, porch, driveway, or walkway is in view for several seconds and produces ~15 or more detections, which is more than enough for a reliable track and a good snapshot. This includes fast subjects such as a running person or a bolting pet, which on a wide-angle view remain on screen for several seconds. A higher rate helps only when an object crosses the **entire frame in less than two seconds**, which is determined by camera framing rather than object speed - for example, a camera aimed down a street at fast cross-traffic. In those scenes 5 fps may produce too few detections to hold a track. Cameras covering normal approaches and open areas are unaffected.","url":"https://docs.frigate.video/frigate/camera_setup/","vehicles":[]},{"i":737,"id":"frigate/camera_setup","section_id":"frigate/frigate/camera_setup/0567","title":"Camera setup","heading":"Checking whether a higher rate is needed","text":"Estimate how long an object is visible as it crosses the area of interest, aiming for roughly 8\u201310 detections during the pass: > **`detect.fps` \u2248 10 \u00f7 (seconds the object is in view)** Most objects (people walking or running, pets, and vehicles in a yard, driveway, or walkway) stay in view for two seconds or more, so the default of 5 fps is correct. Slowly try raising it to 10 (the recommended maximum) in increments only when objects routinely cross the entire frame in about a second, such as a camera aimed at a street or sidewalk with fast cross-traffic. Objects that transit in under a second cannot be tracked reliably at any practical rate, so reposition the camera instead. :::tip If the formula calls for more than 10, the fix is **camera placement, not frame rate**. Angle the camera so objects move toward it rather than across the view, or aim it where traffic slows. A higher `detect.fps` increases CPU load proportionally without pro","url":"https://docs.frigate.video/frigate/camera_setup/","vehicles":[]},{"i":738,"id":"frigate/camera_setup","section_id":"frigate/frigate/camera_setup/0568","title":"Camera setup","heading":"Verify in the debug view","text":"Confirm any change in the Debug view or Debug Replay. Watch a typical object cross the scene: if its bounding box follows it smoothly while visible, the rate is sufficient. A box that jumps erratically, drops out, or splits one object into multiple events indicates the rate should be increased one step.","url":"https://docs.frigate.video/frigate/camera_setup/","vehicles":[]},{"i":739,"id":"frigate/camera_setup","section_id":"frigate/frigate/camera_setup/0569","title":"Camera setup","heading":"Dedicated LPR cameras","text":"A dedicated license plate recognition camera is the most common reason to use something higher than 5 fps: the camera is highly zoomed, the plate is small, and it moves at full vehicle speed, so it transits the frame quickly. However, the same ceiling applies: above 10 fps is unnecessary, and **placement matters most**: aim LPR cameras where vehicles slow down, such as gates, driveways, and parking entrances. A tight view of a fast through-road will not likely read plates reliably at any frame rate. See [License Plate Recognition](/configuration/license_plate_recognition) for details.","url":"https://docs.frigate.video/frigate/camera_setup/","vehicles":[]},{"i":740,"id":"frigate/camera_setup","section_id":"frigate/frigate/camera_setup/0570","title":"Camera setup","heading":"Example Camera Configuration","text":"For the Dahua/Loryta 5442 camera, I use the following settings: **Main Stream (Recording & RTSP)** - Encode Mode: H.264 - Resolution: 2688\\*1520 - Frame Rate(FPS): 15 - I Frame Interval: 30 (15 can also be used to prioritize streaming performance - see the [camera settings recommendations](/configuration/live#camera-settings-recommendations) for more info) **Sub Stream (Detection)** - Enable: Sub Stream 2 - Encode Mode: H.264 - Resolution: 1280\\*720 - Frame Rate: 5 - I Frame Interval: 5","url":"https://docs.frigate.video/frigate/camera_setup/","vehicles":[]},{"i":741,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0571","title":"Glossary","heading":"Alert","text":"The higher-priority of the two [review item](#review-item) severities, the other being a [detection](#detection). By default a review item is an alert when it involves a `person` or `car`; the qualifying [labels](#label) and [zones](#zone) can be configured. [See the review docs for more info](/configuration/review)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":742,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0572","title":"Glossary","heading":"Attribute","text":"A property detected on an [object](#object) that exists alongside its [label](#label). Unlike a [sub label](#sub-label), an object can carry several attributes at once. Some attributes come directly from the object detection [model](#model) (for example `face`, `license_plate`, or delivery carrier logos such as `amazon`, `ups`, and `fedex`), while others come from a [custom object classification model](/configuration/custom_classification/object_classification) configured with the `attribute` type. Attributes are visible in the Tracked Object Details pane in Explore, in `frigate/events` MQTT messages, and through the HTTP API.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":743,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0573","title":"Glossary","heading":"Bounding Box","text":"A box returned by the object detection [model](#model) that outlines a detected [object](#object) in the frame. In the [Debug view](/usage/live#the-single-camera-view), bounding boxes are colored by object [label](#label).","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":744,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0574","title":"Glossary","heading":"Bounding Box Colors","text":"- At startup different colors will be assigned to each object label - A dark blue thin line indicates that object is not detected at this current point in time - A gray thin line indicates that object is detected as being stationary - A thick line indicates that object is the subject of autotracking (when enabled)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":745,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0575","title":"Glossary","heading":"Class","text":"The categories a classification [model](#model) is trained to distinguish between. Each class is a distinct visual category the model predicts, plus a `none` class for inputs that don't fit any category. For example, a custom object classification model for `person` objects might use the classes `delivery_person`, `resident`, and `none`. The predicted class is applied to the [object](#object) as either a [sub label](#sub-label) or an [attribute](#attribute), depending on the model's configuration. [See the object classification docs for more info](/configuration/custom_classification/object_classification)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":746,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0576","title":"Glossary","heading":"Detection","text":"The lower-priority of the two [review item](#review-item) severities, the other being an [alert](#alert). By default, any review item that does not qualify as an alert is a detection; the qualifying [labels](#label) and [zones](#zone) can be configured. Despite the name, a detection is a category of review item, not the same as the object detection performed by the [model](#model). [See the review docs for more info](/configuration/review)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":747,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0577","title":"Glossary","heading":"False Positive","text":"An incorrect result from the object detection [model](#model), where it assigns the wrong [label](#label) to something in the frame, for example a dog identified as a person, or a chair identified as a dog. A person correctly identified in an area you want to ignore is not a false positive.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":748,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0578","title":"Glossary","heading":"Label","text":"The type assigned to a detected [object](#object) by the object detection [model](#model), drawn from the model's labelmap, for example `person`, `car`, or `dog`. Frigate tracks `person` by default; additional labels are tracked by adding them to the objects configuration. [See the available objects docs for the full list](/configuration/objects)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":749,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0579","title":"Glossary","heading":"Mask","text":"There are two types of masks in Frigate. [See the mask docs for more info](/configuration/masks)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":750,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0580","title":"Glossary","heading":"Motion Mask","text":"A motion mask stops [motion](#motion) in the masked area from triggering object detection. It does not stop an object from being detected when object detection runs because of motion in a nearby area. Use motion masks for parts of the frame that change constantly but never contain objects you care about: camera timestamps, the sky, the tops of trees, and so on.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":751,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0581","title":"Glossary","heading":"Object Mask","text":"An object filter mask drops any [bounding box](#bounding-box) whose bottom center falls inside the masked area (overlap elsewhere doesn't matter). The object is forced to be treated as a [false positive](#false-positive) and ignored.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":752,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0582","title":"Glossary","heading":"Min Score","text":"The lowest score a detected object can have to be kept during tracking. Anything scoring below the minimum is assumed to be a [false positive](#false-positive) and discarded. Set with `min_score` in the config, shown as **Minimum confidence** in the settings UI.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":753,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0583","title":"Glossary","heading":"Model","text":"A machine learning model that Frigate uses to detect or classify objects. The object detection model locates [objects](#object) in each frame and returns their [labels](#label) and [bounding boxes](#bounding-box). Additional enrichment models run on tracked objects to add detail: face recognition, license plate recognition, bird classification, custom object and state classification, and the embedding models used for semantic search. [See the object detectors docs for more info](/configuration/object_detectors)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":754,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0584","title":"Glossary","heading":"Motion","text":"A change in pixels between the current camera frame and previous frames. When many nearby pixels change together, they are grouped and shown as a red motion box in the debug live view. [See the motion detection docs for more info](/configuration/motion_detection)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":755,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0585","title":"Glossary","heading":"Object","text":"Something Frigate can detect and follow in a camera frame, identified by its [label](#label) (for example a person or a car). The object types Frigate watches for are set in the `objects` configuration. Once an object is detected and followed across frames it becomes a [tracked object](#tracked-object-event-in-previous-versions), which may also carry a [sub label](#sub-label) and [attributes](#attribute). [See the available objects docs for more info](/configuration/objects)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":756,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0586","title":"Glossary","heading":"Region","text":"A portion of the camera frame sent to the object detection [model](#model). Regions are selected because of [motion](#motion), active objects, or occasionally to recheck stationary objects, and are shown as green boxes in the debug live view.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":757,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0587","title":"Glossary","heading":"Review Item","text":"A period of time during which one or more [tracked objects](#tracked-object-event-in-previous-versions) were active, grouped together for review. Each review item is categorized as either an [alert](#alert) or a [detection](#detection). [See the review docs for more info](/configuration/review)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":758,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0588","title":"Glossary","heading":"Sub Label","text":"A more specific identity assigned to a [tracked object](#tracked-object-event-in-previous-versions) in addition to its [label](#label). A `person` may get the name of a recognized face, a `car` may get the name of a known license plate, and a `bird` may get its species. An object can have only one sub label at a time. Sub labels are produced by face recognition, license plate recognition, bird classification, custom object classification configured with the `sub label` type, and semantic search triggers.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":759,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0589","title":"Glossary","heading":"Threshold","text":"The median score an object must reach to be considered a true positive. Set with `threshold` in the config, shown as **Confidence threshold** in the settings UI.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":760,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0590","title":"Glossary","heading":"Tracked Object (\"event\" in previous versions)","text":"An [object](#object) followed from the moment it enters the frame until it leaves, including any time it stays still. A tracked object is saved once it is considered a [true positive](#threshold) and meets the requirements for a snapshot or recording.","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":761,"id":"frigate/glossary","section_id":"frigate/frigate/glossary/0591","title":"Glossary","heading":"Zone","text":"A user-defined area of interest within the camera frame. Zones can be used for notifications and to limit where Frigate creates a [review item](#review-item). [See the zone docs for more info](/configuration/zones)","url":"https://docs.frigate.video/frigate/glossary/","vehicles":[]},{"i":762,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0592","title":"Recommended hardware","heading":"Cameras","text":"Cameras that output H.264 video and AAC audio will offer the most compatibility with all features of Frigate and Home Assistant. It is also helpful if your camera supports multiple substreams to allow different resolutions to be used for detection, streaming, and recordings without re-encoding. I recommend Dahua and Hikvision. Dahua edges out Hikvision because they are easier to find and order, not because they are better cameras. I personally use Dahua cameras because they are easier to purchase directly. In my experience Dahua and Hikvision both have multiple streams with configurable resolutions and frame rates and rock solid streams. They also both have models with large sensors well known for excellent image quality at night. Not all the models are equal. Larger sensors are better than higher resolutions; especially at night. WiFi cameras are not recommended as [their streams are less reliable and cause connection loss and/or lost ","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":763,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0593","title":"Recommended hardware","heading":"Server","text":"My current favorite is the Beelink EQ13 because of the efficient N100 CPU and dual NICs that allow you to setup a dedicated private network for your cameras where they can be blocked from accessing the internet. There are many used workstation options on eBay that work very well. Anything with an Intel CPU (with AVX + AVX2 instructions) and capable of running Debian should work fine. As a bonus, you may want to look for devices with a M.2 or PCIe express slot that is compatible with the Google Coral, Hailo, or other AI accelerators. Note that many of these mini PCs come with Windows pre-installed, and you will need to install Linux according to the [getting started guide](../guides/getting_started.md). I may earn a small commission for my endorsement, recommendation, testimonial, or link to any products or services from this website. :::warning If the EQ13 is out of stock, the link below may take you to a suggested alternative on Amazon","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":764,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0594","title":"Recommended hardware","heading":"Detectors","text":"A detector is a device which is optimized for running inferences efficiently to detect objects. Using a recommended detector means there will be less latency between detections and more detections can be run per second. Frigate is designed around the expectation that a detector is used to achieve very low inference speeds. Offloading TensorFlow to a detector is an order of magnitude faster and will reduce your CPU load dramatically. :::info Frigate supports multiple different detectors that work on different types of hardware: **Most Hardware** - [Hailo](#hailo-8): The Hailo-8, Hailo-8L and Hailo-8R AI Acceleration modules are available in m.2 format with a HAT for RPi devices offering a wide range of compatibility with devices. - [Supports many model architectures](../../configuration/object_detectors#configuration-hailo) - Runs best with tiny or small size models - [Google Coral EdgeTPU](#google-coral-tpu): The Google Coral EdgeTPU is","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":765,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0595","title":"Recommended hardware","heading":"Hailo-8","text":"Frigate supports the Hailo-8, Hailo-8L and Hailo-8R AI Acceleration Modules on compatible hardware platforms, including the Raspberry Pi 5 with the PCIe hat from the AI kit. The Hailo detector integration in Frigate identifies which of them is attached and selects the matching default model when a custom model isn\u2019t provided. **Default Model Configuration:** - **Hailo-8L:** Default model is **YOLOv6n**, compiled for the Hailo-8L. - **Hailo-8:** Default model is **YOLOv6n**, compiled for the Hailo-8. - **Hailo-8R:** Default model is the **Hailo-8** build of **YOLOv6n**, since the Hailo Model Zoo publishes no Hailo-8R build. In real-world deployments, even with multiple cameras running concurrently, Frigate has demonstrated consistent performance. Testing on x86 platforms, with dual PCIe lanes, yields further improvements in FPS, throughput, and latency compared to the Raspberry Pi setup. | Name | Hailo\u20118 Inference Time | Hailo\u20118L Inferen","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":766,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0596","title":"Recommended hardware","heading":"Google Coral TPU","text":":::warning The Coral is no longer recommended for new Frigate installations, except in deployments with particularly low power requirements or hardware incapable of utilizing alternative AI accelerators for object detection. Instead, we suggest using one of the numerous other supported object detectors. Frigate will continue to provide support for the Coral TPU for as long as practicably possible given its still one of the most power-efficient devices for executing object detection models. ::: Frigate supports both the USB and M.2 versions of the Google Coral. - The USB version is compatible with the widest variety of hardware and does not require a driver on the host machine. However, it does lack the automatic throttling features of the other versions. - The PCIe and M.2 versions require installation of a driver on the host. https://github.com/jnicolson/gasket-builder should be used. A single Coral can handle many cameras using the de","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":767,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0597","title":"Recommended hardware","heading":"OpenVINO - Intel","text":"The OpenVINO detector type is able to run on: - 6th Gen Intel Platforms and newer that have an iGPU - x86 hosts with an Intel Arc GPU (including Arc A-series and B-series Battlemage) - Intel NPUs - Most modern AMD CPUs (though this is officially not supported by Intel) - x86 & Arm64 hosts via CPU (generally not recommended) More information is available [in the detector docs](/configuration/object_detectors#openvino-detector) Inference speeds vary greatly depending on the CPU or GPU used, some known examples of GPU inference times are below: | Name | MobileNetV2 Inference Time | YOLOv9 | YOLO-NAS Inference Time | RF-DETR Inference Time | Notes | | -------------- | -------------------------- | ------------------------------------------------- | ------------------------- | ---------------------- | ---------------------------------- | | Intel HD 530 | 15 - 35 ms | | | | Can only run one detector instance | | Intel HD 620 | 15 - 25 ms | | 3","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":768,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0598","title":"Recommended hardware","heading":"Nvidia GPUs","text":"Frigate is able to utilize an Nvidia GPU which supports the 12.x series of CUDA libraries.","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":769,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0599","title":"Recommended hardware","heading":"Minimum Hardware Support","text":"12.x series of CUDA libraries are used which have minor version compatibility. The minimum driver version on the host system must be `>=545`. The oldest supported GPU generation for object detection is Pascal (Compute Capability 6.0 or greater). Older generations such as Maxwell are not supported but can still be used by following a [community workaround](https://github.com/blakeblackshear/frigate/discussions/20088). For other GPUs, check the NVIDIA GPU Compute Capability table linked below. Make sure your host system has the [nvidia-container-runtime](https://docs.docker.com/config/containers/resource_constraints/#access-an-nvidia-gpu) installed to pass through the GPU to the container and the host system has a compatible driver installed for your GPU.","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":770,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0600","title":"Recommended hardware","heading":"Compatibility References:","text":"[NVIDIA TensorRT Support Matrix](https://docs.nvidia.com/deeplearning/tensorrt-rtx/latest/getting-started/support-matrix.html) [NVIDIA CUDA Compatibility](https://docs.nvidia.com/deploy/cuda-compatibility/index.html) [NVIDIA GPU Compute Capability](https://developer.nvidia.com/cuda-gpus) Inference is done with the `onnx` detector type. Speeds will vary greatly depending on the GPU and the model used. `tiny (t)` variants are faster than the equivalent non-tiny model, some known examples are below: \u2705 - Accelerated with CUDA Graphs \u274c - Not accelerated with CUDA Graphs | Name | \u2705 YOLOv9 Inference Time | \u2705 RF-DETR Inference Time | \u274c YOLO-NAS Inference Time | | ----------- | ------------------------------------- | ------------------------- | -------------------------- | | GTX 1070 | s-320: 16 ms | | 320: 14 ms | | RTX 3050 | t-320: 8 ms s-320: 10 ms s-640: 28 ms | Nano-320: ~ 12 ms | 320: ~ 10 ms 640: ~ 16 ms | | RTX 3070 | t-320: 6 ms s-320:","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":771,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0601","title":"Recommended hardware","heading":"Apple Silicon","text":"Frigate on a Mac is best run in the [lighter](https://github.com/fieldwork-ai/lighter) container runtime, where the [ONNX detector](../configuration/object_detectors.md#apple-neural-engine-lighter) runs on the Neural Engine of M1 and newer Macs from inside the Frigate container. There is no separate detector process to install or keep running, and the same container can decode video on the Mac's media engine. | Name | YOLOv9 Inference Time | YOLO-NAS Inference Time | RF-DETR Inference Time | | ---- | -------------------------------------- | ----------------------- | ---------------------- | | M1 | t-320: 3.3 ms s-320: 7 ms s-640: 13 ms | 320: 6.6 ms | Nano-320: 38 ms | Alternatively, with the [Apple Silicon](../configuration/object_detectors.md#apple-silicon-detector) detector Frigate can take advantage of the NPU in M1 and newer Apple Silicon. :::warning Apple Silicon can not run within a container, so a ZMQ proxy is utilized to commun","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":772,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0602","title":"Recommended hardware","heading":"ROCm - AMD GPU","text":"With the [ROCm](../configuration/object_detectors.md#amdrocm-gpu-detector) detector Frigate can take advantage of many AMD discrete and integrated GPUs, see the [supported GPUs](../configuration/object_detectors.md#supported-gpus-rocm). | Name | YOLOv9 Inference Time | YOLO-NAS Inference Time | RF-DETR Inference Time | | -------------- | --------------------------- | ------------------------- | ---------------------- | | AMD 780M | t-320: ~ 14 ms s-320: 20 ms | 320: ~ 25 ms 640: ~ 50 ms | | | AMD 8700G | | 320: ~ 20 ms 640: ~ 40 ms | | | AMD 9060XT 16G | t-320: ~ 4 ms s-320: 5 ms | 320: ~ 6 ms | Nano-320: ~ 90 ms |","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":773,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0603","title":"Recommended hardware","heading":"MemryX MX3","text":"Frigate supports the MemryX MX3 M.2 AI Acceleration Module on compatible hardware platforms, including both x86 (Intel/AMD) and ARM-based SBCs such as Raspberry Pi 5. A single MemryX MX3 module is capable of handling multiple camera streams using the default models, making it sufficient for most users. For larger deployments with more cameras or bigger models, multiple MX3 modules can be used. Frigate supports multi-detector configurations, allowing you to connect multiple MX3 modules to scale inference capacity. Detailed information is available [in the detector docs](/configuration/object_detectors#memryx-mx3). **Default Model Configuration:** - Default model is **YOLO-NAS-Small**. The MX3 is a pipelined architecture, where the maximum frames per second supported (and thus supported number of cameras) cannot be calculated as `1/latency` (1/\"Inference Time\") and is measured separately. When estimating how many camera streams you may su","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":774,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0604","title":"Recommended hardware","heading":"DEEPX NPU","text":"Frigate supports the DEEPX NPU in both of its form factors: the **DX-M1** M.2 module, which works on x86 (Intel/AMD) and ARM-based SBCs such as the Raspberry Pi 5, and the **DX-M1M** on the [Sixfab AI HAT+](https://docs.sixfab.com/docs/ai-hat-plus-raspberry-pi-5-quickstart) for the Raspberry Pi 5. Both use the same driver and runtime, so the configuration is identical for either one. DEEPX NPU support in Frigate is developed and maintained by [Sixfab](https://sixfab.com). The DEEPX driver and runtime run on the Docker host rather than inside the Frigate container and must be installed before the NPU can be used. See the [installation docs](installation.md#deepx-npu) for the setup steps and [the detector docs](/configuration/object_detectors#deepx-npu) for the configuration. Frigate does not bundle a model for this detector. Models use DEEPX's `.dxnn` format, and pre-compiled YOLO models can be downloaded from the [DEEPX ModelZoo](https:","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":775,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0605","title":"Recommended hardware","heading":"Nvidia Jetson","text":"Jetson devices are supported via the TensorRT or ONNX detectors when running Jetpack 6. It will [make use of the Jetson's hardware media engine](/configuration/hardware_acceleration_video#nvidia-jetson) when configured with the [appropriate presets](/configuration/ffmpeg_presets#hwaccel-presets), and will make use of the Jetson's GPU and DLA for object detection when configured with the [TensorRT detector](/configuration/object_detectors#nvidia-tensorrt-detector). Inference speed will vary depending on the YOLO model, jetson platform and jetson nvpmodel (GPU/DLA/EMC clock speed). It is typically 20-40 ms for most models. The DLA is more efficient than the GPU, but not faster, so using the DLA will reduce power consumption but will slightly increase inference time.","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":776,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0606","title":"Recommended hardware","heading":"Rockchip platform","text":"Frigate supports hardware video processing on all Rockchip boards. However, hardware object detection is only supported on these boards: - RK3562 - RK3566 - RK3568 - RK3576 - RK3588 | Name | YOLOv9 Inference Time | YOLO-NAS Inference Time | YOLOx Inference Time | | -------------- | --------------------- | --------------------------- | ----------------------- | | rk3588 3 cores | tiny: ~ 35 ms | small: ~ 20 ms med: ~ 30 ms | nano: 14 ms tiny: 18 ms | | rk3566 1 core | | small: ~ 96 ms | | The inference time of a rk3588 with all 3 cores enabled is typically 25-30 ms for yolo-nas s.","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":777,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0607","title":"Recommended hardware","heading":"Synaptics","text":"- **Synaptics** Default model is **mobilenet** | Name | Synaptics SL1680 Inference Time | | ------------- | ------------------------------- | | ssd mobilenet | ~ 25 ms | | yolov5m | ~ 118 ms |","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":778,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0608","title":"Recommended hardware","heading":"AXERA","text":"- **AXEngine** Default model is **yolov9** | Name | AXERA AX650N/AX8850N Inference Time | | ---------------- | ----------------------------------- | | yolov9-tiny | ~ 4 ms |","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":779,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0609","title":"Recommended hardware","heading":"AMD Ryzen AI / XDNA2","text":"Frigate supports AMD XDNA2 NPUs through the community-maintained frigate-xdna ZMQ sidecar. It works with stock Frigate and supports Frigate+ models or compatible local YOLO ONNX models. Models are compiled once on the target system and cached for subsequent use. Currently qualified on **Ryzen AI Max 300 / Strix Halo**. Other XDNA2 devices are not yet qualified; XDNA1 is unsupported. Measured YOLOv9 detector latency on Strix Halo: | Model | 320 | 640 | | ----- | ---: | ---: | | YOLOv9-T | ~7.4 ms | unsupported | | YOLOv9-S | ~9.0 ms | ~20.0 ms | | YOLOv9-M | ~13.1 ms | ~34.4 ms | | YOLOv9-C | ~14.1 ms | ~35.2 ms | | YOLOv9-E | ~69.4 ms | ~224.8 ms | **YOLOv9-C at 320 is the recommended quality/performance balance.** C at 640 is also usable where the lower throughput is acceptable. Setup, model preparation, and compatibility details are available [in the frigate-xdna documentation](https://github.com/mitchins/frigate-xdna).","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":780,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0610","title":"Recommended hardware","heading":"What does Frigate use the CPU for and what does it use a detector for? (ELI5 Version)","text":"This is taken from a [user question on reddit](https://www.reddit.com/r/homeassistant/comments/q8mgau/comment/hgqbxh5/?utm_source=share&utm_medium=web2x&context=3). Modified slightly for clarity. CPU Usage: I am a CPU, Mendel is a Google Coral My buddy Mendel and I have been tasked with keeping the neighbor's red footed booby off my parent's yard. Now I'm really bad at identifying birds. It takes me forever, but my buddy Mendel is incredible at it. Mendel however, struggles at pretty much anything else. So we make an agreement. I wait till I see something that moves, and snap a picture of it for Mendel. I then show him the picture and he tells me what it is. Most of the time it isn't anything. But eventually I see some movement and Mendel tells me it is the Booby. Score! _What happens when I increase the resolution of my camera?_ However we realize that there is a problem. There is still booby poop all over the yard. How could we miss t","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":781,"id":"frigate/hardware","section_id":"frigate/frigate/hardware/0611","title":"Recommended hardware","heading":"Do hwaccel args help if I am using a Coral?","text":"YES! The Coral does not help with decoding video streams. Decompressing video streams takes a significant amount of CPU power. Video compression uses key frames (also known as I-frames) to send a full frame in the video stream. The following frames only include the difference from the key frame, and the CPU has to compile each frame by merging the differences with the key frame. [More detailed explanation](https://support.video.ibm.com/hc/en-us/articles/18106203580316-Keyframes-InterFrame-Video-Compression). Higher resolutions and frame rates mean more processing power is needed to decode the video stream, so try and set them on the camera to avoid unnecessary decoding work.","url":"https://docs.frigate.video/frigate/hardware/","vehicles":[]},{"i":782,"id":"frigate/index","section_id":"frigate/frigate/index/0612","title":"Introduction","heading":"Overview","text":"A complete and local NVR designed for Home Assistant with AI object detection. Uses OpenCV and Tensorflow to perform realtime object detection locally for IP cameras. Use of a [Recommended Detector](/frigate/hardware#detectors) is optional, but strongly recommended. CPU detection should only be used for testing purposes. - Tight integration with Home Assistant via a [custom component](https://github.com/blakeblackshear/frigate-hass-integration) - Designed to minimize resource use and maximize performance by only looking for objects when and where it is necessary - Leverages multiprocessing heavily with an emphasis on realtime over processing every frame - Uses a very low overhead motion detection to determine where to run object detection - Object detection with TensorFlow runs in separate processes for maximum FPS - Communicates over MQTT for easy integration into other systems - Recording with retention based on detected objects - Re-","url":"https://docs.frigate.video/frigate/index/","vehicles":[]},{"i":783,"id":"frigate/installation","section_id":"frigate/frigate/installation/0613","title":"Installation","heading":"Overview","text":"import ShmCalculator from '@site/src/components/ShmCalculator' import DockerComposeGenerator from '@site/src/components/DockerComposeGenerator' import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Frigate is a Docker container that can be run on any Docker host including as a [Home Assistant App](https://www.home-assistant.io/apps/). Note that the Home Assistant App is **not** the same thing as the integration. The [integration](/integrations/home-assistant) is required to integrate Frigate into Home Assistant, whether you are running Frigate as a standalone Docker container or as a Home Assistant App. :::tip If you already have Frigate installed as a Home Assistant App, check out the [getting started guide](../guides/getting_started.md#configuring-frigate) to configure Frigate. :::","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":784,"id":"frigate/installation","section_id":"frigate/frigate/installation/0614","title":"Installation","heading":"Dependencies","text":"**MQTT broker (optional)** - An MQTT broker is optional with Frigate, but is required for the Home Assistant integration. If using Home Assistant, Frigate and Home Assistant must be connected to the same MQTT broker.","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":785,"id":"frigate/installation","section_id":"frigate/frigate/installation/0615","title":"Installation","heading":"Operating System","text":"Frigate runs best with Docker installed on bare metal Debian-based distributions. For ideal performance, Frigate needs low overhead access to underlying hardware for the Coral and GPU devices. Running Frigate in a VM on top of Proxmox, ESXi, Virtualbox, etc. is not recommended though [some users have had success with Proxmox](#proxmox). Windows is not officially supported, but some users have had success getting it to run under WSL or Virtualbox. Getting the GPU and/or Coral devices properly passed to Frigate may be difficult or impossible. Search previous discussions or issues for help.","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":786,"id":"frigate/installation","section_id":"frigate/frigate/installation/0616","title":"Installation","heading":"Storage","text":"Frigate uses the following locations for read/write operations in the container. Docker volume mappings can be used to map these to any location on your host machine. - `/config`: Used to store the Frigate config file and sqlite database. You will also see a few files alongside the database file while Frigate is running. - `/media/frigate/clips`: Used for snapshot storage. In the future, it will likely be renamed from `clips` to `snapshots`. The file structure here cannot be modified and isn't intended to be browsed or managed manually. - `/media/frigate/recordings`: Internal system storage for recording segments. The file structure here cannot be modified and isn't intended to be browsed or managed manually. - `/media/frigate/exports`: Storage for clips and timelapses that have been exported via the WebUI or API. - `/tmp/cache`: Cache location for recording segments. Initial recordings are written here before being checked and converte","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":787,"id":"frigate/installation","section_id":"frigate/frigate/installation/0617","title":"Installation","heading":"Ports","text":"The following ports are used by Frigate and can be mapped via docker as required. | Port | Description | | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `8971` | Authenticated UI and API access without TLS. Reverse proxies should use this port. | | `5000` | Internal unauthenticated UI and API access. Access to this port should be limited. Intended to be used within the docker network for services that integrate with Frigate. | | `8554` | RTSP restreaming. By default, these streams are unauthenticated. Authentication can be configured in go2rtc section of config. | | `8555` | WebRTC connections for cameras with two-way talk support. |","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":788,"id":"frigate/installation","section_id":"frigate/frigate/installation/0618","title":"Installation","heading":"Common Docker Compose storage configurations","text":"Writing to a local disk or external USB drive: :::warning Users of the Snapcraft build of Docker cannot use storage locations outside your $HOME folder. :::","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":789,"id":"frigate/installation","section_id":"frigate/frigate/installation/0619","title":"Installation","heading":"Calculating required shm-size","text":"Frigate utilizes shared memory to store frames during processing. The default `shm-size` provided by Docker is **64MB**. Frigate needs about **210MB** for **2 cameras** detecting at **720p**. If Frigate is exiting with \"Bus error\" messages, it is likely because you have too many high resolution cameras and you need to specify a higher shm size, using [`--shm-size`](https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources) (or [`service.shm_size`](https://docs.docker.com/compose/compose-file/compose-file-v2/#shm_size) in Docker Compose). If raising the shm size does not help, check your [process and file limits](#process-and-file-limits) as well. The Frigate container also stores logs and an nginx cache in shm, which can take up to **50MB**. The calculator below includes this, along with room for 2 cameras added while Frigate is running. Its result holds about 25 frames per camera, a little above the 20 frame minimu","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":790,"id":"frigate/installation","section_id":"frigate/frigate/installation/0620","title":"Installation","heading":"Process and file limits","text":"Frigate runs many processes and opens a number of shared memory files. Installs with a large number of cameras can exceed the default limits your container runtime applies. Hitting the PID limit logs `RuntimeError: can't start new thread`, often followed by a \"Bus error\" that makes it look like an shm sizing problem. Compare the current count against the max from inside the container: If these are close, raise the limit with [`--pids-limit`](https://docs.docker.com/engine/containers/resource_constraints/) (or `service.pids_limit` in Docker Compose). Running out of file descriptors logs `OSError: [Errno 24] Too many open files`. Raise the limit in Docker Compose:","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":791,"id":"frigate/installation","section_id":"frigate/frigate/installation/0621","title":"Installation","heading":"Extra Steps for Specific Hardware","text":"The following sections contain additional setup steps that are only required if you are using specific hardware. If you are not using any of these hardware types, you can skip to the [Docker](#docker) installation section.","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":792,"id":"frigate/installation","section_id":"frigate/frigate/installation/0622","title":"Installation","heading":"Raspberry Pi 3/4","text":"By default, the Raspberry Pi limits the amount of memory available to the GPU. In order to use ffmpeg hardware acceleration, you must increase the available memory by setting `gpu_mem` to the maximum recommended value in `config.txt` as described in the [official docs](https://www.raspberrypi.org/documentation/computers/config_txt.html#memory-options). Additionally, the USB Coral draws a considerable amount of power. If using any other USB devices such as an SSD, you will experience instability due to the Pi not providing enough power to USB devices. You will need to purchase an external USB hub with its own power supply. Some have reported success with this (affiliate link).","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":793,"id":"frigate/installation","section_id":"frigate/frigate/installation/0623","title":"Installation","heading":"Hailo-8","text":"The Hailo-8, Hailo-8L and Hailo-8R AI accelerators are available in both M.2 and HAT form factors for the Raspberry Pi. The M.2 version typically connects to a carrier board for PCIe, which then interfaces with the Raspberry Pi 5 as part of the AI Kit. The HAT version can be mounted directly onto compatible Raspberry Pi models. Both form factors have been successfully tested on x86 platforms as well, making them versatile options for various computing environments. The HailoRT runtime is not part of the Frigate image; Frigate downloads and installs it at first start once a Hailo detector is configured. Containers without internet access can provide the files themselves, see [Detector runtimes](/frigate/network_requirements#detector-runtimes).","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":794,"id":"frigate/installation","section_id":"frigate/frigate/installation/0624","title":"Installation","heading":"Installation","text":":::warning On Raspberry Pi OS **Bookworm**, the kernel includes an older version of the Hailo driver that is incompatible with Frigate. You **must** follow the installation steps below to install the correct driver version, and you **must** disable the built-in kernel driver as described in step 1. On Raspberry Pi OS **Trixie**, the Hailo driver is no longer shipped with the kernel. It is installed via DKMS, and the conflict described below does not apply. You can simply run the installation script. ::: 1. **Disable the built-in Hailo driver (Raspberry Pi Bookworm OS only)**: :::note If you are **not** using a Raspberry Pi with **Bookworm OS**, skip this step and proceed directly to step 2. If you are using Raspberry Pi with **Trixie OS**, also skip this step and proceed directly to step 2. ::: First, check if the driver is currently loaded: If it shows `hailo_pci`, unload it: Then locate the built-in kernel driver and rename it so it c","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":795,"id":"frigate/installation","section_id":"frigate/frigate/installation/0625","title":"Installation","heading":"Setup","text":"To set up Frigate, follow the default installation instructions, for example: `ghcr.io/blakeblackshear/frigate:stable` Next, grant Docker permissions to access your hardware by adding the following lines to your `docker-compose.yml` file: If you are using `docker run`, add this option to your command `--device /dev/hailo0`","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":796,"id":"frigate/installation","section_id":"frigate/frigate/installation/0626","title":"Installation","heading":"MemryX MX3","text":"The MemryX MX3 Accelerator is available in the M.2 2280 form factor (like an NVMe SSD), and supports a variety of configurations: - x86 (Intel/AMD) PCs - Raspberry Pi 5 - Orange Pi 5 Plus/Max - Multi-M.2 PCIe carrier cards","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":797,"id":"frigate/installation","section_id":"frigate/frigate/installation/0627","title":"Installation","heading":"Installation","text":"To get started with MX3 hardware setup for your system, refer to the [Hardware Setup Guide](https://developer.memryx.com/2p1/get_started/install_hardware.html). The MemryX SDK used inside the container is not part of the Frigate image; Frigate downloads and installs it at first start once a MemryX detector is configured. Containers without internet access can provide the file themselves, see [Detector runtimes](/frigate/network_requirements#detector-runtimes). The host side driver still has to be installed as described below. Then follow these steps for installing the correct driver/runtime configuration: 1. Copy or download [this script](https://github.com/blakeblackshear/frigate/blob/dev/docker/memryx/user_installation.sh). 2. Ensure it has execution permissions with `sudo chmod +x user_installation.sh` 3. Run the script with `./user_installation.sh` 4. **Restart your computer** to complete driver installation. :::warning For manual s","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":798,"id":"frigate/installation","section_id":"frigate/frigate/installation/0628","title":"Installation","heading":"Setup","text":"To set up Frigate, follow the default installation instructions, for example: `ghcr.io/blakeblackshear/frigate:stable` Next, grant Docker permissions to access your hardware by adding the following lines to your `docker-compose.yml` file: During configuration, you must run Docker in privileged mode and ensure the container can access the max-manager. In your `docker-compose.yml`, also add: If you can't use Docker Compose, you can run the container with something similar to this:","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":799,"id":"frigate/installation","section_id":"frigate/frigate/installation/0629","title":"Installation","heading":"DEEPX NPU","text":"The DEEPX NPU is available in two form factors, and Frigate supports both: - **DX-M1** in the M.2 2280 form factor (like an NVMe SSD), for x86 (Intel/AMD) PCs, the Raspberry Pi 5, and other ARM SBCs with an exposed PCIe M.2 slot. - **DX-M1M** on the [Sixfab AI HAT+](https://docs.sixfab.com/docs/ai-hat-plus-raspberry-pi-5-quickstart), a HAT+ board that connects to the Raspberry Pi 5 over PCIe Gen 3 x1. Both present the NPU through the same PCIe driver and DX-RT runtime, so the setup below and the detector configuration are identical for either one. Nothing needs to change when moving between them. DEEPX NPU support in Frigate is developed and maintained by [Sixfab](https://sixfab.com).","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":800,"id":"frigate/installation","section_id":"frigate/frigate/installation/0630","title":"Installation","heading":"Versions","text":"A DEEPX install has several separately versioned pieces, and they all have to agree. The driver, the runtime, and the daemon live on the Docker host; Frigate itself carries none of them, and downloads the matching runtime package for its Python bindings on first start: | Component | Version | Installed on | Installed by | | -------------- | -------- | ------------ | ------------------------- | | Kernel driver | `v2.7.0` | Host | `user_installation.sh` | | DX-RT runtime | `v3.5.0` | Host | `user_installation.sh` | | NPU firmware | `v2.7.6` | The module | Flashed from the host | | DX-RT bindings | `v3.5.0` | Frigate | Downloaded at first start | :::warning A mismatch between the runtime and its Python bindings is caught at import, because the bindings refuse to load against a different runtime version. A mismatch between the runtime, the kernel driver and the firmware can still show up only as inference requests that are accepted but neve","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":801,"id":"frigate/installation","section_id":"frigate/frigate/installation/0631","title":"Installation","heading":"Installation","text":"The DEEPX kernel driver must be installed on the host rather than in the container, because containers share the host kernel and cannot load kernel modules. Installing it creates the `/dev/dxrt*` device nodes that are passed through to Frigate. The same script installs the DX-RT runtime and enables `dxrt.service`, the daemon that owns the NPU and hands work to it on behalf of Frigate and anything else on the host. 1. Copy or download [this script](https://github.com/blakeblackshear/frigate/blob/dev/docker/deepx/user_installation.sh). 2. Ensure it has execution permissions with `sudo chmod +x user_installation.sh` 3. Run the script with `./user_installation.sh` 4. **Restart your computer** to complete driver installation. Confirm the NPU is visible before continuing: Then confirm the daemon is running and listening in `/run/dxrt`:","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":802,"id":"frigate/installation","section_id":"frigate/frigate/installation/0632","title":"Installation","heading":"Setup","text":"The DX-RT bindings are installed on first start, so the container needs to reach GitHub once. For a host without internet access, seed the package as described in [Detector runtimes](/frigate/network_requirements#detector-runtimes). To set up Frigate, follow the default installation instructions, for example: `ghcr.io/blakeblackshear/frigate:stable`","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":803,"id":"frigate/installation","section_id":"frigate/frigate/installation/0633","title":"Installation","heading":"Docker configuration","text":"Frigate needs the NPU device node and the directory holding the daemon's socket: If you can't use Docker Compose, add `--device /dev/dxrt0:/dev/dxrt0 -v /run/dxrt:/run/dxrt` to your `docker run` command. Add one `--device` per NPU, contiguously from `/dev/dxrt0`, since the client stops enumerating at the first gap. The installation script configures `dxrt.service` to place its socket in `/run/dxrt` through a systemd drop-in. Mounting the directory rather than the socket file means the container sees the new socket after `dxrt.service` is restarted, rather than holding on to a deleted one. `dxrtd` listens on an abstract socket as well, but that one does not cross into a container, so Frigate names the filesystem socket through `DXRT_DYNAMIC_IPC_ENDPOINT` on your behalf. Set that variable on the container yourself only if the daemon listens somewhere else, which means you also set it for `dxrtd` through its own systemd drop-in. The script","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":804,"id":"frigate/installation","section_id":"frigate/frigate/installation/0634","title":"Installation","heading":"Rockchip platform","text":"Make sure that you use a linux distribution that comes with the rockchip BSP kernel 5.10 or 6.1 and necessary drivers (especially rkvdec2 and rknpu). To check, enter the following commands: I recommend [Armbian](https://www.armbian.com/download/?arch=aarch64), if your board is supported.","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":805,"id":"frigate/installation","section_id":"frigate/frigate/installation/0635","title":"Installation","heading":"Setup","text":"Follow Frigate's default installation instructions, but use a docker image with `-rk` suffix for example `ghcr.io/blakeblackshear/frigate:stable-rk`. Next, you need to grant docker permissions to access your hardware: - During the configuration process, you should run docker in privileged mode to avoid any errors due to insufficient permissions. To do so, add `privileged: true` to your `docker-compose.yml` file or the `--privileged` flag to your docker run command. - After everything works, you should only grant necessary permissions to increase security. Disable the privileged mode and add the lines below to your `docker-compose.yml` file: or add these options to your `docker run` command: Frigate reads NPU and GPU (RGA) usage from `/sys/kernel/debug`, which the kernel makes readable only by root. Frigate's services don't run as root, so to show these stats on the System page, bind the two load files into the container. This works with","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":806,"id":"frigate/installation","section_id":"frigate/frigate/installation/0636","title":"Installation","heading":"Setup","text":"Follow Frigate's default installation instructions, but use a docker image with `-synaptics` suffix for example `ghcr.io/blakeblackshear/frigate:stable-synaptics`. Next, you need to grant docker permissions to access your hardware: - During the configuration process, you should run docker in privileged mode to avoid any errors due to insufficient permissions. To do so, add `privileged: true` to your `docker-compose.yml` file or the `--privileged` flag to your docker run command. or add these options to your `docker run` command:","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":807,"id":"frigate/installation","section_id":"frigate/frigate/installation/0637","title":"Installation","heading":"AXERA","text":"AXERA accelerators are available in an M.2 form factor, compatible with both Raspberry Pi and Orange Pi. This form factor has also been successfully tested on x86 platforms, making it a versatile choice for various computing environments.","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":808,"id":"frigate/installation","section_id":"frigate/frigate/installation/0638","title":"Installation","heading":"Installation","text":"Using AXERA accelerators requires the installation of the AXCL driver. We provide a convenient Linux script to complete this installation. Follow these steps for installation: 1. Copy or download [this script](https://github.com/ivanshi1108/assets/releases/download/v0.16.2/user_installation.sh). 2. Ensure it has execution permissions with `sudo chmod +x user_installation.sh` 3. Run the script with `./user_installation.sh`","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":809,"id":"frigate/installation","section_id":"frigate/frigate/installation/0639","title":"Installation","heading":"Setup","text":"To set up Frigate, follow the default installation instructions, for example: `ghcr.io/blakeblackshear/frigate:stable` The AXEngine python package is not part of the Frigate image; Frigate downloads and installs it at first start once an AXEngine detector is configured. Containers without internet access can provide the file themselves, see [Detector runtimes](/frigate/network_requirements#detector-runtimes). Next, grant Docker permissions to access your hardware by adding the following lines to your `docker-compose.yml` file: If you are using `docker run`, add this option to your command `--device /dev/axcl_host --device /dev/ax_mmb_dev --device /dev/msg_userdev`","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":810,"id":"frigate/installation","section_id":"frigate/frigate/installation/0640","title":"Installation","heading":"Axelera Metis","text":"The Axelera Metis AI Accelerator is available in the M.2 and PCIe card form factors and is supported on x86 (Intel/AMD) PCs and Rock 5B class arm64 boards. The Axelera runtime used inside the container is not part of the Frigate image; Frigate downloads and installs it at first start once an Axelera detector is configured. Containers without internet access can provide the files themselves, see [Detector runtimes](/frigate/network_requirements#detector-runtimes). The host side kernel driver still has to be installed as described below.","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":811,"id":"frigate/installation","section_id":"frigate/frigate/installation/0641","title":"Installation","heading":"Installation","text":"Install the Metis PCIe kernel driver and firmware on the **host** following [Axelera's driver installation guide](https://developer.axelera.ai/axelera-documentation/Getting-Started/GettingStartedWithMetis/InstallingAxeleraMetisDriver). The driver creates the `/dev/metis*` device nodes. Reboot after installing it.","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":812,"id":"frigate/installation","section_id":"frigate/frigate/installation/0642","title":"Installation","heading":"Setup","text":"To set up Frigate, follow the default installation instructions, for example: `ghcr.io/blakeblackshear/frigate:stable` The runtime enumerates the card by the colon-separated name the host udev rules create as a symlink (for example `/dev/metis-0:1:0`). Docker cannot pass that name as a `--device` argument, and a bind mount resolves the symlink to the raw node, which the runtime does not enumerate. A CDI device spec defines the container path and host path as separate fields, and a `startContainer` hook recreates the symlink inside the container. Create `/etc/cdi/axelera.yaml` on the host, matching the node `ls /dev/metis*` prints: Then grant the device in your `docker-compose.yml` file: If you are using `docker run`, add `--device axelera.ai/metis=0` to your command. CDI is enabled by default in Docker 28 and later; older versions need `\"features\": {\"cdi\": true}` in `daemon.json`. The hook runs as the container user, so this setup needs","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":813,"id":"frigate/installation","section_id":"frigate/frigate/installation/0643","title":"Installation","heading":"Docker","text":"Running through Docker with Docker Compose is the recommended install method. Generate a Frigate Docker Compose configuration based on your hardware and requirements. ","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":814,"id":"frigate/installation","section_id":"frigate/frigate/installation/0644","title":"Installation","heading":"Recommended security options","text":"Frigate does not need elevated container privileges for most setups. The following hardens the container; add the `devices`/`group_add` entries your hardware requires (see the hardware acceleration docs): :::note `telemetry.stats.network_bandwidth` uses nethogs, which requires root with NET_ADMIN/NET_RAW capabilities. If you enable that stat, omit `cap_drop: [ALL]` or add `cap_add: [NET_ADMIN, NET_RAW]`. Platforms that genuinely require `privileged: true` (MemryX, some QNAP setups) are called out in their own sections and are unaffected by this guidance. ::: Frigate's services run as an unprivileged user inside the container. See [Running as a non-root user](../configuration/non_root.md) for the run modes, the one time volume ownership migration, what each accelerator needs on the host, and the [hardened deployment](../configuration/non_root.md#hardened-deployment) layout with a read-only root filesystem. **Docker CLI** If you can't use","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":815,"id":"frigate/installation","section_id":"frigate/frigate/installation/0645","title":"Installation","heading":"Home Assistant App","text":":::warning There are important limitations in HA OS to be aware of: - AMD GPUs are not supported because HA OS does not include the mesa driver. - Intel NPUs require Home Assistant OS 18.4 or newer. Earlier releases do not include the NPU firmware. - Nvidia GPUs are not supported because HA Apps do not support the Nvidia runtime. ::: :::tip Frigate's media can be kept on separate storage, either a network share (Home Assistant 2023.6 or newer) or a local disk such as a second internal drive or a USB drive (Home Assistant 2026.11 or newer). See [the storage guide](/guides/ha_network_storage.md) for setup instructions. ::: Home Assistant OS users can install via the App repository. 1. In Home Assistant, navigate to _Settings_ > _Apps_ > _App Store_ > _Repositories_ 2. Add `https://github.com/blakeblackshear/frigate-hass-addons` 3. Install the desired variant of the Frigate App (see below) 4. Setup your network configuration in the `Config","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":816,"id":"frigate/installation","section_id":"frigate/frigate/installation/0646","title":"Installation","heading":"Unraid","text":"Many people have powerful enough NAS devices or home servers to also run docker. There is a Unraid Community App. To install make sure you have the [community app plugin here](https://forums.unraid.net/topic/38582-plug-in-community-applications/). Then search for \"Frigate\" in the apps section within Unraid - you can see the online store [here](https://unraid.net/community/apps?q=frigate#r)","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":817,"id":"frigate/installation","section_id":"frigate/frigate/installation/0647","title":"Installation","heading":"Proxmox","text":"[According to Proxmox documentation](https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_pct) it is recommended that you run application containers like Frigate inside a Proxmox QEMU VM. This will give you all the advantages of application containerization, while also providing the benefits that VMs offer, such as strong isolation from the host and the ability to live-migrate, which otherwise isn\u2019t possible with containers. Ensure that ballooning is **disabled**, especially if you are passing through a GPU to the VM. :::warning If you choose to run Frigate via LXC in Proxmox the setup can be complex so be prepared to read the Proxmox and LXC documentation, Frigate does not officially support running inside of an LXC. ::: Suggestions include: - For Intel-based hardware acceleration, to allow access to the `/dev/dri/renderD128` device with major number 226 and minor number 128, add the following lines to the `/etc/pve/lxc/.c","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":818,"id":"frigate/installation","section_id":"frigate/frigate/installation/0648","title":"Installation","heading":"ESXi","text":"For details on running Frigate using ESXi, please see the instructions [here](https://williamlam.com/2023/05/frigate-nvr-with-coral-tpu-igpu-passthrough-using-esxi-on-intel-nuc.html). If you're running Frigate on a rack mounted server and want to passthrough the Google Coral, [read this.](https://github.com/blakeblackshear/frigate/issues/305)","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":819,"id":"frigate/installation","section_id":"frigate/frigate/installation/0649","title":"Installation","heading":"Synology NAS on DSM 7","text":"These settings were tested on DSM 7.1.1-42962 Update 4 **General:** The `Execute container using high privilege` option needs to be enabled in order to give the frigate container the elevated privileges it may need. The `Enable auto-restart` option can be enabled if you want the container to automatically restart whenever it improperly shuts down due to an error. **Advanced Settings:** If you want to use the password template feature, you should add the \"FRIGATE_RTSP_PASSWORD\" environment variable and set it to your preferred password under advanced settings. The rest of the environment variables should be left as default for now. **Port Settings:** The network mode should be set to `bridge`. You need to map the default frigate container ports to your local Synology NAS ports that you want to use to access Frigate. There may be other services running on your NAS that are using the same ports that frigate uses. In that instance you can s","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":820,"id":"frigate/installation","section_id":"frigate/frigate/installation/0650","title":"Installation","heading":"QNAP NAS","text":"These instructions were tested on a QNAP with an Intel J3455 CPU and 16G RAM, running QTS 4.5.4.2117. QNAP has a graphic tool named Container Station to install and manage docker containers. However, there are two limitations with Container Station that make it unsuitable to install Frigate: 1. Container Station does not incorporate GitHub Container Registry (ghcr), which hosts Frigate docker image version 0.12.0 and above. 2. Container Station uses default 64 Mb shared memory size (shm-size), and does not have a mechanism to adjust it. Frigate requires a larger shm-size to be able to work properly with more than two high resolution cameras. Because of above limitations, the installation has to be done from command line. Here are the steps: **Preparation** 1. Install Container Station from QNAP App Center if it is not installed. 2. Enable ssh on your QNAP (please do an Internet search on how to do this). 3. Prepare Frigate config file, ","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":821,"id":"frigate/installation","section_id":"frigate/frigate/installation/0651","title":"Installation","heading":"macOS - Apple Silicon","text":":::warning macOS uses port 5000 for its Airplay Receiver service. If you want to expose port 5000 in Frigate for local app and API access the port will need to be mapped to another port on the host e.g. 5001 Failure to remap port 5000 on the host will result in the WebUI and all API endpoints on port 5000 being unreachable, even if port 5000 is exposed correctly in Docker. ::: Docker containers on macOS can be orchestrated by either [Docker Desktop](https://docs.docker.com/desktop/setup/install/mac-install/) or [OrbStack](https://orbstack.dev) (native Swift app). The difference in inference speeds is negligible, however CPU, power consumption and container start times will be lower on OrbStack because it is a native Swift application. To allow Frigate to use the Apple Silicon Neural Engine / Processing Unit (NPU) the host must be running [Apple Silicon Detector](../configuration/object_detectors.md#apple-silicon-detector) on the host (o","url":"https://docs.frigate.video/frigate/installation/","vehicles":[]},{"i":822,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0652","title":"Network Requirements","heading":"Network Requirements","text":"Frigate is designed to run locally and does not require a persistent internet connection for core functionality. However, certain features need internet access for initial setup or ongoing operation. This page describes what connects to the internet, when, and how to control it.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":823,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0653","title":"Network Requirements","heading":"How Frigate Uses the Internet","text":"Frigate's internet usage falls into three categories: 1. **One-time model downloads**: ML models are downloaded the first time a feature is enabled, then cached locally. No internet is needed on subsequent startups. 2. **Optional cloud services**: Features like Frigate+ and Generative AI connect to external APIs only when explicitly configured. 3. **Build-time dependencies**: Components bundled into the Docker image during the build process. These require no internet at runtime. :::tip After initial setup, Frigate can run fully offline as long as all required models have been downloaded and no cloud-dependent features are enabled. :::","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":824,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0654","title":"Network Requirements","heading":"One-Time Model Downloads","text":"The following models are downloaded automatically the first time their associated feature is enabled. Once cached in `/config/model_cache/`, they do not require internet again. | Feature | Models Downloaded | Source | | --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------- | | [Semantic search](/configuration/semantic_search) | Jina CLIP v1 or v2 (ONNX) + tokenizer | HuggingFace | | [Face recognition](/configuration/face_recognition) | FaceNet, ArcFace, face detection model | GitHub | | [License plate recognition](/configuration/license_plate_recognition) | PaddleOCR (detection, classification, recognition) + YOLOv9 plate detector | GitHub | | [Bird classification](/configuration/bird_classification) | MobileNetV2 bird model + label map | GitHub | | [Custom classification](/configuration/custom_clas","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":825,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0655","title":"Network Requirements","heading":"Hardware-Specific Detector Models","text":"If you are using one of the following hardware detectors and have not provided your own model file, a default model will be downloaded on first startup: | Detector | Model Downloaded | Source | | ------------------------------------------------------------------ | -------------------- | ------------------------ | | [Rockchip RKNN](/configuration/object_detectors#rockchip-platform) | RKNN detection model | GitHub | | [Hailo 8 / 8L / 8R](/configuration/object_detectors#hailo) | YOLOv6n (.hef) | Hailo Model Zoo (AWS S3) | | [AXERA AXEngine](/configuration/object_detectors) | Detection model | HuggingFace | :::note The default CPU, EdgeTPU, and OpenVINO object detection models are bundled into the Docker image and do not require any download at runtime. :::","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":826,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0656","title":"Network Requirements","heading":"Detector Runtimes","text":"The SDKs for a few hardware detectors are not shipped in the Frigate image. They are downloaded the first time that detector is configured, verified against checksums pinned in the Frigate release, and installed into the Frigate user's home directory (`/config/.local` by default). Once installed they are not downloaded again until a Frigate release pins a new version. | Detector | Version | Files | Source | | ---------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | [Hailo 8 / 8L / 8R](/configuration/object_detectors#hailo) | 4.21.0 | `hailort-debian12-amd64.tar.gz` and `hailort-4.21.0-cp311-cp311-linux_x86_64.whl` on x86, `hailort-debian12-arm64.tar.g","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":827,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0657","title":"Network Requirements","heading":"Preventing Model Downloads","text":"If you have already downloaded all required models and want to prevent Frigate from attempting any outbound connections to HuggingFace or the Transformers library, set the following environment variables on your Frigate container: :::warning Setting these variables without having the correct model files already cached in `/config/model_cache/` will cause failures. Only use these after a successful initial setup with internet access. :::","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":828,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0658","title":"Network Requirements","heading":"Mirror Support","text":"If your Frigate instance has restricted internet access, you can point model downloads at internal mirrors using environment variables: | Environment Variable | Default | Used By | | ----------------------------------- | ----------------------------------- | --------------------------------------------- | | `HF_ENDPOINT` | `https://huggingface.co` | Semantic search, Sherpa-ONNX, AXEngine models | | `GITHUB_ENDPOINT` | `https://github.com` | Face recognition, LPR, RKNN models, detector runtimes | | `GITHUB_RAW_ENDPOINT` | `https://raw.githubusercontent.com` | Bird classification | | `TF_KERAS_MOBILENET_V2_WEIGHTS_URL` | Unset (Keras uses its own default) | Custom classification training |","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":829,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0659","title":"Network Requirements","heading":"Optional Cloud Services","text":"These features connect to external services during normal operation and require internet whenever they are active.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":830,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0660","title":"Network Requirements","heading":"Frigate+","text":"When a Frigate+ API key is configured, Frigate communicates with `https://api.frigate.video` to download models, upload snapshots for training, submit annotations, and report false positives. Remove the API key to disable all Frigate+ network activity. See [Frigate+](/integrations/plus) for details.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":831,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0661","title":"Network Requirements","heading":"Generative AI","text":"When a Generative AI provider is configured, Frigate sends images and prompts to the configured provider for the various features that are enabled. Available providers: | Provider | Internet Required | | ------------- | --------------------------------------------------------------- | | OpenAI | Yes, connects to OpenAI API (or custom base URL) | | Google Gemini | Yes, connects to Google Generative AI API | | Azure OpenAI | Yes, connects to your Azure endpoint | | Ollama | Depends: typically local (`localhost:11434`), but can be remote | | llama.cpp | No, runs entirely locally | Disable Generative AI by removing the `genai` configuration from your cameras. See [Generative AI](/configuration/genai/genai_config) for details.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":832,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0662","title":"Network Requirements","heading":"Version Check","text":"Frigate checks GitHub for the latest release version on startup by querying `https://api.github.com`. This can be disabled:","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":833,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0663","title":"Network Requirements","heading":"Anonymous Analytics","text":"If [anonymous analytics](/configuration/advanced/analytics) sharing is turned on, Frigate sends one report a day to `https://analytics.frigate.video`. It's off by default, so no outbound connection happens unless you enable it:","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":834,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0664","title":"Network Requirements","heading":"Push Notifications","text":"When [notifications](/configuration/notifications) are enabled and users have registered for push notifications in the web UI, Frigate sends push messages through the browser vendor's push service (e.g., Google FCM, Mozilla autopush). This requires internet access from the Frigate server to these push endpoints.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":835,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0665","title":"Network Requirements","heading":"MQTT","text":"If an [MQTT broker](/integrations/mqtt) is configured, Frigate maintains a connection to the broker's host and port. This is typically a local network connection, but will require internet if you use a cloud-hosted MQTT broker.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":836,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0666","title":"Network Requirements","heading":"WebRTC (STUN)","text":"For [WebRTC live streaming](/configuration/live), Frigate uses STUN for NAT traversal: - **go2rtc** defaults to a local STUN listener (`stun:8555`), no internet required. - **The web UI** uses the servers in `go2rtc.webrtc.ice_servers` for its WebRTC player and for the WebRTC connectivity check it runs when the Live view loads. If none are set, it uses Google's public STUN server (`stun:stun.l.google.com:19302`), which requires internet access from the browser. Set `ice_servers` to a STUN or TURN server on your network to avoid this.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":837,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0667","title":"Network Requirements","heading":"Home Assistant Supervisor","text":"When running as a Home Assistant App, the go2rtc startup script queries the local Supervisor API (`http://supervisor/`) to discover the host IP address and WebRTC port. This is a local network call to the Home Assistant host, not an internet connection.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":838,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0668","title":"Network Requirements","heading":"What Does NOT Require Internet","text":"- **Object detection**: CPU, EdgeTPU, OpenVINO, and other bundled detector models are included in the Docker image. - **Recording and playback**: All video is stored and served locally. - **Live streaming**: Camera streams are pulled over your local network. MSE and HLS streaming work without any external connections. - **The web interface**: Fully self-contained with no external fonts, scripts, analytics, or CDN dependencies. All translations are bundled locally. - **Custom classification inference**: After training, custom models run entirely locally. - **Audio detection**: The YAMNet audio classification model is bundled in the Docker image.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":839,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0669","title":"Network Requirements","heading":"Running Frigate Offline","text":"To run Frigate in an air-gapped or offline environment: 1. **Pre-download models**: Start Frigate with internet access once with all desired features enabled. Models will be cached in `/config/model_cache/`. 2. **Pre-download the training base weights**: If you plan to train custom classification models, set `TF_KERAS_MOBILENET_V2_WEIGHTS_URL` before training, then run one training job while online. Without this variable the base weights are cached outside `/config/` and are lost whenever the container is recreated, so a later training run will fail offline. If the machine never has internet access, copy the weights in manually as described below. 3. **Disable version check**: Set `telemetry.version_check: false` in your configuration. 4. **Block outbound model requests**: Set the `HF_HUB_OFFLINE=1` and `TRANSFORMERS_OFFLINE=1` environment variables to prevent HuggingFace and Transformers from attempting any network requests. 5. **Avoid","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":840,"id":"frigate/network_requirements","section_id":"frigate/frigate/network_requirements/0670","title":"Network Requirements","heading":"Manually Copying the Training Base Weights","text":"On a machine with internet access, download the weights: Copy the file into your Frigate config volume as `/config/model_cache/MobileNet/mobilenet_v2_weights.h5`, keeping that exact filename, then set the environment variable `TF_KERAS_MOBILENET_V2_WEIGHTS_URL` in your Docker compose file to the URL above and restart Frigate. The variable must be set even though the URL is never contacted. If it is unset, Frigate ignores the copied file and asks Keras to download the weights instead.","url":"https://docs.frigate.video/frigate/network_requirements/","vehicles":[]},{"i":841,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0671","title":"Planning a New Installation","heading":"Overview","text":"Choosing the right hardware for your Frigate NVR setup is important for optimal performance and a smooth experience. This guide will walk you through the key considerations, focusing on the number of cameras and the hardware required for efficient object detection.","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":842,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0672","title":"Planning a New Installation","heading":"Number of Cameras and Simultaneous Activity","text":"The most fundamental factor in your hardware decision is the number of cameras you plan to use. However, it's not just about the raw count; it's also about how many of those cameras are likely to see activity and require object detection simultaneously. When motion is detected in a camera's feed, regions of that frame are sent to your chosen [object detection hardware](/configuration/object_detectors). - **Low Simultaneous Activity (1-6 cameras with occasional motion)**: If you have a few cameras in areas with infrequent activity (e.g., a seldom-used backyard, a quiet interior), the demand on your object detection hardware will be lower. A single, entry-level AI accelerator will suffice. - **Moderate Simultaneous Activity (6-12 cameras with some overlapping motion)**: For setups with more cameras, especially in areas like a busy street or a property with multiple access points, it's more likely that several cameras will capture activity","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":843,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0673","title":"Planning a New Installation","heading":"Video Decoding","text":"Modern CPUs with integrated GPUs (Intel Quick Sync, AMD VCN) or dedicated GPUs can significantly offload video decoding from the main CPU, freeing up resources. This is highly recommended, especially for multiple cameras. :::tip For commercial installations it is important to verify the number of supported concurrent streams on your GPU, many consumer GPUs max out at ~20 concurrent camera streams. :::","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":844,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0674","title":"Planning a New Installation","heading":"Object Detection","text":"There are many different hardware options for object detection depending on priorities and available hardware. See [the recommended hardware page](./hardware.md#detectors) for more specifics on what hardware is recommended for object detection.","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":845,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0675","title":"Planning a New Installation","heading":"CPU","text":"Frigate requires a CPU with AVX + AVX2 instructions. Most modern CPUs (post-2011) support AVX and AVX2, but it is generally absent in low-power or budget-oriented processors, particularly older Intel Pentium, Celeron, and Atom-based chips. Specifically, Intel Celeron and Pentium models prior to the 2020 Tiger Lake generation typically lack AVX. Older Intel Xeon models may have AVX, but may lack AVX2.","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":846,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0676","title":"Planning a New Installation","heading":"Storage","text":"Storage is an important consideration when planning a new installation. To get a more precise estimate of your storage requirements, you can use an IP camera storage calculator. Websites like [IPConfigure Storage Calculator](https://calculator.ipconfigure.com/) can help you determine the necessary disk space based on your camera settings. Once running, see [Understanding storage usage](/configuration/record#understanding-storage-usage) for how Frigate measures and reports disk usage, and why its numbers won't exactly match `df` or `du`.","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":847,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0677","title":"Planning a New Installation","heading":"SSDs (Solid State Drives)","text":"SSDs are an excellent choice for Frigate, offering high speed and responsiveness. The older concern that SSDs would quickly \"wear out\" from constant video recording is largely no longer valid for modern consumer and enterprise-grade SSDs. - Longevity: Modern SSDs are designed with advanced wear-leveling algorithms and significantly higher \"Terabytes Written\" (TBW) ratings than earlier models. For typical home NVR use, a good quality SSD will likely outlast the useful life of your NVR hardware itself. - Performance: SSDs excel at handling the numerous small write operations that occur during continuous video recording and can significantly improve the responsiveness of the Frigate UI and clip retrieval. - Silence and Efficiency: SSDs produce no noise and consume less power than traditional HDDs.","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":848,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0678","title":"Planning a New Installation","heading":"HDDs (Hard Disk Drives)","text":"Traditional Hard Disk Drives (HDDs) remain a great and often more cost-effective option for long-term video storage, especially for larger setups where raw capacity is prioritized. - Cost-Effectiveness: HDDs offer the best cost per gigabyte, making them ideal for storing many days, weeks, or months of continuous footage. - Capacity: HDDs are available in much larger capacities than most consumer SSDs, which is beneficial for extensive video archives. - NVR-Rated Drives: If choosing an HDD, consider drives specifically designed for surveillance (NVR) use, such as Western Digital Purple or Seagate SkyHawk. These drives are engineered for 24/7 operation and continuous write workloads, offering improved reliability compared to standard desktop drives. Determining Your Storage Needs The amount of storage you need will depend on several factors: - Number of Cameras: More cameras naturally require more space. - Resolution and Framerate: Higher","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":849,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0679","title":"Planning a New Installation","heading":"Network Storage (NFS/SMB)","text":"While supported, using network-attached storage (NAS) for recordings can introduce latency and network dependency considerations. For optimal performance and reliability, it is generally recommended to have local storage for your Frigate recordings. If using a NAS, ensure your network connection to it is robust and fast (Gigabit Ethernet at minimum) and that the NAS itself can handle the continuous write load.","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":850,"id":"frigate/planning_setup","section_id":"frigate/frigate/planning_setup/0680","title":"Planning a New Installation","heading":"RAM (Memory)","text":"- **Basic Minimum: 4GB RAM**: This is generally sufficient for a very basic Frigate setup with a few cameras and a dedicated object detection accelerator, without running any enrichments. Performance might be tight, especially with higher resolution streams or numerous detections. - **Minimum for Enrichments: 8GB RAM**: If you plan to utilize Frigate's enrichment features (e.g., facial recognition, license plate recognition, or other AI models that run alongside standard object detection), 8GB of RAM should be considered the minimum. Enrichments require additional memory to load and process their respective models and data. - **Recommended: 16GB RAM**: For most users, especially those with many cameras (8+) or who plan to heavily leverage enrichments, 16GB of RAM is highly recommended. This provides ample headroom for smooth operation, reduces the likelihood of swapping to disk (which can impact performance), and allows for future expan","url":"https://docs.frigate.video/frigate/planning_setup/","vehicles":[]},{"i":851,"id":"frigate/updating","section_id":"frigate/frigate/updating/0681","title":"Updating","heading":"Updating Frigate","text":"The current stable version of Frigate is **0.18.3**. The release notes and any breaking changes for this version can be found on the [Frigate GitHub releases page](https://github.com/blakeblackshear/frigate/releases/tag/v0.18.3). Keeping Frigate up to date ensures you benefit from the latest features, performance improvements, and bug fixes. The update process varies slightly depending on your installation method (Docker, Home Assistant App, etc.). Below are instructions for the most common setups.","url":"https://docs.frigate.video/frigate/updating/","vehicles":[]},{"i":852,"id":"frigate/updating","section_id":"frigate/frigate/updating/0682","title":"Updating","heading":"Before You Begin","text":"- **Stop Frigate**: For most methods, you\u2019ll need to stop the running Frigate instance before backing up and updating. - **Backup Your Configuration**: Always back up your `/config` directory (e.g., `config.yml` and `frigate.db`, the SQLite database) before updating. This ensures you can roll back if something goes wrong. - **Check Release Notes**: Carefully review the [Frigate GitHub releases page](https://github.com/blakeblackshear/frigate/releases) for breaking changes or configuration updates that might affect your setup.","url":"https://docs.frigate.video/frigate/updating/","vehicles":[]},{"i":853,"id":"frigate/updating","section_id":"frigate/frigate/updating/0683","title":"Updating","heading":"Updating with Docker","text":"If you\u2019re running Frigate via Docker (recommended method), follow these steps: 1. **Stop the Container**: - If using Docker Compose: - If using `docker run`: 2. **Update and Pull the Latest Image**: - If using Docker Compose: - Edit your `docker-compose.yml` file to specify the desired version tag (e.g., `0.18.3` instead of `0.17.1`). For example: - Then pull the image: - **Note for `stable` Tag Users**: If your `docker-compose.yml` uses the `stable` tag (e.g., `ghcr.io/blakeblackshear/frigate:stable`), you don\u2019t need to update the tag manually. The `stable` tag always points to the latest stable release after pulling. - If using `docker run`: - Pull the image with the appropriate tag (e.g., `0.18.3`, `0.18.3-tensorrt`, or `stable`): 3. **Start the Container**: - If using Docker Compose: - If using `docker run`, re-run your original command (e.g., from the [Installation](./installation.md#docker) section) with the updated image tag. 4. ","url":"https://docs.frigate.video/frigate/updating/","vehicles":[]},{"i":854,"id":"frigate/updating","section_id":"frigate/frigate/updating/0684","title":"Updating","heading":"Notes","text":"- If you\u2019ve customized other settings (e.g., `shm-size`), ensure they\u2019re still appropriate after the update. - Docker will automatically use the updated image when you restart the container, as long as you pulled the correct version.","url":"https://docs.frigate.video/frigate/updating/","vehicles":[]},{"i":855,"id":"frigate/updating","section_id":"frigate/frigate/updating/0685","title":"Updating","heading":"Updating the Home Assistant App (formerly Addon)","text":"For users running Frigate as a Home Assistant App: 1. **Check for Updates**: - Navigate to **Settings > Apps** in Home Assistant. - Find your installed Frigate app (e.g., \"Frigate NVR\" or \"Frigate NVR (Full Access)\"). - If an update is available, you\u2019ll see an \"Update\" button. 2. **Update the App**: - Make a backup of the current version of the app. - Click the \"Update\" button next to the Frigate app. - Wait for the process to complete. Home Assistant will handle downloading and installing the new version. 3. **Restart the App**: - After updating, go to the app\u2019s page and click \"Restart\" to apply the changes. 4. **Verify the Update**: - Check the app logs (under the \"Log\" tab) to ensure Frigate starts without errors. - Access the Frigate Web UI to confirm the new version is running.","url":"https://docs.frigate.video/frigate/updating/","vehicles":[]},{"i":856,"id":"frigate/updating","section_id":"frigate/frigate/updating/0686","title":"Updating","heading":"Notes","text":"- Ensure your `/config/frigate.yml` is compatible with the new version by reviewing the [Release notes](https://github.com/blakeblackshear/frigate/releases). - If using custom hardware (e.g., Coral or GPU), verify that configurations still work, as app updates don\u2019t modify your hardware settings.","url":"https://docs.frigate.video/frigate/updating/","vehicles":[]},{"i":857,"id":"frigate/updating","section_id":"frigate/frigate/updating/0687","title":"Updating","heading":"Rolling Back","text":"If an update causes issues: 1. Stop Frigate. 2. Restore your backed-up config file and database. 3. Revert to the previous image version: - For Docker: Specify an older tag (e.g., `ghcr.io/blakeblackshear/frigate:0.18.2`) in your `docker run` command. - For Docker Compose: Edit your `docker-compose.yml`, specify the older version tag (e.g., `ghcr.io/blakeblackshear/frigate:0.16.4`), and re-run `docker compose up -d`. - For Home Assistant: Restore from the app/addon backup you took before you updated. 4. Verify the old version is running again.","url":"https://docs.frigate.video/frigate/updating/","vehicles":[]},{"i":858,"id":"frigate/updating","section_id":"frigate/frigate/updating/0688","title":"Updating","heading":"Troubleshooting","text":"- **Container Fails to Start**: Check logs (`docker logs frigate`) for errors. - **UI Not Loading**: Ensure ports (e.g., 5000, 8971) are still mapped correctly and the service is running. - **Hardware Issues**: Revisit hardware-specific setup (e.g., Coral, GPU) if detection or decoding fails post-update. Common questions are often answered in the [FAQ](https://github.com/blakeblackshear/frigate/discussions), pinned at the top of the support discussions.","url":"https://docs.frigate.video/frigate/updating/","vehicles":[]},{"i":859,"id":"frigate/video_pipeline","section_id":"frigate/frigate/video_pipeline/0689","title":"Video pipeline","heading":"Overview","text":"Frigate uses a sophisticated video pipeline that starts with the camera feed and progressively applies transformations to it (e.g. decoding, motion detection, etc.). This guide provides an overview to help users understand some of the key Frigate concepts.","url":"https://docs.frigate.video/frigate/video_pipeline/","vehicles":[]},{"i":860,"id":"frigate/video_pipeline","section_id":"frigate/frigate/video_pipeline/0690","title":"Video pipeline","heading":"Overview","text":"At a high level, there are five processing steps that could be applied to a camera feed As the diagram shows, all feeds first need to be acquired. Depending on the data source, it may be as simple as using FFmpeg to connect to an RTSP source via TCP or something more involved like connecting to an Apple Homekit camera using go2rtc. A single camera can produce a main (i.e. high resolution) and a sub (i.e. lower resolution) video feed. Typically, the sub-feed will be decoded to produce full-frame images. As part of this process, the resolution may be downscaled and an image sampling frequency may be imposed (e.g. keep 5 frames per second). These frames will then be compared over time to detect movement areas (a.k.a. motion boxes). These motion boxes are combined into motion regions and are analyzed by a machine learning model to detect known objects. Finally, the snapshot and recording retention config will decide what video clips and eve","url":"https://docs.frigate.video/frigate/video_pipeline/","vehicles":[]},{"i":861,"id":"frigate/video_pipeline","section_id":"frigate/frigate/video_pipeline/0691","title":"Video pipeline","heading":"Detailed view of the video pipeline","text":"The following diagram adds a lot more detail than the simple view explained before. The goal is to show the detailed data paths between the processing steps.","url":"https://docs.frigate.video/frigate/video_pipeline/","vehicles":[]},{"i":862,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0692","title":"Getting started","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import Tabs from \"@theme/Tabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\";","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":863,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0693","title":"Getting started","heading":"Getting Started","text":":::tip If you already have an environment with Linux and Docker installed, you can continue to [Installing Frigate](#installing-frigate) below. If you already have Frigate installed through Docker or through a Home Assistant App, you can continue to [Configuring Frigate](#configuring-frigate) below. :::","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":864,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0694","title":"Getting started","heading":"Setting up hardware","text":"This section guides you through setting up a server with Debian Bookworm and Docker.","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":865,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0695","title":"Getting started","heading":"Install Debian 12 (Bookworm)","text":"There are many guides on how to install Debian Server, so this will be an abbreviated guide. Connect a temporary monitor and keyboard to your device so you can install a minimal server without a desktop environment.","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":866,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0696","title":"Getting started","heading":"Prepare installation media","text":"1. Download the small installation image from the [Debian website](https://www.debian.org/distrib/netinst) 1. Flash the ISO to a USB device (popular tool is [balena Etcher](https://etcher.balena.io/)) 1. Boot your device from USB","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":867,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0697","title":"Getting started","heading":"Install and setup Debian for remote access","text":"1. Ensure your device is connected to the network so updates and software options can be installed 1. Choose the non-graphical install option if you don't have a mouse connected, but either install method works fine 1. You will be prompted to set the root user password and create a user with a password 1. Install the minimum software. Fewer dependencies result in less maintenance. 1. Uncheck \"Debian desktop environment\" and \"GNOME\" 1. Check \"SSH server\" 1. Keep \"standard system utilities\" checked 1. After reboot, login as root at the command prompt to add user to sudoers 1. Install sudo 1. Add the user you created to the sudo group (change `blake` to your own user) 1. Shutdown by running `poweroff` At this point, you can install the device in a permanent location. The remaining steps can be performed via SSH from another device. If you don't have an SSH client, you can install one of the options listed in the [Visual Studio Code documen","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":868,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0698","title":"Getting started","heading":"Finish setup via SSH","text":"1. Connect via SSH and login with your non-root user created during install 1. Setup passwordless sudo so you don't have to type your password for each sudo command (change `blake` in the command below to your user) 1. Logout and login again to activate passwordless sudo 1. Setup automatic security updates for the OS (optional) 1. Ensure everything is up to date by running 1. Install unattended upgrades Now you have a minimal Debian server that requires very little maintenance.","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":869,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0699","title":"Getting started","heading":"Install Docker","text":"1. Install Docker Engine (not Docker Desktop) using the [official docs](https://docs.docker.com/engine/install/debian/) 1. Specifically, follow the steps in the [Install using the apt repository](https://docs.docker.com/engine/install/debian/#install-using-the-repository) section 2. Add your user to the docker group as described in the [Linux postinstall steps](https://docs.docker.com/engine/install/linux-postinstall/)","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":870,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0700","title":"Getting started","heading":"Installing Frigate","text":"This section shows how to create a minimal directory structure for a Docker installation on Debian. If you have installed Frigate as a Home Assistant App or another way, you can continue to [Configuring Frigate](#configuring-frigate).","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":871,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0701","title":"Getting started","heading":"Setup directories","text":"Frigate will create a config file if one does not exist on the initial startup. The following directory structure is the bare minimum to get started. This will create the above structure: If you are setting up Frigate on a Linux device via SSH, you can use [nano](https://itsfoss.com/nano-editor-guide/) to edit the following files. If you prefer to edit remote files with a full editor instead of a terminal, I recommend using [Visual Studio Code](https://code.visualstudio.com/) with the [Remote SSH extension](https://code.visualstudio.com/docs/remote/ssh-tutorial). :::note This `docker-compose.yml` file is just a starter for amd64 devices. You will need to customize it for your setup as detailed in the [Installation docs](/frigate/installation#docker). ::: `docker-compose.yml` Now you should be able to start Frigate by running `docker compose up -d` from within the folder containing `docker-compose.yml`. On startup, an admin user and pass","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":872,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0702","title":"Getting started","heading":"Configuring Frigate","text":"This section assumes that you already have an environment setup as described in [Installation](../frigate/installation.md). You should also configure your cameras according to the [camera setup guide](/frigate/camera_setup). Pay particular attention to the section on choosing a detect resolution. The first time you open Frigate with no cameras configured, the setup wizard walks you through the basics. Every step can be skipped, everything it sets can be changed later in Settings, and once you finish or dismiss it, it doesn't come back. :::note Frigate only sees hardware that has been passed into the container. If you plan to use a GPU, a Coral, or another accelerator, add the device to your `docker-compose.yml` and restart before running the wizard, otherwise it won'","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":873,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0703","title":"Getting started","heading":"Complete config","text":"At this point you have a complete config with basic functionality. - View [common configuration examples](../configuration/config.md#common-configuration-examples) for a list of common configuration examples. - View [full config reference](../configuration/advanced/reference.md) for a complete list of configuration options.","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":874,"id":"guides/getting_started","section_id":"frigate/guides/getting_started/0704","title":"Getting started","heading":"Follow up","text":"Now that you have a working install, you can use the following documentation for additional features: 1. [Zones](../configuration/zones.md) 2. [Review](../configuration/review.md) 3. [Masks](../configuration/masks.md) 4. [Home Assistant Integration](../integrations/home-assistant.md) - Integrate with Home Assistant","url":"https://docs.frigate.video/guides/getting_started/","vehicles":[]},{"i":875,"id":"guides/ha_network_storage","section_id":"frigate/guides/ha_network_storage/0705","title":"Home Assistant storage","heading":"Overview","text":"Frigate's media (`/media/frigate`) can be stored on a network share or a separate local disk (internal or USB) instead of the Home Assistant system disk.","url":"https://docs.frigate.video/guides/ha_network_storage/","vehicles":[]},{"i":876,"id":"guides/ha_network_storage","section_id":"frigate/guides/ha_network_storage/0706","title":"Home Assistant storage","heading":"Network storage","text":"- Home Assistant 2023.6 or newer is installed - Running Home Assistant Operating System 10.2 or newer OR Running Supervised with latest os-agent installed (this is required for supervised install)","url":"https://docs.frigate.video/guides/ha_network_storage/","vehicles":[]},{"i":877,"id":"guides/ha_network_storage","section_id":"frigate/guides/ha_network_storage/0707","title":"Home Assistant storage","heading":"Local disk","text":"- Home Assistant 2026.11 or newer is installed - The disk is already formatted, ideally as ext4 (Home Assistant does not format disks). Avoid FAT32, exFAT, and NTFS, which do not support Linux file permissions.","url":"https://docs.frigate.video/guides/ha_network_storage/","vehicles":[]},{"i":878,"id":"guides/ha_network_storage","section_id":"frigate/guides/ha_network_storage/0708","title":"Home Assistant storage","heading":"Move current data","text":"Keeping the current data is optional, but `/media/frigate` must be moved or deleted so Home Assistant can mount the storage there. The database and config are stored elsewhere and are not affected.","url":"https://docs.frigate.video/guides/ha_network_storage/","vehicles":[]},{"i":879,"id":"guides/ha_network_storage","section_id":"frigate/guides/ha_network_storage/0709","title":"Home Assistant storage","heading":"Add the storage","text":"1. Go to **Settings -> System -> Storage -> Add storage** 2. Name the storage `frigate` (this is required) 3. Choose usage `media` 4. Choose the type: - For network storage, choose `Samba/Windows (CIFS)` or `Network File System (NFS)` and fill out the additional required info for your particular NAS - For a local disk, choose `Local disk` and select the disk to use 5. Connect 6. Move files from `/media/frigate_tmp` to `/media/frigate` if they were kept in previous step 7. Start the Frigate App","url":"https://docs.frigate.video/guides/ha_network_storage/","vehicles":[]},{"i":880,"id":"guides/ha_notifications","section_id":"frigate/guides/ha_notifications/0710","title":"Home Assistant notifications","heading":"Overview","text":"The best way to get started with notifications for Frigate is to use the [Blueprint](https://community.home-assistant.io/t/frigate-mobile-app-notifications-2-0/559732). You can use the yaml generated from the Blueprint as a starting point and customize from there. It is generally recommended to trigger notifications based on the `frigate/reviews` mqtt topic. This provides the event_id(s) needed to fetch [thumbnails/snapshots/clips](../integrations/home-assistant.md#notification-api) and other useful information to customize when and where you want to receive alerts. The data is published in the form of a change feed, which means you can reference the \"previous state\" of the object in the `before` section and the \"current state\" of the object in the `after` section. You can see an example [here](../integrations/mqtt.md#frigateevents). Here is a simple example of a notification automation of tracked objects which will update the existing ","url":"https://docs.frigate.video/guides/ha_notifications/","vehicles":[]},{"i":881,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0711","title":"Setting up a reverse proxy","heading":"Overview","text":"This guide outlines the basic configuration steps needed to set up a reverse proxy in front of your Frigate instance. A reverse proxy is typically needed if you want to set up Frigate on a custom URL, on a subdomain, or on a host serving multiple sites. It could also be used to set up your own authentication provider or for more advanced HTTP routing. Before setting up a reverse proxy, check if any of the built-in functionality in Frigate suits your needs: |Topic|Docs| |-|-| |TLS|Please see the `tls` [configuration option](../configuration/tls.md)| |Authentication|Please see the [authentication](../configuration/authentication.md) documentation| |IPv6|[Enabling IPv6](../configuration/advanced/system.md#enabling-ipv6) **Note about TLS** When using a reverse proxy, the TLS session is usually terminated at the proxy, sending the internal request over plain HTTP. If this is the desired behavior, TLS must first be disabled in Frigate, or you","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":882,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0712","title":"Setting up a reverse proxy","heading":"WebSocket support","text":"Frigate relies on WebSockets for real-time communication between the browser and the backend. Features such as camera controls (enabling/disabling a camera, audio, detect, recordings, and other toggles), live stream playback, and other live-updating parts of the UI will not function correctly if WebSocket connections are not proxied. Your reverse proxy must be configured to forward the `Upgrade` and `Connection` headers so that WebSocket connections can be established. Each proxy example below already includes the directives needed to do this, but if you are adapting your own configuration, ensure these headers are passed through. Note that some proxies disable WebSocket support by default. For example, Nginx Proxy Manager has a \"Websockets Support\" toggle that must be enabled. Frigate rejects WebSocket connections opened from a page on another site. Your proxy must either preserve the original `Host` header or send it in `X-Forwarded-H","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":883,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0713","title":"Setting up a reverse proxy","heading":"Proxies","text":"There are many solutions available to implement reverse proxies and the community is invited to help out documenting others through a contribution to this page. - [Apache2](#apache2-reverse-proxy) - [Nginx](#nginx-reverse-proxy) - [Traefik](#traefik-reverse-proxy) - [Caddy](#caddy-reverse-proxy) - [HAProxy](#haproxy) - [OPNSense HAProxy Add-on](#opnsense-haproxy-add-on)","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":884,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0714","title":"Setting up a reverse proxy","heading":"Apache2 Reverse Proxy","text":"In the configuration examples below, only the directives relevant to the reverse proxy approach above are included. On Debian Apache2 the configuration file will be named along the lines of `/etc/apache2/sites-available/cctv.conf`","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":885,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0715","title":"Setting up a reverse proxy","heading":"Step 1: Configure the Apache2 Reverse Proxy","text":"Make life easier for yourself by presenting your Frigate interface as a DNS sub-domain rather than as a sub-folder of your main domain. Here we access Frigate via https://cctv.mydomain.co.uk","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":886,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0716","title":"Setting up a reverse proxy","heading":"Step 2: Use SSL to encrypt access to your Frigate instance","text":"Whilst this won't, on its own, prevent access to your Frigate webserver it will encrypt all content (such as login credentials). Installing SSL is beyond the scope of this document but [Let's Encrypt](https://letsencrypt.org/) is a widely used approach. This Apache2 configuration snippet then results in unencrypted requests being redirected to the webserver SSL port","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":887,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0717","title":"Setting up a reverse proxy","heading":"Step 3: Authenticate users at the proxy","text":"There are many ways to authenticate a website but a straightforward approach is to use [Apache2 password files](https://httpd.apache.org/docs/2.4/howto/auth.html).","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":888,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0718","title":"Setting up a reverse proxy","heading":"Nginx Reverse Proxy","text":"This method shows a working example for subdomain type reverse proxy with SSL enabled.","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":889,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0719","title":"Setting up a reverse proxy","heading":"Setup server and port to reverse proxy","text":"This is set in `$server` and `$port` this should match your ports you have exposed to your docker container. Optionally you listen on port `443` and enable `SSL`","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":890,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0720","title":"Setting up a reverse proxy","heading":"Setup SSL (optional)","text":"This section points to your SSL files, the example below shows locations to a default Lets Encrypt SSL certificate.","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":891,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0721","title":"Setting up a reverse proxy","heading":"Setup reverse proxy settings","text":"The settings below enabled connection upgrade, sets up logging (optional) and proxies everything from the `/` context to the docker host and port specified earlier in the configuration","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":892,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0722","title":"Setting up a reverse proxy","heading":"Traefik Reverse Proxy","text":"This example shows how to add a `label` to the Frigate Docker compose file, enabling Traefik to automatically discover your Frigate instance. Before using the example below, you must first set up Traefik with the [Docker provider](https://doc.traefik.io/traefik/providers/docker/) The above configuration will create a \"service\" in Traefik, automatically adding your container's IP on port 8971 as a backend. It will also add a router, routing requests to \"traefik.example.com\" to your local container. Note that with this approach, you don't need to expose any ports for the Frigate instance since all traffic will be routed over the internal Docker network.","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":893,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0723","title":"Setting up a reverse proxy","heading":"Caddy Reverse Proxy","text":"This example shows Frigate running under a subdomain with logging and a tls cert (in this case a wildcard domain cert obtained independently of caddy) handled via imports","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":894,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0724","title":"Setting up a reverse proxy","heading":"HAProxy","text":"This example is for a pure haproxy installation on a dedicated host. It assumes you have already combined the certificate parts in de cert file. The frontend config: The backend config: The above config is created for a Layer 7 proxy (application layer, in this case http), if streaming the camera feeds are a little spotty or somewhat unstable, you can try to change the *mode* from http to tcp in both the frontend and backend config, which sets up a Layer 4 proxy (proxy by protocol). Make sure you change hdr(host) to req.ssl_sni in the frontend Condition to make the host based condition work on tcp traffic.","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":895,"id":"guides/reverse_proxy","section_id":"frigate/guides/reverse_proxy/0725","title":"Setting up a reverse proxy","heading":"OPNSense HAProxy add-on","text":"This guide is for the OPNSense firewall add-on *os-haproxy* and is configured and tested on version 5.1 of the add-on on OPNSense 26.7. The guide starts where you are already done setting up the system, *have a certificate added to the certificate store* and *installed the plugin/add-on*. Step by step plan: 1. Go to Services -> HAProxy, click on Settings; 2. Add a Real Server under *Real Servers*; 3. Fill in the fields *Name or Prefix* and *Description*; 4. set *Type* to **static**; 5. fill in the frigate IP in the *FQDN or IP* field; 6. under *Common Options* fill *Port* with the port number for your Frigate (e.g. 8971) and 7. Click **Save** to store this configuration. 8. Under *Virtual Services* open *Backend Pools*; 9. Add a *Backend Pool*; 10. Fill in the fields *Name or Prefix* and *Description* but use something else then what you used under *Real Servers* otherwise if and when rules and conditions are needed it gets really confu","url":"https://docs.frigate.video/guides/reverse_proxy/","vehicles":[]},{"i":896,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0726","title":"Home Assistant Integration","heading":"Overview","text":"The best way to integrate with Home Assistant is to use the [official integration](https://github.com/blakeblackshear/frigate-hass-integration).","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":897,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0727","title":"Home Assistant Integration","heading":"Preparation","text":"Frigate itself must be installed and running before setting up the integration. See the [installation documentation](../frigate/installation.md) for details. The Frigate integration requires the `mqtt` integration to be installed and manually configured first. See the [MQTT integration documentation](https://www.home-assistant.io/integrations/mqtt/) for more details. In addition, MQTT must be enabled in your Frigate configuration file and Frigate must be connected to the same MQTT server as Home Assistant for many of the entities created by the integration to function, e.g.:","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":898,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0728","title":"Home Assistant Integration","heading":"Integration installation","text":"Available via HACS as a default repository. To install: - Use [HACS](https://hacs.xyz/) to install the integration: - Restart Home Assistant. - Then add/configure the integration: Note: You will also need [media_source](https://www.home-assistant.io/integrations/media_source/) enabled in your Home Assistant configuration for the Media Browser to appear.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":899,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0729","title":"Home Assistant Integration","heading":"(Optional) Lovelace Card Installation","text":"To install the optional companion Lovelace card, please see the [separate installation instructions](https://github.com/dermotduffy/frigate-hass-card) for that card. Frigate rejects browser connections to its live streams that come from another origin, such as a Home Assistant dashboard. Configure cards to stream through the integration's proxy rather than pointing them directly at Frigate's port.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":900,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0730","title":"Home Assistant Integration","heading":"Configuration","text":"When configuring the integration, you will be asked for the `URL` of your Frigate instance which can be pointed at the internal unauthenticated port (`5000`) or the authenticated port (`8971`) for your instance. This may look like `http://:5000/`.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":901,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0731","title":"Home Assistant Integration","heading":"Docker Compose Examples","text":"If you are running Home Assistant and Frigate with Docker Compose on the same device, here are some examples.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":902,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0732","title":"Home Assistant Integration","heading":"Home Assistant running with host networking","text":"It is not recommended to run Frigate in host networking mode. In this example, you would use `http://172.17.0.1:5000` or `http://172.17.0.1:8971` when configuring the integration.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":903,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0733","title":"Home Assistant Integration","heading":"Home Assistant _not_ running with host networking or in a separate compose file","text":"In this example, it is recommended to connect to the authenticated port, for example, `http://frigate:8971` when configuring the integration. There is no need to map the port for the Frigate container.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":904,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0734","title":"Home Assistant Integration","heading":"Home Assistant App","text":"If you are using Home Assistant App, the URL should be one of the following depending on which App variant you are using. Note that if you are using the Proxy App, you should NOT point the integration at the proxy URL. Just enter the same URL used to access Frigate directly from your network. | App Variant | URL | | -------------------------- | -------------------------------------- | | Frigate | `http://ccab4aaf-frigate:5000` | | Frigate (Full Access) | `http://ccab4aaf-frigate-fa:5000` | | Frigate Beta | `http://ccab4aaf-frigate-beta:5000` | | Frigate Beta (Full Access) | `http://ccab4aaf-frigate-fa-beta:5000` |","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":905,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0735","title":"Home Assistant Integration","heading":"Frigate running on a separate machine","text":"If you run Frigate on a separate device within your local network, Home Assistant will need access to port 8971.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":906,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0736","title":"Home Assistant Integration","heading":"Local network","text":"Use `http://:8971` as the URL for the integration so that authentication is required. :::tip The above URL assumes you have [disabled TLS](../configuration/tls). By default, TLS is enabled and Frigate will be using a self-signed certificate. HomeAssistant will fail to connect HTTPS to port 8971 since it fails to verify the self-signed certificate. Either disable TLS and use HTTP from HomeAssistant, or configure Frigate to be accessible with a valid certificate. :::","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":907,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0737","title":"Home Assistant Integration","heading":"Options","text":"| Option | Description | | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | RTSP URL Template | A [jinja2](https://jinja.palletsprojects.com/) template that is used to override the standard RTSP stream URL (e.g. for use with reverse proxies). This option is only shown to users who have [advanced mode](https://www.home-assistant.io/blog/2019/07/17/release-96/#advanced-mode) enabled. See [RTSP streams](#rtsp-stream) below. |","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":908,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0738","title":"Home Assistant Integration","heading":"Entities Provided","text":"| Platform | Description | | --------------- | ------------------------------------------------------------------------------- | | `camera` | Live camera stream (requires RTSP). | | `image` | Image of the latest detected object for each camera. | | `sensor` | States to monitor Frigate performance, object counts for all zones and cameras. | | `switch` | Switch entities to toggle detection, recordings and snapshots. | | `binary_sensor` | A \"motion\" binary sensor entity per camera/zone/object. |","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":909,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0739","title":"Home Assistant Integration","heading":"Media Browser Support","text":"The integration provides: - Browsing tracked object recordings with thumbnails - Browsing snapshots - Browsing recordings by month, day, camera, time This is accessible via \"Media Browser\" on the left menu panel in Home Assistant.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":910,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0740","title":"Home Assistant Integration","heading":"Casting Clips To Media Devices","text":"The integration supports casting clips and camera streams to supported media devices. :::tip For clips to be castable to media devices, audio is required and may need to be [enabled for recordings](../troubleshooting/faqs.md#audio-in-recordings). **NOTE: Even if you camera does not support audio, audio will need to be enabled for Casting to be accepted.** ::: ","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":911,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0741","title":"Home Assistant Integration","heading":"Camera API","text":"To turn a camera off (pauses Frigate's processing of the stream; does not persist across Frigate restarts; see [Camera state](/configuration/live#camera-state)): To turn a camera back on: :::note These actions toggle Frigate's runtime On/Off state. To permanently disable a camera, set its status to **Disabled** in **Settings \u2192 Camera Management** in the Frigate UI. :::","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":912,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0742","title":"Home Assistant Integration","heading":"Notification API","text":"Many people do not want to expose Frigate to the web, so the integration creates some public API endpoints that can be used for notifications. To load a thumbnail for a tracked object: To load a snapshot for a tracked object: To load a video clip of a tracked object using an Android device: To load a video clip of a tracked object using an iOS device: To load a preview gif of a tracked object: To load a preview gif of a review item: To load the thumbnail of a review item: ","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":913,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0743","title":"Home Assistant Integration","heading":"RTSP stream","text":"In order for the live streams to function they need to be accessible on the RTSP port (default: `8554`) at `:8554`. Home Assistant will directly connect to that streaming port when the live camera is viewed.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":914,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0744","title":"Home Assistant Integration","heading":"RTSP URL Template","text":"For advanced usecases, this behavior can be changed with the [RTSP URL template](#options) option. When set, this string will override the default stream address that is derived from the default behavior described above. This option supports [jinja2 templates](https://jinja.palletsprojects.com/) and has the `camera` dict variables from [Frigate API](/integrations/api/frigate-http-api) available for the template. Note that no Home Assistant state is available to the template, only the camera dict from Frigate. This is potentially useful when Frigate is behind a reverse proxy, and/or when the default stream port is otherwise not accessible to Home Assistant (e.g. firewall rules). ###### RTSP URL Template Examples Use a different port number: Use the camera name in the stream URL: Use the camera name in the stream URL, converting it to lowercase first:","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":915,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0745","title":"Home Assistant Integration","heading":"Requirements for Multiple Instances","text":"In order for multiple Frigate instances to function correctly, the `topic_prefix` and `client_id` parameters must be set differently per server. See [MQTT configuration](mqtt) for how to set these.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":916,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0746","title":"Home Assistant Integration","heading":"API URLs","text":"When multiple Frigate instances are configured, [API](#notification-api) URLs should include an identifier to tell Home Assistant which Frigate instance to refer to. The identifier used is the MQTT `client_id` parameter included in the configuration, and is used like so:","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":917,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0747","title":"Home Assistant Integration","heading":"Default Treatment","text":"When a single Frigate instance is configured, the `client-id` parameter need not be specified in URLs/identifiers -- that single instance is assumed. When multiple Frigate instances are configured, the user **must** explicitly specify which server they are referring to.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":918,"id":"integrations/home-assistant","section_id":"frigate/integrations/home-assistant/0748","title":"Home Assistant Integration","heading":"If I am detecting multiple objects, how do I assign the correct `binary_sensor` to the camera in HomeKit?","text":"The [HomeKit integration](https://www.home-assistant.io/integrations/homekit/) randomly links one of the binary sensors (motion sensor entities) grouped with the camera device in Home Assistant. You can specify a `linked_motion_sensor` in the Home Assistant [HomeKit configuration](https://www.home-assistant.io/integrations/homekit/#linked_motion_sensor) for each camera.","url":"https://docs.frigate.video/integrations/home-assistant/","vehicles":[]},{"i":919,"id":"integrations/homekit","section_id":"frigate/integrations/homekit/0749","title":"HomeKit","heading":"Overview","text":"Frigate cameras can be exported to Apple HomeKit through go2rtc. Each exported camera appears as an accessory in the Apple Home app on your iOS, iPadOS, macOS, and tvOS devices.","url":"https://docs.frigate.video/integrations/homekit/","vehicles":[]},{"i":920,"id":"integrations/homekit","section_id":"frigate/integrations/homekit/0750","title":"HomeKit","heading":"Overview","text":"Exporting cameras is handled entirely through go2rtc, which is embedded in Frigate. go2rtc provides the necessary HomeKit Accessory Protocol (HAP) server, so your camera is published to HomeKit as an accessory in its own right. :::note This is the opposite of importing a HomeKit camera. go2rtc can also pair with an existing HomeKit camera (Aqara, Eve, Eufy, and similar) and use it as a stream source, which is what the `add` page of the go2rtc WebUI is for. That page discovers HomeKit accessories on your network and will not list your Frigate cameras. It is not used for exporting. :::","url":"https://docs.frigate.video/integrations/homekit/","vehicles":[]},{"i":921,"id":"integrations/homekit","section_id":"frigate/integrations/homekit/0751","title":"HomeKit","heading":"Requirements","text":"- Frigate must be running with `network_mode: host` so that HomeKit can discover your cameras over mDNS - Your Apple device must be on the same network as Frigate - Port 1984 must be accessible so you can reach the go2rtc WebUI HomeKit also places strict limits on the stream itself. go2rtc passes your stream through without resizing or re-encoding it, so the stream you export must already meet these requirements: - **Video:** H.264 at 1920x1080, 1280x720, or 320x240 - **Audio:** Opus, mono, 16 kHz A camera's full resolution stream usually does not qualify. See [Exporting a compatible stream](#exporting-a-compatible-stream) below.","url":"https://docs.frigate.video/integrations/homekit/","vehicles":[]},{"i":922,"id":"integrations/homekit","section_id":"frigate/integrations/homekit/0752","title":"HomeKit","heading":"Configuration","text":"HomeKit settings are stored in `/config/go2rtc_homekit.yml`. This is a separate file from your Frigate config, because go2rtc needs to write your pairings back to it when you pair a device. Edit it using the go2rtc config editor, which writes to that file directly: Replace `` with the IP address or hostname of your Frigate server. The editor will be empty until you add a HomeKit section, since this file holds only your HomeKit settings and not the rest of your go2rtc config. :::warning Do not put the `homekit:` section in the `go2rtc:` section of your Frigate config. Frigate regenerates that config on every startup, so go2rtc cannot save your pairings to it. Pairing will appear to succeed and then fail after the next restart with `PairVerify with unknown client_id`. If the section exists in both places, your saved pairings are erased on every restart. ::: Add an entry for each camera you want to export. The key must match ","url":"https://docs.frigate.video/integrations/homekit/","vehicles":[]},{"i":923,"id":"integrations/homekit","section_id":"frigate/integrations/homekit/0753","title":"HomeKit","heading":"Exporting a compatible stream","text":"If a camera's stream does not meet the requirements listed above, define a scaled restream in your Frigate config and point HomeKit at that stream instead of the original: Add `#hardware=cuda`, `#hardware=vaapi`, or the appropriate value for your system to transcode using your GPU. Note that NVENC cannot encode H.264 wider than 4096 pixels, so very wide streams must be scaled down as shown above rather than only re-encoded.","url":"https://docs.frigate.video/integrations/homekit/","vehicles":[]},{"i":924,"id":"integrations/homekit","section_id":"frigate/integrations/homekit/0754","title":"HomeKit","heading":"Pairing Cameras","text":"1. Restart Frigate after adding the `homekit:` section 2. In the Apple Home app, choose **Add Accessory**, then **More options** to enter a code manually 3. Select your camera and enter the pin you configured as the setup code 4. Confirm that a `pairings:` list now appears under the camera in `/config/go2rtc_homekit.yml` Pairings are saved back to that file automatically. If step 4 shows no `pairings:` list, check the Frigate log for `[homekit] can't save`, which means the `homekit:` section is missing from `/config/go2rtc_homekit.yml`. For detailed go2rtc configuration options, refer to the [go2rtc documentation](https://github.com/AlexxIT/go2rtc).","url":"https://docs.frigate.video/integrations/homekit/","vehicles":[]},{"i":925,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0755","title":"MQTT","heading":"Overview","text":"These are the MQTT messages generated by Frigate. The default topic_prefix is `frigate`, but can be changed in the config file. :::info MQTT requires a network connection to your broker. This is typically local, but will require internet if using a cloud-hosted MQTT broker. See [Network Requirements](/frigate/network_requirements#mqtt) for details. ::: :::note Wherever a topic below includes a camera, mask, or zone name, use its `ID` from the config, not its `friendly_name`. For example, a camera with `friendly_name: \"Back Yard\"` and ID `back_yard` publishes to `frigate/back_yard/...`, not `frigate/Back Yard/...`. :::","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":926,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0756","title":"MQTT","heading":"`frigate/available`","text":"Designed to be used as an availability topic with Home Assistant. Possible message are: \"online\": published once Frigate is running and has published its initial state. Note that this is published on every connection to the broker, so it is republished if the broker restarts or the connection drops and recovers, without Frigate itself restarting. \"stopped\": published when Frigate is stopped normally \"offline\": published automatically by the MQTT broker if Frigate disconnects unexpectedly (via MQTT Will Message)","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":927,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0757","title":"MQTT","heading":"`frigate/restart`","text":"Causes Frigate to exit. Docker should be configured to automatically restart the container on exit.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":928,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0758","title":"MQTT","heading":"`frigate/events`","text":"Message published for each changed tracked object. The first message is published when the tracked object is no longer marked as a false_positive. When Frigate finds a better snapshot of the tracked object or when a zone change occurs, it will publish a message with the same id. When the tracked object ends, a final message is published with `end_time` set.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":929,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0759","title":"MQTT","heading":"`frigate/tracked_object_update`","text":"Message published for updates to tracked object metadata. All messages include an `id` field which is the tracked object's event ID, and can be used to look up the event via the API or match it to items in the UI.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":930,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0760","title":"MQTT","heading":"Face Recognition Update","text":"Published after each recognition attempt, regardless of whether the score meets `recognition_threshold`. See the [Face Recognition](/configuration/face_recognition) documentation for details on how scoring works.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":931,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0761","title":"MQTT","heading":"License Plate Recognition Update","text":"Published when a license plate is recognized on a car object. See the [License Plate Recognition](/configuration/license_plate_recognition) documentation for details.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":932,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0762","title":"MQTT","heading":"Object Classification Update","text":"Message published when [object classification](/configuration/custom_classification/object_classification) reaches consensus on a classification result. **Sub label type:** **Attribute type:**","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":933,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0763","title":"MQTT","heading":"`frigate/reviews`","text":"Message published for each changed review item. The first message is published when the `detection` or `alert` is initiated. An `update` with the same ID will be published when: - The severity changes from `detection` to `alert` - Additional objects are detected - An object is recognized via face, lpr, etc. - A [state classification](/configuration/custom_classification/state_classification#review-items) model changes state When the review activity has ended a final `end` message is published.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":934,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0764","title":"MQTT","heading":"`frigate/camera_activity`","text":"Returns data about each camera, its current features, and if it is detecting motion, objects, etc. Can be triggered by publishing to `frigate/onConnect`","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":935,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0765","title":"MQTT","heading":"`frigate/profile/set`","text":"Topic to activate or deactivate a [profile](/configuration/profiles). Publish a profile name to activate it, or `none` to deactivate the current profile.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":936,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0766","title":"MQTT","heading":"`frigate/profile/state`","text":"Topic with the currently active profile name. Published value is the profile name or `none` if no profile is active. This topic is retained.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":937,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0767","title":"MQTT","heading":"`frigate/notifications/set`","text":"Topic to turn notifications on and off for all cameras. Expected values are `ON` and `OFF`. Only available when notifications are enabled in the config. Not persisted across Frigate restarts.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":938,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0768","title":"MQTT","heading":"`frigate//status/`","text":"Publishes the current health status of each role that is enabled (`audio`, `detect`, `record`, `record_sub`). `record_sub` is only published for cameras with [sub stream recording](/configuration/record#sub-stream-recording) enabled, and is tracked separately from `record` so a healthy main stream can't hide a stalled sub stream. Possible values are: - `online`: Stream is running and being processed - `offline`: Stream is offline and is being restarted - `disabled`: Camera is currently turned off (either at runtime via the `enabled/set` topic, or persistently via the configuration file). See [Camera state](/configuration/live#camera-state) for the distinction. These reflect the state of Frigate's process for that role, not the camera's reachability, so an unreachable camera alternates between `offline` and `online` as the watchdog restarts ffmpeg. Wait for the status to hold steady (for example with Home Assistant's `for:`) rather than ","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":939,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0769","title":"MQTT","heading":"`frigate//`","text":"Publishes the count of objects for the camera for use as a sensor in Home Assistant. `all` can be used as the object_name for the count of all objects for the camera.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":940,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0770","title":"MQTT","heading":"`frigate///active`","text":"Publishes the count of active objects for the camera for use as a sensor in Home Assistant. `all` can be used as the object_name for the count of all active objects for the camera.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":941,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0771","title":"MQTT","heading":"`frigate//`","text":"Publishes the count of objects for the zone for use as a sensor in Home Assistant. `all` can be used as the object_name for the count of all objects for the zone.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":942,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0772","title":"MQTT","heading":"`frigate///active`","text":"Publishes the count of active objects for the zone for use as a sensor in Home Assistant. `all` can be used as the object_name for the count of all objects for the zone.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":943,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0773","title":"MQTT","heading":"`frigate///snapshot`","text":"Publishes a jpeg encoded frame of the detected object type. When the object is no longer detected, the highest confidence image is published or the original image is published again. The height and crop of snapshots can be configured in the config.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":944,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0774","title":"MQTT","heading":"`frigate//audio/`","text":"Publishes \"ON\" when a type of audio is detected and \"OFF\" when it is not for the camera for use as a sensor in Home Assistant. `all` can be used as the audio_type for the status of all audio types.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":945,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0775","title":"MQTT","heading":"`frigate//audio/dBFS`","text":"Publishes the dBFS value for audio detected on this camera. **NOTE:** Requires audio detection to be enabled","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":946,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0776","title":"MQTT","heading":"`frigate//audio/rms`","text":"Publishes the rms value for audio detected on this camera. **NOTE:** Requires audio detection to be enabled","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":947,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0777","title":"MQTT","heading":"`frigate//audio/transcription`","text":"Publishes transcribed text for audio detected on this camera. **NOTE:** Requires audio detection and transcription to be enabled","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":948,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0778","title":"MQTT","heading":"`frigate//classification/`","text":"Publishes the current state detected by a state classification model for the camera. The topic name includes the model name as configured in your classification settings. The published value is the detected state class name (e.g., `open`, `closed`, `on`, `off`). The state is only published when it changes, helping to reduce unnecessary MQTT traffic.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":949,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0779","title":"MQTT","heading":"`frigate//enabled/set`","text":"Topic to turn Frigate's processing of a camera on or off at runtime. Expected values are `ON` and `OFF`. The change is persisted across Frigate restarts (see [Runtime toggle persistence](/configuration/live#runtime-toggle-persistence)). To permanently change the configured value, use **Settings \u2192 Global configuration \u2192 Camera management** in the Frigate UI. See [Camera state](/configuration/live#camera-state) for the difference between turning a camera off and disabling it.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":950,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0780","title":"MQTT","heading":"`frigate//enabled/state`","text":"Topic with current runtime state of processing for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":951,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0781","title":"MQTT","heading":"`frigate//detect/set`","text":"Topic to turn object detection for a camera on and off. Expected values are `ON` and `OFF`. The change is persisted across Frigate restarts (see [Runtime toggle persistence](/configuration/live#runtime-toggle-persistence)).","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":952,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0782","title":"MQTT","heading":"`frigate//detect/state`","text":"Topic with current state of object detection for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":953,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0783","title":"MQTT","heading":"`frigate//audio/set`","text":"Topic to turn audio detection for a camera on and off. Expected values are `ON` and `OFF`. The change is persisted across Frigate restarts (see [Runtime toggle persistence](/configuration/live#runtime-toggle-persistence)).","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":954,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0784","title":"MQTT","heading":"`frigate//audio/state`","text":"Topic with current state of audio detection for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":955,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0785","title":"MQTT","heading":"`frigate//audio_transcription/set`","text":"Topic to turn [live audio transcription](/configuration/audio_detectors#live-transcription) for a camera on and off. Expected values are `ON` and `OFF`. Transcribed text is published to `frigate//audio/transcription`. `ON` is ignored unless audio transcription is enabled in the config for the camera. Unlike the other camera toggles, this one is not persisted across Frigate restarts. **NOTE:** Requires audio detection and transcription to be enabled","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":956,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0786","title":"MQTT","heading":"`frigate//audio_transcription/state`","text":"Topic with current state of live audio transcription for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":957,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0787","title":"MQTT","heading":"`frigate//recordings/set`","text":"Topic to turn recordings for a camera on and off. Expected values are `ON` and `OFF`. The change is persisted across Frigate restarts (see [Runtime toggle persistence](/configuration/live#runtime-toggle-persistence)).","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":958,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0788","title":"MQTT","heading":"`frigate//recordings/state`","text":"Topic with current state of recordings for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":959,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0789","title":"MQTT","heading":"`frigate//snapshots/set`","text":"Topic to turn snapshots for a camera on and off. Expected values are `ON` and `OFF`. The change is persisted across Frigate restarts (see [Runtime toggle persistence](/configuration/live#runtime-toggle-persistence)).","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":960,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0790","title":"MQTT","heading":"`frigate//snapshots/state`","text":"Topic with current state of snapshots for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":961,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0791","title":"MQTT","heading":"`frigate//motion/set`","text":"Topic to turn motion detection for a camera on and off. Expected values are `ON` and `OFF`. NOTE: Turning off motion detection will fail if detection is not disabled.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":962,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0792","title":"MQTT","heading":"`frigate//motion`","text":"Whether camera_name is currently detecting motion. Expected values are `ON` and `OFF`. NOTE: After motion is initially detected, `ON` will be set until no motion has been detected for `mqtt_off_delay` seconds (30 by default).","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":963,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0793","title":"MQTT","heading":"`frigate//motion/state`","text":"Topic with current state of motion detection for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":964,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0794","title":"MQTT","heading":"`frigate//improve_contrast/set`","text":"Topic to turn improve_contrast for a camera on and off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":965,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0795","title":"MQTT","heading":"`frigate//improve_contrast/state`","text":"Topic with current state of improve_contrast for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":966,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0796","title":"MQTT","heading":"`frigate//motion_contour_area/set`","text":"Topic to adjust motion contour area for a camera. Expected value is an integer.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":967,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0797","title":"MQTT","heading":"`frigate//motion_contour_area/state`","text":"Topic with current motion contour area for a camera. Published value is an integer.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":968,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0798","title":"MQTT","heading":"`frigate//motion_mask//set`","text":"Topic to turn a specific motion mask for a camera on and off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":969,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0799","title":"MQTT","heading":"`frigate//motion_mask//state`","text":"Topic with current state of a specific motion mask for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":970,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0800","title":"MQTT","heading":"`frigate//object_mask//set`","text":"Topic to turn a specific object mask for a camera on and off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":971,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0801","title":"MQTT","heading":"`frigate//object_mask//state`","text":"Topic with current state of a specific object mask for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":972,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0802","title":"MQTT","heading":"`frigate//zone//set`","text":"Topic to turn a specific zone for a camera on and off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":973,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0803","title":"MQTT","heading":"`frigate//zone//state`","text":"Topic with current state of a specific zone for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":974,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0804","title":"MQTT","heading":"`frigate//review_status`","text":"Topic with current activity status of the camera. Possible values are `NONE`, `DETECTION`, or `ALERT`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":975,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0805","title":"MQTT","heading":"`frigate//ptz`","text":"Topic to send PTZ commands to camera. | Command | Description | | ---------------------- | ----------------------------------------------------------------------------------------- | | `preset_` | send command to move to preset with name `` | | `MOVE_` | send command to continuously move in ``, possible values are [UP, DOWN, LEFT, RIGHT] | | `ZOOM_` | send command to continuously zoom ``, possible values are [IN, OUT] | | `STOP` | send command to stop moving |","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":976,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0806","title":"MQTT","heading":"`frigate//ptz_autotracker/set`","text":"Topic to turn the PTZ autotracker for a camera on and off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":977,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0807","title":"MQTT","heading":"`frigate//ptz_autotracker/state`","text":"Topic with current state of the PTZ autotracker for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":978,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0808","title":"MQTT","heading":"`frigate//ptz_autotracker/active`","text":"Topic to determine if PTZ autotracker is actively tracking an object. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":979,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0809","title":"MQTT","heading":"`frigate//review_alerts/set`","text":"Topic to turn review alerts for a camera on or off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":980,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0810","title":"MQTT","heading":"`frigate//review_alerts/state`","text":"Topic with current state of review alerts for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":981,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0811","title":"MQTT","heading":"`frigate//review_detections/set`","text":"Topic to turn review detections for a camera on or off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":982,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0812","title":"MQTT","heading":"`frigate//review_detections/state`","text":"Topic with current state of review detections for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":983,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0813","title":"MQTT","heading":"`frigate//object_descriptions/set`","text":"Topic to turn generative AI object descriptions for a camera on or off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":984,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0814","title":"MQTT","heading":"`frigate//object_descriptions/state`","text":"Topic with current state of generative AI object descriptions for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":985,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0815","title":"MQTT","heading":"`frigate//review_descriptions/set`","text":"Topic to turn generative AI review descriptions for a camera on or off. Expected values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":986,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0816","title":"MQTT","heading":"`frigate//review_descriptions/state`","text":"Topic with current state of generative AI review descriptions for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":987,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0817","title":"MQTT","heading":"`frigate//birdseye/set`","text":"Topic to turn Birdseye for a camera on and off. Expected values are `ON` and `OFF`. Birdseye mode must be enabled in the configuration.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":988,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0818","title":"MQTT","heading":"`frigate//birdseye/state`","text":"Topic with current state of Birdseye for a camera. Published values are `ON` and `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":989,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0819","title":"MQTT","heading":"`frigate//birdseye_modes/set`","text":"Topic to set the Birdseye activity types for a camera. Send one uppercase activity type or combine multiple types with commas, for example `MOTION,ALERTS`. _Note: Changing the value from `CONTINUOUS` to non-continuous activity types will take up to 30 seconds for the camera to be removed from the view._ | Command | Description | | ------------- | ---------------------------------------------------------------- | | `CONTINUOUS` | Always included | | `MOTION` | Shown if motion was detected within the last 30 seconds | | `ALL_OBJECTS` | Shown if a tracked object was present within the last 30 seconds | | `ALERTS` | Shown while an alert review item is in progress | | `DETECTIONS` | Shown while a detection review item is in progress | | `NONE` | Never included |","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":990,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0820","title":"MQTT","heading":"`frigate//birdseye_modes/state`","text":"Topic with the current Birdseye activity types for a camera. Multiple enabled types are published as a comma-separated value in the order `CONTINUOUS`, `MOTION`, `ALL_OBJECTS`, `ALERTS`, `DETECTIONS`. `NONE` is published when no activity types are enabled.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":991,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0821","title":"MQTT","heading":"`frigate//notifications/set`","text":"Topic to turn notifications for a camera on and off. Expected values are `ON` and `OFF`. `ON` is ignored unless notifications are enabled in the config for the camera. This is not persisted across Frigate restarts. It is the same control the UI labels **Suspend until restart**.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":992,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0822","title":"MQTT","heading":"`frigate//notifications/state`","text":"Topic with current state of notifications. Published values are `ON` and `OFF`. This is the authoritative topic for whether a camera will notify.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":993,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0823","title":"MQTT","heading":"`frigate//notifications/suspend`","text":"Topic to suspend notifications for a certain number of minutes. Expected value is an integer. Separate from `notifications/set`: it does not change `notifications/state`, and is ignored while notifications are off.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":994,"id":"integrations/mqtt","section_id":"frigate/integrations/mqtt/0824","title":"MQTT","heading":"`frigate//notifications/suspended`","text":"Topic with timestamp that notifications are suspended until. Published value is a UNIX timestamp, or 0 if there is no timed suspension. `0` does not mean notifications are enabled: `notifications/set` `OFF` clears the timed suspension, so this publishes `0` while `notifications/state` is `OFF`.","url":"https://docs.frigate.video/integrations/mqtt/","vehicles":[]},{"i":995,"id":"integrations/plus","section_id":"frigate/integrations/plus/0825","title":"Frigate+","heading":"Overview","text":"import NavPath from \"@site/src/components/NavPath\"; For more information about how to use Frigate+ to improve your model, see the [Frigate+ docs](/plus/). :::info Frigate+ requires an active internet connection to communicate with `https://api.frigate.video` for model downloads, image uploads, and annotations. See [Network Requirements](/frigate/network_requirements#frigate) for details. :::","url":"https://docs.frigate.video/integrations/plus/","vehicles":[]},{"i":996,"id":"integrations/plus","section_id":"frigate/integrations/plus/0826","title":"Frigate+","heading":"Set your API key","text":"In Frigate, you can use an environment variable or a docker secret named `PLUS_API_KEY` to enable the `Frigate+` buttons on the Explore page. Home Assistant App users can set it under Settings > Apps > Frigate > Configuration > Options (be sure to toggle the \"Show unused optional configuration options\" switch). :::warning You cannot use the `environment_vars` section of your Frigate configuration file to set this environment variable. It must be defined as an environment variable in the docker config or Home Assistant App config. :::","url":"https://docs.frigate.video/integrations/plus/","vehicles":[]},{"i":997,"id":"integrations/plus","section_id":"frigate/integrations/plus/0827","title":"Frigate+","heading":"Submit examples","text":"Once your API key is configured, you can submit examples directly from the Explore page in Frigate. From the More Filters menu, select \"Has a Snapshot - Yes\" and \"Submitted to Frigate+ - No\", and press Apply at the bottom of the pane. Then, click on a thumbnail and select the Snapshot tab. You can use your keyboard's left and right arrow keys to quickly navigate between the tracked object snapshots. :::note Snapshots must be enabled to be able to submit examples to Frigate+ :::","url":"https://docs.frigate.video/integrations/plus/","vehicles":[]},{"i":998,"id":"integrations/plus","section_id":"frigate/integrations/plus/0828","title":"Frigate+","heading":"Annotate and verify","text":"You can view all of your submitted images at [https://plus.frigate.video](https://plus.frigate.video). Annotations can be added by clicking an image. For more detailed information about labeling, see the documentation on [annotating](../plus/annotating.md).","url":"https://docs.frigate.video/integrations/plus/","vehicles":[]},{"i":999,"id":"integrations/plus","section_id":"frigate/integrations/plus/0829","title":"Frigate+","heading":"Use Models","text":"Once you have [requested your first model](../plus/first_model.md) and gotten your own model ID, it can be used with a special model path. No other information needs to be configured for Frigate+ models because it fetches the remaining config from Frigate+ automatically. You can either choose the new model from the System > Detection models\" /> pane in the Frigate UI (on the **Frigate+** tab of the model you want to change), or set it on that model in your config: :::note Model IDs are not secret values and can be shared freely. Access to your model is protected by your API key. ::: Models are downloaded into the `/config/model_cache` folder and only downloaded if needed. If needed, you can override the labelmap for Frigate+ models. This is not recommended as renaming labels will break the Submit to Frigate+ feature if the labels are not available in Frigate+.","url":"https://docs.frigate.video/integrations/plus/","vehicles":[]},{"i":1000,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0830","title":"Third Party Extensions","heading":"Overview","text":"Being open source, others have the possibility to modify and extend the rich functionality Frigate already offers. This page is meant to be an overview over additions one can make to the home NVR setup. The list is not exhaustive and can be extended via PR to the Frigate docs. Most of these services are designed to interface with Frigate's unauthenticated api over port 5000. :::warning This page does not recommend or rate the presented projects. Please use your own knowledge to assess and vet them before you install anything on your system. :::","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1001,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0831","title":"Third Party Extensions","heading":"Cameras and Streaming","text":"Tools that help get video from your cameras into Frigate, or change how Frigate's video is delivered.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1002,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0832","title":"Third Party Extensions","heading":"[frigate-abr](https://github.com/007hacky007/frigate-abr)","text":"[frigate-abr](https://github.com/007hacky007/frigate-abr) is a drop-in Docker image of Frigate that adds adaptive bitrate (ABR) playback for recordings: a sidecar transcodes footage to lower quality tiers on demand, for reviewing over slow remote connections. Segments are transcoded when played and cached, so no additional stream is recorded. Frigate itself is not modified.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1003,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0833","title":"Third Party Extensions","heading":"[reostream](https://github.com/VoltTech21/reostream)","text":"[reostream](https://github.com/VoltTech21/reostream) is a proxy for Reolink cameras that pulls video over Reolink's own protocol (the one the Reolink app and NVR use) instead of the camera's RTSP server, and serves it back as RTSP for go2rtc and Frigate. It helps models whose RTSP stream smears, drops frames or loses full resolution, and supports two-way talk.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1004,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0834","title":"Third Party Extensions","heading":"[Scrypted - Frigate bridge plugin](https://github.com/apocaliss92/scrypted-frigate-bridge)","text":"[Scrypted - Frigate bridge](https://github.com/apocaliss92/scrypted-frigate-bridge) is a plugin that allows you to ingest Frigate detections, motion, videoclips on Scrypted as well as provide templates to export rebroadcast configurations on Frigate.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1005,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0835","title":"Third Party Extensions","heading":"[Strix](https://github.com/eduard256/Strix)","text":"[Strix](https://github.com/eduard256/Strix) auto-discovers working stream URLs for IP cameras and generates ready-to-use Frigate configs. It tests thousands of URL patterns against your camera and supports cameras without RTSP or ONVIF. 67K+ camera models from 3.6K+ brands.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1006,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0836","title":"Third Party Extensions","heading":"Events and Media","text":"Tools that enrich, query, or back up the events, snapshots, and reviews Frigate produces.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1007,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0837","title":"Third Party Extensions","heading":"[cctvQL](https://github.com/arunrajiah/cctvql)","text":"[cctvQL](https://github.com/arunrajiah/cctvql) is a natural language query layer for Frigate and other CCTV systems. It connects to Frigate's REST API and MQTT broker to let you ask conversational questions about cameras and events (e.g. \"Was there motion at the front door last night?\"), with support for real-time event streaming, anomaly detection, PTZ control, alert rules, and a Home Assistant custom component.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1008,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0838","title":"Third Party Extensions","heading":"[Double Take](https://github.com/skrashevich/double-take)","text":"[Double Take](https://github.com/skrashevich/double-take) provides a unified UI and API for processing and training images for facial recognition. It supports automatically setting the sub labels in Frigate for person objects that are detected and recognized. This is a fork (with fixed errors and new features) of [original Double Take](https://github.com/jakowenko/double-take) project which, unfortunately, isn't being maintained by author.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1009,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0839","title":"Third Party Extensions","heading":"[Frigate Snap-Sync](https://github.com/thequantumphysicist/frigate-snap-sync/)","text":"[Frigate Snap-Sync](https://github.com/thequantumphysicist/frigate-snap-sync/) is a program that works in tandem with Frigate. It responds to Frigate when a snapshot or a review is made (and more can be added), and uploads them to one or more remote server(s) of your choice.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1010,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0840","title":"Third Party Extensions","heading":"Notifications","text":"Standalone apps that send Frigate events to messaging platforms without requiring Home Assistant. For notifications through Home Assistant, see [Camera AutoNotify](#camera-autonotify).","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1011,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0841","title":"Third Party Extensions","heading":"[Frigate Notify](https://github.com/0x2142/frigate-notify)","text":"[Frigate Notify](https://github.com/0x2142/frigate-notify) is a simple app designed to send notifications from Frigate to your favorite platforms. Intended to be used with standalone Frigate installations - Home Assistant not required, MQTT is optional but recommended.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1012,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0842","title":"Third Party Extensions","heading":"[Frigate Notify Alert](https://github.com/Sysoev86/frigate-notify-alert)","text":"[Frigate Notify Alert](https://github.com/Sysoev86/frigate-notify-alert) sends Frigate events to Telegram as a photo + video media group. It supports multiple camera groups (each notifying its own chat), optional zone filtering (notify only when an object enters a chosen zone), and in-chat buttons to pause notifications for a set time. Works with standalone Frigate over MQTT; Home Assistant not required.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1013,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0843","title":"Third Party Extensions","heading":"[Frigate telegram](https://github.com/OldTyT/frigate-telegram)","text":"[Frigate telegram](https://github.com/OldTyT/frigate-telegram) makes it possible to send events from Frigate to Telegram. Events are sent as a message with a text description, video, and thumbnail.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1014,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0844","title":"Third Party Extensions","heading":"[FrigatePiP](https://github.com/maciejgornicz/frigate-pip)","text":"[FrigatePiP](https://github.com/maciejgornicz/frigate-pip) pops up a small picture-in-picture window with a camera's live video in a corner of the screen when Frigate detects an object, and closes it when the activity ends. It runs as a Windows tray app and on Linux (desktop windows, a console framebuffer, a terminal or tmux popups), receives events over Frigate's WebSocket or MQTT and plays the go2rtc RTSP stream with hardware decoding and camera audio.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1015,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0845","title":"Third Party Extensions","heading":"[kiosk-monitor](https://github.com/extremeshok/kiosk-monitor)","text":"[kiosk-monitor](https://github.com/extremeshok/kiosk-monitor) is a Raspberry Pi watchdog that runs Chromium fullscreen on a Frigate dashboard (optionally with VLC on a second monitor for an RTSP camera stream), auto-restarts on frozen screens or unreachable URLs, and ships a Birdseye-aware Chromium helper that auto-sizes the grid to the display.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1016,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0846","title":"Third Party Extensions","heading":"[Periscope](https://github.com/maksz42/periscope)","text":"[Periscope](https://github.com/maksz42/periscope) is a lightweight Android app that turns old devices into live viewers for Frigate. It works on Android 2.2 and above, including Android TV. It supports authentication and HTTPS.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1017,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0847","title":"Third Party Extensions","heading":"[yuFriEye](https://apps.apple.com/app/id6832456692)","text":"[yuFriEye](https://apps.apple.com/app/id6832456692) is a free native iOS, iPadOS and macOS client for Frigate. It shows the live camera grid with low-latency go2rtc streams, alerts and detections with clip playback and motion boxes, recordings by day with continuous playback, Frigate and go2rtc logs, and supports multiple servers with local and remote addresses. Works with or without Frigate authentication; no account or data collection.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1018,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0848","title":"Third Party Extensions","heading":"Home Assistant","text":"Cards and Home Assistant Marketplace integrations that build on the [Frigate Home Assistant integration](/integrations/home-assistant).","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1019,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0849","title":"Third Party Extensions","heading":"[Advanced Camera Card (formerly known as Frigate Card)](https://card.camera/#/README)","text":"The [Advanced Camera Card](https://card.camera/#/README) is a Home Assistant dashboard card with deep Frigate integration.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1020,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0850","title":"Third Party Extensions","heading":"[Auto Arm](https://autoarm.rhizomatics.org.uk)","text":"Home Assistant Marketplace integration to automatically manage alarm state based on time of day, occupancy, sun state, physical buttons etc. Can synchronize Frigate profiles to alarm state, so for example use `disarmed` profile to reduce noisy notifications when occupied during the day.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1021,"id":"integrations/third_party_extensions","section_id":"frigate/integrations/third_party_extensions/0851","title":"Third Party Extensions","heading":"[Camera AutoNotify](https://camera-autonotify.rhizomatics.org.uk)","text":"Home Assistant Marketplace integration to set up notifications for Frigate cameras without use of blueprints or automations. Triggered by camera events and optionally by GenAI reviews, with option for daily/periodic GenAI Review Report emailed, and alerts if Frigate or any cameras are unavailable. Integration with [Supernotify](https://supernotify.rhizomatics.org.uk/) to auto configure mobile devices and customize notifications for alarm state, occupancy etc.","url":"https://docs.frigate.video/integrations/third_party_extensions/","vehicles":[]},{"i":1022,"id":"mdx","section_id":"frigate/mdx/0852","title":"Powered by MDX","heading":"Overview","text":"You can write JSX and use React components within your Markdown thanks to [MDX](https://mdxjs.com/). export const Highlight = ({children, color}) => ( {children} ); Docusaurus green and Facebook blue are my favorite colors. I can write **Markdown** alongside my _JSX_!","url":"https://docs.frigate.video/mdx/","vehicles":[]},{"i":1023,"id":"plus/annotating","section_id":"frigate/plus/annotating/0853","title":"Annotating your images","heading":"Overview","text":"For the best results, follow these guidelines. You may also want to review the documentation on [improving your model](./index.md#improving-your-model). **Label every object in the image**: It is important that you label all objects in each image before verifying. If you don't label a car for example, the model will be taught that part of the image is _not_ a car and it will start to get confused. You can exclude labels that you don't want detected on any of your cameras. **Make tight bounding boxes**: Tighter bounding boxes improve the recognition and ensure that accurate bounding boxes are predicted at runtime. **Label the full object even when occluded**: If you have a person standing behind a car, label the full person even though a portion of their body may be hidden behind the car. This helps predict accurate bounding boxes and improves zone accuracy and filters at runtime. If an object is partly out of frame, label it only when a","url":"https://docs.frigate.video/plus/annotating/","vehicles":[]},{"i":1024,"id":"plus/annotating","section_id":"frigate/plus/annotating/0854","title":"Annotating your images","heading":"AI suggested labels","text":"If you have an active Frigate+ subscription, new uploads will be scanned for the objects configured for your camera and you will see suggested labels as light blue boxes when annotating in Frigate+. These suggestions are processed via a queue and typically complete within a minute after uploading, but processing times can be longer. Suggestions are converted to labels when saving, so you should remove any errant suggestions. There is already some logic designed to avoid duplicate labels, but you may still occasionally see some duplicate suggestions. You should keep the most accurate bounding box and delete any duplicates so that you have just one label per object remaining.","url":"https://docs.frigate.video/plus/annotating/","vehicles":[]},{"i":1025,"id":"plus/annotating","section_id":"frigate/plus/annotating/0855","title":"Annotating your images","heading":"Reviewing annotations with Patches","text":"The Patches tab on the Images page shows a cropped view of every annotation for a label in a grid. Scanning the crops makes it much easier to spot a mislabeled object than paging through full images one at a time. Pick a label to get started, and optionally narrow the results to a single camera. Clicking a patch opens that image in the editor so you can fix the annotation. Patches only include annotations from images you have already verified.","url":"https://docs.frigate.video/plus/annotating/","vehicles":[]},{"i":1026,"id":"plus/annotating","section_id":"frigate/plus/annotating/0856","title":"Annotating your images","heading":"False positive labels","text":"False positives will be shown with a red box and the label will have a strike through. These can't be adjusted, but they can be deleted if you accidentally submit a true positive as a false positive from Frigate. Misidentified objects should have a correct label added. For example, if a person was mistakenly detected as a cat, you should submit it as a false positive in Frigate and add a label for the person. The boxes will overlap.","url":"https://docs.frigate.video/plus/annotating/","vehicles":[]},{"i":1027,"id":"plus/annotating","section_id":"frigate/plus/annotating/0857","title":"Annotating your images","heading":"Shortcuts for a faster workflow","text":"| Shortcut Key | Description | | ----------------- | ----------------------------- | | `?` | Show all keyboard shortcuts | | `w` | Add box | | `d` | Toggle difficult | | `s` | Switch to the next label | | `Shift + s` | Switch to the previous label | | `tab` | Select next largest box | | `del` | Delete current box | | `esc` | Deselect/Cancel | | `\u2190 \u2191 \u2192 \u2193` | Move box | | `Shift + \u2190 \u2191 \u2192 \u2193` | Resize box | | `scrollwheel` | Zoom in/out | | `f` | Hide/show all but current box | | `spacebar` | Verify and save |","url":"https://docs.frigate.video/plus/annotating/","vehicles":[]},{"i":1028,"id":"plus/annotating","section_id":"frigate/plus/annotating/0858","title":"Annotating your images","heading":"Deleting images","text":"In most cases, you should keep your existing images. Removing training data usually makes accuracy worse, not better, so you shouldn't delete images just because you think you made some annotation mistakes. Deleting images makes sense when you move to a new location, or significantly upgrade or reposition your cameras. - To delete all images for a camera, use the **Delete Images** button for that camera on the Cameras page. - To delete all images in your account, use **Delete All Images** on the Settings page. Deletions run in the background, and their progress is shown in the bulk operations panel. Deleted images cannot be recovered and are no longer used to train your models.","url":"https://docs.frigate.video/plus/annotating/","vehicles":[]},{"i":1029,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0859","title":"Choosing a model","heading":"Overview","text":"Frigate+ offers several model types, sizes, and input resolutions. This page compares their accuracy and speed to help you decide which one to request. Make sure the model type you choose is supported by your detector, as shown in the [supported detector types](./index.md#supported-detector-types) table.","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1030,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0860","title":"Choosing a model","heading":"Recommendations","text":"- **YOLOv9-s at 320** is the balanced default if your hardware runs it well. It detects about twice as many objects as MobileDet, and 15 more per 100 than YOLO-NAS-s at 320, at the same false alarm rate. - **Moving up a size at 320** helps more than moving to 640 for most cameras. YOLOv9-m at 320 detects more objects than YOLOv9-s at 640 (60% vs 59%) with lower GPU latency. - **640 input** is rarely needed. Frigate doesn't run detection on the full frame. It crops a region around motion, at least 320 pixels wide for any model, and resizes it to the model's input size. Most regions are small, so a 640 model usually receives an upscaled crop and does worse than a 320 model given the same crop at its native size. 640 models detect small objects better only within a large region. See [object size and input resolution](#object-size-and-input-resolution) for details. - **YOLOv9-c** gains little over YOLOv9-m: about 2 points of detection rate ","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1031,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0861","title":"Choosing a model","heading":"Thresholds","text":"Each model's threshold for 95% precision is listed in the [accuracy](#accuracy) table. YOLOv9 models reach it at about 0.70 to 0.77. MobileDet (0.82) and YOLO-NAS-s (0.86 to 0.89) need higher thresholds, so with Frigate's default threshold they produce more false positives than the YOLOv9 models. See [object filters](../configuration/object_filters.md#object-scores) for how to adjust thresholds.","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1032,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0862","title":"Choosing a model","heading":"How these were measured","text":"The numbers on this page are for the 2026.3 base models. - **Images:** 10,947 images from the Frigate+ validation set, from real Frigate cameras. Images that share a source with training images are excluded. - **Processing:** every model runs through Frigate's own detector code and post-processing (Frigate 0.18.2), exactly as deployed. - **Labels:** results cover the 12 most common labels: `car`, `person`, `waste_bin`, `license_plate`, `dog`, `cat`, `face`, `bicycle`, `bird`, `deer`, `bbq_grill`, and `package`. - **Single frames:** each image is scored on its own. In Frigate, an object has to score well across several frames before it becomes a tracked object, so brief one-frame mistakes rarely reach you. Use these numbers to compare models with each other, not as event rates. **Detection rate at 95% precision** is the main accuracy number. It's the share of real objects a model detects when its threshold is set so that 95% of its detec","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1033,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0863","title":"Choosing a model","heading":"Accuracy","text":"| Model | Input | Detection rate at 95% precision | Missed objects per 100 | Threshold for 95% precision | AP50 | | ---------- | ----- | ------------------------------- | ---------------------- | --------------------------- | ---- | | MobileDet | 320 | 24% | 76 | 0.82 | 0.47 | | YOLO-NAS-s | 320 | 39% | 61 | 0.86 | 0.44 | | YOLO-NAS-s | 640 | 48% | 52 | 0.89 | 0.55 | | YOLOv9-t | 320 | 45% | 55 | 0.69 | 0.44 | | YOLOv9-t | 640 | 55% | 45 | 0.70 | 0.54 | | YOLOv9-s | 320 | 54% | 46 | 0.74 | 0.54 | | YOLOv9-s | 640 | 59% | 41 | 0.75 | 0.61 | | YOLOv9-m | 320 | 60% | 40 | 0.75 | 0.58 | | YOLOv9-m | 640 | 64% | 36 | 0.77 | 0.64 | | YOLOv9-c | 320 | 62% | 38 | 0.75 | 0.60 | | YOLOv9-c | 640 | 63% | 37 | 0.77 | 0.64 | AP50 is the standard COCO metric (IoU 0.5) averaged over the 12 labels. It summarizes accuracy across every threshold, while the detection rate describes one realistic setting. :::note These AP50 numbers can't be compared to the","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1034,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0864","title":"Choosing a model","heading":"By object size","text":"AP50 by object size: | Model | Input | Small | Medium | Large | | ---------- | ----- | ----- | ------ | ----- | | MobileDet | 320 | 0.23 | 0.62 | 0.71 | | YOLO-NAS-s | 320 | 0.23 | 0.57 | 0.60 | | YOLO-NAS-s | 640 | 0.42 | 0.63 | 0.58 | | YOLOv9-t | 320 | 0.22 | 0.60 | 0.67 | | YOLOv9-t | 640 | 0.42 | 0.63 | 0.57 | | YOLOv9-s | 320 | 0.35 | 0.70 | 0.73 | | YOLOv9-s | 640 | 0.51 | 0.69 | 0.69 | | YOLOv9-m | 320 | 0.40 | 0.73 | 0.74 | | YOLOv9-m | 640 | 0.54 | 0.71 | 0.72 | | YOLOv9-c | 320 | 0.44 | 0.73 | 0.77 | | YOLOv9-c | 640 | 0.54 | 0.71 | 0.74 | In these single-image results, 640 input mostly helps small objects, such as distant people, license plates, and faces, and doesn't help medium and large objects. For example, license plate AP50 rises from 0.32 to 0.55 for YOLOv9-s. These numbers overstate the benefit of 640 in Frigate, as explained below.","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1035,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0865","title":"Choosing a model","heading":"Object size and input resolution","text":"Frigate doesn't send the full camera frame to the model. It crops a region around motion or a tracked object, at least 320 pixels wide for any model, and resizes it to the model's input size. Most regions are small, so a 640 model usually receives a crop upscaled from 320 pixels, which adds no detail and performs worse than a 320 model given the same crop at its native size. A 640 model detects small objects better only when the region is large. 640 input can still help in scenes with large objects in the foreground and small objects in the background at the same time, such as a doorbell camera that sees a person on the porch and another person across the street. The region has to be large enough to fit the nearby person, so the distant person is small within it. Frigate already handles much of this case: when an object is small relative to the region it was detected in, Frigate runs a separate detection on a smaller region around it.","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1036,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0866","title":"Choosing a model","heading":"By label","text":"AP50 by label: | Label | MobileDet 320 | YOLO-NAS-s 320 | YOLOv9-t 320 | YOLOv9-s 320 | YOLOv9-m 320 | YOLOv9-c 320 | YOLO-NAS-s 640 | YOLOv9-t 640 | YOLOv9-s 640 | YOLOv9-m 640 | YOLOv9-c 640 | | --------------- | ------------- | -------------- | ------------ | ------------ | ------------ | ------------ | -------------- | ------------ | ------------ | ------------ | ------------ | | `car` | 0.73 | 0.72 | 0.70 | 0.77 | 0.81 | 0.82 | 0.82 | 0.79 | 0.83 | 0.85 | 0.84 | | `person` | 0.65 | 0.62 | 0.62 | 0.72 | 0.75 | 0.76 | 0.71 | 0.69 | 0.76 | 0.78 | 0.77 | | `waste_bin` | 0.52 | 0.49 | 0.49 | 0.55 | 0.57 | 0.58 | 0.60 | 0.60 | 0.62 | 0.62 | 0.63 | | `license_plate` | 0.31 | 0.31 | 0.23 | 0.32 | 0.36 | 0.39 | 0.55 | 0.46 | 0.55 | 0.60 | 0.61 | | `dog` | 0.38 | 0.35 | 0.39 | 0.53 | 0.53 | 0.57 | 0.40 | 0.48 | 0.53 | 0.55 | 0.58 | | `cat` | 0.41 | 0.37 | 0.39 | 0.51 | 0.57 | 0.59 | 0.43 | 0.46 | 0.58 | 0.61 | 0.62 | | `face` | 0.39 | 0.41 |","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1037,"id":"plus/choosing_a_model","section_id":"frigate/plus/choosing_a_model/0867","title":"Choosing a model","heading":"Speed","text":"Average time per detection in milliseconds, measured through Frigate's detector code and including post-processing. Lower is better. A blank cell means that combination was not measured. | Model | Input | NVIDIA RTX 5060 Ti (ONNX, CUDA) | Intel i9-13900K (OpenVINO, CPU) | Intel i9-13900K (ONNX, CPU) | Intel i9-13900K (TFLite, CPU) | | ---------- | ----- | ------------------------------- | ------------------------------- | --------------------------- | ----------------------------- | | MobileDet | 320 | | | | 8.4 | | YOLO-NAS-s | 320 | 4.9 | 8.4 | 8.9 | | | YOLO-NAS-s | 640 | 7.1 | 29.6 | 28.6 | | | YOLOv9-t | 320 | 2.9 | 4.3 | 6.5 | | | YOLOv9-t | 640 | 5.0 | 12.9 | 17.0 | | | YOLOv9-s | 320 | 3.9 | 9.3 | 11.5 | | | YOLOv9-s | 640 | 6.3 | 33.1 | 32.6 | | | YOLOv9-m | 320 | 5.2 | 23.2 | 19.8 | | | YOLOv9-m | 640 | 10.1 | 88.1 | 69.5 | | | YOLOv9-c | 320 | 5.4 | 38.8 | 27.5 | | | YOLOv9-c | 640 | 11.1 | 147.8 | 99.5 | | CPU times vary by ","url":"https://docs.frigate.video/plus/choosing_a_model/","vehicles":[]},{"i":1038,"id":"plus/faq","section_id":"frigate/plus/faq/0868","title":"FAQ","heading":"Are my models trained just on my image uploads? How are they built?","text":"Frigate+ models are built by fine tuning a base model with the images you have annotated and verified. The base model is trained from scratch from a sampling of images across all Frigate+ user submissions and takes weeks of expensive GPU resources to train. If the models were built using your image uploads alone, you would need to provide tens of thousands of examples and it would take more than a week (and considerable cost) to train. Diversity helps the model generalize.","url":"https://docs.frigate.video/plus/faq/","vehicles":[]},{"i":1039,"id":"plus/faq","section_id":"frigate/plus/faq/0869","title":"FAQ","heading":"Are my video feeds sent to the cloud for analysis when using Frigate+ models?","text":"No. Frigate+ models are a drop in replacement for the default model. All processing is performed locally as always. The only images sent to Frigate+ are the ones you specifically submit via the `Send to Frigate+` button or upload directly.","url":"https://docs.frigate.video/plus/faq/","vehicles":[]},{"i":1040,"id":"plus/faq","section_id":"frigate/plus/faq/0870","title":"FAQ","heading":"Can I label anything I want and train the model to recognize something custom for me?","text":"Not currently. At the moment, the set of labels will be consistent for all users. The focus will be on expanding that set of labels before working on completely custom user labels.","url":"https://docs.frigate.video/plus/faq/","vehicles":[]},{"i":1041,"id":"plus/faq","section_id":"frigate/plus/faq/0871","title":"FAQ","heading":"Can Frigate+ models be used offline?","text":"Yes. Models and metadata are stored in the `model_cache` directory within the config folder. Frigate will only attempt to download a model if it does not exist in the cache. This means you can backup the directory and/or use it completely offline.","url":"https://docs.frigate.video/plus/faq/","vehicles":[]},{"i":1042,"id":"plus/faq","section_id":"frigate/plus/faq/0872","title":"FAQ","heading":"Can I keep using my Frigate+ models even if I do not renew my subscription?","text":"Yes. Subscriptions to Frigate+ provide access to the infrastructure used to train the models. Models you train during an active subscription remain licensed for your continued use even after your subscription ends \u2014 models already in your model cache will keep working indefinitely. An active subscription is required to train new models and download new versions.","url":"https://docs.frigate.video/plus/faq/","vehicles":[]},{"i":1043,"id":"plus/faq","section_id":"frigate/plus/faq/0873","title":"FAQ","heading":"Can I use Frigate+ models commercially?","text":"A standard subscription covers use on camera systems you own or operate, including for your business. A shop, restaurant, warehouse, or office running Frigate+ at its own locations (including multiple locations) is exactly the kind of use the subscription is for. What the standard subscription does not cover is using Frigate+ models to provide a product or service to others. If you're deploying models at your customers' sites, bundling them with hardware you sell, or running them as part of a hosted or managed service, even if your customers never receive the model files themselves, you'll need a commercial license. Note that professional installers are fine under standard subscriptions when each customer holds their own Frigate+ subscription. The commercial license is for cases where your license powers your customers' sites.","url":"https://docs.frigate.video/plus/faq/","vehicles":[]},{"i":1044,"id":"plus/faq","section_id":"frigate/plus/faq/0874","title":"FAQ","heading":"Why can't I submit images to Frigate+?","text":"If you've configured your API key and the Frigate+ Settings page in the UI shows that the key is active, you need to ensure that snapshots are enabled for the cameras you'd like to submit images for.","url":"https://docs.frigate.video/plus/faq/","vehicles":[]},{"i":1045,"id":"plus/first_model","section_id":"frigate/plus/first_model/0875","title":"Requesting your first model","heading":"Step 1: Upload and annotate your images","text":"Before requesting your first model, you will need to upload and verify at least 10 images to Frigate+. The more images you upload, annotate, and verify the better your results will be. Most users start to see very good results once they have at least 100 verified images per camera. Keep in mind that varying conditions should be included. You will want images from cloudy days, sunny days, dawn, dusk, and night. Refer to the [integration docs](../integrations/plus.md#generate-an-api-key) for instructions on how to easily submit images to Frigate+ directly from Frigate. It is recommended to submit **both** true positives and false positives. This will help the model differentiate between what is and isn't correct. You should aim for a target of 80% true positive submissions and 20% false positives across all of your images. If you are experiencing false positives in a specific area, submitting true positives for any object type near that a","url":"https://docs.frigate.video/plus/first_model/","vehicles":[]},{"i":1046,"id":"plus/first_model","section_id":"frigate/plus/first_model/0876","title":"Requesting your first model","heading":"Step 2: Submit a model request","text":"Once you have an initial set of verified images, you can request a model on the Models page. For guidance on choosing a model type, refer to [available model types](./index.md#available-model-types) and [choosing a model](./choosing_a_model.md). If you are unsure which type to request, you can test the base model for each version from the \"Base Models\" tab. For most hardware, `yolov9` is recommended; `mobiledet` is a legacy model type and will be removed in 2027. Each model request requires 1 of the 12 trainings that you receive with your annual subscription. This model will support all [label types available](./index.md#available-label-types) even if you do not submit any examples for those labels. Model creation can take up to 36 hours.","url":"https://docs.frigate.video/plus/first_model/","vehicles":[]},{"i":1047,"id":"plus/first_model","section_id":"frigate/plus/first_model/0877","title":"Requesting your first model","heading":"Step 3: Set your model","text":"You will receive an email notification when your Frigate+ model is ready. Models available in Frigate+ can be used with a special model path. No other information needs to be configured because it fetches the remaining config from Frigate+ automatically. Navigate to System > Detection models\" />. On the model you want to change, choose the **Frigate+** tab and select your new Frigate+ model from the **Available Frigate+ models** dropdown, then click **Save**. Restart Frigate to apply the change. :::tip When setting the plus model id, all other fields should be removed as these are configured automatically with the Frigate+ model config ::: :::note Model IDs are not secret values and can be shared freely. Access to your model is protected by your API key. :::","url":"https://docs.frigate.video/plus/first_model/","vehicles":[]},{"i":1048,"id":"plus/first_model","section_id":"frigate/plus/first_model/0878","title":"Requesting your first model","heading":"Step 4: Adjust your object filters for higher scores","text":"Frigate+ models generally have much higher scores than the default model provided in Frigate. You will likely need to increase your `threshold` and `min_score` values. Here is an example of how these values can be refined, but you should expect these to evolve as your model improves. For more information about how `threshold` and `min_score` are related, see the docs on [object filters](../configuration/object_filters.md#object-scores). Navigate to Global configuration > Objects\" />. Under **Object filters**, set **Minimum confidence** and **Confidence threshold** for each object type, then click **Save**. | Object | Minimum confidence | Confidence threshold | | ----------------- | ------------------ | -------------------- | | **dog** | .7 | .9 | | **cat** | .65 | .8 | | **face** | .7 | | | **package** | .65 | .9 | | **license_plate** | .6 | | | **amazon** | .75 | | | **ups** |","url":"https://docs.frigate.video/plus/first_model/","vehicles":[]},{"i":1049,"id":"plus/index","section_id":"frigate/plus/index/0879","title":"Models","heading":"Overview","text":"Frigate+ offers models trained on images submitted by Frigate+ users from their security cameras and is specifically designed for the way Frigate NVR analyzes video footage. These models offer higher accuracy with less resources. The images you upload are used to fine tune a base model trained from images uploaded by all Frigate+ users. This fine tuning process results in a model that is optimized for accuracy in your specific conditions. With a subscription, 12 model trainings to fine tune your model per year are included. In addition, you will have access to any base models published while your subscription is active. If you cancel your subscription, you will retain access to any trained and base models in your account. An active subscription is required to submit model requests or purchase additional trainings. New base models are published twice per year. Inform","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1050,"id":"plus/index","section_id":"frigate/plus/index/0880","title":"Models","heading":"Available model types","text":"There are three model types offered in Frigate+, `yolov9`, `yolonas`, and `mobiledet` (legacy). All of these models are object detection models and are trained to detect the same set of labels [listed below](#available-label-types). Not all model types are supported by all detectors, so it's important to choose a model type to match your detector as shown in the table under [supported detector types](#supported-detector-types). You can test model types for compatibility and speed on your hardware by using the base models. For accuracy and speed comparisons between model types, sizes, and resolutions, see [choosing a model](./choosing_a_model.md). | Model Type | Description | | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `yolov9` | A leading SOTA (state of the art) object detection model. More accura","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1051,"id":"plus/index","section_id":"frigate/plus/index/0881","title":"Models","heading":"YOLOv9 Details","text":"YOLOv9 models are available in `t`, `s`, `m`, `c`, and `edgetpu` variants. When requesting a `yolov9` model, you will be prompted to choose a variant. If you want the model to be compatible with a Google Coral, you will need to choose the `edgetpu` variant, which requires Frigate 0.17 or later. If you are unsure what variant to choose, you should perform some tests with the base models to find the performance level that suits you. The `s` size has similar inference times to the current `yolonas` models with noticeably higher accuracy, and a good place to start is the `320x320` resolution model for `yolov9s`. The `m` size offers higher accuracy at the cost of slower inference, so it is best suited to more powerful hardware such as GPUs. The `c` size is slower still and offers little accuracy gain over `m`. See [choosing a model](./choosing_a_model.md) for detailed accuracy and speed comparisons. | Variant | Size | Parameters | Speed and ","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1052,"id":"plus/index","section_id":"frigate/plus/index/0882","title":"Models","heading":"Hailo Support","text":"If you have a Hailo device, you will need to specify the hardware you have when submitting a model request because they are not cross compatible. Hailo models are available for the `t`, `s`, `m`, and `c` variants on Hailo8, Hailo8L, and Hailo8R devices. Please test using the available base models before submitting your model request.","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1053,"id":"plus/index","section_id":"frigate/plus/index/0883","title":"Models","heading":"Rockchip (RKNN) Support","text":"Rockchip models are automatically converted as of 0.17. For 0.16, YOLOv9 onnx models will need to be manually converted. First, you will need to configure Frigate to use the model id for your YOLOv9 onnx model so it downloads the model to your `model_cache` directory. From there, you can follow the [documentation](/configuration/object_detectors.md#converting-your-own-onnx-model-to-rknn-format) to convert it.","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1054,"id":"plus/index","section_id":"frigate/plus/index/0884","title":"Models","heading":"Supported detector types","text":"Currently, Frigate+ models support CPU (`cpu`), Google Coral (`edgetpu`), OpenVino (`openvino`), ONNX (`onnx`), Hailo (`hailo`), and Rockchip (`rknn`) detectors. | Hardware | Recommended Detector Type | Recommended Model Type | | -------------------------------------------------------------------------------- | --------------------------- | ---------------------- | | [CPU](/configuration/object_detectors.md#cpu-detector-not-recommended) | `openvino (or alternative)` | `yolov9` | | [Coral (all form factors)](/configuration/object_detectors.md#edge-tpu-detector) | `edgetpu` | `yolov9` | | [Intel](/configuration/object_detectors.md#openvino-detector) | `openvino` | `yolov9` | | [NVidia GPU](/configuration/object_detectors#onnx) | `onnx` | `yolov9` | | [AMD ROCm GPU](/configuration/object_detectors#amdrocm-gpu-detector) | `onnx` | `yolov9` | | [Hailo8/Hailo8L/Hailo8R](/configuration/object_detectors#hailo) | `hailo` | `yolov9` | | [Rockchip","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1055,"id":"plus/index","section_id":"frigate/plus/index/0885","title":"Models","heading":"Improving your model","text":"Some users may find that Frigate+ models result in more false positives initially, but by submitting true and false positives, the model will improve. With all the new images now being submitted by subscribers, future base models will improve as more and more examples are incorporated. Note that only images with at least one verified label will be used when training your model. Submitting an image from Frigate as a true or false positive will not verify the image. You still must verify the image in Frigate+ in order for it to be used in training. - **Submit both true positives and false positives**. This will help the model differentiate between what is and isn't correct. You should aim for a target of 80% true positive submissions and 20% false positives across all of your images. If you are experiencing false positives in a specific area, submitting true positives for any object type near that area in similar lighting conditions will ","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1056,"id":"plus/index","section_id":"frigate/plus/index/0886","title":"Models","heading":"Available label types","text":"Frigate+ models support a more relevant set of objects for security cameras. The labels for annotation in Frigate+ are configurable by editing the camera in the Cameras section of Frigate+. Currently, the following objects are supported: - **People**: `person`, `face`, `baby` - **Vehicles**: `car`, `motorcycle`, `bicycle`, `boat`, `school_bus`, `garbage_truck`, `license_plate` - **Delivery Logos**: `amazon`, `usps`, `ups`, `fedex`, `dhl`, `an_post`, `purolator`, `postnl`, `nzpost`, `postnord`, `gls`, `dpd`, `canada_post`, `royal_mail` - **Animals**: `dog`, `cat`, `deer`, `horse`, `bird`, `raccoon`, `fox`, `bear`, `cow`, `squirrel`, `goat`, `rabbit`, `skunk`, `kangaroo`, `possum`, `rodent` - **Other**: `package`, `waste_bin`, `bbq_grill`, `robot_lawnmower`, `umbrella`, `baby_stroller` Other object types available in the default Frigate model are not available. Additional object types will be added in future releases.","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1057,"id":"plus/index","section_id":"frigate/plus/index/0887","title":"Models","heading":"Candidate labels","text":"Candidate labels are also available for annotation. These labels don't have enough data to be included in the model yet, but using them will help add support sooner. You can enable these labels by editing the camera settings. Where possible, these labels are mapped to existing labels during training. For example, any `duck` labels are mapped to `bird` until support for new labels is added. - **Vehicles**: `tractor`, `golf_cart`, `bus`, `airplane`, `helicopter`, `rickshaw`, `scooter` - **Delivery Logos**: `bpost`, `auspost`, `aramex`, `transoflex`, `parcelforce`, `hermes`, `cargus`, `fan_courier`, `sameday`, `la_poste` - **Animals**: `badger`, `chicken`, `duck`, `turkey`, `groundhog`, `boar`, `hedgehog`, `wombat`, `bobcat`, `mustelid`, `mountain_lion`, `crocodile`, `monkey`, `coyote`, `porcupine`, `sheep`, `snake`, `lizard`, `heron`, `elk`, `moose`, `pig`, `donkey`, `civet`, `chipmunk` - **Other**: `sports_ball`, `drone`, `lawnmower` Can","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1058,"id":"plus/index","section_id":"frigate/plus/index/0888","title":"Models","heading":"Label attributes","text":"Frigate has special handling for some labels when using Frigate+ models. `face`, `license_plate`, and delivery logos such as `amazon`, `ups`, and `fedex` are considered attribute labels which are not tracked like regular objects and do not generate review items directly. In addition, the `threshold` filter will have no effect on these labels. You should adjust the `min_score` and other filter values as needed. In order to have Frigate start using these attribute labels, you will need to add them to the list of objects to track: When using Frigate+ models, Frigate will choose the snapshot of a person object that has the largest visible face. For cars, the snapshot with the largest visible license plate will be selected. This aids in secondary processing such as facial and license plate recognition for person and car objects. Delivery logos such as `amazon`, `ups`, and `fedex` labels are used to automatically assign a sub label to car obj","url":"https://docs.frigate.video/plus/index/","vehicles":[]},{"i":1059,"id":"troubleshooting/common_errors","section_id":"frigate/troubleshooting/common_errors/0889","title":"Common Error Messages","heading":"Overview","text":"import FaqItem from \"@site/src/components/FaqItem\"; This page is an index of error messages you might see in Frigate's logs, what each one means, and where to go next. It is organized by the kind of problem, not by which component logged the message. Two things to know before you start: - **Many of these messages come from FFmpeg, go2rtc, GPU drivers, or the operating system, not from Frigate itself.** Frigate captures and re-logs their output, so the log level shown in the Frigate UI does not always reflect the original severity. - **Wrapped errors put the real cause on the next line.** When Frigate logs a generic message like `Error occurred when attempting to maintain recording cache`, the actual exception is logged immediately after it. When a camera's FFmpeg process exits, Frigate logs `The following ffmpeg logs include the last 100 lines prior to exit` and dumps that camera's FFmpeg output. Always read those lines, they are where ","url":"https://docs.frigate.video/troubleshooting/common_errors/","vehicles":[]},{"i":1060,"id":"troubleshooting/common_errors","section_id":"frigate/troubleshooting/common_errors/0890","title":"Common Error Messages","heading":"Camera connection and streams","text":" These are FFmpeg errors about reaching the camera (or the go2rtc restream). `Connection refused` and `No route to host` mean nothing is listening at that address or the host is unreachable; `401 Unauthorized` is wrong credentials; `404 Not Found` is a wrong stream path (or a `restream` input pointing at a go2rtc stream name that does not exist). A camera that has hit its concurrent-connection limit can also return `refused` or `401` on a URL that works in VLC. See [go2rtc troubleshooting](/troubleshooting/go2rtc#1-read-the-go2rtc-logs) for how to isolate the stream. in 20 seconds. Exiting ffmpeg...\"> FFmpeg is running but has stopped delivering video for 20 seconds, so Frigate's camera watchdog re","url":"https://docs.frigate.video/troubleshooting/common_errors/","vehicles":[]},{"i":1061,"id":"troubleshooting/common_errors","section_id":"frigate/troubleshooting/common_errors/0891","title":"Common Error Messages","heading":"Recording","text":" in the last 120s\"> Frigate's record watchdog is restarting the record FFmpeg process because the camera stopped producing usable recordings. The wording distinguishes the cases: `No new recording segments` means no new segment file reached the cache, so ffmpeg isn't getting video out of the record stream; the two `valid` variants mean recordings are arriving but keep failing validation. Either way the fault is on the camera or network side, and the restart is Frigate trying to recover. See [Recordings: no new recording segments were created](/troubleshooting/recordings#no-new-recording-segments-were-created). A VAAPI/QSV hardware frame-sync failure between FFmpeg and the GPU driver, not a Frigate bug. It usually appears when the detect stream is being scaled or decoded on the GPU. See [GPU: Failed to download frame: -5](/troubleshooting/gpu#failed-to-download-frame--5), which lists the fixes in order (switch VAAPI/QSV preset, change `LIBVA_DRIVER_NAME`, use an H.264 substream, match detect resolution and fps to the stream). Both mean the GPU ran out of decode surfaces: `No decoder surfaces left` is NVIDIA NVDEC, `Can't allocate a surface` is Intel QSV. This is surface-pool exhaustion, typically from too many concurrent hardware-decoded cameras on one GPU (consumer NVIDIA cards have a driver-enforced limit","url":"https://docs.frigate.video/troubleshooting/common_errors/","vehicles":[]},{"i":1063,"id":"troubleshooting/common_errors","section_id":"frigate/troubleshooting/common_errors/0893","title":"Common Error Messages","heading":"Detectors and models","text":" The process was killed by the CPU for executing an unsupported instruction. There are two distinct causes in Frigate: - **A Coral EdgeTPU** on a newer kernel with an outdated gasket driver. See [EdgeTPU: Illegal instruction](/troubleshooting/edgetpu#attempting-to-load-tpu-as-pci--fatal-python-error-illegal-instruction). - **A CPU without AVX/AVX2**, when enabling semantic search, face recognition, license plate recognition, classification, or audio transcription. These features use libraries compiled with AVX and crash immediately on CPUs that lack it (commonly Intel Celeron/Pentium before the 2020 Tiger Lake generation). See the [CPU requirements](/frigate/planning_setup#cpu). ONNX Runtime could not parse the model file. The file exists but its cont","url":"https://docs.frigate.video/troubleshooting/common_errors/","vehicles":[]},{"i":1064,"id":"troubleshooting/common_errors","section_id":"frigate/troubleshooting/common_errors/0894","title":"Common Error Messages","heading":"Memory and storage","text":" Frigate ran out of shared memory (`/dev/shm`). The container's `shm_size` is too small for the number and resolution of your detect streams, or you added cameras after startup without increasing it. See [Calculating required shm-size](/frigate/installation#calculating-required-shm-size). If you cannot increase `shm_size`, lowering the `SHM_MAX_FRAMES` environment variable reduces how many frames Frigate buffers per camera. A filesystem is full: the recordings volume (`/media/frigate`), the cache tmpfs (`/tmp/cache`), or `/dev/shm`. Check which one, and note that inode exhaustion can produce this while `df -h` still shows free space. See [Recordings: No space left on device](/troubleshooting/recordings#i-see-the-message-error--error-occurred-when-attempting-to-","url":"https://docs.frigate.video/troubleshooting/common_errors/","vehicles":[]},{"i":1065,"id":"troubleshooting/common_errors","section_id":"frigate/troubleshooting/common_errors/0895","title":"Common Error Messages","heading":"Database","text":" SQLite could not acquire the write lock. Frigate's timeout already scales with camera count, so under normal local-disk operation this essentially only happens when the database is on a network share (SMB/NFS), where file locking is unreliable, or when two instances point at the same file. See [Database is locked](/troubleshooting/faqs#error-database-is-locked). The SQLite database file is corrupted, typically after hard power loss, a network-share database, or a filesystem with unsafe write semantics. Frigate does not repair it automatically, but the database can usually be recovered by hand. **Stop Frigate first**, then work on the database file directly (by default `/config/frigate.db`). Start by checking what is actually wrong: If the only problems reported are index-r","url":"https://docs.frigate.video/troubleshooting/common_errors/","vehicles":[]},{"i":1066,"id":"troubleshooting/common_errors","section_id":"frigate/troubleshooting/common_errors/0896","title":"Common Error Messages","heading":"Startup and web access","text":" When your config fails validation at startup, Frigate prints the validation errors (with line numbers), then starts in **safe mode**: a minimal configuration with no cameras and MQTT disabled, so the UI stays reachable. In safe mode the only available page is the Config Editor, which shows the validation errors so you can fix them, then save and restart. Note that recording retention and storage cleanup do **not** run while in safe mode, so do not leave a low-disk system sitting in it. `Unable to start Frigate in safe mode` means even the minimal config failed, which points at an error in your `auth`, `proxy`, or `database` section, or a config file that is not valid YAML at all. Safe mode is not sticky; fix the config and restart and Frigate returns to normal. 0 even during normal activity","url":"https://docs.frigate.video/troubleshooting/cpu/","vehicles":[]},{"i":1080,"id":"troubleshooting/cpu","section_id":"frigate/troubleshooting/cpu/0910","title":"High CPU Usage","heading":"Model Selection and Optimization","text":"The model you use significantly impacts detector performance. Frigate provides default models optimized for each detector type, but you can customize them as described in the [detector documentation](../configuration/object_detectors). **Model Size Trade-offs:** - Smaller models (320x320): Faster inference, Frigate is specifically optimized for a 320x320 size model. - Larger models (640x640): Slower inference, can sometimes have higher accuracy on very large objects that take up a majority of the frame. For more detail on picking the right size, see [Choosing a model size](../configuration/object_detectors.md#choosing-a-model-size).","url":"https://docs.frigate.video/troubleshooting/cpu/","vehicles":[]},{"i":1081,"id":"troubleshooting/cpu","section_id":"frigate/troubleshooting/cpu/0911","title":"High CPU Usage","heading":"3. Reducing Detector CPU Usage","text":"**Priority: High** The **Detector CPU Usage** metric measures the CPU spent converting frames into the tensor format the model expects and post-processing the model's output. It does not include inference, so this value can be high even when you've configured a GPU, NPU, or Coral for object detection. This metric scales with how many detections per second Frigate runs and how expensive each one is to prepare. Tuning [motion detection](../configuration/motion_detection) is usually the first recommendation to reduce the number of detections. Additionally, you can: - **Lower `detect -> fps`.** 5 is the recommended value for nearly all cameras. Running at 10 doubles the frames eligible for detection and is one of the largest contributors to this metric. - **Use a 320x320 model.** A 640x640 model has 4 times as many pixels to transpose, convert, and copy on every inference. - **Prefer a model that takes integer input.** Models configured wit","url":"https://docs.frigate.video/troubleshooting/cpu/","vehicles":[]},{"i":1082,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0912","title":"Analyzing Object Detection","heading":"Overview","text":"import NavPath from \"@site/src/components/NavPath\"; Frigate provides several tools for investigating object detection and tracking behavior: reviewing recorded detections through the UI, using the built-in Debug Replay feature, and manually setting up a dummy camera for advanced scenarios.","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1083,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0913","title":"Analyzing Object Detection","heading":"Reviewing Detections in the UI","text":"Before setting up a replay, you can often diagnose detection issues by reviewing existing recordings directly in the Frigate UI.","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1084,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0914","title":"Analyzing Object Detection","heading":"Detail View (History)","text":"The **Detail Stream** view in History shows recorded video with detection overlays (bounding boxes, path points, and zone highlights) drawn on top. Select a review item to see its tracked objects and lifecycle events. Clicking a lifecycle event seeks the video to that point so you can see exactly what the detector saw.","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1085,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0915","title":"Analyzing Object Detection","heading":"Tracking Details (Explore)","text":"In **Explore**, clicking a thumbnail opens the **Tracking Details** pane, which shows the full lifecycle of a single tracked object: every detection, zone entry/exit, and attribute change. The video plays back with the bounding box overlaid, letting you step through the object's entire lifecycle.","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1086,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0916","title":"Analyzing Object Detection","heading":"Annotation Offset","text":"Both views support an **Annotation Offset** setting (`detect.annotation_offset` in your camera config) that shifts the detection overlay in time relative to the recorded video. This compensates for the timing drift between the `detect` and `record` pipelines. These streams use fundamentally different clocks with different buffering and latency characteristics, so the detection data and the recorded video are never perfectly synchronized. The annotation offset shifts the overlay to visually align the bounding boxes with the objects in the recorded video.","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1087,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0917","title":"Analyzing Object Detection","heading":"Why the offset varies between clips","text":"The base timing drift between detect and record is roughly constant for a given camera, so a single offset value works well on average. However, you may notice the alignment is not pixel-perfect in every clip. This is normal and caused by several factors: - **Keyframe-constrained seeking**: When the browser seeks to a timestamp, it can only land on the nearest keyframe. Each recording segment has keyframes at different positions relative to the detection timestamps, so the same offset may land slightly early in one clip and slightly late in another. - **Segment boundary trimming**: When a recording range starts mid-segment, the video is trimmed to the requested start point. This trim may not align with a keyframe, shifting the effective reference point. - **Capture-time jitter**: Network buffering, camera buffer flushes, and ffmpeg's own buffering mean the system-clock timestamp and the corresponding recorded frame are not always offset","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1088,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0918","title":"Analyzing Object Detection","heading":"Debug Replay","text":"Debug Replay lets you re-run Frigate's detection pipeline against a section of recorded video without manually configuring a dummy camera. It automatically extracts the recording, creates a temporary camera with the same detection settings as the original, and loops the clip through the pipeline so you can observe detections in real time. The replay camera behaves like a live camera feed rather than History's video player: it loops the clip continuously as Frigate analyzes it and has no playback controls, so you cannot pause, scrub, or step through it frame by frame. The Debug Replay camera does not save recordings or snapshots or surface anything in Explore, but it otherwise behaves like a regular camera, including running enrichments such as Face Recognition, LPR, and custom classification. Debug Replay isn't intended to be a one-stop pane for all Frigate diagnostics or a comprehensive debugging environment for every Frigate feature. ","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1089,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0919","title":"Analyzing Object Detection","heading":"When to use","text":"- Reproducing a detection or tracking issue from a specific time range - Testing configuration changes (model settings, zones, filters, motion) against a known clip - Gathering logs and debug overlays for a bug report :::note Only one replay session can be active at a time. If a session is already running, you will be prompted to navigate to it or stop it first. :::","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1090,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0920","title":"Analyzing Object Detection","heading":"Starting Debug Replay","text":"Debug Replay can be started from several places in the UI. The starting point determines the time range that gets replayed. - **History: Actions menu.** Navigate to {camera}\" />, open the **Actions** menu in the toolbar, and choose **Debug Replay**. From here you can pick a preset (**Last 1 Minute**, **Last 5 Minutes**), select a range directly on the timeline with **From Timeline**, or enter exact start and end times with **Custom**. This is the most flexible option and the best choice when you want to add padding around a detection. On mobile, the same options appear in the Actions drawer. - **History: Detail Stream event menu.** While viewing a review item in the Detail Stream, open the menu on a tracked object's event card and choose **Debug Replay**. The replay range is set automatically to that object's start and end times. - **Explore: search result menu.** From an Explore card, open the kebab menu and ch","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1091,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0921","title":"Analyzing Object Detection","heading":"Variables to consider","text":"- The replay will not always produce identical results to the original run. Different frames may be selected on replay, which can change detections and tracking. - Motion detection depends on the exact frames used; small frame shifts can change motion regions and therefore what gets passed to the detector. - Object detection is not fully deterministic: models and post-processing can yield slightly different results across runs. - In cases where a detection is short and a replay may only be a small number of frames, it is recommended to manually add some padding before and after the detection so that the motion and object detectors have time to settle into the scene. Rather than starting Debug Replay from Explore, navigate to History for your camera, choose Debug Replay from the Actions menu, and click the \"From Timeline\" or \"Custom\" option. - The replay camera inherits the source camera's zones. Any automations that trigger on those zon","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1092,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0922","title":"Analyzing Object Detection","heading":"Manual Dummy Camera","text":"For advanced scenarios (such as testing with a clip from a different source, debugging ffmpeg behavior, or running a clip through a completely custom configuration), you can set up a dummy camera manually.","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1093,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0923","title":"Analyzing Object Detection","heading":"Example config","text":"Place the clip you want to replay in a location accessible to Frigate (for example `/media/frigate/` or the repository `debug/` folder when developing). Then add a temporary camera to your `config/config.yml`: - `-re -stream_loop -1` tells ffmpeg to play the file in real time and loop indefinitely. - `-fflags +genpts` generates presentation timestamps when they are missing in the file.","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1094,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0924","title":"Analyzing Object Detection","heading":"Steps","text":"1. Export or copy the clip you want to replay to the Frigate host (e.g., `/media/frigate/` or `debug/clips/`). Depending on what you are looking to debug, it is often helpful to add some \"pre-capture\" time (where the tracked object is not yet visible) to the clip when exporting. 2. Add the temporary camera to `config/config.yml` (example above). Use a unique name such as `test` or `replay_camera` so it's easy to remove later. - If you're debugging a specific camera, copy the settings from that camera (frame rate, model/enrichment settings, zones, etc.) into the temporary camera so the replay closely matches the original environment. Leave `record` and `snapshots` disabled unless you are specifically debugging recording or snapshot behavior. 3. Restart Frigate. 4. Observe the [Debug view](/usage/live#the-single-camera-view) in the UI and logs as the clip is replayed. Watch detections, zones, or any feature you're looking to debug, and no","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1095,"id":"troubleshooting/dummy-camera","section_id":"frigate/troubleshooting/dummy-camera/0925","title":"Analyzing Object Detection","heading":"Troubleshooting","text":"- **No video**: verify the file path is correct and accessible from the Frigate process/container. - **FFmpeg errors**: check the log output and adjust `input_args` for your file format. You may also need to disable hardware acceleration (`hwaccel_args: \"\"`) for the dummy camera. - **No detections**: confirm the camera `roles` include `detect` and that the model/detector configuration is enabled.","url":"https://docs.frigate.video/troubleshooting/dummy-camera/","vehicles":[]},{"i":1096,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0926","title":"EdgeTPU Errors","heading":"USB Coral Not Detected","text":"There are many possible causes for a USB coral not being detected and some are OS specific. It is important to understand how the USB coral works: 1. When the device is first plugged in and has not initialized it will appear as `1a6e:089a Global Unichip Corp.` when running `lsusb` or checking the hardware page in HA OS. 2. Once initialized, the device will appear as `18d1:9302 Google Inc.` when running `lsusb` or checking the hardware page in HA OS. :::tip Using `lsusb` or checking the hardware page in HA OS will show as `1a6e:089a Global Unichip Corp.` until Frigate runs an inference using the coral. So don't worry about the identification until after Frigate has attempted to detect the coral. ::: If the coral does not initialize then Frigate can not interface with it. Some common reasons for the USB based Coral not initializing are:","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1097,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0927","title":"EdgeTPU Errors","heading":"Not Enough Power","text":"The USB coral can draw up to 900mA and this can be too much for some on-device USB ports, especially for small board computers like the RPi. If the coral is not initializing then some recommended steps are: 1. Try a different port, some ports are capable of providing more power than others. 2. Make sure the port is USB3, this is important for power and to ensure the coral runs at max speed. 3. Try a different cable, some users have found the included cable to not work well. 4. Use an externally powered USB hub.","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1098,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0928","title":"EdgeTPU Errors","heading":"Incorrect Device Access","text":"The USB coral has different IDs when it is uninitialized and initialized. - When running Frigate in a VM, Proxmox lxc, etc. you must ensure both device IDs are mapped. - When running through the Home Assistant OS you may need to run the Full Access variant of the Frigate App with the _Protection mode_ switch disabled so that the coral can be accessed.","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1099,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0929","title":"EdgeTPU Errors","heading":"Synology 716+II running DSM 7.2.1-69057 Update 5","text":"Some users have reported that this older device runs an older kernel causing issues with the coral not being detected. The following steps allowed it to be detected correctly: 1. Plug in the coral TPU in any of the USB ports on the NAS 2. Open the control panel - info screen. The coral TPU would be shown as a generic device. 3. Start the docker container with Coral TPU enabled in the config 4. The TPU would be detected but a few moments later it would disconnect. 5. While leaving the TPU device plugged in, restart the NAS using the reboot command in the UI. Do NOT unplug the NAS/power it off etc. 6. Open the control panel - info screen. The coral TPU will now be recognized as a USB Device - google inc 7. Start the frigate container. Everything should work now!","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1100,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0930","title":"EdgeTPU Errors","heading":"QNAP NAS","text":"QNAP NAS devices, such as the TS-253A, may use connected Coral TPU devices if [QuMagie](https://www.qnap.com/en/software/qumagie) is installed along with its QNAP AI Core extension. If any of the features (`facial recognition`, `object recognition`, or `similar photo recognition`) are enabled, Container Station applications such as `Frigate` or `CodeProject.AI Server` will be unable to initialize the TPU device in use. To allow the Coral TPU device to be discovered, you must either: 1. [Disable the AI recognition features in QuMagie](https://docs.qnap.com/application/qumagie/2.x/en-us/configuring-qnap-ai-core-settings-FB13CE03.html), 2. Remove the QNAP AI Core extension or 3. Manually start the QNAP AI Core extension after Frigate has fully started (not recommended). It is also recommended to restart the NAS once the changes have been made.","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1101,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0931","title":"EdgeTPU Errors","heading":"USB Coral Detection Appears to be Stuck","text":"The USB Coral can become stuck and need to be restarted, this can happen for a number of reasons depending on hardware and software setup. Some common reasons are: 1. Some users have found the cable included with the coral to cause this problem and that switching to a different cable fixed it entirely. 2. Running Frigate in a VM may cause communication with the device to be lost and need to be reset.","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1102,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0932","title":"EdgeTPU Errors","heading":"PCIe Coral Not Detected","text":"The most common reason for the PCIe Coral not being detected is that the driver has not been installed. This process varies based on what OS and kernel that is being run. - In most cases https://github.com/jnicolson/gasket-builder can be used to build and install the latest version of the driver.","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1103,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0933","title":"EdgeTPU Errors","heading":"Attempting to load TPU as pci & Fatal Python error: Illegal instruction","text":"This is an issue due to outdated gasket driver when being used with new linux kernels. Installing an updated driver from https://github.com/jnicolson/gasket-builder has been reported to fix the issue.","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1104,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0934","title":"EdgeTPU Errors","heading":"Not detected on Raspberry Pi5","text":"A kernel update to the RPi5 means an update to config.txt is required, see [the raspberry pi forum for more info](https://forums.raspberrypi.com/viewtopic.php?t=363682&sid=cb59b026a412f0dc041595951273a9ca&start=25) Specifically, add the following to config.txt","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1105,"id":"troubleshooting/edgetpu","section_id":"frigate/troubleshooting/edgetpu/0935","title":"EdgeTPU Errors","heading":"Only One PCIe Coral Is Detected With Coral Dual EdgeTPU","text":"Coral Dual EdgeTPU is one card with two identical TPU cores. Each core has its own PCIe interface and motherboard needs to have two PCIe busses on the m.2 slot to make them both work. E-key slot implemented to full m.2 electromechanical specification has two PCIe busses. Most motherboard manufacturers implement only one PCIe bus in m.2 E-key connector (this is why only one TPU is working). Some SBCs can have only USB bus on m.2 connector, ie none of TPUs will work. In this case it is recommended to use a Dual EdgeTPU Adapter [like the one from MagicBlueSmoke](https://github.com/magic-blue-smoke/Dual-Edge-TPU-Adapter)","url":"https://docs.frigate.video/troubleshooting/edgetpu/","vehicles":[]},{"i":1106,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0936","title":"Frequently Asked Questions","heading":"Fatal Python error: Bus error","text":"This error message is due to a shm-size that is too small. Try updating your shm-size according to [this guide](../frigate/installation.md#calculating-required-shm-size).","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1107,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0937","title":"Frequently Asked Questions","heading":"How can I get sound or audio in my recordings? {#audio-in-recordings}","text":"By default, Frigate removes audio from recordings to reduce the likelihood of failing for invalid data. If you would like to include audio, you need to set a [FFmpeg preset](/configuration/ffmpeg_presets) that supports audio:","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1108,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0938","title":"Frequently Asked Questions","heading":"How can I get sound in live view?","text":"Audio is only supported for live view when go2rtc is configured, see [the live docs](../configuration/live.md) for more information.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1109,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0939","title":"Frequently Asked Questions","heading":"I can't view recordings in the Web UI.","text":"Ensure your cameras send h264 encoded video, or [transcode them](/configuration/restream.md). You can open `chrome://media-internals/` in another tab and then try to playback, the media internals page will give information about why playback is failing.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1110,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0940","title":"Frequently Asked Questions","heading":"What do I do if my cameras sub stream is not good enough?","text":"Frigate generally [recommends cameras with configurable sub streams](/frigate/hardware.md). However, if your camera does not have a sub stream that is a suitable resolution, the main stream can be resized. To do this efficiently the following setup is required: 1. A GPU or iGPU must be available to do the scaling. 2. [ffmpeg presets for hwaccel](/configuration/hardware_acceleration_video.md) must be used 3. Set the desired detection resolution for `detect -> width` and `detect -> height`. When this is done correctly, the GPU will do the decoding and scaling which will result in a small increase in CPU usage but with better results.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1111,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0941","title":"Frequently Asked Questions","heading":"How can I rotate my camera's video feed?","text":"Rotation is best done in the camera's firmware settings (usually called rotate, flip, or corridor mode) so the video arrives already rotated and no extra processing is needed. Check there first. If your camera does not support rotation, go2rtc's ffmpeg module can rotate the stream with the `#rotate` parameter (`90`, `180`, `270`, or `-90`), but this is not recommended: rotation requires transcoding (re-encoding) the video, which significantly increases CPU usage, especially for high resolution streams. Point the camera's inputs at the restream as described in the [restream docs](/configuration/restream.md), and swap `detect -> width` and `detect -> height` to match the rotated resolution.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1112,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0942","title":"Frequently Asked Questions","heading":"Can I add a privacy mask to hide part of my camera's view?","text":"Frigate does not have privacy masks. [Motion masks and object filter masks](../configuration/masks.md) only affect detection, they don't hide anything in live view, recordings, or snapshots. Privacy masks are best configured in the camera's firmware settings so the area is blacked out before the video ever leaves the camera and no extra processing is needed. Check there first. If your camera does not support privacy masks, there is no efficient alternative. Frigate copies the camera's video into recordings and live view without decoding it, so part of the image can't be hidden without transcoding (re-encoding) the stream. This can be done with a custom ffmpeg filter in go2rtc, but it is not recommended. Every masked camera needs a continuous re-encode, which significantly increases CPU usage, especially for high resolution streams.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1113,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0943","title":"Frequently Asked Questions","heading":"My mjpeg stream or snapshots look green and crazy","text":"This almost always means that the width/height defined for your camera are not correct. Double check the resolution with VLC or another player. Also make sure you don't have the width and height values backwards.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1114,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0944","title":"Frequently Asked Questions","heading":"\"[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5639eeb6e140] moov atom not found\"","text":"These messages in the logs are expected in certain situations. Frigate checks the integrity of the recordings before storing. Occasionally these cached files will be invalid and cleaned up automatically.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1115,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0945","title":"Frequently Asked Questions","heading":"\"MQTT connected\" repeats in the logs","text":"If you see repeated \"MQTT connected\" messages in your logs, check for another instance of Frigate. This happens when multiple Frigate containers are trying to connect to MQTT with the same `client_id`.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1116,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0946","title":"Frequently Asked Questions","heading":"Error: Database Is Locked","text":"SQLite does not work well on a network share, if the `/media` folder is mapped to a network share then [this guide](../configuration/advanced/system.md#database) should be used to move the database to a location on the internal drive.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1117,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0947","title":"Frequently Asked Questions","heading":"Unable to publish to MQTT: client is not connected","text":"If MQTT isn't working in docker try using the IP of the device hosting the MQTT server instead of `localhost`, `127.0.0.1`, or `mosquitto.ix-mosquitto.svc.cluster.local`. This is because Frigate does not run in host mode so localhost points to the Frigate container and not the host device's network.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1118,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0948","title":"Frequently Asked Questions","heading":"How do I know if my camera is offline","text":"Frigate publishes a per-role health status to [`frigate//status/`](/integrations/mqtt#frigatecamera_namestatusrole), where `` is each enabled role on the camera (`detect`, `record`, and `audio`). The published value is one of: - `online`: Frigate's process for that role is running normally - `offline`: the process is down and Frigate is restarting it - `disabled`: the camera is turned off, either at runtime or in the configuration file These reflect the state of Frigate's process for that role, not the camera's reachability, so an unreachable camera alternates between `offline` and `online` as the watchdog restarts ffmpeg. Wait for the status to hold steady (for example with Home Assistant's `for:`) rather than acting on a single message. Because the status is per role, a camera whose substream is fine but whose recording stream has dropped will report `online` for `detect` and `offline` for `record`. The status","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1119,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0949","title":"Frequently Asked Questions","heading":"How can I view the Frigate log files without using the Web UI?","text":"Frigate manages logs internally as well as outputs directly to Docker via standard output. To view these logs using the CLI, follow these steps: - Open a terminal or command prompt on the host running your Frigate container. - Type the following command and press Enter: This command tells Docker to show you the logs from the Frigate container. Note: If you've given your Frigate container a different name, replace \"frigate\" in the command with your container's actual name. The \"-f\" option means the logs will continue to update in real-time as new entries are added. To stop viewing the logs, press `Ctrl+C`. If you'd like to learn more about using Docker logs, including additional options and features, you can explore Docker's [official documentation](https://docs.docker.com/engine/reference/commandline/logs/). Alternatively, when you create the Frigate Docker container, you can bind a directory on the host to the mountpoint `/dev/shm/logs","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1120,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0950","title":"Frequently Asked Questions","heading":"My RTSP stream works fine in VLC, but it does not work when I put the same URL in my Frigate config. Is this a bug?","text":"No. Frigate uses the TCP protocol to connect to your camera's RTSP URL. VLC automatically switches between UDP and TCP depending on network conditions and stream availability. So a stream that works in VLC but not in Frigate is likely due to VLC selecting UDP as the transfer protocol. TCP ensures that all data packets arrive in the correct order. This is crucial for video recording, decoding, and stream processing, which is why Frigate enforces a TCP connection. UDP is faster but less reliable, as it does not guarantee packet delivery or order, and VLC does not have the same requirements as Frigate. You can still configure Frigate to use UDP by using ffmpeg input args or the preset `preset-rtsp-udp`. See the [ffmpeg presets](/configuration/ffmpeg_presets) documentation.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1121,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0951","title":"Frequently Asked Questions","heading":"Frigate is slow to start up with a \"probing detect stream\" message in the logs","text":"When `detect.width` and `detect.height` are not set, Frigate probes each camera's detect stream on startup (and when saving the config) to auto-detect its resolution. For RTSP streams Frigate probes with ffprobe and automatically retries over TCP if UDP doesn't respond, with a 5 second timeout per attempt. A camera that cannot be reached over either transport will add up to ~10 seconds to startup before Frigate falls through with default dimensions, which may show up as width `0` and height `0` in Camera Probe Info under Health and Metrics. To skip the probe entirely and make startup instant, set `detect.width` and `detect.height` explicitly in your camera config:","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1122,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0952","title":"Frequently Asked Questions","heading":"What is the `version` key in my config file?","text":"`version` records the config format that your config was last migrated to. On startup Frigate compares it against the format the running version expects, and if it is older it copies your config to `/config/backup_config.yaml`, rewrites it to the new format, and updates `version` as the final step. A config with no `version` key is assumed to predate 0.14 and is migrated from there. Frigate manages this key for you, so do not set or edit it. Raising it makes Frigate skip migrations your config still needs, and lowering it re-runs migrations against config that has already been converted. Either can leave you with a config that no longer validates.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1123,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0953","title":"Frequently Asked Questions","heading":"Why does Frigate keep creating new tracked objects for my parked car?","text":"Stationary tracking is designed to _prevent_ this: a parked car should remain a single tracked object rather than generating new ones. If you're repeatedly getting new tracked objects for the same car, it's likely that Frigate is losing the object and re-detecting it as a new one. Open one of the tracked objects in Explore \u2192 **Tracking Details**. If the detection scores are low (< 70% or so), the model isn't confident the parked car is a car. This is common with the free [COCO-trained](https://cocodataset.org/#explore) object detection models on steep/top-down angles, partially occluded cars, foliage, or low-light footage. When detections fall below `min_score` for too many frames the tracker loses the object, and the next confident frame creates a brand new one. What helps: - **Improve the view**: even a small angle change that gets more of the car visible could lift scores enough to stabilize tracking. - **Use a more accurate model**:","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1124,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0954","title":"Frequently Asked Questions","heading":"How do I correct Frigate when it detects something as the wrong object?","text":"Frigate's object detection relies on a machine learning [model](../frigate/glossary.md#model), and the free [COCO-trained](https://cocodataset.org/#explore) models that ship with Frigate can misidentify objects in scenes they weren't trained on. There are two ways to handle this, depending on whether you want to _teach_ the model or just _suppress_ the bad result. **Train or fine-tune a model with your own images.** The most durable fix is to improve the model itself. The biggest gains usually come from fine-tuning a model on images from your own cameras so it learns your specific scene. Some tools are freely available, and [Frigate+](https://frigate.video/plus) is a paid option that does this - models are trained on security-camera footage and can be fine-tuned on images you submit from your own setup. When Frigate mislabels something, open the tracked object in Explore, select the **Snapshot** tab, and use **Submit to Frigate+** to se","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1125,"id":"troubleshooting/faqs","section_id":"frigate/troubleshooting/faqs/0955","title":"Frequently Asked Questions","heading":"Where do I see problems Frigate has detected?","text":"Open System > Health. The Notices list keeps a record of problems Frigate has found. Acknowledge an entry to hide it until the problem happens again, or mute it to hide it for good. Hidden entries stay listed under Show hidden in the filter. Ongoing conditions, such as an offline camera or recordings deleted before their retention period, appear in the status bar for admins until they clear, and the status bar links to the Notices list while it has entries showing. On mobile, tap the warning icon in the bottom navigation bar to see them. The Hardware section below the notices shows whether the detection hardware, hardware acceleration, and enrichment devices in your config were found and are being used, so a GPU that silently fell back to the CPU shows up as a warning. Run stream checks to probe every camera's streams for the same problems the camera wizard reports.","url":"https://docs.frigate.video/troubleshooting/faqs/","vehicles":[]},{"i":1126,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0956","title":"Troubleshooting go2rtc","heading":"Overview","text":"import ConfigTabs from \"@site/src/components/ConfigTabs\"; import TabItem from \"@theme/TabItem\"; import NavPath from \"@site/src/components/NavPath\"; This page covers common problems with the bundled [go2rtc](/configuration/go2rtc) and how to resolve them, whether your cameras were added with the setup wizard or configured by hand. When a stream won't play or behaves oddly, the most important first step is to figure out **where** in the pipeline it breaks. Frigate's live view is a chain (_camera \u2192 go2rtc \u2192 your browser_), and each stage fails for different reasons. Work through the checks below in order, then jump to the matching problem category.","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1127,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0957","title":"Troubleshooting go2rtc","heading":"1. Read the go2rtc logs","text":"Access the go2rtc logs in the Frigate UI under in the sidebar (select the **go2rtc** tab). If go2rtc cannot connect to your camera you will usually see a clear error here: `401 Unauthorized` (bad or incorrectly encoded credentials), `Connection refused` / `timeout` (wrong IP, port, or the camera is at its connection limit), or `404 Not Found` (wrong RTSP path, or the referenced stream name does not exist).","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1128,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0958","title":"Troubleshooting go2rtc","heading":"2. Test the stream in the go2rtc web interface","text":"If the logs look clean, open go2rtc's own web interface on port `1984`. This is the single most useful diagnostic, because it takes Frigate's UI out of the equation entirely. - If using Frigate through Home Assistant, enable the web interface at port `1984` (it is disabled by default, see [Home Assistant ports](#home-assistant-and-port-access)). - If using Docker, forward port `1984` before accessing the web interface. Open the stream page for your camera (`http://:1984/stream.html?src=back`) and try each player link: - **If nothing plays here**, the problem is between the camera and go2rtc (codec, credentials, or transport), _not_ your browser. Fix it at the source before touching anything in Frigate. - **If a player works here but Frigate's live view does not**, the problem is browser/codec related. Compare the **MSE** and **WebRTC** links. Frigate prefers MSE and only attempts WebRTC when MSE fails (or for two-way talk)","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1129,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0959","title":"Troubleshooting go2rtc","heading":"3. Inspect the negotiated codecs","text":"You can view detailed stream info, including the exact video and audio codecs go2rtc negotiated with the camera, at `http://frigate_ip:5000/api/go2rtc/streams` (or `http://frigate_ip:5000/api/go2rtc/streams/back` for a single camera). This is the authoritative answer to \"what is my camera actually sending?\" and is far more reliable than guessing from the camera's web UI. It also shows whether the audio track is `sendonly`/`recvonly`, which matters for [two-way talk](#webrtc-and-two-way-talk).","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1130,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0960","title":"Troubleshooting go2rtc","heading":"4. Fix the codec with the FFmpeg module","text":"If the camera plays in go2rtc but not in your browser, the video or audio codec is unsupported. Browsers can reliably play **H.264** video and **AAC** audio; many cannot play H.265/HEVC, and some camera audio (G.711/PCM, MJPEG containers, etc.) is not playable at all. The fix is to have go2rtc re-encode the stream on demand using its FFmpeg module. In the Frigate UI this is the **Use compatibility mode (ffmpeg)** toggle on a stream source; in YAML it is the `ffmpeg:` prefix on the source URL. 1. Navigate to System > go2rtc Streams\" /> and expand your camera's stream. 2. On the source you want to convert, click the **Use compatibility mode (ffmpeg)** button (the sliders icon next to the URL). This routes the source through go2rtc's FFmpeg module and reveals the transcoding options. 3. Set **Video** to **Transcode to H.264** if your browser can't play the camera's video codec (e.","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1131,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0961","title":"Troubleshooting go2rtc","heading":"Live view is black, buffering, or stuck in \"low-bandwidth mode\"","text":"When the live view shows a black screen, spins forever, or repeatedly drops to the lower-quality jsmpeg player (\"low-bandwidth mode\"), the stream almost always contains something the browser cannot decode over MSE, usually H.265 video or a non-AAC audio track. Confirm this in the go2rtc web UI (port `1984`): if MSE won't play there, Frigate can't play it either, since it uses the same pipeline. The fix is to produce an **H.264 + AAC** stream, either by changing your camera's firmware codecs or by transcoding in go2rtc (see [Fix the codec with the FFmpeg module](#4-fix-the-codec-with-the-ffmpeg-module)). A few other things worth checking: - **Set the camera's I-frame (keyframe) interval to match its frame rate** (or \"1x\" on Reolink), and avoid \"smart\"/\"+\" codecs like _H.264+_ or _H.265+_. A long keyframe interval delays the first decodable frame past Frigate's startup timeout, which forces the fallback to jsmpeg. See [camera settings rec","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1132,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0962","title":"Troubleshooting go2rtc","heading":"H.265 / HEVC cameras","text":"H.265/HEVC playback in the browser is unreliable and version-dependent. WebRTC does not support H.265 on some browsers, and MSE/HEVC support varies by browser, OS, and whether a hardware decoder is present. An H.265 stream that plays fine in VLC, the go2rtc web UI, and Frigate's recordings can still be blank in a live view. For dependable live viewing, use **H.264** for the stream the live view consumes: - Point the live view at the camera's H.264 **substream** and keep the H.265 main stream for recording only, or - Transcode H.265 \u2192 H.264 in go2rtc with the FFmpeg module and `#hardware` (software HEVC transcoding is very CPU heavy). Treat browser HEVC playback as best-effort. See also [H.265 cameras via Safari](/configuration/camera_specific#h265-cameras-via-safari).","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1133,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0963","title":"Troubleshooting go2rtc","heading":"No audio in Live view","text":"Live view audio has strict codec requirements that differ by player: **MSE requires AAC, PCMA, or PCMU**, and **WebRTC requires Opus, PCMA, or PCMU**. Many cameras default to a codec outside these sets (or to PCM/G.711), so the player loads video only and no audio control appears. The most robust approach is to provide both an AAC track (for MSE) and an Opus track (for WebRTC) on the same stream by transcoding audio with the FFmpeg module while copying the video: 1. Navigate to System > go2rtc Streams\" /> and expand the camera's stream. 2. Add a second **Source** that references the stream by name (e.g. the URL `ffmpeg:back`), enable **Use compatibility mode (ffmpeg)**, and set **Audio** to **Transcode to Opus** for WebRTC support. 3. Keep the original source as **Source 1** so MSE can use the camera's AAC (or transcode the first source's audio to AAC if the camera doesn't prov","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1134,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0964","title":"Troubleshooting go2rtc","heading":"WebRTC and two-way talk","text":"WebRTC is only attempted when MSE fails or when using a camera's two-way talk feature; the \"All Cameras\" dashboard never uses it. When it doesn't work, the cause is almost always one of: - **Codec mismatch**: WebRTC cannot carry H.265 or AAC. The stream backing the WebRTC view must provide Opus (or PCMA/PCMU) audio and H.264 video. Add an `ffmpeg:back#audio=opus` source as shown above. - **Port `8555` not reachable, or no candidates set**: WebRTC needs port `8555` (both TCP and UDP) open and a reachable candidate advertised. On Docker installs running on a custom/overlay network, go2rtc may advertise unreachable container IPs as ICE candidates; setting `webrtc.filters.candidates: []` and supplying only your host's LAN IP resolves this. See [WebRTC extra configuration](/configuration/live#webrtc-extra-configuration). - **Two-way talk** additionally requires a secure context (HTTPS or the authenticated port `8971`, because browsers block ","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1135,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0965","title":"Troubleshooting go2rtc","heading":"High CPU usage","text":"If go2rtc is using a lot of CPU, it is almost always transcoding in software. An FFmpeg source with a codec modifier like `#video=h264` or `#audio=aac` but **no** `#hardware` re-encodes on the CPU. (Frigate's `ffmpeg.hwaccel_args` only applies to Frigate's own detect/record processes. It does _not_ accelerate go2rtc's transcodes.) To keep CPU usage down: - Only transcode the track that is genuinely unsupported, and use `#video=copy` to pass video through untouched whenever possible. - When you must transcode video, always add `#hardware` (the **Automatic** hardware option in the UI) so the encode runs on the GPU. Note the [FFmpeg 8 device requirement](#hardware-accelerated-transcoding-with-ffmpeg-8) below. - Don't restream a high-resolution main stream just to feed the live view: even with `#video=copy`, muxing a 4K/8MP+ stream is inherently expensive. Use the camera's lower-resolution substream for live and detect, and let Frigate pull","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1136,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0966","title":"Troubleshooting go2rtc","heading":"Connection, authentication, and complex passwords","text":"If go2rtc logs `401 Unauthorized` for a URL that works in VLC, the password almost certainly contains reserved URL characters. **Frigate URL-encodes passwords for its own `cameras.ffmpeg.inputs`, but it does not touch what you write under `go2rtc.streams`**: go2rtc parses that URL itself. You must URL-encode special characters yourself in the `go2rtc.streams` section (`@` \u2192 `%40`, `#` \u2192 `%23`, `?` \u2192 `%3F`, `%` \u2192 `%25`, etc.). Note the asymmetry: under `cameras.ffmpeg.inputs` you should use the **raw** password (Frigate encodes it for you). Pre-encoding it there causes a double-encode and fails. See [Handling Complex Passwords](/configuration/restream#handling-complex-passwords). Repeated `401`/`Connection refused` errors can also mean the camera hit its **concurrent connection limit** or triggered a login lockout. Routing all roles through a single [RTSP restream](/configuration/restream#reduce-connections-to-camera) means the camera on","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1137,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0967","title":"Troubleshooting go2rtc","heading":"Stream names must match everywhere","text":"A surprising number of \"the better live options aren't available\" or `404 Not Found` problems come down to a name mismatch. The same string must be used consistently: - the **go2rtc stream key** (`go2rtc.streams.`), - any `ffmpeg:#\u2026` source that references it, - the camera's restream input path (`rtsp://127.0.0.1:8554/`), and - the camera name itself (so Frigate auto-maps it for MSE/WebRTC), or an explicit `live -> streams` mapping pointing at the go2rtc stream **name** (never a path). If you rename or remove a go2rtc stream while experimenting and the live stream selector then shows a blank entry, clear your browser's site data for the Frigate URL. The selected stream is cached per-device in local storage.","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1138,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0968","title":"Troubleshooting go2rtc","heading":"Camera-specific behavior","text":"Several camera brands have well-known quirks with go2rtc. Rather than repeat them here, see the [camera-specific configuration](/configuration/camera_specific) page, which covers them in detail. The highlights: - **Reolink**: RTSP is unreliable on many models; the **http-flv** stream through the FFmpeg module is recommended, and you must enable HTTP/RTMP in the camera and **reboot** it. 6MP+ models stream H.265 over http-flv-enhanced, which requires FFmpeg 8.0. See [Reolink Cameras](/configuration/camera_specific#reolink-cameras). - **TP-Link Tapo**: use go2rtc's native `tapo://` source for stability and two-way audio; a stale RTSP credential can often be revived by clicking play once in the go2rtc web UI. - **Ubiquiti/UniFi Protect**: use the `rtspx://` scheme (not `rtsps://\u2026?enableSrtp`). - **Amcrest/Dahua**: use the `/cam/realmonitor?channel=1&subtype=N` scheme, where `subtype=0` is the main stream. See [Amcrest & Dahua](/configurati","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1139,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0969","title":"Troubleshooting go2rtc","heading":"Non-RTSP sources and the FFmpeg module","text":"go2rtc's native zero-copy handling only supports well-formed RTSP H.264/H.265. Anything else (MJPEG, HTTP/HTTP-FLV, RTMP, or unusual codecs) must be handed to the FFmpeg module by prefixing the source with `ffmpeg:`. This is also necessary for some camera streams to be parsed at all, at the cost of slightly slower startup. MJPEG and other non-H.264 sources additionally need `#video=h264` (with `#hardware`) before they can be used for the `record`, `detect`, or restream roles. See [MJPEG Cameras](/configuration/camera_specific#mjpeg-cameras) for a complete example.","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1140,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0970","title":"Troubleshooting go2rtc","heading":"Hardware-accelerated transcoding with FFmpeg 8","text":"Frigate 0.18 ships **FFmpeg 8.0** as the default, and FFmpeg 8 is stricter about hardware-accelerated filtering than earlier versions. Whenever go2rtc transcodes video with hardware acceleration (any source using `#hardware`, `#hardware=vaapi`, or the **Automatic** hardware option in the UI), it builds a filter chain that uploads frames to the GPU with the `hwupload` filter. FFmpeg 8 now refuses to do this unless it is told **which device** to use. Earlier versions selected one automatically. The result is that an otherwise-working transcode fails to start, the live view never loads, and go2rtc logs: The fix is to tell go2rtc's bundled FFmpeg which hardware device to use via the `go2rtc -> ffmpeg -> global` option. For **VAAPI**-based acceleration (which covers most Intel and AMD GPUs, and is what go2rtc selects automatically on that hardware), point it at your render device: `/dev/dri/renderD128` is the usual render node; on a system w","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1141,"id":"troubleshooting/go2rtc","section_id":"frigate/troubleshooting/go2rtc/0971","title":"Troubleshooting go2rtc","heading":"Home Assistant and port access","text":"When running Frigate as a Home Assistant App, the go2rtc API (port `1984`), the RTSP restream (port `8554`), and WebRTC (port `8555`) are **disabled and hidden by default**. To use them (for example to reach the go2rtc web interface for troubleshooting, or to open a go2rtc stream externally in an app like VLC), go to Apps > Frigate > Configuration > Network\" />, click **Show disabled ports**, enable the port you need, and save. Use the host's IP address rather than an mDNS name like `homeassistant.local`. If live view works in the Frigate UI but not in Home Assistant, the most common cause is the go2rtc stream name not matching the camera name: name the primary go2rtc stream exactly like the camera, or add a `live -> streams` mapping, so the integration can resolve the restream.","url":"https://docs.frigate.video/troubleshooting/go2rtc/","vehicles":[]},{"i":1142,"id":"troubleshooting/gpu","section_id":"frigate/troubleshooting/gpu/0972","title":"GPU Errors","heading":"Can't get OPTIMIZATION_CAPABILITIES property as no supported devices found.","text":"Some users have reported issues using some Intel iGPUs with OpenVINO, where the GPU would not be detected. This error can be caused by various problems, so it is important to ensure the configuration is setup correctly. Some solutions users have noted: - In some cases users have noted that an HDMI dummy plug was necessary to be plugged into the motherboard's HDMI port. - When mixing an Intel iGPU with Nvidia GPU, the devices can be mixed up between `/dev/dri/renderD128` and `/dev/dri/renderD129` so it is important to confirm the correct device, or map the entire `/dev/dri` directory into the Frigate container.","url":"https://docs.frigate.video/troubleshooting/gpu/","vehicles":[]},{"i":1143,"id":"troubleshooting/gpu","section_id":"frigate/troubleshooting/gpu/0973","title":"GPU Errors","heading":"Hardware acceleration is not being used","text":"For VAAPI or QSV to work, the GPU's render device must be passed through to the Frigate container. Intel and AMD GPUs expose this as a render node under `/dev/dri`, usually `/dev/dri/renderD128`. If it is not passed through, hardware acceleration is unavailable: ffmpeg fails to initialize it (for example `Failed to open the drm device` or `No VA display found for device`) and GPU usage stays at zero while CPU usage remains high. Pass the render device through when starting the container. With `docker compose`: Or with `docker run`, add `--device /dev/dri/renderD128`. See the [installation docs](/frigate/installation) for a complete example. If it still isn't working after passing the device through: - **Confirm the render node exists and is the correct one.** Run `ls /dev/dri` on the host. You should see one or more `renderD12X` entries. Systems with more than one GPU (an Intel iGPU plus a discrete GPU) can expose both `/dev/dri/renderD","url":"https://docs.frigate.video/troubleshooting/gpu/","vehicles":[]},{"i":1144,"id":"troubleshooting/gpu","section_id":"frigate/troubleshooting/gpu/0974","title":"GPU Errors","heading":"Failed to download frame: -5","text":"When using VAAPI or QSV hardware acceleration, ffmpeg may crash and restart periodically with a signature like this in the `ffmpeg..detect` log: This is a hardware frame synchronization failure between ffmpeg and the GPU driver, not a Frigate bug. It comes from how a specific camera stream interacts with the GPU's decode and scaling path, so it is highly dependent on your hardware, driver, and stream. Frigate's automatic hardware acceleration detection is a best-guess effort, so the fix is usually to tune the configuration for your specific hardware and camera. The solutions below are ordered from most to least likely to help: - **Switch between the VAAPI and QSV presets.** On Intel Gen 12 and newer iGPUs, `preset-intel-qsv-h264` / `preset-intel-qsv-h265` is often more stable than the auto-detected `preset-vaapi`. See the [hardware acceleration docs](/configuration/hardware_acceleration_video.md#intel-based-cpus) for the recomme","url":"https://docs.frigate.video/troubleshooting/gpu/","vehicles":[]},{"i":1145,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0975","title":"Memory Usage","heading":"Overview","text":"Frigate includes built-in memory profiling using [memray](https://bloomberg.github.io/memray/) to help diagnose memory issues. This feature allows you to profile specific Frigate modules to identify memory leaks, excessive allocations, or other memory-related problems.","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1146,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0976","title":"Memory Usage","heading":"Enabling Memory Profiling","text":"Memory profiling is controlled via the `FRIGATE_MEMRAY_MODULES` environment variable. Set it to a comma-separated list of module names you want to profile:","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1147,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0977","title":"Memory Usage","heading":"Module Names","text":"Frigate processes are named using a module-based naming scheme. Common module names include: - `frigate.review_segment_manager` - Review segment processing - `frigate.recording_manager` - Recording management - `frigate.capture` - Camera capture processes (all cameras with this module name) - `frigate.process` - Camera processing/tracking (all cameras with this module name) - `frigate.output` - Output processing - `frigate.audio_manager` - Audio processing - `frigate.embeddings` - Embeddings processing You can also specify the full process name (including camera-specific identifiers) if you want to profile a specific camera: When you specify a module name (e.g., `frigate.capture`), all processes with that module prefix will be profiled. For example, `frigate.capture` will profile all camera capture processes.","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1148,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0978","title":"Memory Usage","heading":"How It Works","text":"1. **Binary File Creation**: When profiling is enabled, memray creates a binary file (`.bin`) in `/config/memray_reports/` that is updated continuously in real-time as the process runs. 2. **Automatic HTML Generation**: On normal process exit, Frigate automatically: - Stops memray tracking - Generates an HTML flamegraph report - Saves it to `/config/memray_reports/.html` 3. **Crash Recovery**: If a process crashes (SIGKILL, segfault, etc.), the binary file is preserved with all data up to the crash point. You can manually generate the HTML report from the binary file.","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1149,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0979","title":"Memory Usage","heading":"Automatic Reports","text":"After a process exits normally, you'll find HTML reports in `/config/memray_reports/`. Open these files in a web browser to view interactive flamegraphs showing memory usage patterns.","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1150,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0980","title":"Memory Usage","heading":"Manual Report Generation","text":"If a process crashes or you want to generate a report from an existing binary file, you can manually create the HTML report: - Run `memray` inside the Frigate container: - You can also copy the `.bin` file to the host and run `memray` locally if you have it installed:","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1151,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0981","title":"Memory Usage","heading":"Understanding the Reports","text":"Memray flamegraphs show: - **Memory allocations over time**: See where memory is being allocated in your code - **Call stacks**: Understand the full call chain leading to allocations - **Memory hotspots**: Identify functions or code paths that allocate the most memory - **Memory leaks**: Spot patterns where memory is allocated but not freed The interactive HTML reports allow you to: - Zoom into specific time ranges - Filter by function names - View detailed allocation information - Export data for further analysis","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1152,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0982","title":"Memory Usage","heading":"Best Practices","text":"1. **Profile During Issues**: Enable profiling when you're experiencing memory issues, not all the time, as it adds some overhead. 2. **Profile Specific Modules**: Instead of profiling everything, focus on the modules you suspect are causing issues. 3. **Let Processes Run**: Allow processes to run for a meaningful duration to capture representative memory usage patterns. 4. **Check Binary Files**: If HTML reports aren't generated automatically (e.g., after a crash), check for `.bin` files in `/config/memray_reports/` and generate reports manually. 5. **Compare Reports**: Generate reports at different times to compare memory usage patterns and identify trends.","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1153,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0983","title":"Memory Usage","heading":"No Reports Generated","text":"- Check that the environment variable is set correctly - Verify the module name matches exactly (case-sensitive) - Check logs for memray-related errors - Ensure `/config/memray_reports/` directory exists and is writable","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1154,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0984","title":"Memory Usage","heading":"Process Crashed Before Report Generation","text":"- Look for `.bin` files in `/config/memray_reports/` - Manually generate HTML reports using: `memray flamegraph .bin` - The binary file contains all data up to the crash point","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1155,"id":"troubleshooting/memory","section_id":"frigate/troubleshooting/memory/0985","title":"Memory Usage","heading":"Reports Show No Data","text":"- Ensure the process ran long enough to generate meaningful data - Check that memray is properly installed (included by default in Frigate) - Verify the process actually started and ran (check process logs) For more information about memray and interpreting reports, see the [official memray documentation](https://bloomberg.github.io/memray/).","url":"https://docs.frigate.video/troubleshooting/memory/","vehicles":[]},{"i":1156,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0986","title":"Recordings Errors","heading":"Why are my recordings not working? (empty Recordings, \"No recordings found for this time\")","text":"If Frigate shows live video but the History view is empty, or you see \"No recordings found for this time\", the cause is almost always in one of the three categories below. Segments are first written to the RAM cache and are only moved to disk if they match a retention policy _and_ the camera's `record` stream is producing valid, storable video. Work through the categories in order: retention configuration is by far the most common cause. Before diving in, enable debug logging for the recording maintainer so you can see whether segments are being written to disk at all: A healthy camera logs lines like `Copied /media/frigate/recordings/{segment_path} in 0.2 seconds`. If you never see these, no segments are reaching disk, which points at the camera/stream or storage sections below.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1157,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0987","title":"Recordings Errors","heading":"Retention configuration issues","text":" This is the single most common cause. Setting `record.enabled: True` on its own does **not** keep any footage: **continuous recording is disabled by default**, and segments in the cache are only moved to disk if they match a configured retention policy. You must configure at least one of `continuous`, `motion`, `alerts`, or `detections` retention. To store all video (the most conservative option), configure continuous retention: See [Recording](/configuration/record) for the full set of common configurations, including reduced-storage and alerts-only setups. If you only configured `motion`, `alerts`, or `detections` retention (with no `continuous`), Frigate keeps footage select","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1158,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0988","title":"Recordings Errors","heading":"Camera and stream issues","text":" Frigate stores recordings in an MP4 container, and some camera audio codecs (most commonly `pcm_alaw`, `pcm_mulaw`, or other G.711 variants) **cannot be placed in an MP4 container**. When this happens, ffmpeg fails to write the segment and no recording is saved, even though the live view works fine. This is a frequent cause on Tapo, TP-Link VIGI, and some Reolink cameras. Transcode the audio to AAC (or drop it entirely) using the appropriate [ffmpeg preset](/configuration/ffmpeg_presets): A message like `No new recording segments were created for in the last 120s` means ffmpeg cannot read the `record` stream. To diagnose: - Confirm a stream is actually assigned the `record` role in ","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1159,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0989","title":"Recordings Errors","heading":"Storage and mounting issues","text":" If the recordings volume (`/media/frigate`) points at the wrong location, isn't writable, or a network/encrypted mount failed to mount at boot, Frigate cannot save recordings, or it silently writes to the boot drive and then purges aggressively because the drive appears far smaller than expected. - Compare the host's real capacity (`df -h`) against what the **Storage** page in the Frigate UI reports. A mismatch (for example Frigate reporting ~220 GB when your storage drive is 4 TB) means the bind mount is resolving to the wrong filesystem. - Verify the host path in your Docker `volumes` mapping (`- /your/storage:/media/frigate`) exists and is writable by the container. - For a mount that may fail intermittently, protecting the mount point with `chattr +i` on an empty directory forces Frigate to error out (rather than silently w","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1160,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0990","title":"Recordings Errors","heading":"Recordings won't play back","text":" When a recording refuses to play in the Frigate UI and you see an error like `Failed to play recordings (error 3): PIPELINE_ERROR_DECODE`, the message is coming from **your browser**, not from Frigate. `PIPELINE_ERROR_DECODE` is emitted exclusively by the media pipeline in **Chromium-based browsers** (Chrome, Edge, Brave, Vivaldi, Opera, Arc, and the Android WebView used by many in-app browsers) when the browser cannot decode a video or audio packet in the recording. WebKit browsers (Safari) report the same underlying problem with a different message, usually `Media failed to decode` or `DECODER_ERROR_NOT_SUPPORTED`. Frigate copies the `record` stream to disk **without re-encoding it**, so the browser must decode exactly what your camera produced, and Chromium's decoder is far stricter about malformed o","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1161,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0991","title":"Recordings Errors","heading":"Step 1: Confirm it is a browser issue","text":"Open the same recording in **Firefox** or **Safari**. Firefox and Safari both use a different media engine and cannot produce `PIPELINE_ERROR_DECODE`, so if playback works there you have confirmed a client-side codec or decoder problem rather than a bad recording. Switching browsers is a workaround, not a fix; the remaining steps address the root cause so that Chromium browsers work too.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1162,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0992","title":"Recordings Errors","heading":"Step 2: Rule out H.265 / HEVC","text":"Browser support for H.265 (HEVC) is limited and depends on the operating system, GPU, hardware acceleration, and browser version, which makes it the most common cause of this error. Options, in order of reliability: - **Record H.264 instead.** Configure the camera's `record`/main stream to output H.264, the most compatible codec across all browsers. See [camera settings recommendations](/configuration/live#camera-settings-recommendations). - **Transcode to H.264 with go2rtc.** If you must keep HEVC on the camera, have go2rtc re-encode the recording stream. This increases CPU usage; add `#hardware` to use the GPU where available: The `#video=h264` parameter only takes effect with the `ffmpeg:` source module; adding it to a plain `rtsp://` go2rtc source does nothing. - **Keep HEVC but improve compatibility.** If your browser and OS do support HEVC, set [`apple_compatibility`](/configuration/camera_specific#h265-cameras-via-safari) on the ","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1163,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0993","title":"Recordings Errors","heading":"Step 3: Clean up damaged packets from the camera","text":"If the error is **intermittent** (the same recording plays after a page refresh, or fails only after playing for a while), the camera is most likely emitting occasional corrupt or malformed packets. Some camera models are more prone to this than others. Routing the stream through go2rtc's `ffmpeg` module often \"cleans up\" the stream enough for the browser to decode it, even without changing the codec:","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1164,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0994","title":"Recordings Errors","heading":"Step 4: Fix incompatible or corrupt audio","text":"Audio is one of the most common culprits, and a decode failure on the audio track fails the whole recording. Make sure the camera outputs **AAC** audio, transcode the audio to AAC with go2rtc (`#audio=aac`), or drop audio entirely. See [Incompatible audio codec](#incompatible-audio-codec-recordings-silently-fail-to-save) for a preset-based way to do this.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1165,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0995","title":"Recordings Errors","heading":"Step 5: Avoid \"smart\" / \"+\" codecs and check the keyframe interval","text":"- Disable any **\"Smart Codec\"**, **\"H.264+\"**, or **\"H.265+\"** feature in the camera. These nonstandard modes drop keyframes and change encoding parameters mid-stream, producing exactly the kind of packets a browser refuses to decode. (They also cause [short recording segments](#segments-are-only-1-second-long).) - Set the camera's **I-frame (keyframe) interval equal to the frame rate** (for example `20` for a 20 fps stream). Long keyframe intervals slow the start of playback and make decode errors more likely.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1166,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0996","title":"Recordings Errors","heading":"Step 6: Consider bitrate and the client hardware","text":"The browser decodes the video locally, so a stream that is too demanding can fail on one device while playing on another: - A **very high bitrate or resolution** (for example a 4K/8MP HEVC main stream) can overwhelm a low-power tablet, phone, or SBC and stall the decoder. Test the same recording on a desktop; if it plays there, lower the camera's bitrate or record a lower-resolution profile. - Errors that name the client's GPU decoder, such as `VaapiVideoDecoder: failed Initialize()ing the frame pool`, indicate a browser hardware-decode problem. Toggling the browser's \"Use hardware acceleration\" setting (on or off) often resolves these. Frigate copies the `record` stream directly without re-encoding, so playback depends on your browser supporting the camera's codec. H265/HEVC recordings ma","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1167,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0997","title":"Recordings Errors","heading":"Recording cache warnings and errors","text":" If the record stream uses a \"Smart Codec\"/H.264+ mode or changes encoding parameters mid-stream, corrupt timestamps cause segments to be split far too frequently and fill the cache. This produces the \"Too many unprocessed recording segments\" warning. See [that question below](#i-see-the-message-warning--too-many-unprocessed-recording-segments-in-cache-for-camera-this-likely-indicates-an-issue-with-the-detect-stream) for the full diagnosis. Every recording segment is validated before it leaves the cache. Frigate probes each finished `.mp4` in `/tmp/cache` and requires a readable video stream and a valid duration before moving to storage. A segment that fails is deleted, so those ~10 ","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1168,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0998","title":"Recordings Errors","heading":"Start with the camera and the network","text":"- **The camera dropped the connection.** Cameras reboot, reinitialize their stream when switching to night mode, and cut clients off when they are overloaded or out of simultaneous connections. Count everything pulling from the camera at once: Frigate's detect and record streams, go2rtc, a phone app, and any other NVR each use one. Routing all roles through a single [RTSP restream](/configuration/restream#reduce-connections-to-camera) so the camera only ever sees one connection often resolves this by itself. - **The link to the camera is unreliable.** WiFi cameras, powerline adapters, a saturated uplink, a failing switch port, or a marginal cable all produce this pattern, and usually only on one camera at a time. WiFi cameras are [not recommended](https://ipcamtalk.com/threads/multiple-cameras-high-bandwidth.77100/#post-861110). - **The camera cannot reliably send what it is being asked for.** A high bitrate 4K stream can be more than t","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1169,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/0999","title":"Recordings Errors","heading":"If the camera and network check out","text":"- **Audio the recording cannot store.** Some cameras send G.711 audio, which cannot be saved in an MP4 and stops segments from finalizing. See [Incompatible audio codec](#incompatible-audio-codec-recordings-silently-fail-to-save). - **Frigate itself was stopped or restarted.** A single warning per camera around a restart is expected and needs no action. - **The system ran out of room or memory.** A full `/tmp/cache`, or the host killing Frigate for using too much memory, cuts off the segment being written. Both leave other errors in the log alongside this one. See [No space left on device](#errno-28-no-space-left-on-device). in the last 120s. Restarting the ffmpeg record process...\"> When a camera stops producing usable recordings for two minutes, Frigate restarts that camera's record p","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1170,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1000","title":"Recordings Errors","heading":"Step 1: Enable recording debug logging","text":"The first step is to measure how long each segment takes to move from the RAM cache to disk. Enable debug logging for the recording maintainer: This adds log lines showing the copy duration for each segment: Let this run until the warnings begin to appear, so you can confirm whether the disk is actually slowing down at the moment the error occurs.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1171,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1001","title":"Recordings Errors","heading":"Step 2: Interpret the copy times","text":"The copy duration tells you which direction to investigate: - **Consistently longer than ~1 second**: your storage cannot keep up with the incoming recordings. Continue with Steps 3\u20135 to diagnose the slow storage. - **Consistently well under 1 second**: storage is fast enough, and the problem is more likely CPU or resource contention. Skip to Step 6.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1172,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1002","title":"Recordings Errors","heading":"Step 3: Check RAM, swap, cache, and disk utilization","text":"If CPU, RAM, disk throughput, or bus I/O is insufficient, nothing inside Frigate will help. Review each aspect of available system resources while the warnings are occurring. On Linux, some helpful tools/commands for diagnosing this are: - `docker stats` - `htop` - `iotop -o` - `iostat -sxy --human 1 1` - `vmstat 1` On modern Linux kernels, the system will use some swap if it is enabled. Setting `vm.swappiness=1` no longer means the kernel will only swap in order to avoid OOM. To prevent any swapping inside the container, set the memory and memory+swap allocations to the same value and disable swapping by setting the following docker/podman run parameters: **Docker Compose example** **Run command example** NOTE: These are hard limits for the container, so be sure there is enough headroom above what `docker stats` shows for your container. It will immediately halt if it hits ``. In general, keeping all cache and tmp filespace in ","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1173,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1003","title":"Recordings Errors","heading":"Step 4: Check your storage type","text":"Mounting a network share is a popular option for storing recordings, but it can lead to reduced copy times and cause problems. Some users have found that using `NFS` instead of `SMB` considerably decreased copy times and fixed the issue. It is also important to ensure that the network connection between the device running Frigate and the network share is stable and fast. A saturated or unreliable link will stall copies.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1174,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1004","title":"Recordings Errors","heading":"Step 5: Check your mount options","text":"Some users found that mounting a drive via `fstab` with the `sync` option dramatically reduced performance and led to this issue. Using `async` instead greatly reduced copy times.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1175,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1005","title":"Recordings Errors","heading":"Step 6: Rule out CPU load","text":"If the copy times are consistently under 1 second but you still see the warning, the machine's CPU load is likely too high for Frigate to have the resources to keep up. Try temporarily shutting down other services, and any resource-intensive Frigate features, to see if the issue improves. This warning means that the detect stream for the affected camera has fallen behind or stopped processing frames. Frigate's recording cache holds segments waiting to be analyzed by the detector. When more than 6 segments pile up without being processed, Frigate discards the oldest ones to prevent the cache from filling up. :::warning","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1176,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1006","title":"Recordings Errors","heading":"Step 1: Get the full logs","text":"Collect complete Frigate logs from startup through the first occurrence of the error. Look for errors or warnings that appear **before** the \"Too many unprocessed\" messages begin. That is where the root cause will be found.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1177,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1007","title":"Recordings Errors","heading":"Step 2: Check the cache directory","text":"Exec into the Frigate container and inspect the recording cache: Each camera should have a small number of `.mp4` segment files. If one camera has significantly more files than others, that camera is the source of the problem. A problem with a single camera can cascade and cause all cameras to show this error.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1178,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1008","title":"Recordings Errors","heading":"Step 3: Verify segment duration","text":"Recording segments should be approximately 10 seconds long. Run `ffprobe` on segments in the cache to check: If segments are only ~1 second instead of ~10 seconds, the camera is sending corrupt timestamp data, causing segments to be split too frequently and filling the cache 10x faster than expected. **Common causes of short segments:** - **\"Smart Codec\" or \"Smart+\" enabled on the camera**: These features dynamically change encoding parameters mid-stream, which corrupts timestamps. Disable them in your camera's settings. - **Changing codec, bitrate, or resolution mid-stream**: Any encoding changes during an active stream can cause unpredictable segment splitting. - **Camera firmware bugs**: Check for firmware updates from your camera manufacturer. :::tip You don't have to run `ffprobe` by hand to catch this. Open a camera's **Camera Probe Info** dialog (the info icon on the Health and Metrics \u2192 Cameras page) and check the **Keyframe ana","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1179,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1009","title":"Recordings Errors","heading":"Step 4: Check for a stuck detector","text":"If the detect stream is not processing frames, segments will accumulate. Common causes: - **Detection resolution too high**: Use a substream for detection, not the full resolution main stream. - **Detection FPS too high**: 5 fps is the recommended maximum for detection. - **Model too large**: Use smaller model variants (e.g., YOLO `s` or `t` size, not `e` or `x`). Use 320x320 input size rather than 640x640 unless you have a powerful dedicated detector. - **Virtualization**: Running Frigate in a VM (especially Proxmox) can cause the detector to hang or stall. This is a known issue with GPU/TPU passthrough in virtualized environments and is not something Frigate can fix. Running Frigate in Docker on bare metal is recommended.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1180,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1010","title":"Recordings Errors","heading":"Step 5: Check for GPU hangs","text":"On the host machine, check `dmesg` for GPU-related errors: Messages like `trying reset from guc_exec_queue_timedout_job` or similar GPU reset/hang messages indicate a driver or hardware issue. Ensure your kernel and GPU drivers (especially Intel) are up to date.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1181,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1011","title":"Recordings Errors","heading":"Step 6: Verify go2rtc stream configuration","text":"Ensure that the ffmpeg source names in your go2rtc configuration match the correct camera stream. A misconfigured stream name (e.g., copying a config from one camera to another without updating the stream reference) will cause the wrong stream to be used or the stream to fail entirely.","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1182,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1012","title":"Recordings Errors","heading":"Step 7: Check system resources","text":"If none of the above apply, the issue may be a general resource constraint. Monitor the following on your host: - **CPU usage**: An overloaded CPU can prevent the detector from keeping up. - **RAM and swap**: Excessive swapping dramatically slows all I/O operations. - **Disk I/O**: Use `iotop` or `iostat` to check for saturation. - **Storage space**: Verify you have free space on the Frigate storage volume (check the Storage page in the Frigate UI). Try temporarily disabling resource-intensive features like `genai` and `face_recognition` to see if the issue resolves. This can help isolate whether the detector is being starved of resources. This message means the recording maintainer hit an error while moving segments from the cache t","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1183,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1013","title":"Recordings Errors","heading":"[Errno 28] No space left on device","text":"The filesystem Frigate is writing to is full. Things to check: - **The recordings volume is genuinely full.** Check free space on the host with `df -h` for the path mapped to `/media/frigate`, and review the **Storage** page in the Frigate UI. - **The disk shows free space but is still \"full\".** This usually means the filesystem has run out of **inodes** (check with `df -i`), or recordings are landing on a different, smaller filesystem than you expect because of an incorrect bind mount. See [The storage volume isn't mounted correctly](#the-storage-volume-isnt-mounted-correctly) above. - **`/tmp/cache` is full.** If you mounted `/tmp/cache` as a small `tmpfs`, a backlog of segments can fill it. Increase the tmpfs size, or address whatever is causing segments to pile up (see the [Too many unprocessed recording segments](#i-see-the-message-warning--too-many-unprocessed-recording-segments-in-cache-for-camera-this-likely-indicates-an-issue-w","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1184,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1014","title":"Recordings Errors","heading":"[Errno 17] File exists (with ffmpeg \"Error writing trailer\" or \"unable to re-open output file\")","text":"Errors like `[Errno 17] File exists: '/media/frigate/recordings/.../'`, often alongside ffmpeg errors such as `Unable to re-open ... output file for shifting data` or `Error writing trailer: No such file or directory`, are a hallmark of an **unreliable network share** (NFS or SMB). The mount is dropping, serving stale directory entries, or mishandling file locking. - Confirm the network connection to the NAS is stable and fast. An intermittent link produces these errors sporadically. - Prefer **NFS over SMB** for the recordings mount; several users have found NFS more reliable and faster. - Review your `fstab`/mount options for settings that hurt consistency or performance (see the `sync` vs `async` note in the [Unable to keep up with recording segments](#i-see-the-message-warning--unable-to-keep-up-with-recording-segments-in-cache-for-camera-keeping-the-5-most-recent-segments-out-of-6-and-discarding-the-rest) question above). -","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1185,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1015","title":"Recordings Errors","heading":"Errors referencing a camera you manually renamed or removed","text":"If the next-line error references a camera name that no longer exists in your config, orphaned data is left over from a rename or removal in a persistent `/tmp/cache` volume. - Using a `tmpfs` mount for `/tmp/cache` as recommended in the [installation docs](/frigate/installation#storage) prevents stale cache files under the old camera name from surviving a restart, which avoids this issue entirely. - If errors persist, stop Frigate and remove any leftover segments for the old camera name from `/tmp/cache`. ","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1186,"id":"troubleshooting/recordings","section_id":"frigate/troubleshooting/recordings/1016","title":"Recordings Errors","heading":"Other recording questions","text":" You'll want to: - Make sure your camera's timestamp is masked out with a motion mask. Even if there is no motion occurring in your scene, your motion settings may be sensitive enough to count your timestamp as motion. - If you have audio detection enabled, keep in mind that audio that is heard above `min_volume` is considered motion. - [Tune your motion detection settings](/configuration/motion_detection) either by editing your config file or by using the UI's Motion Tuner. The scrub","url":"https://docs.frigate.video/troubleshooting/recordings/","vehicles":[]},{"i":1187,"id":"usage/explore","section_id":"frigate/usage/explore/1017","title":"Explore","heading":"Overview","text":"import NavPath from \"@site/src/components/NavPath\"; **Explore** is where you browse and search every **tracked object** Frigate has saved. By default it groups recent objects by label; when [Semantic Search](/configuration/semantic_search) is enabled, you can also search by natural-language description or visual similarity. Selecting any object opens a detail pane with its snapshot, lifecycle, and metadata. This page describes how to _use_ the Explore view. For how the underlying features are _configured_, see [Semantic Search](/configuration/semantic_search) and [Generative AI descriptions](/configuration/genai/genai_objects). :::tip If you just want to quickly see what happened on your cameras, it's recommended to use [Review](/usage/review) rather than Explore. Review groups overlapping and adjacent activity on a camera into **review items** and sorts them into Alerts, Detections, and Motion, so you can scan and play back footage in ","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1188,"id":"usage/explore","section_id":"frigate/usage/explore/1018","title":"Explore","heading":"Browsing tracked objects","text":"The default view shows your most recent tracked objects grouped into rows by label (_Person_, _Car_, _Dog_, and so on), each row labeled with the object type and a count. The arrow at the end of a row opens the full, filterable grid for that label. Clicking a thumbnail opens its [detail dialog](#tracked-object-details); right-clicking or long-pressing a thumbnail opens an [actions menu](#actions-and-bulk-selection). You can switch to a denser grid layout and adjust the number of columns from the view's settings.","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1189,"id":"usage/explore","section_id":"frigate/usage/explore/1019","title":"Explore","heading":"Searching","text":"When [Semantic Search](/configuration/semantic_search) is enabled, a search bar appears that combines two things in one input: - **Natural-language search**: type a free-text query and press Enter to run a semantic search over your tracked objects. - **Filter tokens**: type a `key:` to get suggestions, then a value, to add a structured filter. Each filter becomes a removable chip, and you can chain several together. You can save a search with the star icon and reload it later, and clear everything with the clear-search icon. A help popover explains the token syntax, for example:","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1190,"id":"usage/explore","section_id":"frigate/usage/explore/1020","title":"Explore","heading":"Filter reference","text":"The most common filter tokens are: | Filter | Description | | ---------------------------- | ---------------------------------------------------------------------------------- | | **Cameras** | Limit to one or more cameras. | | **Labels** | Object labels (person, car, etc.). | | **Sub Labels** | Recognized sub labels (e.g. a recognized face or name). | | **Attributes** | Classification attributes applied to the object. | | **Recognized License Plate** | Match a recognized plate. | | **Zones** | Objects that entered specific zones. | | **Before / After** | Restrict to a date range. | | **Time Range** | Restrict to a time of day (`HH:MM-HH:MM`). | | **Min / Max Score** | Restrict by the object's confidence score. | | **Min / Max Speed** | Restrict by estimated speed (when speed estimation is configured). | | **Has Snapshot / Has Clip** | Only objects that saved a snapshot or recording. | | **Submitted to Frigate+** | Only objects already ","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1191,"id":"usage/explore","section_id":"frigate/usage/explore/1021","title":"Explore","heading":"Sorting","text":"When a filter or search is active, a **Sort** control lets you order results by **date**, **object score**, or **estimated speed** (ascending or descending). When a semantic query or similarity search is active, results can also be ordered by **relevance**.","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1192,"id":"usage/explore","section_id":"frigate/usage/explore/1022","title":"Explore","heading":"Thumbnail and description search","text":"- The **Search Type** setting controls whether a text query is matched against each object's **thumbnail** or its **description**. Each result indicates which one it matched and the confidence. Natural-language search, thumbnail search, and description search all require [Semantic Search](/configuration/semantic_search) to be enabled.","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1193,"id":"usage/explore","section_id":"frigate/usage/explore/1023","title":"Explore","heading":"Tracked Object Details","text":"Selecting an object opens the **Tracked Object Details** dialog. Use the arrows (or the left/right keys) to step to the previous or next object. The dialog has two tabs: - **Snapshot** or **Thumbnail**: the saved snapshot (or thumbnail). - **Tracking Details**: the object's lifecycle, available when the object has a recording. It lists each significant moment (detected, entered a zone, became active or stationary, left, and so on); clicking a moment plays that part of the recording with the bounding box overlaid. A settings popover lets you show all zones and adjust the annotation offset. The details pane shows the object's **label**, **scores**, **camera**, **timestamp**, estimated **speed**, any **recognized license plate** and **classification attributes**, and its **description**. Admins can edit the sub label, license plate, and attributes inline. The **description** can be edited by hand, and, when [Generative AI descriptions](/co","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1194,"id":"usage/explore","section_id":"frigate/usage/explore/1024","title":"Explore","heading":"Actions and bulk selection","text":"Right-clicking or long-pressing an object (in the grid or its thumbnail) opens an actions menu with options to **download** the video, snapshot, or a clean snapshot; **view tracking details**; **find similar**; **add a trigger**; **view in History**; and **delete the tracked object**. :::note Deleting a tracked object removes its snapshot, embeddings, and tracking-details entries, but the recorded footage of that object in [History](/usage/history) is **not** deleted. ::: To act on many objects at once, Ctrl/Cmd-click or right-click to start a selection (selected tiles gain a blue ring), then use the toolbar to select all, clear the selection, or delete (admins).","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1195,"id":"usage/explore","section_id":"frigate/usage/explore/1025","title":"Explore","heading":"Semantic Search - Usage and best practices {#usage-and-best-practices}","text":"1. Semantic Search is used in conjunction with the other filters available on the Explore page. Use a combination of traditional filtering and Semantic Search for the best results. 2. Use the thumbnail search type when searching for particular objects in the scene. Use the description search type when attempting to discern the intent of your object. 3. Because of how the AI models Frigate uses have been trained, the comparison between text and image embedding distances generally means that with multi-modal (`thumbnail` and `description`) searches, results matching `description` will appear first, even if a `thumbnail` embedding may be a better match. Play with the \"Search Type\" setting to help find what you are looking for. Note that if you are generating descriptions for specific objects or zones only, this may cause search results to prioritize the objects with descriptions even if the ones without them are more relevant. 4. Make your","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1196,"id":"usage/explore","section_id":"frigate/usage/explore/1026","title":"Explore","heading":"Triggers","text":"From an object's actions menu, **Add trigger** sets up a per-camera trigger that uses Semantic Search to automate an action (a notification, sub label, or attribute) whenever a similar object appears. Triggers require Semantic Search and are managed under Enrichments > Triggers\" />. See [Triggers](/configuration/semantic_search#triggers) for full configuration and best practices.","url":"https://docs.frigate.video/usage/explore/","vehicles":[]},{"i":1197,"id":"usage/exports","section_id":"frigate/usage/exports/1027","title":"Exports","heading":"Overview","text":"**Exports** are how you keep a specific piece of footage permanently. Frigate's recordings are governed by your [retention settings](/configuration/record): once footage ages past its retention window (or, depending on your configuration, once it is only kept where motion, alerts, or detections occurred), it is deleted to free up disk space. An **export** saves a copy of a chosen time range to a separate location that is **never removed by retention**, so it stays available until you delete it yourself. This is the answer to the common question _\"how do I stop Frigate from deleting an important clip?\"_ Instead of increasing retention for an entire camera (which uses far more storage to protect a single moment), export just the footage you want to keep. :::tip Exports are stored under `/media/frigate/exports`, separate from your recordings, and are not counted against or removed by recording retention. They remain on disk until you delet","url":"https://docs.frigate.video/usage/exports/","vehicles":[]},{"i":1198,"id":"usage/exports","section_id":"frigate/usage/exports/1028","title":"Exports","heading":"Creating an export","text":"There are a few ways to create an export: - **From Review**: select (right click or long-press) an individual review item directly, and choose Export from the header menu. You can also select multiple review items and export them all at once, optionally grouping them into a [case](#cases). - **From History**: open the **Actions** menu and choose **Export**. You can export a preset duration (the last 1, 4, 8, 12, or 24 hours), enter a custom start and end time, or select a range directly on the timeline. A **multi-camera** option lets you export the same time range across several cameras at once. In every case you can give the export a name. Frigate then saves the footage from your recordings as a single video file. Larger ranges take time to process; the export is marked _in progress_ until it finishes, and you can keep using Frigate while it runs.","url":"https://docs.frigate.video/usage/exports/","vehicles":[]},{"i":1199,"id":"usage/exports","section_id":"frigate/usage/exports/1029","title":"Exports","heading":"Managing exports","text":"All of your exports live on the **Exports** page, reachable from the main navigation, where you can search for one by name. Each export offers the following actions: - **Play** it in the browser, - **Download** it to save the footage outside of Frigate, - **Share** it: copies a direct link to the export (or uses your device's share sheet), - **Rename** it, and - **Delete** it: deleting is the only way an export is removed. You can also select multiple exports at once to **delete** them in bulk, or to **add them to** (or **remove them from**) a [case](#cases). To download multiple exports as a zip archive, add them to a **case** and use the Download button there.","url":"https://docs.frigate.video/usage/exports/","vehicles":[]},{"i":1200,"id":"usage/exports","section_id":"frigate/usage/exports/1030","title":"Exports","heading":"Cases","text":"A **case** groups related exports together: for example, all the clips from a single incident across multiple cameras. On the **Exports** page you can create a case with a name and description, add existing exports to it (or create a new case while exporting), and **download the entire case as a single archive** to hand off as one package. Exports that don't belong to a case appear under **Uncategorized Exports**. Deleting a case lets you either keep its exports (they move back to uncategorized) or delete them along with the case.","url":"https://docs.frigate.video/usage/exports/","vehicles":[]},{"i":1201,"id":"usage/history","section_id":"frigate/usage/history/1031","title":"History","heading":"Overview","text":"import NavPath from \"@site/src/components/NavPath\"; **History** is Frigate's full-resolution recording viewer. Unlike Live, Review, and Explore, there is no menu item for it. You reach it from within another view, then scrub the timeline, switch cameras, inspect a tracked object's lifecycle, and export or share any moment. This page describes how to _use_ the History view. For how recordings are _configured_ (retention, pre/post capture), see [Recording](/configuration/record).","url":"https://docs.frigate.video/usage/history/","vehicles":[]},{"i":1202,"id":"usage/history","section_id":"frigate/usage/history/1032","title":"History","heading":"Opening History","text":"You can open History from several places: - **From [Review](/usage/review):** clicking a review item opens its recording, scrubbed to just before the activity on that camera. - **From [Live](/usage/live):** the **History** button in a camera's single-camera view opens that camera about 30 seconds in the past. - **From a share link:** opening a shared timestamp link (see [Share Timestamp](#the-actions-menu) below) jumps straight to that camera and moment. Use the **Back** button to return where you came from, or the **Live** button to jump to the current camera's live view. :::tip If you see **\"No recordings found for this time\"**, the most common causes are: recording was not enabled for that camera at the time of the event; the retention window has since expired and those segments were removed; or storage ran low and Frigate deleted them early to free space. See [Recording](/configuration/record) to verify your retention settings. :::","url":"https://docs.frigate.video/usage/history/","vehicles":[]},{"i":1203,"id":"usage/history","section_id":"frigate/usage/history/1033","title":"History","heading":"Timeline, Events, and Detail","text":"A toggle (a drawer on mobile) switches the side panel between three modes: - **Timeline**: a scrubbable vertical timeline of the selected camera. Horizontal lines down the center represent motion, with longer lines indicating more motion at that moment. Review items are marked as shaded areas (**red** for alerts, **orange** for detections), and sections with no colored background are times when no recording exists. - **Events**: a scrollable list of the camera's review items for the time range; clicking one seeks the player to it. - **Detail**: the [tracking details inspector](#the-detail-view) for the objects in view. While you are selecting a range to export, the panel temporarily switches to Timeline.","url":"https://docs.frigate.video/usage/history/","vehicles":[]},{"i":1204,"id":"usage/history","section_id":"frigate/usage/history/1034","title":"History","heading":"Scrubbing and previews","text":"Drag the timeline handlebar to move through time; the main player and any secondary camera previews scrub together so everything stays in sync. Press the zoom buttons on the timeline to change its zoom level (from coarse to fine segments). Sections of the timeline with no recordings are shown as gaps. On desktop, when more than one camera is available, a **row of secondary previews** shows the other cameras at the same moment. Clicking one of them makes it the main camera at the current timestamp, so you can follow activity across cameras without losing your place. On mobile, use the camera drawer to switch cameras.","url":"https://docs.frigate.video/usage/history/","vehicles":[]},{"i":1205,"id":"usage/history","section_id":"frigate/usage/history/1035","title":"History","heading":"Filtering and the calendar","text":"You can filter History by **cameras** and **date**. The calendar behaves the same as it does in [Review](/usage/review#filtering-and-the-calendar): an **underline** under a day means recordings exist for that day, and a **colored dot** (red for unreviewed alerts, orange for unreviewed detections) marks days with unreviewed activity.","url":"https://docs.frigate.video/usage/history/","vehicles":[]},{"i":1206,"id":"usage/history","section_id":"frigate/usage/history/1036","title":"History","heading":"The Detail view","text":"The **Detail** mode turns the side panel into a tracking details inspector. It lists one card per review item, each showing the item's severity, start time, the object labels involved, a count of tracked objects, and the duration. The active card is highlighted as the video plays, and clicking a card seeks to it. Expanding a card reveals the **lifecycle** of each tracked object: a row for each significant moment (detected, entered a zone, became active, became stationary, left, and so on), with a progress line that follows the current playback position. Hovering a row shows that moment's score, ratio, and area, and clicking a row seeks the video to that exact timestamp. The **Detail View Settings** at the bottom let you toggle whether the active item's objects expand automatically, and adjust the **annotation offset**: a fine timing correction that aligns the bounding-box overlays with the recorded video when your camera's snapshot and ","url":"https://docs.frigate.video/usage/history/","vehicles":[]},{"i":1207,"id":"usage/history","section_id":"frigate/usage/history/1037","title":"History","heading":"The Actions menu","text":"On desktop, the **Actions** menu (the film icon) collects the things you can do with the footage you are viewing: - **Export**: save a clip of a chosen time range so it is never removed by retention. The dialog pre-selects the last hour; adjust the range or drag the timeline handles, then export. See [Exports](/usage/exports) for managing and downloading exports. - **Share Timestamp**: generate a link to the current moment (or a custom timestamp) to share with another Frigate user. This is an internal link, not a public share URL. - **Motion Search**: scan this camera's recordings for changes in a region you draw. This is the same tool documented under [Reviewing Motion](/usage/review#motion-search). - **Debug Replay** (admins): replay a recorded range back through Frigate's detection pipeline to see how it would be processed. You can also capture an instant snapshot of the current frame, and submit a frame to [Frigate+](/integrations/p","url":"https://docs.frigate.video/usage/history/","vehicles":[]},{"i":1208,"id":"usage/history","section_id":"frigate/usage/history/1038","title":"History","heading":"AI review summaries","text":"When [Generative AI review](/configuration/genai/genai_review) is configured, Frigate can generate a title, description, and threat classification for review items and surface them as you scrub through History. A review item that has an AI summary exposes its details in a few places: - **Over the video**: when the item is on screen, a popup appears over the player. - **In the Events side panel**: items with a summary show the title below the thumbnail. - **In the Detail side panel**: the item's card shows the title alongside its tracking details. Clicking any of these opens the **AI Analysis** dialog with the generated detail and any flagged concerns for that item.","url":"https://docs.frigate.video/usage/history/","vehicles":[]},{"i":1209,"id":"usage/live","section_id":"frigate/usage/live/1039","title":"Live View","heading":"Overview","text":"import NavPath from \"@site/src/components/NavPath\"; **Live view** is Frigate's real-time dashboard and the page you land on by default. It shows all of your cameras at a glance, streams your most recent alerts across the top, and lets you open any camera in a full-resolution single-camera view with audio, two-way talk, PTZ, and on-demand recording controls. This page describes how to _use_ the Live view. For how to _configure_ live streaming (go2rtc, stream selection, smart streaming, WebRTC, and audio), see the [Live View configuration](/configuration/live) docs.","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1210,"id":"usage/live","section_id":"frigate/usage/live/1040","title":"Live View","heading":"The dashboard at a glance","text":"The default **All Cameras** dashboard shows every camera, with a filmstrip of recent **alerts** scrolling across the top. Clicking an alert opens it in [Review](/usage/review); each card also has a check button to mark it reviewed without leaving the dashboard. Only **alerts** appear in the filmstrip. To suppress a label or zone from showing there, configure it as a detection instead (see [Alerts and Detections](/configuration/review#alerts-and-detections)). By default Frigate uses **smart streaming**: a camera's image updates roughly once per minute while nothing is happening, and switches to a full live stream the moment activity is detected. This conserves bandwidth and resources. You can change this for each camera when using a camera group (see [Streaming settings](#streaming-settings-and-the-right-click-menu) below), and the behavior is explained in detail under [Live view technologies](/configuration/live#live-view-technologies).","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1211,"id":"usage/live","section_id":"frigate/usage/live/1041","title":"Live View","heading":"Switching dashboards and camera groups","text":"The icon rail (top-left on desktop, a horizontal strip on mobile) switches between dashboards: - The **home** icon is the **All Cameras** dashboard, which shows every camera enabled for the dashboard. - Each **camera group** you create appears as its own icon. Selecting a group shows only that group's cameras. Camera groups are useful for organizing cameras by location (for example, _Front of House_ or _Backyard_) and for giving each group its own dashboard layout and camera streaming preferences. You can also view [Birdseye](/configuration/birdseye) on the dashboard, or open it directly at `http://:5000/#birdseye`. Clicking a camera inside the Birdseye view jumps to that camera's live feed.","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1212,"id":"usage/live","section_id":"frigate/usage/live/1042","title":"Live View","heading":"Creating and editing camera groups","text":"Admins can manage groups from the pencil icon next to the group rail, which opens the **Camera Groups** dialog. From there you can add a group, or edit and delete existing ones. When creating a group you choose: - a **Name** (spaces are converted to underscores), - the **cameras** to include (each camera has a toggle and a gear that opens its [streaming settings](#streaming-settings-and-the-right-click-menu)), and - an **icon** used for the group's button in the rail. Deleting a group also clears any custom layout you saved for it.","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1213,"id":"usage/live","section_id":"frigate/usage/live/1043","title":"Live View","heading":"Rearranging a camera group layout","text":"On desktop and tablet, each camera group has its own freely-arrangeable grid. Enter **Edit Layout** mode from the layout button in the lower-right corner: camera tiles gain a drag handle and corner resize handles. Drag a tile to reposition it and drag a corner to resize it (the aspect ratio is preserved). Exit edit mode to save. The layout is stored in your browser per device, so each device can have its own arrangement, and layouts can be exported to a file and imported on another device. The default **All Cameras** dashboard is not manually arrangeable. It automatically sizes tiles based on each camera's aspect ratio (wide cameras span two columns, tall cameras span two rows).","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1214,"id":"usage/live","section_id":"frigate/usage/live/1044","title":"Live View","heading":"Reading the tile indicators","text":"Each camera tile surfaces its current state with a few overlays: - A **pulsing red dot** in the corner means **motion is currently detected** on that camera. - A **red outline** around the tile means an **active tracked object** is on that camera. - A small **label chip** lists the object types currently detected (for example, _Person_, _Car_). - A **camera-name label** appears when you have enabled always-on camera names, or when a camera is offline or disabled. - A **Stream Offline** or **Camera is off** placeholder appears when no frames are being received or the camera has been turned off. You can optionally overlay live streaming statistics (stream type, bandwidth, latency, and frame counts) on a tile to diagnose playback issues.","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1215,"id":"usage/live","section_id":"frigate/usage/live/1045","title":"Live View","heading":"Streaming settings and the right-click menu","text":"Right-clicking (or long-pressing) a camera tile opens a context menu with quick controls: an **audio volume** control for streams that support audio, **Mute / Unmute all cameras**, **show or hide streaming statistics**, the **debug view**, **notification** options, and, for admins, turning the camera on or off. If the audio control doesn't appear, see [Audio Support](/configuration/live#audio-support). Audio requires go2rtc configured with a compatible codec. A **Low-bandwidth mode** notice may also appear in the context menu with a **Reset** option when Frigate has fallen back to the lower-quality jsmpeg stream. See the [Live view FAQ](/configuration/live#live-view-faq) for why this happens. For non-default groups, the context menu also exposes **Streaming Settings** for that camera, which let you choose: - the **stream** to display (the dropdown lists the streams you configured under [`live -> streams`](/configuration/live#setting-str","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1216,"id":"usage/live","section_id":"frigate/usage/live/1046","title":"Live View","heading":"The single-camera view","text":"Clicking a camera tile opens its full-resolution single-camera view. The top bar provides: - **Back** (also the `Esc` key) to return to the dashboard, - **History** to jump to the [recordings](/usage/history) for this camera, starting about 30 seconds in the past, - **Fullscreen** and **Picture-in-Picture** (if supported by your browser), - **Two-way talk** (the microphone button, which requires a supported camera and WebRTC; keyboard shortcut `t`), and - **Camera audio muting** (the speaker button; keyboard shortcut `m`). You can pinch or scroll to zoom into the feed. A **settings** gear provides a **stream** selector (with audio and two-way-talk availability indicators), **Play in background**, **Show stats**, and a **Debug view** that overlays Frigate's detection regions and bounding boxes. :::tip Two-way talk and camera audio have specific codec and port requirements. See [Audio Support](/configuration/live#audio-support) and [WebRT","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1217,"id":"usage/live","section_id":"frigate/usage/live/1047","title":"Live View","heading":"Camera controls","text":"Admins get a row of toggles in the single-camera view (a settings drawer on mobile) to turn camera features on and off in real time: - **Camera** on/off, - **Object detection**, - **Recording** (only available when recording is enabled in the camera's config), - **Snapshots**, - **Audio detection**, - **Live audio transcription** (when audio detection is enabled), and - **Autotracking** (for [autotracking-capable PTZ cameras](/configuration/autotracking)). These toggles change runtime behavior immediately. Whether a change persists across a restart depends on the feature. See the relevant configuration page.","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1218,"id":"usage/live","section_id":"frigate/usage/live/1048","title":"Live View","heading":"On-demand recording and snapshots","text":"The single-camera view can capture footage on demand: - **Start on-demand recording** begins a manual recording based on the camera's recording retention settings (the button pulses while active). If recording is disabled for the camera, only a snapshot is saved. Use **End on-demand recording** to stop. - **Download instant snapshot** saves a still image of the current frame. See [Recording](/configuration/record) and [Snapshots](/configuration/snapshots) for how retention is configured, and [Exports](/usage/exports) for keeping a clip permanently.","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1219,"id":"usage/live","section_id":"frigate/usage/live/1049","title":"Live View","heading":"PTZ controls","text":"For ONVIF cameras that support it, a control panel provides pan/tilt arrows, **zoom**, **focus**, and saved **presets**. You can also enable a **click-to-move / drag-to-zoom** overlay: click a point in the frame to center the camera there, or drag a box to pan and zoom to that area (dragging top-left to bottom-right zooms in, the reverse zooms out). For continuous, automatic tracking of a moving object, see [Autotracking](/configuration/autotracking).","url":"https://docs.frigate.video/usage/live/","vehicles":[]},{"i":1220,"id":"usage/review","section_id":"frigate/usage/review/1050","title":"Review","heading":"Overview","text":"import NavPath from \"@site/src/components/NavPath\"; **Review** is where you triage what happened on your cameras. It groups activity into **review items**, segments of time on a single camera that bundle together the objects and audio that were active at once, and sorts them into **Alerts**, **Detections**, and **Motion**. From here you can scrub through activity, mark items as reviewed, filter, export, and jump to the full recording in [History](/usage/history). This page describes how to _use_ the Review view. For how alerts and detections are _configured_ (labels, zones, required zones, retention), see the [Review configuration](/configuration/review) docs. :::info Review items are only created for a camera when **object tracking and recording are enabled** for that camera. See [Recording](/configuration/record). :::","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1221,"id":"usage/review","section_id":"frigate/usage/review/1051","title":"Review","heading":"Alerts, Detections, and Motion","text":"Not every segment of video captured by Frigate is of the same level of interest. The people who enter your property may be a higher priority than those just walking by on the sidewalk. For this reason, Frigate sorts **review items** by importance into **alerts** and **detections**, with a separate **Motion** category for significant motion. The toggle at the top of the page switches between these three severities. One is always selected. | Tab | Indicator color | What it shows | | -------------- | --------------- | ---------------------------------------------------------------------------------------------------------------- | | **Alerts** | dark red | The activity you most want to see. By default, all `person` and `car` tracked objects are alerts. | | **Detections** | orange | Everything else Frigate tracked that wasn't promoted to an alert. | | **Motion** | yellow | Periods of significant motion, with the ability to filter to periods","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1222,"id":"usage/review","section_id":"frigate/usage/review/1052","title":"Review","heading":"Marking items as reviewed","text":"Review items are shown as a grid of thumbnail cards next to a vertical activity timeline. Hovering a card (desktop) or swiping to the right (mobile) plays a short preview inline. - **Clicking** a card opens its recording in [History](/usage/history) and marks the item as reviewed. - The object chip on each card is **gray** when the item is unreviewed and turns **green** once it has been reviewed. - The **Mark these items as reviewed** button marks everything currently shown as reviewed at once. Reviewed state is tracked per user, so marking an item reviewed does not hide it for other users. Marking an item reviewed does not delete anything: the footage and the review item itself remain until they expire via retention.","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1223,"id":"usage/review","section_id":"frigate/usage/review/1053","title":"Review","heading":"Selecting and acting on multiple items","text":"To act on several items at once, start a selection by **Ctrl/Cmd-clicking** a card (desktop) or **long-pressing** one (mobile). Selected cards gain a colored ring matching their severity. Keyboard shortcuts speed this up: `Ctrl+A` selects all, `R` marks the selection reviewed, and `Esc` clears it. With items selected, an action bar appears with options to: - **Export** the selected items (a single item exports directly; multiple items open the batch [export](/usage/exports) dialog), - **Mark as reviewed** or **Mark as unreviewed**, and - **Delete** them (admins only).","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1224,"id":"usage/review","section_id":"frigate/usage/review/1054","title":"Review","heading":"Filtering and the calendar","text":"Use the filter controls in the header to narrow what's shown. The available filters depend on the tab: Alerts and Detections can be filtered by **cameras**, **date**, **labels**, **zones**, and whether items are already reviewed; the Motion tab can be filtered by **cameras**, **date**, and **motion only**. The **calendar** filter lets you jump to a specific day (it shows **Last 24 Hours** until you pick one). On each day: - An **underline** under the day number means **recordings exist** for that day. Days without recordings are dimmed. - A **colored dot** under the day number means there is **unreviewed activity** that day: a **red dot** for unreviewed alerts, or an **orange dot** for unreviewed detections when there are no unreviewed alerts. Motion is not represented by a dot. Future dates are disabled, and the week start and time zone follow your configuration.","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1225,"id":"usage/review","section_id":"frigate/usage/review/1055","title":"Review","heading":"Reviewing Motion","text":"The Review page also can show periods of motion that didn't produce a tracked object, and provides a way to search past recordings for motion in a specific region. These tools complement the alerts and detections workflow above. See [Tuning Motion Detection](/configuration/motion_detection) for how the underlying motion detector is configured. The **Motion** tab itself shows a multi-camera grid scrubbed to a shared point in time, with a draggable timeline and a playback-speed selector. A camera tile gains a colored ring when a review item or significant motion overlaps the current time, and clicking a tile opens that camera's recording at that moment. Each camera's options menu (the kebab in the corner of its tile) is where you open **Motion Previews** and **Motion Search**, described below.","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1226,"id":"usage/review","section_id":"frigate/usage/review/1056","title":"Review","heading":"Motion Previews","text":"The Motion Previews pane shows preview clips for periods of significant motion that did not produce a tracked object. It is useful for spotting things that motion detection picked up but object detection did not, which can help validate tuning or catch missed objects. On the Motion\" /> page, click the kebab menu on a camera and choose **Motion Previews**. Each card represents a continuous range of motion-only activity and plays back the recorded preview for that range. A heatmap overlay dims areas of the frame with no motion so the moving regions stand out. The pane provides a few controls: - **Speed**: speeds up or slows down all of the preview clips at once. - **Dim**: controls how strongly non-motion areas are darkened by the heatmap overlay. Higher values increase motion area visibility. - **Filter**: opens a 16\u00d716 grid overlaid on a snapshot of the camera. Select one or more cells to only show clips with mot","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1227,"id":"usage/review","section_id":"frigate/usage/review/1057","title":"Review","heading":"Motion Search","text":"Motion Search lets you scan recorded footage for changes inside a region of interest you draw on the camera. Unlike Motion Previews, which surfaces what Frigate's motion detector flagged in real time, Motion Search re-analyzes the saved recordings, so it can find changes that were missed (for example, an object that appeared while motion detection was paused by `lightning_threshold`, or in a region that is normally motion-masked). To start a search, open the Actions menu in [History](/usage/history) or click the kebab menu on a camera in the Motion\" /> page and choose **Motion Search**. In the dialog: 1. Pick the camera and time range to scan. In the date pickers, days that have recordings available are underlined. 2. Draw a polygon on the camera frame to define the region of interest. 3. Adjust the search parameters if needed: | Field | Description | | ------------------------- | --------------------------------","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1228,"id":"usage/review","section_id":"frigate/usage/review/1058","title":"Review","heading":"Common use cases","text":"Frigate's main use case is to record and surface tracked objects, so Motion Search is most useful for the cases where object detection produced nothing: there is no object to find in Explore, but you suspect something happened. - **Locating an unattributed change.** You know something appeared, disappeared, or moved in a window of footage (a package now gone, a gate left open), but no detection points to it. A search returns the candidate timestamps instead of scrubbing the timeline by hand. - **An object that was never detected.** Something Frigate doesn't have a model label for, an object too small or distant to be detected, or movement in a region where detection isn't running. The activity left no tracked object but did change the pixels, so a search can still find it. - **Activity while detection was effectively paused.** Changes that occurred while object detection was disabled, motion was suppressed by `skip_motion_threshold`, or","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1229,"id":"usage/review","section_id":"frigate/usage/review/1059","title":"Review","heading":"Examples","text":"These show how to choose the ROI and **Minimum Change Area** for two common goals. Minimum Change Area is the size of a single moving region as a percentage of the ROI you draw, so the right value depends on how much of the ROI your subject, and its movement between samples, covers. Because samples are a second or more apart, a moving subject usually appears in two places at once in the comparison, so even ordinary motion often scores tens of percent and a low threshold lets in almost everything. The most reliable approach is to **run a search, look at the percentage each result scored, and set Minimum Change Area just below the values for the events you care about.** The default is 20%; the suggestions below are starting points. - **When did this item first appear (or disappear)?** A package was dropped off, a car parked, or a trash can was moved, and you want the exact moment. Draw a **tight ROI** around the spot the item occupies and","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1230,"id":"usage/review","section_id":"frigate/usage/review/1060","title":"Review","heading":"Expected performance","text":"Motion Search analyzes the saved recordings on demand rather than reading a pre-built index, so a search over a long range takes longer than browsing Motion Previews. Cost scales mainly with how much footage has to be examined: segments with no recorded motion in your ROI are skipped using the stored motion heatmap (shown as \"segments skipped\" in the status panel), so a quiet range finishes quickly while a busy one takes longer. To increase the speed of searches: - Draw a tight ROI. Because **Minimum Change Area** is measured as a percentage of the region you draw, a tight ROI around where you expect the change makes the object fill a larger share of the area, so it clears the threshold more easily. A loose ROI makes the same object a small fraction of the region, so it can fall below the threshold and be missed, forcing you to lower Minimum Change Area, which lets in more noise. - Narrow the time range to the window you care about, so ","url":"https://docs.frigate.video/usage/review/","vehicles":[]},{"i":1231,"id":"usage/review","section_id":"frigate/usage/review/1061","title":"Review","heading":"AI review summaries","text":"When [Generative AI review](/configuration/genai/genai_review) is configured, Frigate can generate a title, description, and threat classification for review items and surface them automatically in Review and History. Clicking the summary chip opens an **AI Analysis** dialog with the generated detail and any flagged concerns. In Review, an additional icon appears on unreviewed items that the AI classified as **suspicious** (Level 1) or **critical** (Level 2), so the activity that most warrants attention stands out before you open it. The icon goes away once the item has been reviewed.","url":"https://docs.frigate.video/usage/review/","vehicles":[]}]