Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mqtt:
- host: 192.168.2.120
- user: '{FRIGATE_MQTT_LOGIN}'
- password: '{FRIGATE_MQTT_PASSWORD}'
- client_id: frigate
- stats_interval: 30
- auth:
- failed_login_rate_limit: 1/second;5/minute;20/hour
- trusted_proxies:
- - 192.168.2.50
- #================================================ go2rtc part ========================================================
- go2rtc:
- rtsp:
- listen: :8554
- username: '{FRIGATE_GO2RTC_RTSP_USERNAME}'
- password: '{FRIGATE_GO2RTC_RTSP_PASSWORD}'
- streams:
- #*********************************************** MAIN FLOW ************************************************************
- entrance_camera_main:
- ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.125/cam/realmonitor?channel=1&subtype=1#video=copy#audio=copy#audio=opus
- kitchen_camera_main:
- ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.33/cam/realmonitor?channel=1&subtype=0#video=copy#audio=copy#audio=opus
- hall_camera_main:
- ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.34/cam/realmonitor?channel=1&subtype=0#video=copy#audio=copy#audio=opus
- livingroom_camera_main:
- ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.35/cam/realmonitor?channel=1&subtype=0#video=copy#audio=copy#audio=opus
- bedroom_camera_main:
- ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.32/cam/realmonitor?channel=1&subtype=0#video=copy#audio=copy#audio=opus
- #*********************************************** SUB FLOW ************************************************************
- livingroom_camera_sub:
- rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.35/cam/realmonitor?channel=1&subtype=1
- bedroom_camera_sub:
- rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.32/cam/realmonitor?channel=1&subtype=1
- hall_camera_sub:
- rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.34/cam/realmonitor?channel=1&subtype=1
- kitchen_camera_sub:
- rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.33/cam/realmonitor?channel=1&subtype=1
- anycubic_camera_main: rtsp://rtsp:{FRIGATE_CAMERA_PASSWORD}@192.168.1.223:554/av_stream/ch0
- anycubic_camera_main_frigate: ffmpeg:anycubic_camera_main#video=copy#audio=opus#audio=aac
- #**************************************************************************************************************************
- webrtc:
- listen: :8555/tcp
- candidates:
- - XX.XX.XX.XX:8555 # Public IP
- #================================================ END go2rtc part ======================================================
- ffmpeg:
- output_args:
- record: preset-record-generic-audio-copy
- input_args: preset-rtsp-restream
- ui:
- time_format: 24hour
- timezone: Europe/Moscow
- date_style: medium
- time_style: medium
- strftime_fmt: '%Y-%m-%d %H:%M:%S'
- telemetry:
- network_interfaces:
- - eth0@if149
- - isolated@if153
- stats:
- amd_gpu_stats: false
- intel_gpu_stats: true
- network_bandwidth: true
- version_check: true
- snapshots:
- enabled: true
- timestamp: false
- bounding_box: true
- clean_copy: true
- retain:
- default: 7
- objects:
- person: 30
- record:
- sync_recordings: true
- expire_interval: 720
- enabled: true
- retain:
- days: 7
- mode: all
- alerts:
- retain:
- days: 30
- detections:
- retain:
- days: 30
- birdseye:
- enabled: false
- audio:
- enabled: true
- max_not_heard: 30
- min_volume: 500
- listen:
- - speech
- filters:
- speech:
- threshold: 0.8
- semantic_search:
- enabled: true
- model_size: small
- reindex: false
- genai:
- enabled: true
- provider: gemini
- api_key: '{FRIGATE_GEMINI_API}'
- #model: gemini-1.5-flash
- #model: gemini-2.0-flash-exp
- model: gemini-2.5-flash-preview-04-17
- prompt: Analyze the {label} in these images from the {camera} security camera at
- the front door. Focus on the actions and potential intent of the {label}. Reply
- in Russian.
- object_prompts:
- person: Examine the person in these images. What are they doing, and how might
- their actions suggest their purpose (e.g., delivering something, approaching,
- leaving)? If they are carrying or interacting with a package, include details
- about its source or destination. Reply in Russian.
- #================== DETECTOR ===================================
- detectors:
- ov_1:
- type: openvino
- device: CPU
- ov_2:
- type: openvino
- device: CPU
- ov_3:
- type: openvino
- device: CPU
- model:
- width: 300
- height: 300
- input_tensor: nhwc
- input_pixel_format: bgr
- labelmap_path: /openvino-model/coco_91cl_bkgr.txt
- path: /openvino-model/ssdlite_mobilenet_v2.xml
- #==============================================================
- # ========================== SETTINGS =========================
- detect:
- enabled: true
- face_recognition:
- enabled: true
- model_size: small
- save_attempts: 1000
- lpr:
- enabled: false
- classification:
- bird:
- enabled: false
- version: 0.16-0
- camera_groups:
- Home:
- order: 1
- icon: LuAtom
- cameras:
- - entrance
- - hall
- - kitchen
- - livingroom
- - bedroom
- #==============================================================
- cameras:
- ####======================================CAMERA Entrance===========================================
- entrance:
- ffmpeg:
- inputs:
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/entrance_camera_main
- roles:
- - audio
- - record
- - detect
- # - path: rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/entrance_camera_main
- # roles:
- # - detect
- mqtt:
- enabled: true
- timestamp: false
- bounding_box: false
- crop: false
- quality: 100
- height: 1080
- genai:
- enabled: true
- use_snapshot: false
- face_recognition:
- enabled: true
- min_area: 9000
- motion:
- threshold: 45
- contour_area: 40
- mqtt_off_delay: 15
- improve_contrast: true
- mask: 0.011,0.931,0.226,0.937,0.226,0.973,0.011,0.978
- objects:
- track:
- - person
- filters:
- person:
- threshold: 0.8
- min_area: 10000
- max_area: 500000
- live:
- streams:
- entrance_camera_main: entrance_camera_main
- review:
- detections:
- labels: []
- alerts:
- labels:
- - person
- zones:
- entrance_far_zone:
- coordinates: 0.548,0.745,0.453,0.73,0.435,0.779,0.448,0.782,0.422,0.837,0.551,0.857
- loitering_time: 0
- objects: person
- entrance_near_zone:
- coordinates:
- 0.422,0.837,0.414,0.833,0.364,0.947,0.347,0.977,0.325,0.968,0.307,0.999,0.557,0.999,0.551,0.857
- loitering_time: 0
- objects: person
- entrance_stair_zone:
- coordinates:
- 0.596,0.997,0.588,0.924,0.887,0.617,0.972,0.644,0.927,0.821,0.856,0.971,0.822,0.997
- loitering_time: 0
- objects: person
- detect:
- annotation_offset: -1000
- ####======================================CAMERA BEDROOM===========================================
- bedroom:
- ffmpeg:
- inputs:
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/bedroom_camera_main
- roles:
- - record
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/bedroom_camera_main?audio=aac
- roles:
- - audio
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/bedroom_camera_sub
- roles:
- - detect
- genai:
- enabled: false
- objects:
- track:
- - person
- filters:
- person:
- threshold: 0.8
- mask: []
- mqtt:
- enabled: false
- motion:
- threshold: 45
- contour_area: 40
- mqtt_off_delay: 30
- mask: 0.585,0.933,0.584,0.988,0.948,0.983,0.944,0.93
- improve_contrast: true
- face_recognition:
- enabled: false
- live:
- streams:
- bedroom_camera_main: bedroom_camera_main
- review:
- detections:
- labels:
- - person
- alerts:
- labels: []
- detect:
- annotation_offset: -500
- ####======================================CAMERA LIVINGROOM===========================================
- livingroom:
- ffmpeg:
- inputs:
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/livingroom_camera_main
- roles:
- - record
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/livingroom_camera_main?audio=aac
- roles:
- - audio
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/livingroom_camera_sub
- roles:
- - detect
- genai:
- enabled: false
- face_recognition:
- enabled: false
- objects:
- track:
- - person
- filters:
- person:
- threshold: 0.8
- mask: 0.61,1,0.567,0.606,0.42,0.603,0.314,0.72,0.306,1
- mqtt:
- enabled: false
- motion:
- threshold: 45
- contour_area: 40
- mqtt_off_delay: 30
- mask:
- - 0.192,0.335,0.157,0.006,0.397,0.006,0.401,0.183
- - 0.725,0.212,0.71,0.343,0.598,0.265,0.602,0.144
- - 0.99,1,0.992,0.898,0.665,0.743,0.624,0.74,0.577,0.751,0.563,0.731,0.552,0.632,0.524,0.617,0.452,0.633,0.385,0.668,0.355,0.729,0.334,0.782,0.328,1,0.384,1
- - 0.662,0.345,0.688,0.362,0.696,0.337,0.667,0.319
- improve_contrast: true
- live:
- streams:
- livingroom_camera_main: livingroom_camera_main
- review:
- detections:
- labels:
- - person
- alerts:
- labels: []
- detect:
- annotation_offset: -500
- ####======================================CAMERA HALL===========================================
- hall:
- ffmpeg:
- inputs:
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/hall_camera_main
- roles:
- - record
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/hall_camera_main?audio=aac
- roles:
- - audio
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/hall_camera_sub
- roles:
- - detect
- mqtt:
- enabled: false
- genai:
- enabled: false
- face_recognition:
- enabled: false
- objects:
- track:
- - person
- filters:
- person:
- threshold: 0.8
- motion:
- threshold: 45
- contour_area: 40
- mqtt_off_delay: 30
- # mqtt:
- # enabled: true
- # timestamp: false
- # bounding_box: false
- # crop: true
- # quality: 100
- # height: 500
- improve_contrast: true
- mask: 0.228,0.042,0.227,0.003,0.924,0.001,0.935,0.034
- live:
- streams:
- hall_camera_main: hall_camera_main
- review:
- detections:
- labels:
- - person
- alerts:
- labels: []
- detect:
- annotation_offset: -1000
- ####======================================CAMERA Kitchen===========================================
- kitchen:
- ffmpeg:
- inputs:
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/kitchen_camera_main
- roles:
- - record
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/kitchen_camera_main?audio=aac
- roles:
- - audio
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/kitchen_camera_sub
- roles:
- - detect
- genai:
- enabled: false
- objects:
- track:
- - person
- filters:
- person:
- threshold: 0.8
- mask:
- - 0.469,0.133,0.473,0,0.262,0,0.292,0.235
- - 0.175,0.423,0.294,0.283,0.278,0.144,0.138,0.292
- mqtt:
- enabled: false
- face_recognition:
- enabled: false
- # mqtt:
- # enabled: true
- # timestamp: false
- # bounding_box: false
- # crop: true
- # quality: 100
- # height: 500
- motion:
- threshold: 45
- contour_area: 35
- mqtt_off_delay: 30
- mask:
- - 0.511,0.163,0.517,0,0.249,0,0.283,0.302
- - 0.175,0.423,0.294,0.283,0.278,0.144,0.138,0.292
- - 0.004,0.88,0.367,0.888,0.368,0.934,0.213,0.938,0.181,0.94,0.112,0.935,0,0.935
- improve_contrast: true
- live:
- streams:
- kitchen_camera_main: kitchen_camera_main
- review:
- detections:
- labels:
- - person
- alerts:
- labels: []
- detect:
- annotation_offset: -1500
- ####======================================CAMERA ANYCUBIC===========================================
- anycubic:
- ffmpeg:
- inputs:
- - path:
- rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/anycubic_camera_main_frigate
- roles:
- - record
- motion:
- threshold: 45
- contour_area: 40
- mqtt_off_delay: 30
- improve_contrast: true
- genai:
- enabled: false
- mqtt:
- enabled: false
- detect:
- enabled: false
- snapshots:
- enabled: false
- audio:
- enabled: false
- face_recognition:
- enabled: false
- live:
- streams:
- anycubic_camera_main_frigate: anycubic_camera_main_frigate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement