251 lines
7.6 KiB
YAML
251 lines
7.6 KiB
YAML
frigate_enable_gpu: true
|
|
frigate_enable_tpu: true
|
|
frigate_config:
|
|
ffmpeg:
|
|
hwaccel_args: preset-vaapi
|
|
cameras:
|
|
front_porch:
|
|
detect:
|
|
height: 1080
|
|
width: 1920
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/front_porch
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
- path: rtsp://frigate:{FRIGATE_AMCREST_RTSP_PASSWORD}@172.30.0.213/cam/realmonitor?channel=1&subtype=0
|
|
roles:
|
|
- record
|
|
objects:
|
|
track:
|
|
- person
|
|
- cat
|
|
- dog
|
|
- bird
|
|
filters:
|
|
dog:
|
|
threshold: 0.8
|
|
bird:
|
|
threshold: 0.8
|
|
record:
|
|
enabled: true
|
|
retain:
|
|
days: 30
|
|
alerts:
|
|
retain:
|
|
days: 365
|
|
detections:
|
|
retain:
|
|
days: 365
|
|
snapshots:
|
|
enabled: true
|
|
retain:
|
|
default: 365
|
|
zones:
|
|
front_door:
|
|
coordinates: 1920,1080,1920,0,1770,0,1366,657,1533,1080
|
|
front_porch_window:
|
|
coordinates: 1168,337,1026,75,1040,0,1300,0,1257,231
|
|
front_steps:
|
|
coordinates: 0,1080,1533,1080,1366,595,925,672,531,529,216,587
|
|
motion:
|
|
mask:
|
|
- 189,0,0,0,0,175
|
|
driveway:
|
|
detect:
|
|
height: 1080
|
|
width: 1920
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/driveway
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
- path: rtsp://frigate:{FRIGATE_AMCREST_RTSP_PASSWORD}@172.30.0.212/cam/realmonitor?channel=1&subtype=0
|
|
roles:
|
|
- record
|
|
objects:
|
|
track:
|
|
- person
|
|
- cat
|
|
- dog
|
|
- car
|
|
filters:
|
|
person:
|
|
threshold: 0.8
|
|
dog:
|
|
threshold: 0.8
|
|
bird:
|
|
threshold: 0.8
|
|
record:
|
|
enabled: true
|
|
retain:
|
|
days: 30
|
|
alerts:
|
|
retain:
|
|
days: 365
|
|
detections:
|
|
retain:
|
|
days: 30
|
|
snapshots:
|
|
enabled: true
|
|
retain:
|
|
default: 365
|
|
required_zones:
|
|
- driveway_entry_zone
|
|
- garage_pad_zone
|
|
zones:
|
|
neighbor_zone:
|
|
coordinates: 1920,0,1920,317,1644,179,1382,89,1030,0
|
|
objects: []
|
|
driveway_entry_zone:
|
|
coordinates: 624,0,148,0,0,107,0,251,111,328
|
|
garage_pad_zone:
|
|
coordinates: 0,507,0,431,616,23,834,51,1180,119,1545,243,1475,583,1285,1080,404,1080,239,843
|
|
motion:
|
|
mask:
|
|
- 157,0,0,0,0,119
|
|
- 1419,89,1058,0,1920,0,1920,324,1823,267
|
|
review:
|
|
alerts:
|
|
required_zones:
|
|
- driveway_entry_zone
|
|
- garage_pad_zone
|
|
back_yard:
|
|
detect:
|
|
height: 1080
|
|
width: 1920
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/back_yard
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
- path: rtsp://frigate:{FRIGATE_AMCREST_RTSP_PASSWORD}@172.30.0.215/cam/realmonitor?channel=1&subtype=0
|
|
roles:
|
|
- record
|
|
objects:
|
|
track:
|
|
- person
|
|
- cat
|
|
- dog
|
|
record:
|
|
enabled: true
|
|
retain:
|
|
days: 30
|
|
alerts:
|
|
retain:
|
|
days: 365
|
|
detections:
|
|
retain:
|
|
days: 365
|
|
snapshots:
|
|
enabled: true
|
|
retain:
|
|
default: 365
|
|
zones:
|
|
pool_zone:
|
|
coordinates: 532,78,1063,21,1117,31,979,208,931,301,515,307,406,375,231,373,204,291
|
|
front_yard:
|
|
enabled: false
|
|
detect:
|
|
height: 1080
|
|
width: 1920
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://127.0.0.1:8554/front_yard
|
|
input_args: preset-rtsp-restream
|
|
roles:
|
|
- detect
|
|
- path: rtsp://admin:VtZ6zN7cibn9eQDi@172.30.0.216:554/Streaming/channels/101
|
|
roles:
|
|
- record
|
|
objects:
|
|
track:
|
|
- person
|
|
record:
|
|
enabled: true
|
|
retain:
|
|
days: 7
|
|
alerts:
|
|
retain:
|
|
days: 365
|
|
detections:
|
|
retain:
|
|
days: 365
|
|
snapshots:
|
|
enabled: true
|
|
retain:
|
|
default: 365
|
|
database:
|
|
path: /media/frigate/frigate.db
|
|
go2rtc:
|
|
streams:
|
|
front_porch:
|
|
- rtsp://frigate:{FRIGATE_AMCREST_RTSP_PASSWORD}@172.30.0.213/cam/realmonitor?channel=1&subtype=0
|
|
driveway:
|
|
- rtsp://frigate:{FRIGATE_AMCREST_RTSP_PASSWORD}@172.30.0.212/cam/realmonitor?channel=1&subtype=0
|
|
back_yard:
|
|
- rtsp://frigate:{FRIGATE_AMCREST_RTSP_PASSWORD}@172.30.0.215/cam/realmonitor?channel=1&subtype=0
|
|
front_yard:
|
|
- rtsp://admin:VtZ6zN7cibn9eQDi@172.30.0.216:554/Streaming/channels/101
|
|
detectors:
|
|
coral:
|
|
device: pci:0
|
|
type: edgetpu
|
|
birdseye:
|
|
restream: true
|
|
mqtt:
|
|
host: mqtt.pyrocufflink.blue
|
|
password: '{FRIGATE_MQTT_PASSWORD}'
|
|
port: 8883
|
|
tls_ca_certs: /etc/ssl/certs/ca-certificates.crt
|
|
user: frigate
|
|
auth:
|
|
enabled: false
|
|
proxy:
|
|
header_map:
|
|
user: Remote-User
|
|
tls:
|
|
enabled: false
|
|
|
|
frigate_https_proxy_password: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
62363833343565316638356665316534393035356664396638313330616663613639366334353663
|
|
3934356433303066343431343935633138656264363064650a393636363062383437656464383262
|
|
30653965353264336665653264303036323430363030313165626536353736333132386365623230
|
|
3534326634343838650a643063666637666636333863326634356630663135326464666433356565
|
|
30353339356433376436363863663730323165643232356633376266323536373431643564666562
|
|
3935646435306537653530616230343239623966656434313334
|
|
|
|
frigate_env:
|
|
https_proxy: http://frigate:{{ frigate_https_proxy_password }}@proxy.pyrocufflink.blue:3128
|
|
FRIGATE_AMCREST_RTSP_PASSWORD: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
64353062663837623164386433333966303233313064343665313434643434663131346664666333
|
|
3862333434616235306432336534653036633837613931310a343630373832343465656231646665
|
|
63303964306334316330653966373836623966363836303331613631346235643061613463376232
|
|
3538303063633930370a303861663161366335346465633262336537336164373431326330383733
|
|
30656437343837623432356532636461663666636163663634373837353734313163
|
|
FRIGATE_MQTT_PASSWORD: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
30613633316564303239363734633761666164643062636137383232313961363665666539373162
|
|
3235623565386663323234326365303133643732663462320a666136623939316634616265326532
|
|
39373933353261633264633532393838333632346464303837623836303630636438366532663765
|
|
6563616533333338320a333933643734666631343932613561303930366238653632346530653438
|
|
39646635313162646463613263643665363936356361353933653334336533346136323932363936
|
|
64363061653233363962623333303337303863623736323232366535633263656332363964373163
|
|
333339396137363862663037313861643066
|
|
LIBVA_DRIVER_NAME: radeonsi
|
|
PLUS_API_KEY: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
32373139306134646230393961623365643938393430626362353130616661326161613630353533
|
|
6463326333373638636463353366343531396237326637350a323465373561656236633935393639
|
|
38343239643333363235386139393936373337333138336161663736366131336336396237356630
|
|
3532373537303237350a633530373461393630383262366562343638353062653764356135306461
|
|
31336137353464376332613738386439613161663065333533653465346661663964626332336232
|
|
64326434346638366262326463336639393037316361323039623265626163663539343063636164
|
|
31333862333831353461376435303565633163663364383732626639383032313234363030353965
|
|
65303430356237383965
|