CarData (Mini) does not get updated SoC while charging
Describe the bug
I changed to CarData a week ago and I noticed that the state of charge is not being updated while loading. The mini app shows the actual SoC as it is also shown in the Mini itself. This used to work in the previous BMW API.
I am not sure if a) we fail to retrieve the current SoC using the streaming CarData API or b) BMW does not update it often enough? The EVCC logging shows the same SoC while charging.
Steps to reproduce
- CarData Mini authenticated and streaming data selected as recommended in docs 2.Connect the car
- The Soc remains the SoC it was when plugged in ...
Configuration details
vehicles:
- name: Mini
type: template
template: cardata
vin: xxxxx
clientid: xxxxx
Log details
[lp-1 ] DEBUG 2025/10/17 15:06:50 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:07:21 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:07:50 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:08:20 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:08:50 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:09:21 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:09:51 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:10:20 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:10:50 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:11:20 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:11:50 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:12:21 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:12:51 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:13:20 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:13:51 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:14:20 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:14:51 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:15:21 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:15:50 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:16:20 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:16:50 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:17:20 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:17:51 vehicle soc: 48%
[lp-1 ] DEBUG 2025/10/17 15:18:20 vehicle soc: 48%
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.1
This is what happens when I unplug and replug the car:
[lp-1 ] DEBUG 2025/10/17 15:40:20 charger status: B
[lp-1 ] DEBUG 2025/10/17 15:40:20 charge final energy: 15.877kWh
[lp-1 ] INFO 2025/10/17 15:40:20 stop charging <-
[lp-1 ] DEBUG 2025/10/17 15:40:20 vehicle soc: 48%
...
[lp-1 ] DEBUG 2025/10/17 15:41:20 charger status: C
[lp-1 ] INFO 2025/10/17 15:41:20 start charging ->
[lp-1 ] DEBUG 2025/10/17 15:41:20 vehicle soc: 94%
[lp-1 ] DEBUG 2025/10/17 15:41:20 vehicle soc limit: 100%
[lp-1 ] DEBUG 2025/10/17 15:41:20 limitSoc reached: 94.0% > 85%
[lp-1 ] DEBUG 2025/10/17 15:41:20 charger disable
[site ] DEBUG 2025/10/17 15:41:50 ----
...
[lp-1 ] DEBUG 2025/10/17 15:41:50 charger status: B
[lp-1 ] DEBUG 2025/10/17 15:41:50 charge final energy: 15.878kWh
[lp-1 ] INFO 2025/10/17 15:41:50 stop charging <-
Needs loadpoint debug plus including cardata trace log. Also note https://github.com/evcc-io/evcc/pull/24518.
Ok, I will wait for #24518 to be merged and check again