Working MQTT Bridge configuration for Homeassistant

Hi Everyone,

I am desperately trying to get my Homeassistant MQTT Broker to establish a bridge to my application using an encrypted communication.

My configuration page in the MQTT Add on is set as follows:

Certificate File
ca.pem (downloaded into ssl folder from [minimal certificate list] )(https://www.thethingsindustries.com/docs/reference/root-certificates/ca.pem)

Customize
active: true
folder: mosquitto
require_certificate: true

And my current bridge config looks as follows:

connection vicky
    address eu1.cloud.thethings.industries:8883
    bridge_protocol_version mqttv311
    cleansession true
    remote_username -User-
    remote_password -Password-
    try_private true
    allow_anonymous false
    topic # both 0 "" ""

But with this the connection isn’t being established.
Any help is very welcome :slight_smile:

welcome

i have never used homeassistant but what i can see here looks to me like your topic is incorrect

https://www.thethingsindustries.com/docs/integrations/mqtt/

i use as topic v3/+/devices/+/up

the + is the wild card so you get all the devices up links in the application

Hello. Did you ever figure this out?

Please ignore my question. I did figure it out myself. For anyone looking for the answer:

connection
start_type automatic
bridge_protocol_version mqttv311
cleansession true
address nam1.cloud.thethings.industries:1883
remote_username [app name]
remote_password [API key]
remote_clientid [some unique id like “hass”]
try_private true
topic v3/[app name]/devices/+/up both 0

#log_type all

MQTT add-on config should have

active: true
folder: mosquitto

1 Like

Thanks for sharing the solution