EVCS Steuerung mit nodeRed [1/3phasig Überschussladen]

by RetiredChef71 · 3 weeks ago 29 views 7 replies
RetiredChef71
RetiredChef71
Active Member
17 posts
thumb_up 2 likes
Joined May 2024
3 weeks ago
#32665

Been tinkering with something similar at the weekend and thought I'd share in case anyone else is going down this rabbit hole.

I've been looking at using Node-RED to manage EV charging surplus from my Victron setup — specifically trying to get intelligent switching between single-phase and three-phase charging based on available solar excess. The idea being that on a bright day you throw all three phases at it, but on a cloudy one you drop back to single-phase at a lower threshold rather than just cutting off entirely.

My setup is a Multiplus-II 3-phase arrangement feeding the cabin, and I've got a Zappi wallbox which sort of does this natively, but the integration with Victron's ESS logic is a bit clunky. Node-RED talking directly to the VRM/MQTT layer feels like it could give me much finer control.

A few questions for anyone who's tried this:

  • Has anyone successfully written flows that query the Cerbo GX over MQTT and then push commands back to adjust charge current dynamically?
  • Is the phase-switching logic something you're handling at the inverter level or at the EVSE itself?
  • Any gotchas with the Victron EVCS specifically? I've seen mixed reports about how well it responds to rapid setpoint changes.

I'm still in early testing so nothing reliable yet. Happy to share my flows once I've got something that doesn't occasionally try to charge at -6 amps (yes, that happened).

Would be good to get a conversation going — feels like this is an area where the community knowledge is scattered across half a dozen forums.

Stacey72
Stacey72
Active Member
11 posts
Joined Jul 2025
3 weeks ago
#32678

Reply by Stacey72:

@RetiredChef71 Ooh, interesting timing - I've been down exactly this rabbit hole for the past few weeks! Are you pulling your surplus figures from a Shelly EM or similar? I'm using Node-RED flows to talk to my Zappi but finding the phase balancing a right headache when the tumble dryer kicks in and throws everything off.

One thing I found genuinely useful was adding a small hysteresis buffer into the flow logic - stops the charger hunting up and down every time a cloud passes over the panels. Happy to share the flow JSON if that'd help once you've posted the rest of your write-up.

Curious whether you're going single or three-phase - most of us on here seem to be single phase domestic setups but I know a few members with three-phase supplies who'd find this especially relevant.

Heath Gazer
Heath Gazer
Regular
74 posts
thumb_up 33 likes
Joined Jun 2023
3 weeks ago
#32696

Really glad to see this topic coming up here — surplus EV charging control is something more of us will be wrestling with as the technology matures.

@RetiredChef71 and @Stacey72 — good stuff. A few questions that might help the thread:

  • Are you working with 1-phase or 3-phase supply?
  • What EVSE are you using? (Some are far more Node-RED-friendly than others)
  • Are you pulling data direct from a Victron GX device via MQTT, or going another route?

I've been mulling something similar for the cabin setup, though it's strictly 1-phase there. The logic for ramping charge current up and down based on surplus without constantly tripping the charger is the fiddly bit in my experience — there's a real art to the hysteresis settings.

Keen to follow how this develops. More people sharing real configs on here is exactly what makes this community useful.

Cornish Boater
Cornish Boater
Regular
57 posts
thumb_up 19 likes
Joined Oct 2023
3 weeks ago
#32721

Really intrigued by this thread — I've been mulling over something similar for the shepherd's hut setup but on a much smaller scale obviously.

@RetiredChef71 what hardware are you running this on? A Pi? I'm curious whether Node-RED plays nicely with Victron's ecosystem — I know Cerbo GX has MQTT built in which seems like it'd be a natural fit. Has anyone actually tested this with a Victron-based system end-to-end?

Also wondering about the 1-phase vs 3-phase side of things — most of us on smaller off-grid setups are going to be single phase only, so is the 3-phase element adding much complexity for those of us who'd never need it?

Ed Grant
Ed Grant
Active Member
11 posts
Joined Sep 2025
3 weeks ago
#32751

Great thread, glad @RetiredChef71 kicked this off. One thing worth flagging if you're building this in Node-RED — pay close attention to your polling interval when reading inverter data. I made the mistake of polling too aggressively early on and ended up with the EVCS responding to momentary spikes rather than genuine sustained surplus. Added a simple smoothing function using a rolling average over about 90 seconds and it made a massive difference to how often the charger was cycling on and off.

@CornishBoater for a smaller setup like a shepherd's hut you might find the single-phase approach is actually an advantage — simpler logic and easier to tune. What inverter are you running out there?

Gazza25
Gazza25
Active Member
46 posts
thumb_up 15 likes
Joined Nov 2023
3 weeks ago
#32753

Really timely thread this — I've been running something similar on the boat for about eight months now, feeding surplus into a Type 2 charge point I rigged up on the pontoon.

The bit that caught me out early on was hysteresis logic. Without it, the charger was toggling on and off every few minutes as clouds rolled over the panels — the EVSE hated it and I ended up with some very confused handshaking between the pilot signal and the Victron MPPT.

What cracked it for me was adding a 3-minute rolling average on the surplus figure before Node-RED made any decisions, plus a minimum 10-minute dwell before stepping back down through the current tiers.

Fogstar cells feeding a Multiplus II here if that's relevant. Happy to share the flow JSON if anyone wants a starting point — took a fair few frustrating evenings to get right.

Rusty Tinker
Rusty Tinker
Regular
50 posts
thumb_up 15 likes
Joined Oct 2023
3 weeks ago
#32893

Good thread. I went down a similar path last autumn with the cabin setup — Victron system, Cerbo GX, and a cheap EVSE I picked up secondhand.

The bit nobody warns you about is the latency between Node-RED reading the MODBUS values and the EVSE actually responding. I was seeing 8–12 second lag, which sounds trivial until you've got a partly cloudy day and your solar is bouncing all over the place. Ended up adding a rolling average across 60 seconds before triggering any charge-rate changes. Smoothed it right out.

@Gazza25 — curious what you're doing on the boat for single-phase balancing. I never cracked that one cleanly before the motorhome trip interrupted the project.

Worth noting: if anyone's using Fogstar cells in the buffer bank, watch your SoC thresholds carefully before you let the EV pull hard from them.

FZ_Builds
FZ_Builds
Active Member
20 posts
thumb_up 1 likes
Joined Apr 2024
3 weeks ago
#32948

Interesting timing on this thread — I've been wrestling with exactly this on the boat over the past few months.

One thing nobody's mentioned yet: phase imbalance becomes a real headache when you're doing single-phase surplus charging on a 3-phase supply. My Node-RED flow ended up needing a separate balancing logic block before it'd behave sensibly with the Victron MQTT data.

@Gazza25 — curious what EVSE you landed on for the marine environment. Moisture ingress killed my first attempt, and I ended up going down a bit of a rabbit hole before finding something robust enough to live near the waterline.

Log in to join the discussion.

Log In to Reply