evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Alfen Wallbox sometimes doesn't react to phase switch / scale up from 1p to 3p

Open TobiasWachtel opened this issue 1 year ago • 3 comments

Describe the bug

n some cases the scale up from 1p to 3p doesn't work. In the logs you will see, that switch phases was triggered, but due to any reason the Wallbox etc. doesn't react to it and remains on 1p charging. Actually evcc should know that, because in the logs you then frequently see that it detected active phases: 1p. Unfortunately it doesn't try again to switch the phases to 3p.

In 95% of the phase scale up cases it works totally fine. Maybe the Wallbox sometime just doesn't do the command or isn't receiving it properly. I figured two ways out, to fix it. First option would be selecting on the UI on the loadpoint only 1 Phase for charging. Then it triggers in the log a switch to 1p. And then activating automatic phase switching again on the loadpoint which triggers than again the switch to 3p. Or second option would be re-connecting the car.

However, I would love to have evcc doing multiple attempts if the switch phases was not happening. Maybe that's also a new feature request, I will let you think and decide on it.

Additional comment: So far, on my second Charger (WARP3 Pro) I have never seen this. Vehicle there is VW ID.3 Vehicle on the Alfen Charger is a BMW i4.

Please see trace log file. Around as of [lp-1 ] DEBUG 2025/09/05 13:21:35 switched phases: 3p

Steps to reproduce

Usually the scale up from 1p to 3p works totally fine. The issue only appears randomly sometimes. Hence, it's hard to reproduce, but in case it happens, you will see it in the logs or you will see in the dashboard that there is plenty of PV Power available but it keeps charging on 1p with max Power.

evcc-20250905-133905-trace.log

Configuration details

Note: It's not the whole yaml file, but config works fine! Hence I see this less relevant 

site:
  title: Home # display name for UI
  residualPower: 200 # 200W Puffer Netzeinspeisung durch Hausverbrauch
  meters:
    grid: my_grid
    pv:
      - my_gen24
      - my_symo
    battery:
      - my_battery

circuits:
  - name: main
    title: Hauptsicherung
    maxCurrent: 48
    maxPower: 30000
    meter: my_grid
  - name: garage
    title: Garage
    maxCurrent: 25
    parent: main
loadpoints:
  - title: Garage Firmenwagen # display name for UI
    charger: alfen_eve # charger
    vehicle: my_firmenwagen # default vehicle
    circuit: garage
  - title: Garage Privat # display name for UI
    charger: warp3pro # charger
    vehicle: my_privatwagen
    circuit: garage
chargers:
  - name: alfen_eve
    type: template
    template: alfen
    # Modbus TCP
    modbus: tcpip
    id: 1
    host: 192.168.178.94 # Hostname
    port: 502 # Port
  - name: warp3pro
...

Log details

[evcc-20250905-133905-trace.log](https://github.com/user-attachments/files/22171329/evcc-20250905-133905-trace.log)

What type of operating system or environment does evcc run on?

HomeAssistant Add-on

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.207.5

TobiasWachtel avatar Sep 05 '25 11:09 TobiasWachtel

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

andig avatar Sep 05 '25 11:09 andig

@andig The log file was attached. See steps to reproduce. Please reopen the ticket. Thanks, Tobias

TobiasWachtel avatar Sep 05 '25 11:09 TobiasWachtel

Log details

does not contain a file

andig avatar Sep 05 '25 11:09 andig