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
|
||||
password: "{FRIGATE_MQTT_PASSWORD}"
|
||||
|
||||
database:
|
||||
path: /media/frigate/frigate.db
|
||||
|
||||
logger:
|
||||
default: info
|
||||
|
||||
|
@ -28,10 +31,6 @@ detect:
|
|||
width: 640
|
||||
height: 480
|
||||
|
||||
# motion:
|
||||
# mask:
|
||||
# - 0,180,76,189,215,149,372,128,375,222,194,224,145,311,0,296
|
||||
|
||||
objects:
|
||||
track:
|
||||
- person
|
||||
|
@ -55,6 +54,7 @@ go2rtc:
|
|||
- ffmpeg:reolink#audio=opus
|
||||
reolink_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}
|
||||
webrtc:
|
||||
candidates:
|
||||
|
@ -73,9 +73,12 @@ cameras:
|
|||
- path: rtsp://127.0.0.1:8554/reolink_sub?video=copy
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- audio
|
||||
- detect
|
||||
live:
|
||||
stream_name: reolink
|
||||
audio:
|
||||
enabled: True
|
||||
record:
|
||||
events:
|
||||
required_zones:
|
||||
|
@ -93,3 +96,7 @@ cameras:
|
|||
coordinates: 28,279,0,282,0,325,91,324
|
||||
objects:
|
||||
- car
|
||||
|
||||
ui:
|
||||
live_mode: webrtc
|
||||
|
|
@ -4,7 +4,7 @@ with lib;
|
|||
virtualisation.oci-containers.containers = {
|
||||
frigate = {
|
||||
autoStart = true;
|
||||
image = "ghcr.io/blakeblackshear/frigate:0.12.1";
|
||||
image = "ghcr.io/blakeblackshear/frigate:0.13.0";
|
||||
ports = [
|
||||
"1984:1984" # go2rtc
|
||||
"5000:5000" # Frigate
|
||||
|
@ -14,7 +14,7 @@ with lib;
|
|||
];
|
||||
volumes = [
|
||||
"/etc/localtime:/etc/localtime:ro"
|
||||
"${./config.yml}:/config/config.yml:ro"
|
||||
"${./config/config.yml}:/config/config.yml:ro"
|
||||
"${pkgs.go2rtc}/bin/go2rtc:/config/go2rtc"
|
||||
"/data/frigate:/media/frigate"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue