Integrated Frigate Docker Compose?

Hi,

I am using the vanilla docker-compose setup. I see that Frigate is using it is own docker setup as well. Does anyone have a single docker-compose file that successfully integrates Frigate with HA docker compose?

I have frigate in seperate compose if you want that

I don’t want my security cameras basically offline because I upgraded HA

1 Like

Installation | Frigate shows example configuration for docker composer.

1 Like

Thanks that would be great.

I saw them, I was wondering if there is an integrated compose. Running multiple compose and the integration sounded a bit more involved because of mqtt. thanks

For frigate you can either use the frigate add-on container or have frigate running standalone outside of HA. I house frigate external using docker composer so that my camera’s are loosely connected with HA. This allows me to keep my HA controller machine dedicated to key home automation functions, reducing the possibility of a non-essential capability killing the HA controller. Regardless of which way you choose to run frigate, frigate currently requires MQTT to integrate with HA.

There is an MQTT integration available with HA. Configuration is basically a username and password. On your frigate side configuration file the connection to MTQQ is pretty simple. You add a few lines like this:

mqtt:
  enabled: true
  host: IP_ADDRESS_OF_MACHINE_RUNNING_MQTT
  user: USERNAME
  password: PASSWORD

You update host, user and password as appropriate for your setup.

There is also a frigate integration for HA that communicates with the MQTT server and handles the HA side setup for all the entities. Lastly there is a custom:advanced-camera-card that gives you access to all of your frigate cameras within HA. I have four camera’s and here is the totality of my advance-camera-card setup:

type: custom:advanced-camera-card
cameras:
  - camera_entity: camera.driveway
  - camera_entity: camera.deck
  - camera_entity: camera.basement
  - camera_entity: camera.garage
view: {}

So pretty easy to get going.

1 Like

addons cannot be used with HA docker install

really doc example posted previously is the best.

1 Like

Thank you that explains the integration well.