I have a Reolink 1212a cam and I want to setup frigate in ha. I read a doc about using HACS but after download frigate with HACS I cant add an integration as mentioned in the tutorials:
I found an other tutorial where I have to add frigate as a add-on (configuration → addon). So I installed Frigate (Full Access) as add-on and I get this:
I dont’t know if i setup frigate right, if something is missing and if the camera config is correct. Therefor it is hard for me to figure out, where the problem is. It also confuse me, that I can install frigate via hacs, integration and add-on.
You seem to not learned the concepts of addon vs integration.
An integration is a piece of Python software that runs as part of Home Assistant and adds a feature to Home Assistant. This can be the code that enables HA to connect to a cloud service, connect to a Philips Hue bridge or something internal like calculating the angle of the sun.
Home Assistant comes with 100s of these. You can also add non-official integrations known as custom components. HACS adds the possibility to find and add custom components. The Frigate custom component in HACS enables you to download the component. Once downloaded and Home Assistant restarted you can add the Home Assistant integration like you add the builtin integrations.
The integration does not contain the Frigate software. It is code that can connect via network to a computer running Frigate. I run my Frigate on an old MacMini with Ubuntu.
An Addon in Home Assistant is a third party server software running in a Docker container on the same computer as Home Assistant. Commonly used addons are Mosquitto for MQTT, file editors, Zigbee2MQTT, Deconz etc. These programs run in their own isolated environment. Home Assistant connects to them via virtual Networks. All these addons are started, stopped, and managed by the Home Assistant Supervisor.
You can install the Frigate software as an Addon. Or you can install it on a different computer. Frigate is a CPU hungry program so if you run HA on a Raspberry Pi, it will struggle running Frigate also. Especially if you have no Google Coral TPU.
Home Assistant has a feature called Ingress which enables HA to show the graphical UI from inside the Addon.
I personally run all software outside Home Assistant and only use file editor Addons. I like to have more control of my 3rd party software.
So assuming you have a machine that runs HA and Frigate fine, you need to get the Frigate Addon working on its own first. In fact you do not want to install the Frigate integration until Frigate is fully working. If you did, remove it and focus on Frigate. Once that works you can install the integration and you will see it all working in HA. Note that HACS offers both the Frigate integration and a Frigate UI card. You want them both.
I cannot help with getting your camera working in Frigate.
Frigate - software to connect to cameras and create an nvr. Has a web interface UI.
Frigate addon - run frigate on your ha machine if it runs haos or supervised ha.
Frigate proxy addon - if you run frigate on another server get it’s UI on ha, with a side bar icon etc
Frigate integration - get frigate related sensors in ha, so you can turn a siren on when a cat crosses your driveway.
Frigate UI card - get a nice frigate interface in Lovelace. This is not the native frigate web UI. Edit: this card can also be used with other cameras that are integrated in your home assistant.
Hey @KennethLavrsen and @nickrout thanks a lot. Now with the knowledge about addon and integration I focused on configuration frigate and it works now. Thanks a lot!
Actually I use HA in a vm but in the future I will setup a server with proxmox and the addons will be deployed separately. This will be a bigger change, but now I know that everythink will work and I will have the configurations.
Maybe Im just not smart enough, but I wish this message were added on these three links: Frigate Instalation, Home Assistant Integration page, Home assistant Addon page.
So simply and well described. Thank you very much for this explanation @KennethLavrsen , really appreciated!