Hi,
I’m trying to read Victron data locally from a Cerbo GX MK2 via MQTT on the LAN, but I’m not receiving any data messages.
Setup
-
Device: Cerbo GX MK2
-
Firmware: Venus OS v3.72
-
MQTT Access: Enabled
-
Local network security profile: Unsecured
-
LAN IP: 192.168.1.101
-
MQTT broker: port 1883
What works
-
I can connect to the broker:
mosquitto_sub -h 192.168.1.101 -t "#" -v -d-> CONNECT / CONNACK OK
-
Subscribing works:
mosquitto_sub -h 192.168.1.101 -t "N/<portalId>/#" -v -d-> SUBACK OK
-
Publish to request topics works:
mosquitto_pub -h 192.168.1.101 -t "R/<portalId>/system/0/Serial" -n mosquitto_pub -h 192.168.1.101 -t "R/<portalId>/keepalive" -m "1" -
MQTT service restarts correctly (connection drops and reconnects when toggling MQTT or rebooting GX)
Problem
No messages are ever received on any subscription.
Examples:
mosquitto_sub -h 192.168.1.101 -t "N/<portalId>/#" -v
mosquitto_sub -h 192.168.1.101 -t "N/<portalId>/system/0/Serial" -v
-> No output at all, only PINGREQ/PINGRESP
What I expected
I expected to see messages like:
N/<portalId>/system/0/Dc/Battery/Voltage {"value":12.8}
Question
-
Is there an additional setting required to enable publishing on the LAN MQTT broker?
-
Is the
R/...request mechanism different on recent Venus OS versions? -
Does the Cerbo only publish to VRM/cloud MQTT and not to local subscribers by default?
Any guidance would be appreciated.
Thanks!