EVCS migration to MQTT for communication with GX device, EVCS does not show in GX device list

by Keith · 1 month ago 71 views 5 replies
Keith
Keith
Active Member
11 posts
Joined Oct 2024
1 month ago
#30376

Interesting one this — I've been down a similar rabbit hole recently with my backup setup and it's genuinely frustrating when kit that's worked flawlessly suddenly throws a spanner in the works after a migration attempt.

I had a comparable situation when I tried shifting a device over to MQTT communication with my Cerbo GX. The device simply vanished from the GX device list entirely, despite the MQTT broker appearing to receive data correctly. What eventually sorted it for me was ensuring the VRM Portal ID was correctly configured as the MQTT client ID, and that the topic structure matched exactly what the Cerbo expected — any deviation and it just silently ignores the device.

A few things worth checking if you're in this position:

  • MQTT broker address — are you pointing at the Cerbo's local IP rather than VRM cloud? Local MQTT on the Cerbo runs on port 1883.
  • dbus-mqtt path structure — Victron's implementation is quite specific, it's not vanilla MQTT. The device needs to publish on the correct /N/<VRM-ID>/... topic hierarchy.
  • Firewall / VLAN isolation — I've seen cases where the EVCS and Cerbo are on different network segments and multicast discovery fails silently.
  • Check whether the Cerbo firmware is fully up to date, as EVCS MQTT support was only properly stabilised in relatively recent releases.

Has anyone else successfully migrated an EVCS from Modbus TCP to MQTT on a Cerbo GX and got it showing cleanly in the device list? Curious whether there's a specific firmware combination that's known to work reliably, or whether Modbus TCP remains the more stable option for now.

WS_VanLife
WS_VanLife
Member
5 posts
Joined Jun 2025
1 month ago
#30420

Hey @Keith1977, know that feeling all too well! One thing worth checking — after the MQTT migration, make sure the EVCS is actually publishing to the correct Victron MQTT topics. The GX device is quite fussy about the exact topic structure for discovery. Also worth confirming your VRM portal instance ID is properly configured in the EVCS settings post-migration, as that's caught me out before.

Have you checked the GX device logs via SSH to see if it's even attempting to register the EVCS? Sometimes it's silently failing discovery without throwing any obvious errors on the display.

What firmware version are you running on the GX side? There were some MQTT discovery quirks in certain builds that got patched fairly recently.

Kent VanLifer
Kent VanLifer
Active Member
24 posts
thumb_up 1 likes
Joined Feb 2025
1 month ago
#30439

@Keith1977 went through almost exactly this last winter with my Victron GX setup in the Kent barn conversion. The bit that caught me out — even after MQTT was configured correctly — was that the GX device needs the EVCS IP address locked via DHCP reservation on your router. Dynamic IP meant the GX kept losing sight of it after reboots.

Also worth checking: in VRM, confirm the MQTT broker is actually accepting the connection rather than just showing as configured. Subtle difference. On my Cerbo GX there's a status indicator that looks fine but isn't actually handshaking properly.

What firmware are you running on the GX side? There were some known EVCS discovery issues pre-v3.00 that got quietly patched.

Volt Kev
Volt Kev
Member
4 posts
Joined Dec 2024
1 month ago
#30470

Great thread this — @Keith1977 I'd add one thing nobody's mentioned yet: double-check that the EVCS is actually publishing to the correct MQTT broker address. After migration it's easy to end up with the device still pointing at a local broker whilst the GX is expecting traffic via VRM or vice versa. Pop into the EVCS network settings and confirm the broker IP matches what your GX device is listening on. Also worth a look at the keepalive interval — I've seen units drop off the GX device list intermittently when that's set too aggressively short. Give the GX a full power cycle after confirming the broker settings rather than just a soft restart, that caught me out for ages. Should start showing up within a minute or two of boot if the MQTT handshake is working properly.

Tango
Tango
Active Member
38 posts
thumb_up 8 likes
Joined Jul 2024
1 month ago
#30488

Had this exact headache on my narrowboat last spring. Worth checking your GX device's MQTT broker settings — sometimes after a migration it defaults back to a local broker address rather than picking up the EVCS. Sounds daft but caught me out for two days.

Also @VoltKev raises a fair point, but I'd add: check the VRM portal too, not just the local GX display. Mine showed up there first before the device list caught up. Victron's GX firmware can be laggy about refreshing the connected devices panel.

If you're running an older Cerbo firmware, worth updating — there were some MQTT handling fixes in recent releases that sorted similar issues for a few of us.

ExSquaddie
ExSquaddie
Active Member
48 posts
thumb_up 17 likes
Joined Jan 2024
1 month ago
#30560

Good shout from @Tango on the broker settings — one thing that caught me out on my static caravan setup was the MQTT topic structure the EVCS was publishing to had drifted after a firmware update. The GX device was expecting a specific path and the EVCS was essentially shouting into the void.

Worth firing up something like MQTT Explorer and watching the live topic tree — you'll see immediately if the EVCS is actually publishing anything, and whether it's landing where the GX expects it. Saved me hours of head-scratching that would've.

Also check whether you've got the correct VRM instance number configured on the EVCS side — I had mine set to 0 when it needed to be unique across the whole system. Victron's documentation on this is decent but buried.

Log in to join the discussion.

Log In to Reply