Polestar 2 - Not recognized by connecting to Wallbox (KEBA)
Describe the bug
Apologies if you guys are still working on the final build - however I hope I can point you to this finding anyway.
Polestar 2 - Nightly Build (evcc version 0.203.6 (fb22b6b5)) - KEBA P30X Wallbox When I connect my car to the Wallbox it got recognized as foreign vehicle but not as Polestar. I can manually switch from foreign vehicle to "Polestar 2" which is the name in EVCC for my car and it works, however it is after the last bug (change of API again) no longer recognized automatically.
So, all is working with the nightly except the vehicle recognition in the GUI and out of this further down in the charging behaviour like for example to charge up to 25% min when connected regardless what conditions are given by the PV.
Steps to reproduce
- Connect Car
- See in EVCC
- Change manual from "foreign vehicle" to "Polestar 2" (your vehicle name) ...
Configuration details
[main ] INFO 2025/05/28 14:03:04 evcc 0.203.6 (fb22b6b5)
[main ] INFO 2025/05/28 14:03:04 using config file: /etc/evcc.yaml
[db ] INFO 2025/05/28 14:03:04 using sqlite database: /root/.evcc/evcc.db
[mqtt ] INFO 2025/05/28 14:03:04 connecting evcc-1247060849 at tcp://172.17.17.10:1883
[mqtt ] DEBUG 2025/05/28 14:03:04 tcp://172.17.17.10:1883 connected
[lp-1 ] DEBUG 2025/05/28 14:03:09 charge total import: 20102.889kWh
Konfiguration (/etc/evcc.yaml):
# open evcc at http://evcc.local:7070
network:
schema: http
host: evcc.local # .local suffix announces the hostname on MDNS
port: 7070
log: debug
levels:
cache: error
# unique installation id
plant: *****
interval: 30s # control cycle interval
sponsortoken: *****
# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: true
meters:
- type: template
template: sonnenbatterie
usage: grid
host: 172.17.17.51
port: 8080
name: grid1
- type: template
template: sonnenbatterie
usage: pv
host: 172.17.17.51
port: 8080
name: pv2
- type: template
template: sonnenbatterie
usage: battery
host: 172.17.17.51
port: 8080
name: battery3
token: *****
capacity: 10
chargepower: 4600
chargers:
- type: template
template: keba-modbus
id: 255
host: 172.17.17.39
port: 502
modbus: tcpip
welcomecharge: false
name: wallbox5
vehicles:
- type: template
template: polestar
title: Polestar 2
icon: car
user: *****
password: *****
vin: *****
capacity: 78
phases: 3
cache: 5m
mode: pv
minCurrent: 6
maxCurrent: 16
name: ev4
loadpoints:
- title: Wallbox
charger: wallbox5
mode: pv
site:
title: Hubertusweg
meters:
grid: grid1
pv:
- pv2
battery:
- battery3
Version: `0.203.6 (fb22b6b5)`
Log details
[```
[lp-1 ] DEBUG 2025/05/28 14:11:15 pv charge current: 0.249A = 0A + 0.249A (-172W @ 3p)
[lp-1 ] INFO 2025/05/28 14:11:29 vehicle updated: unknown -> Polestar 2
[lp-1 ] DEBUG 2025/05/28 14:11:29 set charge mode: pv
[site ] DEBUG 2025/05/28 14:11:44 ----
[lp-1 ] DEBUG 2025/05/28 14:11:45 charge power: 0W
[lp-1 ] DEBUG 2025/05/28 14:11:45 charge currents: [0 0 0]A
[site ] DEBUG 2025/05/28 14:11:45 battery 1 power: 0W
[site ] DEBUG 2025/05/28 14:11:45 grid power: -414W
[site ] DEBUG 2025/05/28 14:11:45 pv 1 power: 3747W
[site ] DEBUG 2025/05/28 14:11:45 battery 1 soc: 70%
[site ] DEBUG 2025/05/28 14:11:45 site power: -314W
[lp-1 ] DEBUG 2025/05/28 14:11:46 vehicle odometer: 99547km
[lp-1 ] DEBUG 2025/05/28 14:11:47 charge total import: 20102.889kWh
[lp-1 ] DEBUG 2025/05/28 14:11:49 charger status: B
[lp-1 ] DEBUG 2025/05/28 14:11:50 vehicle status: A
[lp-1 ] DEBUG 2025/05/28 14:11:50 vehicle soc: 6%
[lp-1 ] DEBUG 2025/05/28 14:11:50 vehicle range: 22km
[lp-1 ] DEBUG 2025/05/28 14:11:50 forced charging at vehicle soc 6% (< 25% min soc)
[lp-1 ] DEBUG 2025/05/28 14:11:50 set charge current limit: 16A
[lp-1 ] DEBUG 2025/05/28 14:11:50 charger enable
[lp-1 ] DEBUG 2025/05/28 14:11:50 wake-up timer: start
[lp-1 ] DEBUG 2025/05/28 14:11:50 pv timer elapse
[lp-1 ] DEBUG 2025/05/28 14:11:50 pv timer inactive
[site ] DEBUG 2025/05/28 14:12:14 ----
[lp-1 ] DEBUG 2025/05/28 14:12:14 charge power: 1176W
[lp-1 ] DEBUG 2025/05/28 14:12:14 charge currents: [0.461 0.454 5.3]A
[site ] DEBUG 2025/05/28 14:12:14 grid power: 413W
[site ] DEBUG 2025/05/28 14:12:14 pv 1 power: 3701W
[site ] DEBUG 2025/05/28 14:12:14 battery 1 power: 0W
[site ] DEBUG 2025/05/28 14:12:14 battery 1 soc: 70%
[site ] DEBUG 2025/05/28 14:12:14 site power: 513W
[lp-1 ] DEBUG 2025/05/28 14:12:15 charge total import: 20102.890kWh
[lp-1 ] DEBUG 2025/05/28 14:12:17 charger status: C
[lp-1 ] DEBUG 2025/05/28 14:12:17 charge start energy: 20102.891kWh
[lp-1 ] INFO 2025/05/28 14:12:17 start charging ->
[lp-1 ] DEBUG 2025/05/28 14:12:17 wake-up timer: stop
[lp-1 ] DEBUG 2025/05/28 14:12:17 soc estimated: 6.00% (vehicle: 6.00%)
[lp-1 ] DEBUG 2025/05/28 14:12:17 vehicle soc: 6%
[lp-1 ] DEBUG 2025/05/28 14:12:17 vehicle range: 22km
[lp-1 ] DEBUG 2025/05/28 14:12:18 forced charging at vehicle soc 6% (< 25% min soc)
### 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
evcc version 0.203.6 (fb22b6b5)
See https://github.com/evcc-io/evcc/issues/20648
See #20648
Hi, this link is wrong I guess. The API has been changed "again" in the last days but the fix is within the actual nightly build. The bit not working is the identification of the Car when connecting. Manual switch to the car name is working and from that point all is working well.
Your log shows not the connect to the Wallbox, where the identification does not work, it starts with:
[lp-1 ] INFO 2025/05/28 14:11:29 vehicle updated: unknown -> Polestar 2
So evcc it now know that it is the Polestar. And then it detect a SoC of 6% and starts to charge to Our minimum charge of 25%