I am having difficult trying to configure Frigate yml to have more than one camera. I currently have 8 cameras I will like to add to frigate. but cannot figure it out. I searched and found some option but none work for me. this is how my frigate yml look like
mqtt:
host: xxx.xxx.xxx.xxx #Insert the IP address of your Home Assistant
port: 1883 #Leave as default 1883 or change to match the port set in yout MQTT Broker configuration
topic_prefix: frigate
client_id: frigate
user: mqtt_user #Change to match the username set in your MQTT Broker
password: XXXXXXX #Change to match the password set in your MQTT Broker
stats_interval: 60
cameras:
LivingRoom: #Change this to a name of the camera that makes sense to you
ffmpeg:
output_args:
record: preset-record-generic-audio-aac #Insert this if your camera supports audio output
inputs:
- path: rtsp://user:[email protected]:554/h265Preview_01_main #Change as per your camera documentation for high quality feed
roles:
- record
- path: rtsp://user:[email protected]:554/h265Preview_01_sub #Change as per your camera documentation for low quality feed
roles:
- detect
detect:
height: 480 #Change this to match the resolution of your detection channel (in this case channel 1)
width: 640 #Change this to match the resolution of your detection channel (in this case channel 1)
fps: 10 #This is the frame rate for detection, between 5-10 fps is sufficient.
record:
enabled: true
retain:
days: 0 #The number of days a recording will be kept for after a motion is detected.
mode: motion
alerts:
retain:
days: 30
detections:
retain:
days: 30
objects:
track:
- person
- car
version: 0.15-1
Garage: #Change this to a name of the camera that makes sense to you
ffmpeg:
output_args:
record: preset-record-generic-audio-aac #Insert this if your camera supports audio output
inputs:
- path: rtsp://user:[email protected]:554/h265Preview_01_main #Change as per your camera documentation for high quality feed
roles:
- record
- path: rtsp://user:[email protected]:554/h265Preview_01_sub #Change as per your camera documentation for low quality feed
roles:
- detect
detect:
height: 480 #Change this to match the resolution of your detection channel (in this case channel 1)
width: 640 #Change this to match the resolution of your detection channel (in this case channel 1)
fps: 10 #This is the frame rate for detection, between 5-10 fps is sufficient.
record:
enabled: true
retain:
days: 0 #The number of days a recording will be kept for after a motion is detected.
mode: motion
alerts:
retain:
days: 30
detections:
retain:
days: 30
objects:
track:
- person
- car
version: 0.15-1