From 7dc2b04d685f183211c8140918bffb57cf5dd74f Mon Sep 17 00:00:00 2001 From: sferguson524 Date: Tue, 10 Dec 2024 14:06:51 -0800 Subject: [PATCH] Add files via upload --- config.yml | 379 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) create mode 100644 config.yml diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..fc2745e --- /dev/null +++ b/config.yml @@ -0,0 +1,379 @@ +mqtt: + enabled: true + host: 192.168.201.2 + user: sferguson + password: 052476Sf +logger: + logs: + frigate.record: debug +# Logger Configuration (Commented Out) +# logger: +# logs: +# frigate.record.maintainer: debug +ffmpeg: + hwaccel_args: preset-vaapi +tls: + enabled: false +telemetry: + network_interfaces: + - eth + - enp + - eno + - ens + - wl + - lo + stats: + intel_gpu_stats: true + network_bandwidth: true + version_check: true +birdseye: + enabled: true + mode: objects +go2rtc: + ffmpeg: + volume: -af "volume=40dB" + streams: + frontdoor: + - ffmpeg:"http://192.168.250.13/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=2Gl5eXFw1Jf1TXvI#video=copy#audio=copy#audio=opus" + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.13:554/h264Preview_01_sub + frontdoor_sub: + - ffmpeg:"http://192.168.250.13/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=frigate&password=2Gl5eXFw1Jf1TXvI" + driveway: + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.14:554/h265Preview_01_main + driveway_sub: + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.14:554/h264Preview_01_sub + patio: + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.10:554/h265Preview_01_main + patio_sub: + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.10:554/h264Preview_01_sub + east_sideyard: + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.11:554/cam/realmonitor?channel=1&subtype=0 + east_sideyard_sub: + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.11:554/cam/realmonitor?channel=1&subtype=1 + + west_sideyard: + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.9:554/cam/realmonitor?channel=1&subtype=0 + west_sideyard_sub: + - rtsp://frigate:2Gl5eXFw1Jf1TXvI@192.168.250.9:554/cam/realmonitor?channel=1&subtype=1 + + webrtc: + listen: '*:8555' + candidates: + - 10.89.147.5:8555 + - stun:8555 + +cameras: + east_sideyard: + ffmpeg: + inputs: + - path: rtsp://127.0.0.1:8554/east_sideyard + input_args: preset-rtsp-restream + roles: + - record + - path: rtsp://127.0.0.1:8554/east_sideyard_sub + input_args: preset-rtsp-restream + roles: + - detect + detect: + enabled: true + fps: 5 + record: + enabled: true + alerts: + retain: {} + pre_capture: 5 + post_capture: 5 + detections: + retain: + days: 1 + snapshots: + enabled: true + timestamp: true + bounding_box: true + retain: + default: 7 + zones: + eastside: + coordinates: 0.224,0.034,0.102,0.055,0.42,0.998,0.729,0.997 + inertia: 3 + loitering_time: 0 + motion: + mask: 0.23,0.047,0.329,0.001,0.999,0.997,0.73,0.998 + threshold: 41 + contour_area: 10 + improve_contrast: true + review: + alerts: + required_zones: eastside + west_sideyard: + ffmpeg: + inputs: + - path: rtsp://127.0.0.1:8554/west_sideyard + input_args: preset-rtsp-restream + roles: + - record + - path: rtsp://127.0.0.1:8554/west_sideyard_sub + input_args: preset-rtsp-restream + roles: + - detect + detect: + enabled: true + fps: 5 + record: + enabled: true + alerts: + retain: {} + pre_capture: 5 + post_capture: 5 + detections: + retain: + days: 1 + snapshots: + enabled: true + timestamp: true + bounding_box: true + retain: + default: 7 + zones: + westside: + coordinates: 0.732,0,0.465,1,0.999,0.998,1,0.002 + inertia: 3 + loitering_time: 0 + motion: + mask: 0,0,0.002,0.997,0.46,1,0.731,0 + objects: + mask: 0.002,0.002,0.73,0,0.46,0.999,0.002,0.998 + frontdoor: + ffmpeg: + output_args: + record: preset-record-generic-audio-aac + inputs: + - path: rtsp://127.0.0.1:8554/frontdoor + input_args: preset-rtsp-restream + roles: + - audio + - record + - detect + #- path: rtsp://127.0.0.1:8554/frontdoor_sub + # input_args: preset-rtsp-restream + # roles: + # - detect + detect: + enabled: true + fps: 5 + record: + enabled: true + alerts: + retain: {} + pre_capture: 5 + post_capture: 5 + detections: + retain: + days: 1 + snapshots: + enabled: true + timestamp: true + bounding_box: true + retain: + default: 7 + zones: + Porch: + coordinates: 0.308,0.834,0.561,0.828,0.645,0.997,0.273,0.997 + loitering_time: 0 + inertia: 3 + objects: person + Walkway: + coordinates: 0.552,0.818,0.894,0.689,0.998,0.725,0.995,0.907,0.953,0.997,0.646,1 + loitering_time: 0 + objects: person + Yard: + coordinates: + 0.301,0.827,0.331,0.02,0.572,0.195,0.584,0.436,0.817,0.452,0.895,0.521,0.903,0.577,0.912,0.596,0.996,0.615,0.997,0.718,0.897,0.681,0.553,0.825 + loitering_time: 0 + objects: person + review: + alerts: + required_zones: + - Porch + - Walkway + - Yard + motion: + mask: 0.906,0.591,0.813,0.262,0.818,0.177,0.826,0.007,0.999,0.007,1,0.617 + threshold: 52 + contour_area: 10 + improve_contrast: true + driveway: + ffmpeg: + inputs: + - path: rtsp://127.0.0.1:8554/driveway?video=copy + input_args: preset-rtsp-restream + roles: + - record + - audio + - detect + # - path: rtsp://127.0.0.1:8554/driveway_sub?video=copy + # input_args: preset-rtsp-restream + # roles: + # - detect + genai: + prompt: Analyze the {label} in these images from the {camera} security camera. + Focus on the actions, behavior, and potential intent of the {label}, rather + than just describing its appearance. + object_prompts: + person: + Examine the main person in these images. What are they doing and what + might their actions suggest about their intent (e.g., approaching a door, + leaving an area, standing still)? Do not describe the surroundings or static + details. Do they have any weapons, or are they exhibiting suspicious behavior? + What are they carrying? Describe their clothing, is it a uniform, and if + so, what company? Describe their gender, size, and other characteristics. #Be funny, maybe irreverent and sarcastic + car: Observe the primary vehicle in these images. Focus on its movement, direction, + or purpose (e.g., parking, approaching, circling). If it's a delivery vehicle, + mention the company. To give directional context, the camera faces northwest. If you can figure make and model, please put it here too. + motion: + enabled: true + threshold: 48 + contour_area: 10 + improve_contrast: true + mask: + - 0.043,0.245,0.026,0.015,0.28,0.001,0.294,0.14,0.258,0.122 + - 1,0.38,1,0.162,1,0,0.672,0.002,0.456,0.001,0.284,0,0.296,0.143,0.313,0.145,0.378,0.113,0.579,0.18,0.752,0.233 + detect: + enabled: true + fps: 5 + stationary: + max_frames: + default: + objects: + track: + - person + - car + mask: + 0.284,0.001,0.295,0.146,0.311,0.145,0.373,0.112,0.75,0.233,0.999,0.378,0.997,0.008 + record: + enabled: true + alerts: + retain: {} + pre_capture: 5 + post_capture: 5 + detections: + retain: + days: 1 + snapshots: + enabled: true + timestamp: true + bounding_box: true + retain: + default: 7 + zones: + dwy: + coordinates: 0.04,0.484,0.089,1,1,1,1,0.381,0.757,0.239,0.579,0.183 + loitering_time: 0 + inertia: 3 + yard: + coordinates: 0.084,0.458,0.045,0.248,0.255,0.129,0.506,0.217 + loitering_time: 0 + objects: person + inertia: 3 + curbside: + coordinates: 0.578,0.183,0.513,0.217,0.315,0.149,0.375,0.119 + loitering_time: 0 + inertia: 3 + review: + alerts: + required_zones: + - dwy + - yard + patio: + ffmpeg: + inputs: + - path: rtsp://127.0.0.1:8554/patio?video=copy + input_args: preset-rtsp-restream + roles: + - record + - audio + - detect +# - path: rtsp://127.0.0.1:8554/patio_sub?video=copy +# input_args: preset-rtsp-restream +# roles: +# - detect + motion: + enabled: true + threshold: 40 + contour_area: 10 + improve_contrast: true + detect: + enabled: true + fps: 5 + record: + enabled: true + alerts: + retain: {} + pre_capture: 5 + post_capture: 5 + detections: + retain: {} + pre_capture: 5 + post_capture: 5 + snapshots: + enabled: true + timestamp: true + bounding_box: true + retain: + default: 7 + +detectors: + coral: + type: edgetpu + device: usb + +version: 0.15-0 + +camera_groups: + Perimeter_Cameras: + order: 1 + icon: LuTreeDeciduous + cameras: + - driveway + - frontdoor + - patio + - eastside + - westside + - west_sideyard + - east_sideyard + Birdies: + order: 2 + icon: LuBird + cameras: birdseye +notifications: + enabled: true + email: sferguson@gmail.com + +genai: + enabled: true + provider: openai + api_key: + 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 + model: gpt-4o + prompt: Analyze the {label} in these images from the {camera} security camera. Focus + on the actions, behavior, and potential intent of the {label}, rather than just + describing its appearance. + object_prompts: + person: Examine the main person in these images. What are they doing and what + might their actions suggest about their intent (e.g., approaching a door, leaving + an area, standing still)? Do not describe the surroundings or static details. + Do they have any weapons, or are they exhibiting suspicious behavior? What are + they carrying? Describe their clothes, if any. Describe their gender, size, and other characteristics. #Be funny, maybe irreverent and sarcastic + car: Observe the primary vehicle in these images. Focus on its movement, direction, + or purpose (e.g., parking, approaching, circling). If it's a delivery vehicle, + mention the company. +semantic_search: + enabled: true + reindex: false + model_size: small +snapshots: + enabled: true + timestamp: true + bounding_box: true + retain: + default: 7