[Config Support]: Tuning Motion Detection During the Night #13415
-
Describe the problem you are havingThe docs contain the following statement:
Can somebody explain how to use HomeAssistant to change the settings? My specific goal is to use home assistant to toggle person detection off on our indoor cameras when the family is home, while leaving cat detection running. Version0.14.0-da913d8 Frigate config file## Away mode
objects:
track:
- person
- cat
## Home mode
objects:
track:
- cat Relevant Frigate log outputnone Relevant go2rtc log outputnone Frigate statsNo response Operating systemHassOS Install methodHassOS Addon Object DetectorCoral Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
You use the home assistant integration, which has many switches for control https://github.com/blakeblackshear/frigate-hass-integration |
Beta Was this translation helpful? Give feedback.
-
After using the above file swapping solution for a few days I decided that it wasn't a good long term solution and that it wasn't scalable. I figured I would soon have 5 similar frigate.yaml files to maintain and I didn't like not being able to use the built-in configuration editor. So I came up with a script that will toggle sections of frigate.yaml on and off by commenting and uncommenting tagged blocks, which works orders of magnitude better. All of the configuration stays in one place and just gets activated when needed from an automation. Here is an example of what that looks like:
I think this works well for anything that can't be managed with the Home Assistant integration. The added benefit is that it can be used on any other files in the file system that use |
Beta Was this translation helpful? Give feedback.
After using the above file swapping solution for a few days I decided that it wasn't a good long term solution and that it wasn't scalable. I figured I would soon have 5 similar frigate.yaml files to maintain and I didn't like not being able to use the built-in configuration editor. So I came up with a script that will toggle sections of frigate.yaml on and off by commenting and uncommenting tagged blocks, which works orders of magnitude better. All of the configuration stays in one place and just gets activated when needed from an automation. Here is an example of what that looks like: