Hello,
i try to use frigate addon in my home assistant. HA is installed on a proxmox.
yml config:
mqtt:
enabled: true
host: ip homeassistant
user: user
password: pw
topic_prefix: frigate
# Optional: client id (default: shown below)
# WARNING: must be unique if you are running multiple instances
client_id: frigate
# Optional: interval in seconds for publishing stats (default: shown below)
stats_interval: 60
ffmpeg:
hwaccel_args: preset-vaapi
# Optional: Detectors configuration. Defaults to a single CPU detector
detectors:
# Required: name of the detector
detector_name:
# Required: type of the detector
# Frigate provided types include 'cpu', 'edgetpu', and 'openvino' (default: shown below)
# Additional detector types can also be plugged in.
# Detectors may require additional configuration.
# Refer to the Detectors configuration page for more information.
type: cpu
birdseye:
enabled: True
restream: True
mode: objects
objects:
track:
- person
- car
filters:
person:
min_area: 5000
max_area: 100000
cameras:
annkec800: # <------ Name the camera
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps
1 -strftime 1 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a aac
inputs:
- path: rtsp://rtsp path
<----- Update for your camera
roles:
- detect
detect:
width: # <- optional, by default Frigate tries to automatically detect resolution
height: # <- optional, by default Frigate tries to automatically detect resolution
i got this error:
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service certsync-log: starting
s6-rc: info: service certsync-log successfully started
s6-rc: info: service nginx-log successfully started
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service frigate-log successfully started
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service go2rtc-healthcheck successfully started
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
2024-09-13 12:20:35.697596800 [INFO] Preparing new go2rtc config...
2024-09-13 12:20:35.697748835 [INFO] Preparing Frigate...
2024-09-13 12:20:35.700046391 [INFO] Starting NGINX...
2024-09-13 12:20:35.714692513 [INFO] No TLS certificate found. Generating a self signed certificate...
2024-09-13 12:20:35.720844808 [INFO] Starting Frigate...
2024-09-13 12:20:35.744809946 [INFO] Got IP address from supervisor: 192.168.178.64
2024-09-13 12:20:35.789825497 [INFO] Got WebRTC port from supervisor: 8550
2024-09-13 12:20:36.252624819 [INFO] Starting go2rtc...
2024-09-13 12:20:36.467537490 14:20:36.467 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-09-13 12:20:36.469772380 14:20:36.469 INF config path=/dev/shm/go2rtc.yaml
2024-09-13 12:20:36.470328936 14:20:36.470 INF [api] listen addr=:1984
2024-09-13 12:20:36.470788206 14:20:36.470 INF [rtsp] listen addr=:8554
2024-09-13 12:20:36.471401776 14:20:36.471 INF [webrtc] listen addr=:8555/tcp
s6-rc: info: service nginx successfully started
s6-rc: info: service certsync: starting
s6-rc: info: service certsync successfully started
2024-09-13 12:20:37.506216591 [INFO] Starting certsync...
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2024-09-13 12:20:37.590787883 127.0.0.1 - - [13/Sep/2024:14:20:37 +0200] "" 400 0 "-" "-" "-"
2024-09-13 12:20:37.639819901 [2024-09-13 14:20:37] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2024-09-13 12:20:37.640307850 [2024-09-13 14:20:37] frigate.app INFO : Creating directory: /tmp/cache
2024-09-13 12:20:37.645538529 [2024-09-13 14:20:37] frigate.util.config INFO : Checking if frigate config needs migration...
2024-09-13 12:20:37.648544816 [2024-09-13 14:20:37] frigate.util.config INFO : copying config as backup...
2024-09-13 12:20:37.649106355 [2024-09-13 14:20:37] frigate.util.config INFO : Migrating frigate config from 0.13 to 0.14...
2024-09-13 12:20:37.655077866 [2024-09-13 14:20:37] frigate.util.config INFO : Migrating export file names...
2024-09-13 12:20:37.660660227 [2024-09-13 14:20:37] frigate.util.config INFO : Finished frigate config migration...
2024-09-13 12:20:37.662745463 *************************************************************
2024-09-13 12:20:37.662808820 *************************************************************
2024-09-13 12:20:37.662849839 *** Your config file is not valid! ***
2024-09-13 12:20:37.662887705 *** Please check the docs at ***
2024-09-13 12:20:37.662925239 *** https://docs.frigate.video/configuration/index ***
2024-09-13 12:20:37.662962780 *************************************************************
2024-09-13 12:20:37.663013581 *************************************************************
2024-09-13 12:20:37.663052581 *** Config Validation Errors ***
2024-09-13 12:20:37.663089804 *************************************************************
2024-09-13 12:20:37.663222041 objects.cameras: Extra inputs are not permitted
2024-09-13 12:20:37.663280224 objects.annkec800: Extra inputs are not permitted
2024-09-13 12:20:37.663323091 cameras: Field required
2024-09-13 12:20:37.663363228 *************************************************************
2024-09-13 12:20:37.663410565 *** End Config Validation Errors ***
2024-09-13 12:20:37.663448776 *************************************************************
2024-09-13 12:20:38.870436033 [INFO] Service Frigate exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service go2rtc-healthcheck: stopping
s6-rc: info: service certsync: stopping
2024-09-13 12:20:38.881354725 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2024-09-13 12:20:38.882794866 [INFO] Service CERTSYNC exited with code 256 (by signal 15)
s6-rc: info: service certsync successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service certsync-log: stopping
s6-rc: info: service certsync-log successfully stopped
2024-09-13 12:20:38.907393330 [INFO] Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service nginx-log: stopping
s6-rc: info: service frigate: stopping
s6-rc: info: service frigate successfully stopped
s6-rc: info: service go2rtc: stopping
s6-rc: info: service frigate-log: stopping
s6-rc: info: service nginx-log successfully stopped
2024-09-13 12:20:38.915369811 exit with signal: terminated
2024-09-13 12:20:38.920779535 [INFO] The go2rtc service exited with code 0 (by signal 0)
s6-rc: info: service go2rtc successfully stopped
s6-rc: info: service go2rtc-log: stopping
s6-rc: info: service frigate-log successfully stopped
s6-rc: info: service go2rtc-log successfully stopped
s6-rc: info: service log-prepare: stopping
s6-rc: info: service s6rc-fdholder: stopping
s6-rc: info: service log-prepare successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service s6rc-fdholder successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
can anybody help me to repair my configure?