forked from mostlychris/homeassistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrigate.yml
233 lines (223 loc) · 5.37 KB
/
frigate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
mqtt:
host: 172.16.1.121
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqttuser
password: mqttpass
stats_interval: 60
database:
path: /media/frigate/clips/frigate.db
cameras:
driveway:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.26:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://user:pass@172.16.1.26:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 640
height: 480
fps: 5
objects:
track:
- person
- dog
- bicycle
- cat
filters:
person:
threshold: 0.6
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 5
zones:
drivewayclose_in:
coordinates: 0,480,286,480,312,323,221,223,233,161,107,133,36,212,0,279
motion:
mask:
- 2,465,328,468,330,432,5,431
threshold: 20
contour_area: 75
record:
enabled: true
retain_days: 4
front_porch:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.27:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://user:pass@172.16.1.27:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 640
height: 480
fps: 5
objects:
track:
- person
- dog
- bicycle
- cat
# - car
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 5
motion:
mask:
- 0,480,198,480,200,449,0,451
- 640,0,640,36,640,111,608,135,485,96,504,0
- 439,200,441,324,512,320,532,261,554,188,540,129,451,134
- 370,0,356,100,291,79,292,0
zones:
front_porch_close_in:
coordinates: 45,480,362,480,640,480,640,254,546,212,525,328,466,343,408,272,348,70,253,64,181,118,67,178
record:
enabled: true
retain_days: 2
back_porch:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.29:554/Streaming/Channels/102
roles:
- detect
- path: rtsp://user:pass@172.16.1.29:554/Streaming/Channels/101
roles:
- record
detect:
width: 640
height: 480
fps: 6
objects:
track:
- person
- dog
- cat
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 5
motion:
mask:
- 23,480,333,480,333,442,26,440
- 640,95,640,0,464,0
- 258,211,323,246,357,142,274,140
- 383,342,457,365,477,261,401,232
- 425,131,553,227,640,251,640,213,607,176,460,88
zones:
deck_area:
coordinates: 0,284,0,457,207,480,474,480,640,480,540,406,392,259,253,106,166,31,108,49,0,72
record:
enabled: true
retain_days: 0
events:
retain:
default: 5
deck:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.28:554/Streaming/Channels/102
roles:
- detect
- path: rtsp://user:pass@172.16.1.28:554/Streaming/Channels/101
roles:
- record
detect:
width: 640
height: 480
fps: 6
objects:
track:
- person
- dog
- cat
filters:
person:
threshold: 0.65
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 5
motion:
mask:
- 374,480,640,480,640,442,372,442
record:
enabled: true
retain_days: 0
events:
retain:
default: 5
garage:
ffmpeg:
inputs:
- path: rtsp://user:pass@172.16.1.174:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://user:pass@172.16.1.174:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 640
height: 480
fps: 5
objects:
track:
- person
- dog
- bicycle
- cat
filters:
person:
threshold: 0.5
snapshots:
enabled: true
timestamp: false
bounding_box: true
retain:
default: 5
record:
enabled: true
retain_days: 0
events:
retain:
default: 5
motion:
mask:
- 352,142,492,157,552,151,640,132,640,0,343,0
- 457,480,640,480,640,445,453,444
detectors:
coral:
type: edgetpu
device: usb
rtmp:
enabled: false
birdseye:
# Optional: Enable birdseye view (default: shown below)
enabled: True
# Optional: Width of the output resolution (default: shown below)
width: 1280
# Optional: Height of the output resolution (default: shown below)
height: 720
# Optional: Encoding quality of the mpeg1 feed (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
quality: 3
# Optional: Mode of the view. Available options are: objects, motion, and continuous
# objects - cameras are included if they have had a tracked object within the last 30 seconds
# motion - cameras are included if motion was detected in the last 30 seconds
# continuous - all cameras are included always
mode: objects