MQTT only shows Serial

I use Venus OS 3.42 with a Multiplus 2. I can see the Multiplus in the VRM.
My goal is to see the Multiplus data via MQTT.
I enabled MQTT in Venus OS.
When I try to read the MQTT data with MQTT Explorer, I can only see N//system/0/Serial, nothing else.
I tried to log in with no credentials, with imaginary ones, nothing changed.

What am I doing wrong?

You have to do the following on a regular basis:

for example a little bash script which opens MQTT:
while :; do mosquitto_pub -h 192.168.1.12 -m ‘’ -t ‘R/d4124333xxxx/system/0/Serial’; sleep 30; done

Replace d4124333xxxx with the serial number of your device.

You can also write a node-red flow for that which looks like this:

[
{
“id”: “41f1a65944259fc9”,
“type”: “mqtt out”,
“z”: “1de591dc.96debe”,
“name”: “Keepalive”,
“topic”: “”,
“qos”: “”,
“retain”: “”,
“respTopic”: “”,
“contentType”: “”,
“userProps”: “”,
“correl”: “”,
“expiry”: “”,
“broker”: “2cfe45d4.3ee45a”,
“x”: 400,
“y”: 940,
“wires”:
},
{
“id”: “30c3bb60cd6b8fd5”,
“type”: “inject”,
“z”: “1de591dc.96debe”,
“name”: “Keepalive”,
“props”: [
{
“p”: “payload”
},
{
“p”: “topic”,
“vt”: “str”
}
],
“repeat”: “30”,
“crontab”: “”,
“once”: false,
“onceDelay”: “”,
“topic”: “R/d4124333xxxx/system/0/Serial”,
“payload”: “”,
“payloadType”: “date”,
“x”: 110,
“y”: 940,
“wires”: [
[
“41f1a65944259fc9”
]
]
},
{
“id”: “2cfe45d4.3ee45a”,
“type”: “mqtt-broker”,
“name”: “Victron-Cerbo”,
“broker”: “192.168.1.12”,
“port”: “1883”,
“clientid”: “”,
“autoConnect”: true,
“usetls”: false,
“protocolVersion”: 4,
“keepalive”: “60”,
“cleansession”: true,
“autoUnsubscribe”: true,
“birthTopic”: “”,
“birthQos”: “0”,
“birthPayload”: “”,
“closeTopic”: “”,
“closeQos”: “0”,
“closePayload”: “”,
“willTopic”: “”,
“willQos”: “0”,
“willPayload”: “”
}
]

After doing that, the VenusOS device will send all topics.

Hope it helps !

Jens

Maybe systems differ or configuration is automatic under certain conditions. I didn’t do anything of what @Meine_Energiewende suggests. I just enabled MQTT on the Cerbo and boom. Using MQTT Explorer, I could see many Victron topics.
I must say I was also using Node Red for other purposes.
F.

mosquitto_sub -v -h 192.168.1.10 -p 1883 -t ‘#’

Works for me.
With mqtt you have to actually subscribe to a topic. The topic # is a wildcard for every topic. Maybe @stas has somehow mangled the topic in his explorer?

I doubt there is any kind of authentication configured (unless changed) on the local flashmq.

@stas

Look at your mqtt advanced connection options and check if # is there.

mosquitto_pub -h 192.168.1.12 -m ‘’ -t ‘R/d4124333xxxx/system/0/Serial’;

Doing this helped, thanks!