Hi all, and especially @ptrenz, @Lpopescu and the EVCS team,
Since Venus OS v3.80 and EVCS firmware v2.09, the EVCS can be controlled by the GX through GX Opportunity Loads. I’d like to understand how this works together with 1P/3P phase switching. I couldn’t find anything about it in the manual (rev 14), the GX Opportunity Loads documentation or the beta thread.
My setup
- Cerbo GX, Venus OS v3.81, 3-phase ESS
- 2× EV Charging Station NS, firmware v2.09, both paired via MQTT
- Both units have the community 1P/3P modification (4P contactor replaced by 2× 2P contactors)
- Registers on both units: 5100 = 1, 5056 = 2, 5055 = 0
- Unit 1: 5057 / 5058 / 5059 = 3600 / 4200 / 300, max 16 A (EV charges with 1 or 3 phases)
- Unit 2: 5057 / 5058 / 5059 = 3400 / 3100 / 60, max 16 A (VW e-Golf, charges with 1 or 2 phases)
Background
As discussed in Charging an EV with Excess Solar – Switching Between 1P and 3P,the EVCS’s internal auto mode decides 1P/3P based on the actual EV charging power (5057/5058), not on the available solar surplus.
My grid operator limits phase imbalance to 16 A, so the EVCS is limited to 16 A per phase. This creates a fundamental problem for a charging-power-based logic:
- On 1P the charger can deliver at most 16 A × 230 V ≈ 3680 W, no matter how much surplus is available. It cannot distinguish 3.7 kW of surplus from 8 kW of surplus, because in both cases the EV charges at ~3680 W.
- On 3P the minimum is 3 × 6 A × 230 V ≈ 4140 W.
- To ever switch up, 5057 must be below ~3680 W. To ever switch back down, 5058 must be above ~4140 W. The thresholds are therefore inverted (5057 < 5058), and with a surplus between ~3.7 and ~4.1 kW the charger oscillates between 1P and 3P, limited only by the 5059 timeout.
Only a decision based on the actual surplus (e.g. “switch to 3P if surplus > ~4.4 kW for x minutes, back to 1P if < ~3.9 kW”) can solve this, which is why I’m asking whether Opportunity Loads now provides this.
The MQTT dataset now shows new paths under evcharger/<instance>/GxAutoMode/:
Enabled, Source, Supported, SupportedPhases (= 2 on both units), DetectedPhases, MaxDetectedPhases (1 resp. 2), ActivatedPhases, ChargingPhases, ChargingCurrent.
There is also S2/0/RmSettings/RememberEvPhases.
Questions
-
When Opportunity Loads controls the EVCS in Auto mode (“Auto mode source: External”), who decides 1P vs 3P?
a) The GX/CEM, based on the actual solar surplus, or
b) still the EVCS’s internal logic, based on charging power (5057/5058/5059)? -
What do
GxAutoMode/SupportedPhases,ActivatedPhases,ChargingPhases,DetectedPhasesandMaxDetectedPhasesmean? Is any of them writable, e.g. to request a phase count from Node-RED? -
Does Opportunity Loads support phase switching on modified units (5100 = 1, 5056 = 2) at all? Or is it intended only for future hardware with official phase switching?
-
Workaround question: if phase switching is not (yet) surplus-based, would the following be a safe and supported workaround?
- Instead of leaving 5056 at 2 (automatic 1P/3P), Node-RED actively switches 5056 between 0 (3P) and 1 (1P), based on its own surplus calculation (grid, battery and PV power) with hysteresis and minimum hold times.
- Everything else stays with the EVCS in Auto mode: current regulation (internal or via Opportunity Loads), start/stop, etc.
Specifically:
a) Does a change of 5056 during an active charging session trigger the normal phase switching sequence (status 22/23: pause, switch, resume)?
b) Will the EVCS or the GX/Opportunity Loads override or reset 5056, or otherwise interfere with this?
c) Are there any concerns regarding the contactors, the EV or the S2 communication when switching this way (e.g. how many switches per day are acceptable)? -
Is surplus-based phase switching on the roadmap, and roughly when?
I really appreciate Victron’s openness towards DIY modifications and would be happy to beta test and share logs/MQTT recordings from both units.
Thanks a lot!
Stefan