Problems connection to VRM MQTT Broker with MQTT Explorer

Hi,
lately I have problems, connecting to the VRM MQTT-broker using MQTT Explorer. I am running Venus OS v3.52 on raspberry pi. In Remote Console I have the following settings:

Network Security Profile: Unsecured
Remote support: on
VRM online portal - VRM portal: Full
Use secure connection (HTTPS): on
Services - MQTT Access: on

I can login to the local MQTT broker without problems.

Today I tried to connect to the VRM MQTT broker with MQTT Explorer. I recalculated my MQTT broker address (same result as before): mqtt118.victronenergy.com
I downloaded the certificate file from GitHub - victronenergy/dbus-flashmq: Plugin for FlashMQ that interfaces between DBUS and MQTT. and imported it into MQTT Explorer.

When pressing “Connect” there is no error message and it seems to connect, but no topics are visible, not even the SYS topics:

If I change e.g. the broker address to mqtt119.victron… then MQTT Explorer doesn’t connect and gives a timeout. Does anyone have an idea, what the problem could be?

I saw the discussion about the self signed certificates here: Where to get CA certificate for Venus SSL self-signed certificate. Not shure, if this has anything to do with my problem.

Thanks in advance
Christian

Did you send keepalives to the installation? Otherwise it doesn’t send anything. See:

Yes, tried that also. But I also don’t see for example the #SYS topics from the broker itself. These should always be visible…
But thanks for the idea.

Hi Christian,

The internet MQTT servers no longer grant very wide subscriptions, such as # , N/# or N/+/system/0/Ac/ConsumptionOnOutput/L1/Power . Instead, subscriptions have to be placed per installation, like N/<portal ID>/# , or N/<portal ID>/system/0/Ac/ConsumptionOnOutput/+/Power .

If you add N//# this to your MQTT Explorer under Advance the you will get all the infomation you need.

1 Like

Hi Jan,
thanks for the tip. Actually, I searched again for my problem and found some hints to the mqtt-config file on my venusOS and found the topics to link there also. That matches perfectly with your suggestions and with this information I could connect successfully to the VRM-mqtt-broker! Thanks again, very helpful
Christian