evcc
evcc copied to clipboard
Cardata BMW/Mini SoC is not updated while charging
Describe the bug
While charging, the SoC is not updated. When I disconnect the car I suddenly see 'cardata TRACE recv' appearing. I do not see those as long as the car stays connected.
The attached (trace) log shows the charge session up to the point where I unplug and replug the car.
Steps to reproduce
- CarData Mini authenticated and streaming data selected as recommended in docs
- Connect the car
- The Soc remains the SoC it was when plugged in although it is clearly showing that it is charging (session energy & charge import increasing)
- Unplug the car
- Connect the car again
- SoC is updated
Configuration details
vehicles:
- name: Mini
type: template
template: cardata
vin: xxxxx
clientid: xxxxx
Log details
[cardata] DEBUG 2025/10/28 15:12:54 connect streaming (using gcid xxx, id_token eyJeXA...nRvawiaWF0PpQ, valid: 2025-10-28 16:12:54 +0000 UTC)
[cardata] DEBUG 2025/10/28 15:12:54 connected streaming
[lp-1 ] DEBUG 2025/10/28 15:13:19 charge power: 3852W
[lp-1 ] DEBUG 2025/10/28 15:13:20 session energy: 4.219kWh
[lp-1 ] DEBUG 2025/10/28 15:13:20 charge total import: 2438.553kWh
[lp-1 ] DEBUG 2025/10/28 15:13:20 charger status: C
[lp-1 ] DEBUG 2025/10/28 15:13:20 vehicle soc: 57%
[lp-1 ] DEBUG 2025/10/28 15:13:20 vehicle soc limit: 100%
...
[lp-1 ] DEBUG 2025/10/28 16:12:20 session energy: 7.923kWh
[lp-1 ] DEBUG 2025/10/28 16:12:20 charge total import: 2442.257kWh
[lp-1 ] DEBUG 2025/10/28 16:12:20 charger status: C
[lp-1 ] DEBUG 2025/10/28 16:12:20 vehicle soc: 57%
[lp-1 ] DEBUG 2025/10/28 16:12:20 vehicle soc limit: 100%
[lp-1 ] DEBUG 2025/10/28 16:12:50 charge power: 3834W
[lp-1 ] DEBUG 2025/10/28 16:12:50 session energy: 7.954kWh
[lp-1 ] DEBUG 2025/10/28 16:12:50 charge total import: 2442.288kWh
[lp-1 ] DEBUG 2025/10/28 16:12:50 charger status: C
[lp-1 ] DEBUG 2025/10/28 16:12:50 vehicle soc: 57%
[lp-1 ] DEBUG 2025/10/28 16:12:50 vehicle soc limit: 100%
[cardata] DEBUG 2025/10/28 16:12:54 connect streaming (using gcid xxx, id_token eyJ0e...XAiOiJKV1AxH5fDQg, valid: 2025-10-28 17:12:54 +0000 UTC)
[cardata] DEBUG 2025/10/28 16:12:54 connected streaming
[lp-1 ] DEBUG 2025/10/28 16:13:20 charge power: 3839W
[lp-1 ] DEBUG 2025/10/28 16:13:20 session energy: 7.986kWh
[lp-1 ] DEBUG 2025/10/28 16:13:20 charge total import: 2442.320kWh
[lp-1 ] DEBUG 2025/10/28 16:13:20 charger status: C
[lp-1 ] DEBUG 2025/10/28 16:13:20 vehicle soc: 57%
[lp-1 ] DEBUG 2025/10/28 16:13:20 vehicle soc limit: 100%
...
[lp-1 ] DEBUG 2025/10/28 16:41:50 charge power: 3811W
[lp-1 ] DEBUG 2025/10/28 16:41:50 session energy: 9.762kWh
[lp-1 ] DEBUG 2025/10/28 16:41:50 charge total import: 2444.096kWh
[lp-1 ] DEBUG 2025/10/28 16:41:50 charger status: C
[lp-1 ] DEBUG 2025/10/28 16:41:50 vehicle soc: 57%
[lp-1 ] DEBUG 2025/10/28 16:41:50 vehicle soc limit: 100%
...
[lp-1 ] DEBUG 2025/10/28 17:00:20 charge power: 3807W
[lp-1 ] DEBUG 2025/10/28 17:00:20 session energy: 10.914kWh
[lp-1 ] DEBUG 2025/10/28 17:00:20 charge total import: 2445.248kWh
[lp-1 ] DEBUG 2025/10/28 17:00:20 charger status: C
[lp-1 ] DEBUG 2025/10/28 17:00:20 vehicle soc: 57%
[lp-1 ] DEBUG 2025/10/28 17:00:20 vehicle soc limit: 100%
[lp-1 ] DEBUG 2025/10/28 17:00:20 pv charge current: min 6A > 2.42A (2469W @ 3p, battery: false)
[cardata] TRACE 2025/10/28 17:00:44 recv: {"vin":"***","entityId":"xxx","topic":"***","timestamp":"2025-10-28T17:00:43.748Z","data":{"vehicle.drivetrain.batteryManagement.header":{"timestamp":"2025-10-28T17:00:39Z","value":89,"unit":"percent"}}}
[cardata] TRACE 2025/10/28 17:00:44 recv: {"vin":"***","entityId":"xxx","topic":"***","timestamp":"2025-10-28T17:00:43.748Z","data":{"vehicle.body.chargingPort.status":{"timestamp":"2025-10-28T17:00:39Z","value":"CONNECTED"}}}
[cardata] TRACE 2025/10/28 17:00:44 recv: {"vin":"***","entityId":"xxx","topic":"***","timestamp":"2025-10-28T17:00:43.748Z","data":{"vehicle.drivetrain.batteryManagement.header":{"timestamp":"2025-10-28T17:00:39Z","value":89,"unit":"percent"}}}
[cardata] TRACE 2025/10/28 17:00:44 recv: {"vin":"***","entityId":"xxx","topic":"***","timestamp":"2025-10-28T17:00:43.748Z","data":{"vehicle.body.chargingPort.status":{"timestamp":"2025-10-28T17:00:39Z","value":"CONNECTED"}}}
[lp-1 ] DEBUG 2025/10/28 17:00:50 charge power: 3519W
[lp-1 ] DEBUG 2025/10/28 17:00:50 session energy: 10.924kWh
[lp-1 ] DEBUG 2025/10/28 17:00:50 charge total import: 2445.258kWh
[lp-1 ] DEBUG 2025/10/28 17:00:50 charger status: C
[lp-1 ] DEBUG 2025/10/28 17:00:50 vehicle soc: 89%
[lp-1 ] DEBUG 2025/10/28 17:00:50 vehicle soc limit: 100%
[lp-1 ] DEBUG 2025/10/28 17:00:50 limitSoc reached: 89.0% > 85%
[lp-1 ] DEBUG 2025/10/28 17:00:50 charger disable
[lp-1 ] DEBUG 2025/10/28 17:01:20 charge power: 0W
[lp-1 ] DEBUG 2025/10/28 17:01:20 session energy: 10.926kWh
[lp-1 ] DEBUG 2025/10/28 17:01:20 charge total import: 2445.260kWh
[lp-1 ] DEBUG 2025/10/28 17:01:20 charger status: B
[lp-1 ] DEBUG 2025/10/28 17:01:20 charge final energy: 10.926kWh
[lp-1 ] INFO 2025/10/28 17:01:20 stop charging <-
What type of operating system or environment does evcc run on?
Linux
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.209.3