I have HA running in a Proxmox VM and I’m trying to setup Frigate for my one Amcrest IP8M-2496EW camera. I’ve installed MQTT, HACS and Frigate. Created frigate.yml file with the yaml code and made the changes to the file. I’m getting these errors in the log after starting:
[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.
[2023-02-11 14:28:53] frigate.app INFO : Starting Frigate (0.11.1-2eada21)
*** Your config file is not valid! ***
*** Please check the docs at ***
*** Configuration File | Frigate ***
*** Config Validation Errors ***
3 validation errors for FrigateConfig
cameras → driveway_cam → fps
extra fields not permitted (type=value_error.extra)
cameras → driveway_cam → height
extra fields not permitted (type=value_error.extra)
cameras → driveway_cam → width
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 “pydantic/main.py”, line 521, in pydantic.main.BaseModel.parse_obj
File “pydantic/main.py”, line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 3 validation errors for FrigateConfig
cameras → driveway_cam → fps
extra fields not permitted (type=value_error.extra)
cameras → driveway_cam → height
extra fields not permitted (type=value_error.extra)
cameras → driveway_cam → width
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.
I can access the camera IP address on my home network so I know it’s working. I don’t understand “extra fields not permitted” in the HA log.
Here’s the frigate.yml file:
mqtt:
host: xxx.xxx.x.xx
user: admin
password: xxxxxxxxxx
cameras:
driveway_cam:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0&authbasic=64
roles:
- detect
width: 1280
height: 720
fps: 10
detectors:
cpu1:
type: cpu
cpu2:
type: cpu
Any help would be greatly appreciated.