You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/configuration/hardware_acceleration.md
+6
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,12 @@ It is recommended to update your configuration to enable hardware accelerated de
7
7
8
8
### Raspberry Pi 3/4
9
9
10
+
:::caution
11
+
12
+
There is currently a bug in ffmpeg that causes hwaccel to not work for the RPi kernel 5.15.61 and above. For more information see https://github.com/blakeblackshear/frigate/issues/3780
13
+
14
+
:::
15
+
10
16
Ensure you increase the allocated RAM for your GPU to at least 128 (raspi-config > Performance Options > GPU Memory).
11
17
**NOTICE**: If you are using the addon, you may need to turn off `Protection mode` for hardware acceleration.
Copy file name to clipboardExpand all lines: docs/docs/configuration/objects.mdx
+2-2
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Frigate includes the object models listed below from the Google Coral test data.
9
9
10
10
Please note:
11
11
-`car` is listed twice because `truck` has been renamed to `car` by default. These object types are frequently confused.
12
-
-`person` is the only tracked object by default. See the [full configuration reference](https://docs.frigate.video/configuration/index#full-configuration-reference) for an example of expanding the list of tracked objects.
12
+
-`person` is the only tracked object by default. See the [full configuration reference](index.md#full-configuration-reference) for an example of expanding the list of tracked objects.
13
13
14
14
<ul>
15
15
{labels.split("\n").map((label) => (
@@ -25,4 +25,4 @@ Models for both CPU and EdgeTPU (Coral) are bundled in the image. You can use yo
25
25
- EdgeTPU Model: `/edgetpu_model.tflite`
26
26
- Labels: `/labelmap.txt`
27
27
28
-
You also need to update the [model config](/configuration/advanced#model) if they differ from the defaults.
28
+
You also need to update the [model config](advanced.md#model) if they differ from the defaults.
Copy file name to clipboardExpand all lines: docs/docs/configuration/zones.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Zones cannot have the same name as a camera. If desired, a single zone can inclu
9
9
10
10
During testing, enable the Zones option for the debug feed so you can adjust as needed. The zone line will increase in thickness when any object enters the zone.
11
11
12
-
To create a zone, follow [the steps for a "Motion mask"](/configuration/masks), but use the section of the web UI for creating a zone instead.
12
+
To create a zone, follow [the steps for a "Motion mask"](masks.md), but use the section of the web UI for creating a zone instead.
Copy file name to clipboardExpand all lines: docs/docs/frigate/hardware.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Cameras that output H.264 video and AAC audio will offer the most compatibility
9
9
10
10
I recommend Dahua, Hikvision, and Amcrest in that order. 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. Amcrest is the fallback recommendation because they are rebranded Dahuas. They are rebranding the lower end models with smaller sensors or less configuration options.
11
11
12
-
Many users have reported various issues with Reolink cameras, so I do not recommend them. If you are using Reolink, I suggest the [Reolink specific configuration](configuration/camera_specific#reolink-410520-possibly-others). Wifi cameras are also not recommended. Their streams are less reliable and cause connection loss and/or lost video data.
12
+
Many users have reported various issues with Reolink cameras, so I do not recommend them. If you are using Reolink, I suggest the [Reolink specific configuration](../configuration/camera_specific.md#reolink-410520-possibly-others). Wifi cameras are also not recommended. Their streams are less reliable and cause connection loss and/or lost video data.
Copy file name to clipboardExpand all lines: docs/docs/guides/getting_started.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ id: getting_started
3
3
title: Creating a config file
4
4
---
5
5
6
-
This guide walks through the steps to build a configuration file for Frigate. It assumes that you already have an environment setup as described in [Installation](/installation). You should also configure your cameras according to the [camera setup guide](/guides/camera_setup)
6
+
This guide walks through the steps to build a configuration file for Frigate. It 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](/guides/camera_setup)
7
7
8
8
### Step 1: Configure the MQTT server (Optional)
9
9
@@ -30,7 +30,7 @@ mqtt:
30
30
password: <password>
31
31
```
32
32
33
-
Frigate supports many configuration options for mqtt. See the [configuration reference](/configuration/index#full-configuration-reference) for more info.
33
+
Frigate supports many configuration options for mqtt. See the [configuration reference](../configuration/index.md#full-configuration-reference) for more info.
34
34
35
35
### Step 2: Configure detectors
36
36
@@ -46,7 +46,7 @@ detectors:
46
46
device: usb
47
47
```
48
48
49
-
More details on available detectors can be found [here](/configuration/detectors).
49
+
More details on available detectors can be found [here](../configuration/detectors.md).
50
50
51
51
### Step 3: Add a minimal camera configuration
52
52
@@ -82,11 +82,11 @@ At this point you should be able to start Frigate and see the the video feed in
82
82
83
83
If you get a green image from the camera, this means ffmpeg was not able to get the video feed from your camera. Check the logs for error messages from ffmpeg. The default ffmpeg arguments are designed to work with H264 RTSP cameras that support TCP connections. If you do not have H264 cameras, make sure you have disabled RTMP. It is possible to enable it, but you must tell ffmpeg to re-encode the video with customized output args.
84
84
85
-
FFmpeg arguments for other types of cameras can be found [here](/configuration/camera_specific).
85
+
FFmpeg arguments for other types of cameras can be found [here](../configuration/camera_specific.md).
Now that you have a working camera configuration, you want to setup hardware acceleration to minimize the CPU required to decode your video streams. See the [hardware acceleration](/configuration/hardware_acceleration) config reference for examples applicable to your hardware.
89
+
Now that you have a working camera configuration, you want to setup hardware acceleration to minimize the CPU required to decode your video streams. See the [hardware acceleration](../configuration/hardware_acceleration.md) config reference for examples applicable to your hardware.
90
90
91
91
In order to best evaluate the performance impact of hardware acceleration, it is recommended to temporarily disable detection.
92
92
@@ -122,7 +122,7 @@ cameras:
122
122
123
123
Now that you have optimized your configuration for decoding the video stream, you will want to check to see where to implement motion masks. To do this, navigate to the camera in the UI, select "Debug" at the top, and enable "Motion boxes" in the options below the video feed. Watch for areas that continuously trigger unwanted motion to be detected. Common areas to mask include camera timestamps and trees that frequently blow in the wind. The goal is to avoid wasting object detection cycles looking at these areas.
124
124
125
-
Now that you know where you need to mask, use the "Mask & Zone creator" in the options pane to generate the coordinates needed for your config file. More information about masks can be found [here](/configuration/masks).
125
+
Now that you know where you need to mask, use the "Mask & Zone creator" in the options pane to generate the coordinates needed for your config file. More information about masks can be found [here](../configuration/masks.md).
126
126
127
127
:::caution
128
128
@@ -185,7 +185,7 @@ cameras:
185
185
186
186
If you don't have separate streams for detect and record, you would just add the record role to the list on the first input.
187
187
188
-
By default, Frigate will retain video of all events for 10 days. The full set of options for recording can be found [here](/configuration/index#full-configuration-reference).
188
+
By default, Frigate will retain video of all events for 10 days. The full set of options for recording can be found [here](../configuration/index.md#full-configuration-reference).
189
189
190
190
### Step 8: Enable snapshots (optional)
191
191
@@ -205,4 +205,4 @@ cameras:
205
205
motion: ...
206
206
```
207
207
208
-
By default, Frigate will retain snapshots of all events for 10 days. The full set of options for snapshots can be found [here](/configuration/index#full-configuration-reference).
208
+
By default, Frigate will retain snapshots of all events for 10 days. The full set of options for snapshots can be found [here](../configuration/index.md#full-configuration-reference).
Copy file name to clipboardExpand all lines: docs/docs/guides/ha_notifications.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ title: Home Assistant notifications
5
5
6
6
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/311091). You can use the yaml generated from the Blueprint as a starting point and customize from there.
7
7
8
-
It is generally recommended to trigger notifications based on the `frigate/events` mqtt topic. This provides the event_id needed to fetch [thumbnails/snapshots/clips](/integrations/home-assistant#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#frigateevents).
8
+
It is generally recommended to trigger notifications based on the `frigate/events` mqtt topic. This provides the event_id 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).
9
9
10
10
Here is a simple example of a notification automation of events which will update the existing notification for each change. This means the image you see in the notification will update as frigate finds a "better" image.
This guide outlines the basic configuration steps needed to expose your Frigate UI to the internet.
7
+
A common way of accomplishing this is to use a reverse proxy webserver between your router and your Frigate instance.
8
+
A reverse proxy accepts HTTP requests from the public internet and redirects them transparently to internal webserver(s) on your network.
9
+
10
+
The suggested steps are:
11
+
-**Configure** a 'proxy' HTTP webserver (such as [Apache2](https://httpd.apache.org/docs/current/) or [NPM](https://github.com/NginxProxyManager/nginx-proxy-manager)) and only expose ports 80/443 from this webserver to the internet
12
+
-**Encrypt** content from the proxy webserver by installing SSL (such as with [Let's Encrypt](https://letsencrypt.org/)). Note that SSL is then not required on your Frigate webserver as the proxy encrypts all requests for you
13
+
-**Restrict** access to your Frigate instance at the proxy using, for example, password authentication
14
+
15
+
:::caution
16
+
A reverse proxy can be used to secure access to an internal webserver but the user will be entirely reliant
17
+
on the steps they have taken. You must ensure you are following security best practices.
18
+
This page does not attempt to outline the specific steps needed to secure your internal website.
19
+
Please use your own knowledge to assess and vet the reverse proxy software before you install anything on your system.
20
+
:::
21
+
22
+
There are several technologies available to implement reverse proxies. This document currently suggests one, using Apache2,
23
+
and the community is invited to document others through a contribution to this page.
24
+
25
+
## Apache2 Reverse Proxy
26
+
27
+
In the configuration examples below, only the directives relevant to the reverse proxy approach above are included.
28
+
On Debian Apache2 the configuration file will be named along the lines of `/etc/apache2/sites-available/cctv.conf`
29
+
30
+
### Step 1: Configure the Apache2 Reverse Proxy
31
+
32
+
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.
33
+
Here we access Frigate via https://cctv.mydomain.co.uk
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).
Copy file name to clipboardExpand all lines: docs/docs/guides/stationary_objects.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Frigate is designed to track objects as they move and over-masking can prevent i
17
17
18
18
To only be notified of cars that enter your driveway from the street, you could create multiple zones that cover your driveway. For cars, you would only notify if `entered_zones` from the events MQTT topic has more than 1 zone.
19
19
20
-
See [this example](/configuration/zones#restricting-zones-to-specific-objects) from the Zones documentation to see how to restrict zones to certain object types.
20
+
See [this example](../configuration/zones.md#restricting-zones-to-specific-objects) from the Zones documentation to see how to restrict zones to certain object types.
Copy file name to clipboardExpand all lines: docs/docs/integrations/home-assistant.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ This is accessible via "Media Browser" on the left menu panel in Home Assistant.
90
90
The integration supports casting clips and camera streams to supported media devices.
91
91
92
92
:::tip
93
-
For clips to be castable to media devices, audio is required and may need to be [enabled for recordings](../faqs.md#audio-in-recordings).
93
+
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).
94
94
95
95
**NOTE: Even if you camera does not support audio, audio will need to be enabled for Casting to be accepted.**
96
96
@@ -134,7 +134,7 @@ For advanced usecases, this behavior can be changed with the [RTMP URL
134
134
template](#options) option. When set, this string will override the default stream
135
135
address that is derived from the default behavior described above. This option supports
136
136
[jinja2 templates](https://jinja.palletsprojects.com/) and has the `camera` dict
137
-
variables from [Frigate API](https://blakeblackshear.github.io/frigate/usage/api#apiconfig)
137
+
variables from [Frigate API](api.md)
138
138
available for the template. Note that no Home Assistant state is available to the
139
139
template, only the camera dict from Frigate.
140
140
@@ -171,7 +171,7 @@ The Frigate integration seamlessly supports the use of multiple Frigate servers.
171
171
In order for multiple Frigate instances to function correctly, the
172
172
`topic_prefix` and `client_id` parameters must be set differently per server.
0 commit comments