upgrade deps (#10257)

* upgrade web deps

* docs deps

* actions deps
This commit is contained in:
Blake Blackshear
2024-03-05 13:00:27 +00:00
committed by GitHub
parent 390403d957
commit 43c623be25
8 changed files with 814 additions and 740 deletions

View File

@@ -212,7 +212,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Create short sha - name: Create short sha
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
- uses: int128/docker-manifest-create-action@v1 - uses: int128/docker-manifest-create-action@v2
with: with:
tags: ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }} tags: ghcr.io/${{ steps.lowercaseRepo.outputs.lowercase }}:${{ github.ref_name }}-${{ env.SHORT_SHA }}
suffixes: | suffixes: |

View File

@@ -123,7 +123,7 @@ or when using docker compose:
```yaml ```yaml
services: services:
frigate: frigate:
... ---
environment: environment:
DOWNLOAD_YOLOV8: "1" DOWNLOAD_YOLOV8: "1"
``` ```
@@ -313,7 +313,7 @@ frigate:
### Configuration Parameters ### Configuration Parameters
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.md#nvidia-gpu) 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 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.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. 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.
@@ -484,11 +484,10 @@ When using docker compose:
```yaml ```yaml
services: services:
frigate: frigate:
... ---
devices: devices:
- /dev/dri - /dev/dri
- /dev/kfd - /dev/kfd
...
``` ```
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). 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).
@@ -519,7 +518,7 @@ When using docker compose:
```yaml ```yaml
services: services:
frigate: frigate:
... ---
environment: environment:
HSA_OVERRIDE_GFX_VERSION: "9.0.0" HSA_OVERRIDE_GFX_VERSION: "9.0.0"
``` ```
@@ -566,7 +565,7 @@ or when using docker compose:
```yaml ```yaml
services: services:
frigate: frigate:
... ---
environment: environment:
DOWNLOAD_YOLOV8: "1" DOWNLOAD_YOLOV8: "1"
``` ```

View File

@@ -33,7 +33,6 @@ Fork [blakeblackshear/frigate-hass-integration](https://github.com/blakeblackshe
### Prerequisites ### Prerequisites
- [Frigate source code](#frigate-core-web-and-docs)
- GNU make - GNU make
- Docker - Docker
- An extra detector (Coral, OpenVINO, etc.) is optional but recommended to simulate real world performance. - An extra detector (Coral, OpenVINO, etc.) is optional but recommended to simulate real world performance.
@@ -129,7 +128,6 @@ ffmpeg -c:v h264_qsv -re -stream_loop -1 -i https://streams.videolan.org/ffmpeg/
### Prerequisites ### Prerequisites
- [Frigate source code](#frigate-core-web-and-docs)
- All [core](#core) prerequisites _or_ another running Frigate instance locally available - All [core](#core) prerequisites _or_ another running Frigate instance locally available
- Node.js 20 - Node.js 20
@@ -188,7 +186,6 @@ npm run test
### Prerequisites ### Prerequisites
- [Frigate source code](#frigate-core-web-and-docs)
- Node.js 20 - Node.js 20
### Making changes ### Making changes

View File

@@ -27,7 +27,7 @@ Motion masks prevent detection of [motion](#motion) in masked areas from trigger
### Object Mask ### Object Mask
Object filter masks drop any bounding boxes where the bottom center (overlap doesn't matter) is in the masked area. It forces them to be considered a [false positive](#false_positive) so that they are ignored. Object filter masks drop any bounding boxes where the bottom center (overlap doesn't matter) is in the masked area. It forces them to be considered a [false positive](#false-positive) so that they are ignored.
## Min Score ## Min Score

View File

@@ -65,8 +65,8 @@ Home Assistant > Configuration > Integrations > Frigate > Options
``` ```
| Option | Description | | 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](#streams) below. | | 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. |
## Entities Provided ## Entities Provided
@@ -178,7 +178,7 @@ for how to set these.
#### API URLs #### API URLs
When multiple Frigate instances are configured, [API](#api) URLs should include an 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 to tell Home Assistant which Frigate instance to refer to. The
identifier used is the MQTT `client_id` parameter included in the configuration, identifier used is the MQTT `client_id` parameter included in the configuration,
and is used like so: and is used like so:

955
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

532
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,8 @@ const variants = {
}, },
overlay: { overlay: {
active: "font-bold text-white bg-selected rounded-full", active: "font-bold text-white bg-selected rounded-full",
inactive: "text-primary-white rounded-full bg-gradient-to-br from-gray-400 to-gray-500 bg-gray-500", inactive:
"text-primary-white rounded-full bg-gradient-to-br from-gray-400 to-gray-500 bg-gray-500",
}, },
}; };