Can someone please have a look att my frigate.yml code? #6592
-
I run HAOS in an Intel NUC with the Frigate add on and it works great but i read so many different settings so i would be super happy if any one could maybe correct me in some places if i can make it even better/ cleaner mqtt:
host: xxx.xxx.xxx.xxx
port: 1883
topic_prefix: frigate
client_id: frigate
user: xxxxxxxxxxxx
password: "xxxxxxxxx"
stats_interval: 60
detectors:
coral:
type: edgetpu
device: usb
rtmp:
enabled: False
birdseye:
enabled: True
detect:
width: 704
height: 576
fps: 5
objects:
track:
- person
record:
enabled: True
events:
pre_capture: 5
post_capture: 5
objects:
- person
snapshots:
enabled: True
timestamp: True
bounding_box: True
cameras:
front:
record:
enabled: True
ffmpeg:
inputs:
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
motion:
mask:
- 0,0,0,576,50,576,426,161,453,43,529,45,625,0
parking:
record:
enabled: True
ffmpeg:
inputs:
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
motion:
mask:
- 704,0,704,576,50,232,0,263,0,0
back:
record:
enabled: True
ffmpeg:
inputs:
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
motion:
mask:
- 658,218,704,0,0,0,0,176
- 0,439,0,183,181,180
vrum:
record:
enabled: True
ffmpeg:
inputs:
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- path: rtsp://xxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
logger:
default: info |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Looks good to me. You have a little bit of redundancy. Settings set globally don't need to be repeated under the camera unless they have different values. Also, some of your settings are the default values, so they could be removed too. Unless you have problems, I think you are good. |
Beta Was this translation helpful? Give feedback.
-
thank you so much @NickM-27, Finally i feel i have it correct and DRY |
Beta Was this translation helpful? Give feedback.
yes you can remove that.
You can also remove
as these are defaults for example