evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Polestar 2 SoC is not being read anymore

Open RandomGenerator opened this issue 9 months ago • 0 comments

Describe the bug

I get the following error:

charger soc: Message: Validation error of type FieldUndefined: Field 'battery' in type 'CarTelematicsV2Response' is undefined @ 'carTelematicsV2/battery', Locations: [{Line:1 Column:221}], Extensions: map[], Path: []

Steps to reproduce

  1. Install version 0.301.1
  2. Configure the car
  3. Get error

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc # 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: false

meters:
- type: template
  template: homewizard
  usage: grid
  host: 192.168.99.42
  name: grid1

chargers:
- type: ocpp
  stationid: 1
  name: ratio
  remotestart: true
  stacklevelzero: true

vehicles:
- type: template
  template: polestar
  user: <>
  password: <>
  vin: <>
  title: Polly
  capacity: 82
  name: ev2
  mode: pv

loadpoints:
- title: Voortuin
  charger: ratio
  vehicle: ev2
  mode: off
  phases: 0

site:
- title: Thuis
  meters:
    grid: grid1

tariffs:
  currency: EUR
  grid:
    type: template
    template: epexprijzen-nl
    provider: <>

Log details

[lp-1 ] DEBUG 2026/02/26 12:56:33 !! plan: plan time zero
[lp-1 ] DEBUG 2026/02/26 12:56:33 charger disable
[site ] DEBUG 2026/02/26 12:56:35 ----
[lp-1 ] DEBUG 2026/02/26 12:56:35 charge power: 1491W
[site ] DEBUG 2026/02/26 12:56:35 grid power: 466W
[site ] DEBUG 2026/02/26 12:56:35 grid currents: [10.9 0.868 -9.51]A
[site ] DEBUG 2026/02/26 12:56:35 pv power: 1025W
[site ] DEBUG 2026/02/26 12:56:35 site power: 466W
[lp-1 ] DEBUG 2026/02/26 12:56:35 charge total import: 1183.677kWh
[lp-1 ] DEBUG 2026/02/26 12:56:35 charger status: C
[lp-1 ] ERROR 2026/02/26 12:56:35 charger soc: Message: Validation error of type FieldUndefined: Field 'battery' in type 'CarTelematicsV2Response' is undefined @ 'carTelematicsV2/battery', Locations: [{Line:1 Column:221}], Extensions: map[], Path: []

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

evcc version 0.301.1 (6ed83b321)

RandomGenerator avatar Feb 26 '26 12:02 RandomGenerator