70 lines
1.2 KiB
YAML
70 lines
1.2 KiB
YAML
# Home-assistant connection settings
|
|
mqtt:
|
|
host: frigate-mqtt
|
|
port: 1883
|
|
user: $HOME_ASSISTANT_MQTT_USER
|
|
password: $HOME_ASSISTANT_MQTT_PASSWORD
|
|
stats_interval: 60
|
|
|
|
# Ffmpeg configuration
|
|
ffmpeg:
|
|
hwaccel_args: preset-vaapi
|
|
|
|
# Snapshots configuration
|
|
snapshots:
|
|
enabled: true
|
|
clean_copy: true
|
|
timestamp: true
|
|
bounding_box: true
|
|
crop: false
|
|
retain:
|
|
default: 10
|
|
objects:
|
|
person: 10
|
|
|
|
# Recordings configuration
|
|
record:
|
|
enabled: true
|
|
retain:
|
|
days: 3
|
|
mode: motion
|
|
alerts:
|
|
retain:
|
|
days: 30
|
|
mode: motion
|
|
detections:
|
|
retain:
|
|
days: 30
|
|
mode: motion
|
|
|
|
# Cameras configuration
|
|
cameras:
|
|
camera-1:
|
|
enabled: true
|
|
onvif: # Enable if camera supports it
|
|
host: ip_address
|
|
port: 2020
|
|
user: user
|
|
password: password
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://user:password@ip_address:port/url # Check the camera documentation
|
|
roles:
|
|
- detect
|
|
- record
|
|
detect:
|
|
enabled: true
|
|
width: 1280
|
|
height: 720
|
|
fps: 5
|
|
|
|
# Coral TPU configuration
|
|
detectors:
|
|
coral:
|
|
type: edgetpu
|
|
device: usb
|
|
|
|
version: 0.16-0
|
|
|
|
tls:
|
|
enabled: false |