#I don't see an "add ons"
1 messages · Page 1 of 1 (latest)
no worries...I'm just happy your willing to help me figure this out
I don't see an add-ons. I only see MQTT under integrations
Ok I think this may be a difference in the way your HA is actually set up. Mine is using HAOS directly installed on a computer with nothing else on it. How are you running HA?
And why can't I add a god damn picture here in discord?
imagur is your friend
Gotcha. Ok I think this might be why you don't have add-ons. Your setup is a bit different.
@spring rain THANK you. lol
Something simple is missing here...I can see my cameras and recordings and events and all that in HA. I just can't seem to figure out how to get notifications to work
I think you don't have an MQTT server running. The integration you have is intended to connect to the server you should be running.
I'm with you. Just trying to sort out how to identify that MQTT connection. Which consists of two parts
- the broker
- the integration
You have the integration, but need the server. With HAOS, we have add ons which essentially creates a docker container with an MQTT broker. The integration then connects to that server. Home assistant is also intended to connect to that broker.
You need the Mosquito broker addon AND the HA MQTT integration
^Word
and have have Mosquito docker configured
Ahhhhh
Ok so you have the broker completed.
In my setup, I have this: https://imgur.com/a/B1qfIKC
At the top is logs. Perhaps in your docker container, you have a webui where you can see the MQTT logs? Occam's suggestion of MQTT explorer may be a good option to explore.
The point of all this is to identify that MQTT is communicating with Frigate
no WebGUI
This redirect is not supported by your Home Assistant installation. It needs either the Home Assistant Operating System or Home Assistant Supervised installation method.
got the above in regards to the MQTT Explorer
I'm running HAOS on a Yellow ... ymmv
Makes sense.
Occam and I are running a slightly different setup that makes it a bit easier for stuff like this.
Sorry BRB
Ok back.
So we have slightly different setups, so it's a bit hard to advise. I will say that I was in the exact same place as you, and it was indeed my MQTT setup that needed some slight tweaks.
I would focus on insuring your integration is connected to your broker, then once that is confirmed, frigate is connected to MQTT. It was nearly impossible to tell that the connection was truly established. I didn't even know for sure until I got a frigate notification.
If MQTT is properly installed and Frigate properly connected you will see Frigate devices in the Frigate HA integration.
I see Frigate devices in HA...I just don't get notifications when there is an event.
Open a camera device and you should see a number of sensors with current state based on your Frigate config.
I don't use the Blueprint. I wrote my own simple automation.
You're not getting messages
Install MQTT explorer and see what traffic your broker is receiving
I can't install MQTT Explorer as I'm using HA Core. I get the following message when trying to install This redirect is not supported by your Home Assistant installation. It needs either the Home Assistant Operating System or Home Assistant Supervised installation method.
You can install it on a separate machine and connect to your broker. https://mqtt-explorer.com/
installing on my laptop now
I'm not sure what (Hidden) after sensor name means
I just hid those items from the dashboard
ok, I am connectd to MQTT Explorer
Ahhh , I guess I've never hid items
You should see traffic for topics like cameras, zones
I don't see those topics.
I do have to run, i have to take my daughter to basketball...can we pick up later?
Then Frigate is not talking to the broker
No Frigate topics
What does your Mosquito broker log look like? Did you set up a frigate user?
Is priority given to motion detection over object tracking detection? I see almost nonstop detection for objects not in any zones. E.g. parked cars in motion masked areas that are far away and on the detection limit borderline (alternate between orange and blue bounding boxes)
I also note that if any motion occurs it starts a "storm" of detections all over the frame not just in the motion areas
Setting a min_area for car tracking got rid of that
Hmm...how do I set up a user?
Forgive my ignorance...MQTT is new for me.
No problem man ... I've been there and still am on all to regular basis. Goto Addon>Mosquito broker>configuration
Use the username and password you set up in your frigate config.
Restart mosquitto and check the mosquitto log. You should see successful frigate connections
Is this what you are referring too? I removed the username just for the screenshot.
Mosquito log says client connected
frigate connections ? the you should see topics in MQTT explorer
I'm currently not a home, when I get back to the house I'll see if you're still on. This maybe where were I'm lacking.
Are you there?
I got frigate to show up in MQTT Explorer...
enabled: true
host: 192.168.1.25
port: 1883
topic_prefix: frigate
client_id: frigate
user: REDACTED
password: REDACTED```
I had to add topic_prefix and client_id to my frigate config.yml
https://imgur.com/fZ5WE0i < MQTT Explorer
https://imgur.com/ZNauvUr < Frigate Sensors
I got notifications working!!! I want to thank you both @spring rain and @ebon ibex for taking the time to help me.
Once I inputted the missing lines in the Frigate config.yml (shown above), I was able to see the topics in MQTT Explorer and was then able to test the automations and it worked.
You're not running HAOS right? I don't have those parameters. How did you figure it out?
Nice!!!!! @glad quiver
I'll hop on later today and explain. I appreciate your help with getting me there!
Going to try and close this thread. Not sure if everyone else can see it the same way but it looks to be the only channel with a thread.
Hey, sorry it took me so long to get back but I didn't want to just run off without explaining what I did to fix my issue