Configuring MQTT into Home Assistant - Client Closing connection

edited November 2022 in Glow IHD/CAD

EDIT: This is working - I was just being impatient...

MOD's, feel free to delete.

I am trying to configure the MQTT feed from the API into my HA and I can not for the life of me get it working (I have a SMETS1 Secure meter, and the Glow CAD all working in the app).

I seem to have a MQTT error that I don't have a clue how to fix (below) it is doing this every 6 seconds.

2022-11-27 19:56:03: Connecting bridge (step 1) glowmqtt (
2022-11-27 19:56:03: Connecting bridge (step 2) glowmqtt (
2022-11-27 19:56:04: Client homeassistant closed its connection.

I believe I have configured things correctly.. but seemingly not!.

Mosquitto broker is configured as follows (unchanged from default, excl customise)

logins: []
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
  active: true
  folder: mosquitto

with a file in /share/mosquitto/glowmqtt.conf

connection glowmqtt
 topic SMART/HILD/[mac] in 0
 try_private false
 notifications true
 start_type automatic
 remote_clientid glow
 remote_username [bright login email]
 remote_password [bright login password]
 keepalive_interval 300
 cleansession true
 bridge_protocol_version mqttv311
 local_clientid homeassistant
 bridge_cafile /etc/ssl/certs/ca-certificates.crt

Does anybody know what is causing this? I have never had this working (I don't fully understand it and struggling to grasp it all).

Thank you

Sign In or Register to comment.