EVCS stuck in "Waiting" / 2-to-4 minute cutouts after enabling MQTT and HA updates (Stellantis EV /

by FogstarFan · 1 month ago 56 views 7 replies
FogstarFan
FogstarFan
Active Member
21 posts
thumb_up 11 likes
Joined Mar 2024
1 month ago
#30922

Bit of a niche one this, but genuinely curious if anyone else has seen their Victron EVCS throw a wobbly specifically after enabling MQTT and Home Assistant integration — because I'm convinced that's the culprit in my setup rather than anything hardware-related.

Mine started doing similar 2-4 minute cutouts on manual mode at low amperage (I was pushing around 8A to keep things sane on the off-grid system), and the "Waiting" state would just sit there like it was having an existential crisis until I toggled something in the VRM portal.

A few things I'd check if you're in the same boat:

  • MQTT broker latency — if HA is polling too aggressively it can confuse the EVCS state machine
  • GX device firmware — I was running a slightly stale version on my Cerbo GX and that didn't help matters
  • Node-RED automations — if you've got any flows touching the EVCS via HA, even read-only ones can apparently cause grief

My suspicion is the EVCS is receiving conflicting state commands when both VRM and HA are talking to it simultaneously — basically too many cooks.

Anyone running a Stellantis-based EV (Peugeot e-208 in my case) noticed whether the vehicle itself is contributing to the dropout, or is this purely a Victron comms issue? The OCPP handshake timing feels relevant but I'm out of my depth there.

Would be good to get some eyes on this — feels like a firmware fix waiting to happen rather than a user error situation, but I've been wrong before (often).

George
George
Active Member
38 posts
thumb_up 8 likes
Joined Apr 2024
1 month ago
#30956

@FogstarFan oh mate, yes — had almost exactly this with my van setup. Turned out the MQTT polling interval was hammering the EVCS fast enough to confuse the charge state machine. The "Waiting" loop is the EVCS basically losing its handshake with the car mid-session.

Few things worth trying:

  • Bump your MQTT keepalive interval up — default's quite aggressive
  • Check if HA is sending any write commands back via MQTT accidentally (easy to do with certain Victron integrations)
  • Stellantis EVs are notoriously fussy about session interruptions vs proper pauses

The 2-4 min cutout timing is a giveaway — that's roughly the OCPP timeout window.

Might be worth checking the VRM portal logs during a charge session to see if it's registering as a full disconnect or just a state hiccup.

Bay Jason
Bay Jason
Regular
83 posts
thumb_up 17 likes
Joined Jun 2023
1 month ago
#30963

@George1975 nailed the polling angle, but worth also checking whether your HA EVCS integration is writing back to the MQTT broker as well as reading — I had a situation where a misconfigured automation was effectively spamming the charger with mode-change commands every few seconds, which caused exactly that 2–4 minute "Waiting" loop while it tried to arbitrate between states.

Check your MQTT broker logs and filter for your EVCS topic. If you're seeing a flood of publishes rather than just subscribes, that's your culprit.

Also — which firmware is the EVCS on? There were some known stability issues with MQTT handling in earlier builds. Victron's changelog is worth a read before chasing hardware faults.

Panel Ewan
Panel Ewan
Regular
86 posts
thumb_up 35 likes
Joined Apr 2023
1 month ago
#31001

@FogstarFan this rings a bell from when I was integrating my narrowboat setup with Cerbo GX — the EVCS state machine is surprisingly fragile when it receives conflicting mode-write commands mid-session.

Specifically worth checking: if you've got any HA automations touching com.victronenergy.evcharger D-Bus paths and MQTT simultaneously, you can end up with a race condition where the charger sees contradictory state signals and parks itself in "Waiting" as a safe fallback.

Quick diagnostic — pull the Venus OS logs during one of the cutouts and grep for dbus-mqtt conflicts. If you're seeing repeated SetValue calls fighting each other, that's your culprit.

Disabling write-back in the HA integration temporarily (read-only mode) should confirm whether that's the source. The 2-4 minute window matches the EVCS session timeout before it attempts reconnection.

Del6
Del6
Member
7 posts
Joined Feb 2025
1 month ago
#31015

@FogstarFan one thing nobody's mentioned yet — check whether your Stellantis vehicle is sending a CP state transition during those 2-4 minute windows. Some of the Stellantis EVs (Corsa-e, Mokka-e etc.) have a known quirk where the onboard charger briefly drops the pilot signal when it's busy talking to its own backend servers — nothing to do with your Victron setup at all. The EVCS sees the CP line wobble and legitimately parks itself in "Waiting."

Quick way to rule it out: try enabling the charger with mobile data disabled on the car's head unit, or just pull up your EVCS charge session logs and see if those dropouts correlate with anything on the vehicle side rather than the MQTT side. @PanelEwan's point about the state machine is very relevant here if that's what's triggering it.

Sam
Sam
Member
4 posts
Joined Dec 2025
1 month ago
#31133

Great thread this. @Del6 raises something I've been wondering about too — the CP state handshake is often the culprit when you get that specific 2-4 minute window before cutout, because it maps almost suspiciously neatly onto some Stellantis vehicles' onboard charger timeout behaviour.

One thing I'd add that hasn't come up yet: have a look at your Cerbo GX system log during the fault window and check whether the EVCS is briefly losing its com.victronenergy.evcharger service registration. I saw something similar on mine after enabling MQTT Keep-Alive wasn't configured properly — the broker was dropping the connection just long enough for the EVCS to consider itself isolated and fall back to a safe waiting state. Worth ruling out before diving deeper into the vehicle side of things.

What firmware version are you running on the EVCS?

EcoFlowMaster
EcoFlowMaster
Regular
64 posts
thumb_up 11 likes
Joined Aug 2024
1 month ago
#31437

@FogstarFan had almost exactly this on my motorhome build — Cerbo GX, Fogstar lithium bank, the works. Enabled MQTT one afternoon, felt very smug about myself, then spent three days wondering why the EVCS was just... thinking. Like it had developed an existential crisis.

Turned out my polling interval

Pike Walker
Pike Walker
Active Member
29 posts
thumb_up 10 likes
Joined Dec 2023
3 weeks ago
#32230

@EcoFlowMaster that motorhome scenario rings a bell — I had something adjacent when I wired up my garden office setup. Cerbo GX talking to HA via MQTT, and the polling interval was essentially hammering the EVCS with state queries mid-handshake. Victron's own docs quietly mention keeping MQTT publish rates sensible, but it's buried. I dropped mine to 5-second intervals rather than the default aggressive setting and the phantom "Waiting" loops stopped almost immediately. Worth checking your dbus-mqtt configuration before assuming it's a CP state issue — could be the integration itself interrupting the sequence.

Log in to join the discussion.

Log In to Reply