[Config Support]: Saving frigate config overwrites the go2rtc config #20261
Replies: 1 comment 6 replies
-
|
This is a known issue with Frigate's go2rtc HomeKit configuration. When using the HomeKit module from go2rtc, the pairing information gets written to The issue occurs because go2rtc appends client_id information to its configuration file after successful HomeKit pairing, but Frigate uses a temporary filesystem location that gets overwritten(1). The current workaround is to manually copy the pairing information from the go2rtc configuration and add it to your Frigate go2rtc:
streams:
camera_1:
# ...
homekit:
camera_1:
pairings:
- client_id=...Without this manual step, you'll see errors like This behavior affects any go2rtc configuration changes that need to persist, as Frigate regenerates the go2rtc configuration from its own config file on startup. You'll need to manually backup and restore any dynamic go2rtc configuration that gets written during operation. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
I have go2rtc configured with homekit support that then records pairings in the go2rtc file. The problem is even if I comment it out it, will override the other config. I tried copying the pairings, but the frigate will not allow it to save with the pairings section added.
Since Frigate does not check, import, or do any sanity checks; I am suggesting that we either do sanity checks or if the go2rtc section is not present in config we do not nuke it. As it stands the only workaround is for the user to go to the go2rtc/config and manually back up the homekit section so they can paste it back in after a config change.
Version
0.16.1-e664cb2
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
docker-compose file or Docker CLI command
Not relevantObject Detector
OpenVino
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions