VW EU Data Act: ERROR_CHARGING_SYSTEM is incorrectly reported as disconnected
Describe the bug
A plugged-in VW ID.3 is reported as disconnected (StatusA) when the EVSE is connected but currently not supplying power.
The Volkswagen app describes the same state as βConnected, check charging equipmentβ. The corresponding current EU Data Act dataset contains:
charging_state_report.current_charge_state = CHARGING_ERRORcharging_state_report.charging_scenario = ERROR_CHARGING_SYSTEMcharging_state_report.charge_type = AC
Neither plug_state nor charging_plug1_connectionstate is present in this dataset.
The EVSE correctly reports the cable as connected. However, eudataact.Provider.Status() does not handle ERROR_CHARGING_SYSTEM and therefore retains its initial StatusA. Status-based vehicle detection fails and the loadpoint remains assigned to the guest vehicle.
This is not caused by delayed delivery of this particular dataset: its values matched the state shown by the Volkswagen app at the same time. ERROR_CHARGING_SYSTEM should be treated as api.StatusB (connected, not charging).
Steps to reproduce
- Configure a VW ID.3 using the EU Data Act provider and enable automatic vehicle detection.
- Do not assign a default vehicle to the loadpoint.
- Connect the vehicle to the EVSE.
- Disable the EVSE output while leaving the cable connected.
- Wait for a current EU Data Act dataset containing:
current_charge_state = CHARGING_ERRORcharging_scenario = ERROR_CHARGING_SYSTEMcharge_type = AC
- Observe that the EVSE reports the vehicle as connected, while evcc does not detect the ID.3 and keeps the guest vehicle.
Configuration details
vehicle
---
db:2 {Type:template Product:Volkswagen We Connect ID} map[autodetectdisabled:false cache:15m capacity:58 template:vw title:VW ID.3 timeout:10s]
charger
---
db:11 {Type:template Product:go-e Charger V3} map[template:go-e-v3]
loadpoint
---
db:12 map[charger:db:11 mode:pv title:Garage Nord (22kW) vehicle:]
Log details
[main ] INFO 2026/08/10 14:00:42 evcc 0.314.0-dev+6bf587097
[site ] INFO 2026/08/10 14:00:46 vehicles:
[site ] INFO 2026/08/10 14:00:46 vehicle 1: range β finish β status β climate β wakeup β
[site ] INFO 2026/08/10 14:00:46 vehicle 2: range β finish β status β climate β wakeup β
[lp-1 ] INFO 2026/08/10 14:00:46 loadpoint 1:
[lp-1 ] INFO 2026/08/10 14:00:46 mode: pv
[lp-1 ] INFO 2026/08/10 14:00:46 charger: power β energy β currents β phases β wakeup β
[lp-1 ] INFO 2026/08/10 14:00:47 car connected
[lp-1 ] INFO 2026/08/10 14:02:25 vehicle updated: unknown -> VW ID.3
The `vehicle updated` event was caused by manually selecting the ID.3 in the UI after automatic detection had failed. It was not an automatic detection event.
EU Data Act values available during automatic detection:
current_charge_state = CHARGING_ERROR
charging_scenario = ERROR_CHARGING_SYSTEM
charge_type = AC
No plug_state or charging_plug1_connectionstate value was present.
What type of operating system or environment does evcc run on?
Docker container
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.314.0-dev+6bf587097
Confirmed as a genuine bug. In eudataact.Provider.Status() (vehicle/vw/eudataact/provider.go), the charging_scenario handling only recognizes the _ACTIVE and _FINISHED suffixes:
case strings.HasSuffix(upper, "_ACTIVE"):
status = api.StatusC
case strings.HasSuffix(upper, "_FINISHED"):
status = api.StatusB
ERROR_CHARGING_SYSTEM matches neither, and since no plug_state/charging_plug1_connectionstate or charging current_charge_state value was present in this dataset either, the status falls through to the default api.StatusA (disconnected) β exactly as reported.
I opened #32691 with a minimal fix that adds an ERROR_ prefix case mapping to api.StatusB (connected, not charging), plus a regression test for ERROR_CHARGING_SYSTEM.
π€ Generated with Claude Code
The EVSE correctly reports the cable as connected.
Where is this visible in the data set?
I don't see why ERROR_CHARGING_SYSTEM alone would mean anything for a connection status. Closing as wontfix.