Hi everyone,
I’m running TrueNAS Scale 24.10, with Home Assistant OS in a VM and the Frigate app installed directly through the TrueNAS Apps section. I’m trying to integrate Frigate with Home Assistant OS via MQTT, but I’m encountering issues where Home Assistant is unable to connect with Frigate.
Here’s my current setup:
Setup:
- TrueNAS Scale 24.10
- Home Assistant OS running in a VM with IP:
http://192.168.1.81:8123/
- Frigate app installed directly via the TrueNAS Apps section with IP:
https://192.168.1.170:5000/
- Frigate’s API is accessible via browser, so Frigate seems to be working fine on its own.
MQTT Configuration in Frigate:
In the Frigate app, I have the following MQTT configuration:
yaml
mqtt:
enabled: true
host: 192.168.1.81 # IP address of Home Assistant's MQTT broker
port: 1883 # Default MQTT port
topic_prefix: frigate
client_id: frigate
user: mqtt # MQTT username
password: [hidden] # MQTT password
MQTT Configuration in Home Assistant (Mosquitto Add-on):
In Home Assistant, the MQTT configuration in the Mosquitto broker add-on is as follows:
yaml
logins:
- username: mqtt
password: [hidden]
broker: 192.168.1.81
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
Issue:
- I can access Frigate’s Web UI (
https://192.168.1.170:5000/
) and Home Assistant UI (http://192.168.1.81:8123/
) in my browser. - The problem seems to be with the MQTT integration as Home Assistant cannot establish the connection with Frigate.
- I’m unsure if the issue is with the MQTT configuration or something else preventing the integration from working.
What I’ve checked so far:
- Both Frigate and Home Assistant are on the same local network.
- The MQTT username, password, and IP address are consistent across both platforms.
- I can access Frigate’s Web UI, and the camera streams seem fine.
- I can also access Home Assistant UI, and the Mosquitto broker is running.
Could anyone assist me with troubleshooting the MQTT connection, or if there is another configuration issue I may have missed?
Thank you in advance for your help!