#HA-Victron MQTT bridge

1 messages · Page 1 of 1 (latest)

worn venture
#

Looking for some help to integrated a Victron solar system with HA using this method: https://gist.github.com/KidA001/dc5584db340cf3ad513f9415b20ed5fa

I am fighting for hours to bridge the 2 MQTT servers, my HA mosquitto run for more 3 years and pass every HA & mosquitto update to the latest without problem, the original MQTT configuration was set on false, and now turn it to true. (I am torn to think it was a previous mosquitto folder with an unknown path, that could be different from the one I just created in the HA share folder, just speculating here)
.
A first version of the victron file was done on a Mac with Textedit then rename as a .conf witch in fact turn to be victron.conf.txt so i delete it a redo it with nano, directly in HA with terminal plugin, and checked with ls command. (and I am definitely 100% sure about the GX IP address). So no more an issue.

With MQTT explorer pointing on the GX (192.168.2.20:1883) I can see the N section with all the good things in it. also a R section. No permission issue to log on the GX. (Venus OS 3.6 (>=3.5), no user/password with “local network and security feature” set to “Unsecured”)

With MQTT explorer pointing on HA (192.168.2.3:1883), I could see in between all other integrations, victron with only R (keep alive), but no N. my understanding is the bridge is NOT working, …

Back in Mosquitto integration -> log I found this error in loop (every 2 mn)

2025-08-14 17:08:45: New connection from 172.30.32.2:55976 on port 1883.
2025-08-14 17:08:45: Client <unknown> closed its connection

You notice this particular IP from private IP range, and it’s look like some IP translation into mosquitto happen… I am lost here losing trace who is requester/replier and their credentials.

Any help would be highly appreciated !

I would hate to be beaten being so close of my goal, as many are in the same situation but also plenty others who succeed.
Thank you for reading up to here.

Gist

GitHub Gist: instantly share code, notes, and snippets.

worn venture
#

moving a bit forward, the bridge is now UP and Working. What I did is "disabling Can only log in from the local network", stop and restart mosquitto. Now the mosquitto log show the bridging at boot, but still show the same error in loop.

#

It would be amazing to have an expert opininon ...on what it's going on.