Hi, I just got things working and hope I can help others on the same journey. Just to give a little context in case anyone else is attempting the same thing, my goal was:
- Home Assistant OS running in a Proxmox VM
- Add-ons for Frigate and Docker-Wyze-Bridge
- Frigate saving footage to a NAS
- Frigate integration adding cards to my dashboard
- Coral TPU passed to Frigate add-on
- Zigbee dongle passed to HAOS (SkyConnect)
I previously had a separate Proxmox container running Frigate (separate from Home Assistant), however due to some hardware limitations I wanted to bring all of the functionality under HAOS using the Add-on. The add-on is basically just a docker container managed by HAOS directly.
I also found the documentation very sparse as it comes to the add-on. The only guidance I saw was to create a frigate.yml file in the root of the Home Assistant configuration directory. Nothing about mounting volumes or anything really. Since I already had a working config to start from I just needed to figure out how to adapt things for running the HAOS add-on.
First let’s add the network storage in the Home Assistant WebUI
- Settings > System > Storage > Add Network Storage
- Set the name = frigate
- Select Usage = Media
- Configure the remaining settings as needed to connect to your NAS share
When you install the Frigate add-on, it should now automatically utilize this for storage due to the add-on defaulting to “/media/frigate” as the storage path. This worked for me.
Next, install the Frigate (Full Access) Add-on. In my case, I believe full access is needed for the Coral TPU, though I have not tested with protection enabled. If you need Frigate to access local hardware such as a GPU or TPU I suspect the Full Access mode is needed or at the very least will simplify setup.
After this I used the File Editor add-on to create a frigate.yml file in the root directory. I pasted in my old config, while needing to tweak a few host name lines. Naturally the first few times I tried to start the add-on failed due to configuration errors. By checking the log and making updates I eliminated the errors and got a successful start. The database should be set to the default path: /config/frigate.db. I will mention that Frigate did not pick up my previous footage, it started from a blank slate even though I have footage for the past 10 days available on the NAS.
Finally, we can check the Storage page in Frigate, I see 3.98 TiB which matches the 4 TB NAS share I’m expecting, and it appears to be recording. Obviously there are still some things that can go wrong such as incorrect permissions on the NAS share among other things. Check the log tab on the Add-in page if you need to do more troubleshooting.
A little bit of extra credit, when adding the Frigate Integration, I noticed that it tells me to set a certain URL when using the Add-on, however it was not quite right.
I’m not sure the reason for this but you can check your Add-on’s host name on Settings > Add-ons > Frigate. Host name will be on the right near the CPU Usage meter, update your URL accordingly.
With that I have everything working as needed all within HAOS using add-ons.