eine funktionierende frigate.yml!, ansonsten schaltet sich das Addon immer von selbst aus
ich habe do konfiguriert in der Konfiguration-Tab:
mqqt:
host: xxx.xxx.xxx.xx
port: 1883
user: mqttuser
password: mypassword
cameras:
frontCamera:
ffmpeg:
inputs:
- path: rtsp://username
assword@ip_address:554//h264Preview_01_main
roles:
- detect
detect:
width: 1280
height: 720
detectors:
cpu1:
type: cpu
leider bekommt immer Fehler wie folgt:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-11-08 09:29:47] frigate.app INFO : Starting Frigate (0.11.1-2eada21)
*************************************************************
*************************************************************
*** Your config file is not valid! ***
*** Please check the docs at ***
***
https://docs.frigate.video/configuration/index ***
*************************************************************
*************************************************************
*** Config Validation Errors ***
*************************************************************
2 validation errors for FrigateConfig
mqtt
field required (type=value_error.missing)
mqqt
extra fields not permitted (type=value_error.extra)
Traceback (most recent call last):
File "/opt/frigate/frigate/app.py", line 332, in start
self.init_config()
File "/opt/frigate/frigate/app.py", line 82, in init_config
user_config = FrigateConfig.parse_file(config_file)
File "/opt/frigate/frigate/config.py", line 942, in parse_file
return cls.parse_obj(config)
File "/usr/local/lib/python3.9/dist-packages/pydantic/main.py", line 521, in parse_obj
return cls(**obj)
File "/usr/local/lib/python3.9/dist-packages/pydantic/main.py", line 341, in __init__
raise validation_error
pydantic.error_wrappers.ValidationError: 2 validation errors for FrigateConfig
mqtt
field required (type=value_error.missing)
mqqt
extra fields not permitted (type=value_error.extra)
*************************************************************
*** End Config Validation Errors ***
*************************************************************
[cmd] python3 exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.