evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Waiting on vehicle

Open TijsDeBelie opened this issue 1 year ago • 5 comments

Description

Polestar, Guest vehicle and vehicle without API are all waiting on vehicle when trying to charge.

Steps to Reproduce

  1. Connect car to charger
  2. Open evcc and change to fast charging or smart (with settings so car will charge)
  3. Wait for something to happen
  4. Car (polestar) displays as waiting for car
  5. Change to guest vehicle or vehicle without API
  6. Still waiting on car

Configuration (YAML)

network:
  schema: https
  host: evcc.local

Configuration (UI)

{
  "site": {
    "title": "Molenberg",
    "grid": "",
    "pv": null,
    "battery": null,
    "aux": null,
    "ext": null
  },
  "loadpoints": [
    {"id":2,"name":"db:2","charger":"db:1","vehicle":"db:3","title":"ALFEN","defaultMode":"pv","priority":0,"phasesConfigured":1,"minCurrent":6,"maxCurrent":11,"smartCostLimit":0.3,"smartFeedInPriorityLimit":0.02,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":100,"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}}
  ],
  "charger": [
    {"config":{"host":"192.168.0.90","modbus":"tcpip","port":"502","template":"alfen"},"deviceProduct":"Alfen Eve","id":1,"name":"db:1","type":"template"}
  ],
  "vehicle": [
    {"config":{"cache":60000000000,"capacity":69,"icon":"car","identifiers":[],"maxCurrent":11,"minCurrent":6,"mode":"minpv","password":"***","phases":"1","priority":10,"template":"polestar","title":"Polestar","user":"*****"},"deviceProduct":"Polestar","id":3,"name":"db:3","type":"template"},
    {"config":{"capacity":69,"icon":"car","maxCurrent":11,"minCurrent":6,"mode":"minpv","phases":"1","priority":5,"template":"offline","title":"Guest"},"deviceProduct":"Generic vehicle (without API)","id":5,"name":"db:5","type":"template"}
  ],
  "messaging": "events:
  start:
    title: Charge started
    msg: Started charging in \"${mode}\" mode
  stop:
    title: Charge finished
    msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
  connect:
    title: Car connected
    msg: \"Car connected at ${pvPower:%.1fk}kW PV\"
  disconnect:
    title: Car disconnected
    msg: Car disconnected after ${connectedDuration}
  soc:
    title: Soc updated
    msg: Battery charged to ${vehicleSoc:%.0f}%
  asleep:
    title: Vehicle asleep
    msg: \"Charge release, vehicle {{ if .vehicleTitle }}{{ .vehicleTitle }} {{ end }}not charging.\"

services:
  - type: shout
    uri: discord://******",
  "tariffs": "grid:
  type: template
  template: nordpool
  region: BE
  currency: EUR
  charges: 0.11474
  formula: (((0.1068 * (price * 1000) + 1.5) * 1.06) / 100 + charges)
feedin:
  type: template
  template: nordpool
  region: BE
  currency: EUR
  formula: (price * 0.0851)
solar:
  - type: template
    template: open-meteo
    lat: x  # Latitude
    lon: x # Longitude
    dec: 25 # Decline, 0 = horizontal, 90 = vertical
    kwp: 2.94 # Maximum generator power (kWp)
    az: -90 # Azimuth, -180 = north, -90 = east, 0 = south, 90 = west, 180 = north"
}

Logs

[site  ] DEBUG 2025/11/18 19:39:21 solar forecast: accumulated 35.165kWh, produced 0.000kWh, scale 0.000
[site  ] DEBUG 2025/11/18 19:39:30 ----
[lp-1  ] DEBUG 2025/11/18 19:39:30 charge power: 0W
[lp-1  ] DEBUG 2025/11/18 19:39:30 charge currents: [0 0 0]A
[site  ] DEBUG 2025/11/18 19:39:30 pv power: 0W
[site  ] DEBUG 2025/11/18 19:39:30 site power: 0W
[lp-1  ] DEBUG 2025/11/18 19:39:30 charge voltages: [234 234 233]V
[lp-1  ] DEBUG 2025/11/18 19:39:31 charge total import: 2176.971kWh
[lp-1  ] DEBUG 2025/11/18 19:39:31 charger status: B
[lp-1  ] DEBUG 2025/11/18 19:39:31 smart consumption active: 0.28
[site  ] DEBUG 2025/11/18 19:39:31 solar forecast: accumulated 0.000Wh from 2025-11-18 19:39:21 +0100 CET to 2025-11-18 19:39:31 +0100 CET
[site  ] DEBUG 2025/11/18 19:39:31 solar forecast: produced 0.000
[site  ] DEBUG 2025/11/18 19:39:31 solar forecast: accumulated 35.165kWh, produced 0.000kWh, scale 0.000
[site  ] DEBUG 2025/11/18 19:39:40 ----
[lp-1  ] DEBUG 2025/11/18 19:39:40 charge power: 0W
[lp-1  ] DEBUG 2025/11/18 19:39:40 charge currents: [0 0 0]A
[site  ] DEBUG 2025/11/18 19:39:40 pv power: 0W
[site  ] DEBUG 2025/11/18 19:39:40 site power: 0W
[lp-1  ] DEBUG 2025/11/18 19:39:40 charge voltages: [234 234 233]V
[lp-1  ] DEBUG 2025/11/18 19:39:41 charge total import: 2176.971kWh
[lp-1  ] DEBUG 2025/11/18 19:39:41 charger status: B
[lp-1  ] DEBUG 2025/11/18 19:39:41 smart consumption active: 0.28
[site  ] DEBUG 2025/11/18 19:39:41 solar forecast: accumulated 0.000Wh from 2025-11-18 19:39:31 +0100 CET to 2025-11-18 19:39:41 +0100 CET
[site  ] DEBUG 2025/11/18 19:39:41 solar forecast: produced 0.000
[site  ] DEBUG 2025/11/18 19:39:41 solar forecast: accumulated 35.165kWh, produced 0.000kWh, scale 0.000

Version

v0.209.7

TijsDeBelie avatar Nov 18 '25 18:11 TijsDeBelie

Did you follow the steps from https://docs.evcc.io/en/docs/devices/chargers#eve?

The "Active load balancing" license is required for external Modbus control of the charger. Enable "Active Load Balancing" and select "Energy Management System" as Data Source in the configuration. It is recommended to set "ValidityTime" ("TCP/IP EMS" menu) to 300s.

StefanSchoof avatar Nov 18 '25 19:11 StefanSchoof

Hi,

  • It has worked before
  • I have the active load balancing licence.

I did follow the steps in that guide 😄

Screenshot_20251118_200936_MyEve.jpg

I do see that the charger received commands. However onIy to charge at 3.8A, and since the car needs minimal 6A this fails.

Screenshot_20251118_201618_MyEve.jpg

TijsDeBelie avatar Nov 18 '25 19:11 TijsDeBelie

It has worked before

What changed? If it was a evcc update, does a downgrade fix the problem?

StefanSchoof avatar Nov 18 '25 19:11 StefanSchoof

There was an update to the Alfen Eve app, and Polestar updated their app today. However, there's no new firmware. I also haven't updated to the latest version of EVCC.

The only thing I see that seems very odd is that Polestar reports as not connected, but it is physically connected. The charger is also waiting for power and not getting it from EVCC.

Screenshot_20251118_234945_evcc.jpg

Screenshot_20251119_003119_MyEve.jpg

I already tried to downgrade to an earlier software version of the charger. The latest version was only released recently and could have unexpected errors. However, this did not fix the issue (but it did work last week).

What changed?

Basically nothing. EVCC was disconnected for a few days because I transferred the Raspberry Pi board into a case and added a fan.

Since reporting this, I have played a lot with the settings, but no solution yet. The settings are back to a working state.

TijsDeBelie avatar Nov 18 '25 19:11 TijsDeBelie

I do see that the charger received commands. However onIy to charge at 3.8A, and since the car needs minimal 6A this fails.

Please create a logfile that shows the moment you connect the car and you attempt to start charging.

mfuchs1984 avatar Nov 19 '25 06:11 mfuchs1984