Frigate
Table of Contents
Frigate is another docker based install. I run it as part of the compose file that also includes Home Assistant.
Grab the image
It was about 1.7GB.
sudo docker pull ghcr.io/blakeblackshear/frigate:stable
Create a dataset on our ZFS volume
Not strictly necessary, but at the moment I want to keep this data separate until my configuration is stable. This makes it easier to push elsewhere if I want.
If yamato_zstorage
is mounted at /path/to/storage
this will end up in /path/to/storage/frigate-media
.
sudo zfs create yamato_zstorage/frigate-media
Create a volume for configuration storage
sudo docker volume create frigate-config
Write a docker compose file
Mine is a combination of Home Assistant and Frigate containers. TODO
Configure your cameras
Recommendation seems to be to use a main recording stream at full resolution. Then a smaller substream at something like 720p for motion detection. See Cameras.
Write a frigate config
The Getting started guide has it a lot more step by step which is a good way to go to test things.
Once you get a basic config working you can use the web interface (port 5000) to modify the config and restart Frigate.
Here's my config though:
TODO
TODO Add some motion masks. In particular bushes and trees in the wind are really bad about triggering motion detection.