This commit is contained in:
parent
375f34ab12
commit
3594e5479d
2 changed files with 13 additions and 6 deletions
|
@ -4,6 +4,9 @@ mqtt:
|
||||||
user: frigate
|
user: frigate
|
||||||
password: "{FRIGATE_MQTT_PASSWORD}"
|
password: "{FRIGATE_MQTT_PASSWORD}"
|
||||||
|
|
||||||
|
database:
|
||||||
|
path: /media/frigate/frigate.db
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
default: info
|
default: info
|
||||||
|
|
||||||
|
@ -28,10 +31,6 @@ detect:
|
||||||
width: 640
|
width: 640
|
||||||
height: 480
|
height: 480
|
||||||
|
|
||||||
# motion:
|
|
||||||
# mask:
|
|
||||||
# - 0,180,76,189,215,149,372,128,375,222,194,224,145,311,0,296
|
|
||||||
|
|
||||||
objects:
|
objects:
|
||||||
track:
|
track:
|
||||||
- person
|
- person
|
||||||
|
@ -55,6 +54,7 @@ go2rtc:
|
||||||
- ffmpeg:reolink#audio=opus
|
- ffmpeg:reolink#audio=opus
|
||||||
reolink_sub:
|
reolink_sub:
|
||||||
- rtsp://hass:{FRIGATE_DOORBELL_PASSWORD}@10.0.0.31/h264Preview_01_sub
|
- rtsp://hass:{FRIGATE_DOORBELL_PASSWORD}@10.0.0.31/h264Preview_01_sub
|
||||||
|
- ffmpeg:reolink_sub#audio=opus
|
||||||
# - http://10.0.0.31/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=hass&password={FRIGATE_DOORBELL_PASSWORD}
|
# - http://10.0.0.31/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=hass&password={FRIGATE_DOORBELL_PASSWORD}
|
||||||
webrtc:
|
webrtc:
|
||||||
candidates:
|
candidates:
|
||||||
|
@ -73,9 +73,12 @@ cameras:
|
||||||
- path: rtsp://127.0.0.1:8554/reolink_sub?video=copy
|
- path: rtsp://127.0.0.1:8554/reolink_sub?video=copy
|
||||||
input_args: preset-rtsp-restream
|
input_args: preset-rtsp-restream
|
||||||
roles:
|
roles:
|
||||||
|
- audio
|
||||||
- detect
|
- detect
|
||||||
live:
|
live:
|
||||||
stream_name: reolink
|
stream_name: reolink
|
||||||
|
audio:
|
||||||
|
enabled: True
|
||||||
record:
|
record:
|
||||||
events:
|
events:
|
||||||
required_zones:
|
required_zones:
|
||||||
|
@ -93,3 +96,7 @@ cameras:
|
||||||
coordinates: 28,279,0,282,0,325,91,324
|
coordinates: 28,279,0,282,0,325,91,324
|
||||||
objects:
|
objects:
|
||||||
- car
|
- car
|
||||||
|
|
||||||
|
ui:
|
||||||
|
live_mode: webrtc
|
||||||
|
|
|
@ -4,7 +4,7 @@ with lib;
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
frigate = {
|
frigate = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "ghcr.io/blakeblackshear/frigate:0.12.1";
|
image = "ghcr.io/blakeblackshear/frigate:0.13.0";
|
||||||
ports = [
|
ports = [
|
||||||
"1984:1984" # go2rtc
|
"1984:1984" # go2rtc
|
||||||
"5000:5000" # Frigate
|
"5000:5000" # Frigate
|
||||||
|
@ -14,7 +14,7 @@ with lib;
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
"/etc/localtime:/etc/localtime:ro"
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
"${./config.yml}:/config/config.yml:ro"
|
"${./config/config.yml}:/config/config.yml:ro"
|
||||||
"${pkgs.go2rtc}/bin/go2rtc:/config/go2rtc"
|
"${pkgs.go2rtc}/bin/go2rtc:/config/go2rtc"
|
||||||
"/data/frigate:/media/frigate"
|
"/data/frigate:/media/frigate"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue