· 3 months ago · Jun 18, 2025, 04:40 PM
1mqtt:
2 host: 192.168.2.120
3 user: '{FRIGATE_MQTT_LOGIN}'
4 password: '{FRIGATE_MQTT_PASSWORD}'
5 client_id: frigate
6 stats_interval: 30
7
8auth:
9 failed_login_rate_limit: 1/second;5/minute;20/hour
10 trusted_proxies:
11 - 192.168.2.50
12
13#================================================ go2rtc part ========================================================
14go2rtc:
15 rtsp:
16 listen: :8554
17 username: '{FRIGATE_GO2RTC_RTSP_USERNAME}'
18 password: '{FRIGATE_GO2RTC_RTSP_PASSWORD}'
19
20 streams:
21#*********************************************** MAIN FLOW ************************************************************
22 entrance_camera_main:
23 ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.125/cam/realmonitor?channel=1&subtype=1#video=copy#audio=copy#audio=opus
24
25 kitchen_camera_main:
26 ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.33/cam/realmonitor?channel=1&subtype=0#video=copy#audio=copy#audio=opus
27 hall_camera_main:
28 ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.34/cam/realmonitor?channel=1&subtype=0#video=copy#audio=copy#audio=opus
29 livingroom_camera_main:
30 ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.35/cam/realmonitor?channel=1&subtype=0#video=copy#audio=copy#audio=opus
31 bedroom_camera_main:
32 ffmpeg:rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.32/cam/realmonitor?channel=1&subtype=0#video=copy#audio=copy#audio=opus
33
34 #*********************************************** SUB FLOW ************************************************************
35 livingroom_camera_sub:
36 rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.35/cam/realmonitor?channel=1&subtype=1
37 bedroom_camera_sub:
38 rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.32/cam/realmonitor?channel=1&subtype=1
39 hall_camera_sub:
40 rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.34/cam/realmonitor?channel=1&subtype=1
41 kitchen_camera_sub:
42 rtsp://{FRIGATE_CAMERA_LOGIN}:{FRIGATE_CAMERA_PASSWORD}@192.168.1.33/cam/realmonitor?channel=1&subtype=1
43 anycubic_camera_main: rtsp://rtsp:{FRIGATE_CAMERA_PASSWORD}@192.168.1.223:554/av_stream/ch0
44 anycubic_camera_main_frigate: ffmpeg:anycubic_camera_main#video=copy#audio=opus#audio=aac
45
46
47#**************************************************************************************************************************
48 webrtc:
49 listen: :8555/tcp
50 candidates:
51 - XX.XX.XX.XX:8555 # Public IP
52#================================================ END go2rtc part ======================================================
53
54ffmpeg:
55 output_args:
56 record: preset-record-generic-audio-copy
57 input_args: preset-rtsp-restream
58
59ui:
60 time_format: 24hour
61 timezone: Europe/Moscow
62 date_style: medium
63 time_style: medium
64 strftime_fmt: '%Y-%m-%d %H:%M:%S'
65
66telemetry:
67 network_interfaces:
68 - eth0@if149
69 - isolated@if153
70 stats:
71 amd_gpu_stats: false
72 intel_gpu_stats: true
73 network_bandwidth: true
74 version_check: true
75
76
77snapshots:
78 enabled: true
79 timestamp: false
80 bounding_box: true
81 clean_copy: true
82 retain:
83 default: 7
84 objects:
85 person: 30
86
87record:
88 sync_recordings: true
89 expire_interval: 720
90 enabled: true
91 retain:
92 days: 7
93 mode: all
94 alerts:
95 retain:
96 days: 30
97 detections:
98 retain:
99 days: 30
100
101birdseye:
102 enabled: false
103
104audio:
105 enabled: true
106 max_not_heard: 30
107 min_volume: 500
108 listen:
109 - speech
110 filters:
111 speech:
112 threshold: 0.8
113
114semantic_search:
115 enabled: true
116 model_size: small
117 reindex: false
118
119genai:
120 enabled: true
121 provider: gemini
122 api_key: '{FRIGATE_GEMINI_API}'
123 #model: gemini-1.5-flash
124 #model: gemini-2.0-flash-exp
125 model: gemini-2.5-flash-preview-04-17
126 prompt: Analyze the {label} in these images from the {camera} security camera at
127 the front door. Focus on the actions and potential intent of the {label}. Reply
128 in Russian.
129 object_prompts:
130 person: Examine the person in these images. What are they doing, and how might
131 their actions suggest their purpose (e.g., delivering something, approaching,
132 leaving)? If they are carrying or interacting with a package, include details
133 about its source or destination. Reply in Russian.
134
135#================== DETECTOR ===================================
136detectors:
137 ov_1:
138 type: openvino
139 device: CPU
140 ov_2:
141 type: openvino
142 device: CPU
143 ov_3:
144 type: openvino
145 device: CPU
146model:
147 width: 300
148 height: 300
149 input_tensor: nhwc
150 input_pixel_format: bgr
151 labelmap_path: /openvino-model/coco_91cl_bkgr.txt
152 path: /openvino-model/ssdlite_mobilenet_v2.xml
153#==============================================================
154
155# ========================== SETTINGS =========================
156detect:
157 enabled: true
158face_recognition:
159 enabled: true
160 model_size: small
161 save_attempts: 1000
162lpr:
163 enabled: false
164classification:
165 bird:
166 enabled: false
167
168version: 0.16-0
169camera_groups:
170 Home:
171 order: 1
172 icon: LuAtom
173 cameras:
174 - entrance
175 - hall
176 - kitchen
177 - livingroom
178 - bedroom
179#==============================================================
180
181
182cameras:
183####======================================CAMERA Entrance===========================================
184 entrance:
185 ffmpeg:
186 inputs:
187 - path:
188 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/entrance_camera_main
189 roles:
190 - audio
191 - record
192 - detect
193
194 # - path: rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/entrance_camera_main
195 # roles:
196 # - detect
197 mqtt:
198 enabled: true
199 timestamp: false
200 bounding_box: false
201 crop: false
202 quality: 100
203 height: 1080
204 genai:
205 enabled: true
206 use_snapshot: false
207 face_recognition:
208 enabled: true
209 min_area: 9000
210
211 motion:
212 threshold: 45
213 contour_area: 40
214 mqtt_off_delay: 15
215 improve_contrast: true
216 mask: 0.011,0.931,0.226,0.937,0.226,0.973,0.011,0.978
217 objects:
218 track:
219 - person
220 filters:
221 person:
222 threshold: 0.8
223 min_area: 10000
224 max_area: 500000
225 live:
226 streams:
227 entrance_camera_main: entrance_camera_main
228 review:
229 detections:
230 labels: []
231 alerts:
232 labels:
233 - person
234 zones:
235 entrance_far_zone:
236 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
237 loitering_time: 0
238 objects: person
239 entrance_near_zone:
240 coordinates:
241 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
242 loitering_time: 0
243 objects: person
244 entrance_stair_zone:
245 coordinates:
246 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
247 loitering_time: 0
248 objects: person
249 detect:
250 annotation_offset: -1000
251####======================================CAMERA BEDROOM===========================================
252 bedroom:
253 ffmpeg:
254 inputs:
255 - path:
256 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/bedroom_camera_main
257 roles:
258 - record
259 - path:
260 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/bedroom_camera_main?audio=aac
261 roles:
262 - audio
263 - path:
264 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/bedroom_camera_sub
265 roles:
266 - detect
267 genai:
268 enabled: false
269 objects:
270 track:
271 - person
272 filters:
273 person:
274 threshold: 0.8
275 mask: []
276 mqtt:
277 enabled: false
278 motion:
279 threshold: 45
280 contour_area: 40
281 mqtt_off_delay: 30
282 mask: 0.585,0.933,0.584,0.988,0.948,0.983,0.944,0.93
283 improve_contrast: true
284 face_recognition:
285 enabled: false
286 live:
287 streams:
288 bedroom_camera_main: bedroom_camera_main
289 review:
290 detections:
291 labels:
292 - person
293 alerts:
294 labels: []
295 detect:
296 annotation_offset: -500
297####======================================CAMERA LIVINGROOM===========================================
298 livingroom:
299 ffmpeg:
300 inputs:
301 - path:
302 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/livingroom_camera_main
303 roles:
304 - record
305 - path:
306 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/livingroom_camera_main?audio=aac
307 roles:
308 - audio
309 - path:
310 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/livingroom_camera_sub
311 roles:
312 - detect
313 genai:
314 enabled: false
315 face_recognition:
316 enabled: false
317 objects:
318 track:
319 - person
320 filters:
321 person:
322 threshold: 0.8
323 mask: 0.61,1,0.567,0.606,0.42,0.603,0.314,0.72,0.306,1
324 mqtt:
325 enabled: false
326 motion:
327 threshold: 45
328 contour_area: 40
329 mqtt_off_delay: 30
330 mask:
331 - 0.192,0.335,0.157,0.006,0.397,0.006,0.401,0.183
332 - 0.725,0.212,0.71,0.343,0.598,0.265,0.602,0.144
333 - 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
334 - 0.662,0.345,0.688,0.362,0.696,0.337,0.667,0.319
335 improve_contrast: true
336 live:
337 streams:
338 livingroom_camera_main: livingroom_camera_main
339 review:
340 detections:
341 labels:
342 - person
343 alerts:
344 labels: []
345 detect:
346 annotation_offset: -500
347
348####======================================CAMERA HALL===========================================
349 hall:
350 ffmpeg:
351 inputs:
352 - path:
353 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/hall_camera_main
354 roles:
355 - record
356 - path:
357 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/hall_camera_main?audio=aac
358 roles:
359 - audio
360 - path:
361 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/hall_camera_sub
362 roles:
363 - detect
364 mqtt:
365 enabled: false
366 genai:
367 enabled: false
368 face_recognition:
369 enabled: false
370 objects:
371 track:
372 - person
373 filters:
374 person:
375 threshold: 0.8
376
377 motion:
378 threshold: 45
379 contour_area: 40
380 mqtt_off_delay: 30
381 # mqtt:
382 # enabled: true
383 # timestamp: false
384 # bounding_box: false
385 # crop: true
386 # quality: 100
387 # height: 500
388 improve_contrast: true
389 mask: 0.228,0.042,0.227,0.003,0.924,0.001,0.935,0.034
390 live:
391 streams:
392 hall_camera_main: hall_camera_main
393 review:
394 detections:
395 labels:
396 - person
397 alerts:
398 labels: []
399 detect:
400 annotation_offset: -1000
401
402####======================================CAMERA Kitchen===========================================
403 kitchen:
404 ffmpeg:
405 inputs:
406 - path:
407 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/kitchen_camera_main
408 roles:
409 - record
410 - path:
411 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/kitchen_camera_main?audio=aac
412 roles:
413 - audio
414 - path:
415 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/kitchen_camera_sub
416 roles:
417 - detect
418 genai:
419 enabled: false
420 objects:
421 track:
422 - person
423 filters:
424 person:
425 threshold: 0.8
426 mask:
427 - 0.469,0.133,0.473,0,0.262,0,0.292,0.235
428 - 0.175,0.423,0.294,0.283,0.278,0.144,0.138,0.292
429 mqtt:
430 enabled: false
431 face_recognition:
432 enabled: false
433 # mqtt:
434 # enabled: true
435 # timestamp: false
436 # bounding_box: false
437 # crop: true
438 # quality: 100
439 # height: 500
440 motion:
441 threshold: 45
442 contour_area: 35
443 mqtt_off_delay: 30
444 mask:
445 - 0.511,0.163,0.517,0,0.249,0,0.283,0.302
446 - 0.175,0.423,0.294,0.283,0.278,0.144,0.138,0.292
447 - 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
448 improve_contrast: true
449 live:
450 streams:
451 kitchen_camera_main: kitchen_camera_main
452 review:
453 detections:
454 labels:
455 - person
456 alerts:
457 labels: []
458 detect:
459 annotation_offset: -1500
460
461####======================================CAMERA ANYCUBIC===========================================
462 anycubic:
463 ffmpeg:
464 inputs:
465 - path:
466 rtsp://{FRIGATE_GO2RTC_RTSP_USERNAME}:{FRIGATE_GO2RTC_RTSP_PASSWORD}@127.0.0.1:8554/anycubic_camera_main_frigate
467 roles:
468 - record
469 motion:
470 threshold: 45
471 contour_area: 40
472 mqtt_off_delay: 30
473 improve_contrast: true
474 genai:
475 enabled: false
476 mqtt:
477 enabled: false
478 detect:
479 enabled: false
480 snapshots:
481 enabled: false
482 audio:
483 enabled: false
484 face_recognition:
485 enabled: false
486 live:
487 streams:
488 anycubic_camera_main_frigate: anycubic_camera_main_frigate
489