Great. hwaccel_args
are definitely a good idea to optimize performance, so I’d suggest setting the appropriate ones for your hardware platform:
Hi all, is there a trick to get HA to auto-discover camera devices via MQTT? I see them in Mosquitto broker via MQTT Explorer, but it doesn’t look like they are being discovered. Thanks in advance!
The Home Assistant integration auto-discovers all of your cameras, zones, etc. and sets up all of the entities you need.
The best way to integrate with HomeAssistant is to use the official integration. When configuring the integration, you will be asked for the
Host
of your frigate instance.
Add that repository URL to HACS to get the integration, then configure it in the HA Configuration > Integrations page
I should have clarified, I am using the HA integration with HASS IO and Frigate 0.8
Yes, that’s how I installed and configured. Here’s the mqtt part of my frigate config file. Like I said, I see the devices published in MQTT but not discovered in HA. Does the topic here need to match the HA discovery topic, ‘homeassistant’ in my case?
mqtt:
host: 192.168.88.88
port: 1883
topic_prefix: nvr
client_id: frigate
user: homeassistant
password: redacted
stats_interval: 60`
The addon and the integration are not the same thing. Frigate does not use mqtt discovery.
OHHHH, I totally thought this was installed as part of the Add-on. Looks like this is the answer, sorry and thank you!
Morning, got a feature request:
I want to be able to have home assistant trigger a recording of a defined time in seconds… so ie when a motion sensor detects movment I want HA to tell frigate to record on camera abc for 30 seconds.
Think you could add that to either the integration or controlled via mqtt?
Cheers
Well I took a look at the latest release last night and have been blown away by the pace of development, well done, well done indeed.
I’m currently in the process of trailing frigate as a replacement for zoneminder. I’ve been a zoneminder user for 8+ years now and in all that time frigate is the only contender to come close to replacing it.
why?
Well because frigate works on object detection in real time! Zoneminder kinda wants to record an event and then do object detection. I use object detection in several HA automations such as an announcement when someone is on my drive, turn on a flood light when someone is on my drive and with the rear camera I actually use it as a trigger for my alarm when a person is detected in my back yard.
Now frigate has a useful web interface which importantly works well on a mobile device I’ve got a means to monitor it while not home… hence it currently ticks all the boxes that zoneminder does.
One pointer blakeblackshear, at the top of your docs you really should add a donations link… I personally would be happy to donate each year towards the continued development of this project… get a few thousand likeminded peeps and you’d find yourself being comfortably rewarded for all your hard work, which is right too
I have thought about adding a switch for the 24/7 recording as well. That will allow you to turn recording on dynamically.
Please use the Github Sponsors option if you would like to make a donation.
One more feature request.
Quick win add a .htaccess (nginx style) to the web control panel.
Long term win… add authentication to the web frontend, also allow allocation of rights to users IE which cameras they can view and view events for.
Feel free to run whatever authentication in front of frigate you want. Nginx+htaccess, Nginx+oauth2_proxy, Traefik+traefik-forward-auth, or homeassistant.
I do not plan to ever add any kind of auth/users/login directly to frigate. These are well solved problems and there is no reason to reinvent the wheel.
Having an issue with the Camera level object filters config.
I have a vehicle parked in the driveway and don’t wish to be notified whenever a cloud passes by so I am trying to use the object filters.
Not working out well though.
I have the following in my config:
objects:
track:
- person
- car
filters:
car:
mask: '1280,236,1112,231,919,265,842,290,824,441,1280,513'
I’m using 0.8.0 RC6 addon and integration. I tried to make the mask using the mask and zone creator (I actually used the motion mask maker since you can see that one and can’t see the object masks) and it shows:
objects:
filters:
car:
mask:
- 1280,236,1112,231,919,265,842,290,824,441,1280,513
person:
mask:
Not sure why they look a bit different.
Anyway I am still getting notified of the vehicle there even when it is inside the object mask.
Anything I can check?
Thanks
Are you sure the bottom center of the bounding box is in the mask? They look a bit different because you can provide a list of polygons for the mask.
Hopefully not another dumb question, but is there a way to customize the labelmap when Frigate is installed using the HA add-on? Advanced | Frigate (blakeblackshear.github.io)
Thanks in advance!
Maybe I was a bit too precise. I’ll make it a bit larger than the actual vehicle and observe.
Thanks
do you have audio in the clips?
Is this still the case? The TensorRT install documentation indicates support for Python 3.5 to 3.8 when using wheel install.