evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Only 1 Phase used

Open JoernHei opened this issue 2 months ago • 4 comments

Description

The go-e Charger Switch es to 1p instead of 3 phases. PV Power goes to grid

Steps to Reproduce

  1. Restart charger
  2. It Starts with 3p
  3. Evcc calculates -> only 1p is used

Configuration (YAML)

network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070
log: debug
levels:
  cache: error
# unique installation id
plant: *****
# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: true
site:
  title: Zuhause
  meters:
    grid: grid1
# mqtt message broker
mqtt:
  broker: localhost:1883
  topic: evcc # root topic for publishing, set empty to disable publishing
  user: *****
  password: *****
vehicles:
  - name: vw_passat_joern
    title: Passat # Wird in der Benutzeroberfläche angezeigt (Optional)
    type: custom
    capacity: 10 # Akkukapazität in kWh (Optional) 
    phases: 1
    onIdentify:
     maxCurrent: 16
    soc:
     source: mqtt
     topic: Wican/vw_passat_joern/soc_aufbereitet
     timeout: 1m

Configuration (UI)

{
  "charger": [
    {"id":11,"name":"db:11","type":"template","config":{"template":"go-e-v3","host":"192.168.178.90"},"deviceProduct":"go-e Charger V3"},
    {"id":13,"name":"db:13","type":"template","config":{"template":"ocpp-goe","connector":"1","connecttimeout":"5m","meterinterval":"10s","remotestart":false,"stationid":"***"},"deviceProduct":"go-e Charger Gemini 2.0 (OCPP)"}
  ],
  "experimental": true,
  "influx": {"database":"","insecure":false,"org":"","password":"","token":"","url":"","user":""},
  "interval": 29,
  "loadpoints": [
    {"id":12,"name":"db:12","alwaysCharge":"off","batteryBoostLimit":0,"charger":"db:11","defaultMode":"smart","limitEnergy":0,"limitSoc":0,"maxCurrent":32,"minCurrent":6,"minSoc":0,"phasesConfigured":3,"planEnergy":10,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"2026-09-29T04:00:00Z","priority":1,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"solarShare":1,"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Carport innen","ui":{"maxTemp":100,"minTemp":0},"vehicle":"vw_passat_joern"},
    {"id":14,"name":"db:14","alwaysCharge":"off","batteryBoostLimit":95,"charger":"db:13","defaultMode":"smart","limitEnergy":0,"limitSoc":0,"maxCurrent":32,"minCurrent":6,"minSoc":0,"phasesConfigured":0,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"estimate":true,"poll":{"interval":3600000000000,"mode":"charging"}},"solarShare":1,"thresholds":{"disable":{"delay":180000000000,"threshold":0},"enable":{"delay":60000000000,"threshold":0}},"title":"Carport aussen","ui":{"maxTemp":100,"minTemp":0},"vehicle":"db:10"}
  ],
  "meter": [
    {"id":2,"name":"db:2","type":"template","config":{"id":3,"template":"sma-hybrid","baudrate":9600,"comset":"8N1","host":"192.168.178.121","maxacpower":9000,"maxchargepower":"4200","modbus":"tcpip","port":502,"usage":"pv","watchdog":"60s"},"deviceProduct":"SMA Smart Energy Hybrid-Wechselrichter","deviceTitle":"Hausdach"},
    {"id":3,"name":"db:3","type":"template","config":{"id":3,"template":"sma-hybrid","baudrate":9600,"capacity":18,"comset":"8N1","host":"192.168.178.121","maxacpower":"0","maxchargepower":9000,"maxdischargepower":9000,"modbus":"tcpip","port":502,"usage":"battery","watchdog":"60s"},"deviceProduct":"SMA Smart Energy Hybrid-Wechselrichter","deviceTitle":"Hausakku"},
    {"id":1,"name":"db:1","type":"template","config":{"template":"sma-home-manager","host":"192.168.178.59","usage":"grid"},"deviceProduct":"SMA Sunny Home Manager 2.0"},
    {"id":4,"name":"db:4","type":"template","config":{"template":"sma-inverter-speedwire","host":"192.168.178.60","password":"***","usage":"pv"},"deviceProduct":"SMA Wechselrichter (Speedwire)","deviceTitle":"Schleppdach"}
  ],
  "mqtt": {"broker":"localhost:1883","caCert":"","clientCert":"","clientID":"","clientKey":"","insecure":false,"password":"***","topic":"evcc","user":"mqttuser"},
  "residualPower": -1000,
  "shm": {"deviceId":"","deviceSerial":"","vendorId":""},
  "site": {"aux":null,"battery":["db:3"],"consumer":null,"curtail":null,"ext":null,"grid":"db:1","pv":["db:2","db:4"],"title":"Zuhause"},
  "tariff": [
    {"id":6,"name":"db:6","type":"template","config":{"template":"fixed","price":0.08},"deviceProduct":"Fester Preis"},
    {"id":8,"name":"db:8","type":"template","config":{"template":"forecast-solar","az":-8,"dec":45,"interval":"1h","kwp":10.2,"lat":"***","lon":"***"},"deviceProduct":"Forecast.Solar","deviceTitle":"Hausdach"},
    {"id":5,"name":"db:5","type":"template","config":{"template":"fixed","chargesZones":[{"days":"","hours":"23:30-00:00","months":"","price":0.006500000000000001},{"days":"","hours":"00:00-05:00","months":"","price":0.006500000000000001},{"days":"","hours":"05:00-10:15","months":"","price":0.065},{"days":"","hours":"10:15-12:00","months":"","price":0.105},{"days":"","hours":"12:00-16:45","months":"","price":0.065},{"days":"","hours":"16:45-20:15","months":"","price":0.105},{"days":"","hours":"20:15-23:30","months":"","price":0.065}],"price":0.23},"deviceProduct":"Fester Preis"},
    {"id":7,"name":"db:7","type":"template","config":{"template":"forecast-solar","az":-8,"dec":90,"interval":"1h","kwp":3.8,"lat":"***","lon":"***"},"deviceProduct":"Forecast.Solar","deviceTitle":"Scheune-Giebel"},
    {"id":15,"name":"db:15","type":"template","config":{"template":"grünstromindex","zip":"***"},"deviceProduct":"Grünstromindex"},
    {"id":9,"name":"db:9","type":"template","config":{"template":"forecast-solar","az":-8,"dec":7,"interval":"1h","kwp":11.4,"lat":"***","lon":"***"},"deviceProduct":"Forecast.Solar","deviceTitle":"Scheune-Schleppdach"}
  ],
  "tariffRefs": {"co2":"db:15","feedIn":"db:6","grid":"db:5","planner":"","solar":["db:7","db:8","db:9"],"temperature":""},
  "vehicle": [
    {"id":10,"name":"db:10","type":"template","config":{"template":"opel","accessToken":"***","autodetectdisabled":false,"cache":"15m","capacity":45,"climaterdisabled":false,"icon":"car","maxCurrent":16,"maxPower":10000,"minCurrent":6,"phases":"3","priority":0,"refreshToken":"***","title":"Corsa","user":"***","vin":"***","wakeupdisabled":false},"deviceProduct":"Opel"}
  ]
}

Logs

[site  ] DEBUG 2026/10/01 13:20:42 ----
[lp-2  ] DEBUG 2026/10/01 13:20:42 charge power: 3648W
[lp-2  ] DEBUG 2026/10/01 13:20:42 charge currents: [15.8 0 0]A
[lp-1  ] DEBUG 2026/10/01 13:20:42 charge power: 0W
[lp-1  ] DEBUG 2026/10/01 13:20:42 charge currents: [0 0 0]A
[site  ] DEBUG 2026/10/01 13:20:42 grid power: -11593W
[site  ] DEBUG 2026/10/01 13:20:42 grid powers: [-5388 -5278 -928]W
[site  ] DEBUG 2026/10/01 13:20:42 grid currents: [-22.4 -22 -4.45]A
[site  ] DEBUG 2026/10/01 13:20:42 pv 2 power: 7522W
[site  ] DEBUG 2026/10/01 13:20:42 battery 1 power: 0W
[site  ] DEBUG 2026/10/01 13:20:42 battery 1 soc: 100%
[site  ] DEBUG 2026/10/01 13:20:42 set residual power: -1000
[site  ] DEBUG 2026/10/01 13:20:42 pv 1 power: 9103W
[site  ] DEBUG 2026/10/01 13:20:42 pv 1 excess DC: 103W
[site  ] DEBUG 2026/10/01 13:20:42 pv power: 16625W (includes 103W excess DC)
[main  ] DEBUG 2026/10/01 13:20:42 lp Carport innen at prio 1 gets additional 3648W from Carport aussen at prio 0, total 3648W
[site  ] DEBUG 2026/10/01 13:20:42 site power: -16138W (including 3648W prioritized power)
[lp-1  ] DEBUG 2026/10/01 13:20:42 charge voltages: [237 236 229]V
[lp-1  ] DEBUG 2026/10/01 13:20:42 detected connected phases: 3p
[lp-1  ] DEBUG 2026/10/01 13:20:42 charge total import: 7659.000kWh
[lp-1  ] DEBUG 2026/10/01 13:20:42 charger status: B
[lp-1  ] DEBUG 2026/10/01 13:20:42 soc extrapolated: 80.00%
[lp-1  ] DEBUG 2026/10/01 13:20:42 vehicle soc (estimator): 80%
[lp-1  ] DEBUG 2026/10/01 13:20:42 !! plan: plan time zero
[lp-1  ] DEBUG 2026/10/01 13:20:42 limitSoc reached: 80.0% > 80%

Version

v0.316.1

System

linux/arm, CEST +02:00

JoernHei avatar Oct 01 '26 11:10 JoernHei

Thanks for the report. There is not enough information yet to identify a cause. Could you please provide:

  • the full charger and loadpoint config (evcc.yaml or the UI config), including the go-e model (V3/V4/Gemini) and whether it is used via go-e (local HTTP API) or the cloud API
  • a debug log (evcc --log debug or log: trace for the charger) covering the restart and a few minutes afterwards
  • the configured min/max current and the loadpoint phases setting (auto/1p/3p) and whether the charger's own phase mode is set to auto in the go-e app
  • the evcc version you were running before, if it worked there

Without logs we cannot tell whether evcc requested the switch to 1p (e.g. because the PV surplus is below the 3p minimum) or the charger did it on its own.

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 01 '26 11:10 github-actions[bot]

The First timestamp ist before go-e restart.

[lp-2 ] DEBUG 2026/10/01 13:26:01 charge power: 3634W
[lp-2 ] DEBUG 2026/10/01 13:26:01 charge currents: [15.7 0 0]A
[lp-2 ] DEBUG 2026/10/01 13:26:01 charge voltages: [234 241 241]V
[lp-2 ] DEBUG 2026/10/01 13:26:01 detected active phases: 1p
[lp-2 ] DEBUG 2026/10/01 13:26:01 session energy: 2.342kWh
[lp-2 ] DEBUG 2026/10/01 13:26:01 charge total import: 193.325kWh
[lp-2 ] DEBUG 2026/10/01 13:26:01 charger status: C
[lp-2 ] DEBUG 2026/10/01 13:26:01 vehicle soc: 41%
[lp-2 ] DEBUG 2026/10/01 13:26:01 vehicle range: 124km
[lp-2 ] DEBUG 2026/10/01 13:26:01 soc estimated: 42.43% (vehicle: 41.00%)
[lp-2 ] DEBUG 2026/10/01 13:26:01 vehicle soc (estimator): 42%
[lp-2 ] DEBUG 2026/10/01 13:26:01 !! plan: plan time zero
[lp-2 ] DEBUG 2026/10/01 13:26:01 pv charge current: 69.7A = 16A + 53.7A (-12354W @ 1p)
[lp-2 ] DEBUG 2026/10/01 13:26:34 charge power: 10067W
[lp-2 ] DEBUG 2026/10/01 13:26:34 charge currents: [14.8 14.6 14.3]A
[lp-2 ] DEBUG 2026/10/01 13:26:59 charge power: 10304W
[lp-2 ] DEBUG 2026/10/01 13:26:59 charge currents: [15.1 14.9 14.6]A
[lp-2 ] DEBUG 2026/10/01 13:26:59 charge voltages: [235 235 236]V
[lp-2 ] DEBUG 2026/10/01 13:26:59 detected active phases: 3p
[lp-2 ] DEBUG 2026/10/01 13:26:59 session energy: 2.379kWh
[lp-2 ] DEBUG 2026/10/01 13:26:59 charge total import: 193.362kWh
[lp-2 ] DEBUG 2026/10/01 13:26:59 charger status: C
[lp-2 ] DEBUG 2026/10/01 13:26:59 vehicle soc: 41%
[lp-2 ] DEBUG 2026/10/01 13:26:59 vehicle range: 124km
[lp-2 ] DEBUG 2026/10/01 13:26:59 soc estimated: 42.49% (vehicle: 41.00%)
[lp-2 ] DEBUG 2026/10/01 13:26:59 vehicle soc (estimator): 42%
[lp-2 ] WARN 2026/10/01 13:26:59 charger logic error: current mismatch (got 32A, expected 16A) - make sure your interval is at least 30s
[lp-2 ] DEBUG 2026/10/01 13:26:59 !! plan: plan time zero
[lp-2 ] DEBUG 2026/10/01 13:26:59 pv charge current: 25.2A = 17.1A + 8.07A (-5569W @ 3p)
[lp-2 ] DEBUG 2026/10/01 13:26:59 set charge current limit: 16A
[lp-2 ] DEBUG 2026/10/01 13:27:28 charge power: -7W
[lp-2 ] DEBUG 2026/10/01 13:27:28 charge currents: [1.14 0 0]A
[lp-2 ] DEBUG 2026/10/01 13:27:57 charge power: 3616W
[lp-2 ] DEBUG 2026/10/01 13:27:57 charge currents: [15.6 0 0]A
[lp-2 ] DEBUG 2026/10/01 13:27:57 charge voltages: [234 241 241]V
[lp-2 ] DEBUG 2026/10/01 13:27:57 detected active phases: 1p
[lp-2 ] DEBUG 2026/10/01 13:27:57 session energy: 2.419kWh
[lp-2 ] DEBUG 2026/10/01 13:27:57 charge total import: 193.401kWh
[lp-2 ] DEBUG 2026/10/01 13:27:57 charger status: C
[lp-2 ] DEBUG 2026/10/01 13:27:57 vehicle soc: 41%
[lp-2 ] DEBUG 2026/10/01 13:27:57 vehicle range: 124km
[lp-2 ] DEBUG 2026/10/01 13:27:57 soc estimated: 42.57% (vehicle: 41.00%)
[lp-2 ] DEBUG 2026/10/01 13:27:57 vehicle soc (estimator): 43%
[lp-2 ] DEBUG 2026/10/01 13:27:57 !! plan: plan time zero
[lp-2 ] DEBUG 2026/10/01 13:27:57 pv charge current: 69.3A = 16A + 53.3A (-12251W @ 1p)

JoernHei avatar Oct 01 '26 11:10 JoernHei

Thanks for the logs. This is what I can see so far, not a confirmed root cause.

  • The affected loadpoint is lp-2 ("Carport aussen", charger db:13, template ocpp-goe, phasesConfigured: 0 = auto). The other charger (db:11, local go-e-v3) is not involved.
  • After the restart the charger starts with 3p (charge currents: [14.8 14.6 14.3]A, detected active phases: 3p). evcc then sets 16A and the charger drops to a single phase ([15.6 0 0]A, detected active phases: 1p). Because evcc then calculates @ 1p, the surplus is no longer enough to go back to 3p, and the PV power goes to the grid.
  • The ocpp-goe charger switches phases through an OCPP charging profile (phases1p3p / createChargingProfile in charger/ocpp.go) with an explicit numberPhases. The warning current mismatch (got 32A, expected 16A) suggests the charger reports a different offered current than the profile evcc just sent. Which side requested the switch to 1p is not visible in the log.

To narrow this down, could you provide:

  1. A debug log of lp-2 from before the charger restart until it ends up on 1p. Please include the lines about phase switching, set charge current limit and OCPP profile messages. Setting levels: ocpp: trace shows the actual SetChargingProfile requests, including numberPhases.
  2. The phase mode setting of the go-e Gemini in the go-e app (auto / 1p / 3p), and whether the charger's own phase switching is enabled.
  3. The loadpoint phase setting in the evcc UI for "Carport aussen" (the config shows auto) and what the UI displays after the restart.
  4. Whether this worked in an earlier evcc version. Recent OCPP changes in this area are #31946 and #34121 (active phases for watts-based power), but I can't tie them to this report yet.

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 01 '26 11:10 github-actions[bot]

It works after evcc restart correct.

JoernHei avatar Oct 01 '26 11:10 JoernHei