Network Storage- How do I tell Frigate where to put the media files?

Skip ahead to Post5.

I am trying to put my frigate media files on an external Samba share. I added my Samba share to the Network Storage tab (below) and restarted Home Assistant. But the Frigate clips and recordings still go to my HAOS host \media\frigate

I know the share is good because I can mount it from another Ubuntu computer with:
sudo mount -t cifs -o username=steve,password=redacted //192.168.1.146/frigate /mnt/media

So, any ideas why my Frigate clips and recordings still go to my Home Assistant disk? What have I missed?

I don’t use Frigate, but surely you have to go in the Frigate settings and update your media path there too.

EDIT: Had a look at the Frigate docs and I’m not sure you can do what I suggested.

The file structure here cannot be modified and isn't intended to be browsed or managed manually.

Are you sure? Some users found this confusing as it still shows up in the media browser but this just comes from the integration. and /media/frigate on the HA OS host will just be a virtual volume from the network storage. Have you verified if the files are on the network storage?

98% sure.
I look at the Samba share from another Ubuntu PC, and the clips aren’t there.

I’ve done more experimenting with Network Storage, and it is making more sense.

Here is a graphic I made for my notebook:

#1 is the folder name being created.
#2 Is the parent folder.
So in this example, an empty folder will be created at /media/my_frigate

Next, #3 is the IP address where my Samba Server (#4) is running. #5 is the share name. ([frigate] in my smb.conf file).

When I click on Connect, HAOS makes a symbolic link to the folder shared on my Samba Server PC.


Now that I more fully understand what is happening in HAOS, I am back to my original problem.
How do I tell Frigate where to put the media files?

You don’t, the field you have marked as number one must be called frigate, as frigate always uses /media/frigate

Thanks- that works.

1 Like