evcc: VAG: invalid character 'u' looking for beginning of object key string

Describe the bug

Vehicle SOC wird nicht mehr gelesen. Getestet mit audi & enyaq.

Steps to reproduce

  1. Fehler ist permanent seit update von 0.106.3 auf 0.107.1
  2. (datum ist dieses mal richtig, daran liegt es nicht 😃 )

…

Configuration details

vehicles:
- name: audi
  type: audi
  title: A3 e-tron
  capacity: 7.5 # kWh
  user: xxx
  password: xxx
  vin: xxx
  cache: 5m
  onIdentify:
    minSoC: 10 # charge to at least 10% independent of charge mode
    targetSoC: 90 # limit charge to 90%
    mode: pv
- name: enyaq
  type: enyaq
  title: Enyaq iV
  capacity: 77 # kWh
  user: xxx
  password: xxx
  vin: xxx
  cache: 30m
  onIdentify:
    minSoC: 15 # charge to at least 10% independent of charge mode
    targetSoC: 80 # limit charge to 90%

Log details

[main  ] INFO 2022/11/23 19:15:32 evcc 0.107.1
[main  ] INFO 2022/11/23 19:15:32 using config file: /etc/evcc.yaml
[main  ] ERROR 2022/11/23 19:15:33 creating vehicle audi failed: cannot create vehicle 'audi': invalid character 'u' looking for beginning of object key string
[main  ] ERROR 2022/11/23 19:15:33 creating vehicle enyaq failed: cannot create vehicle 'enyaq': invalid character 'u' looking for beginning of object key string
audi
----
.SoC:     vehicle not available: cannot create vehicle 'audi': invalid character 'u' looking for beginning of object key string
Capacity: 0.0kWh

enyaq
-----
.SoC:     vehicle not available: cannot create vehicle 'enyaq': invalid character 'u' looking for beginning of object key string
Capacity: 0.0kWh

What type of operating system are you running?

Linux

Version

evcc version 0.107.1

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 34 (20 by maintainers)

Most upvoted comments

Habe den Fehler gefunden. Pull Request kommt gleich

Für die Version 0.106 gibt es den Fix wohl nicht, oder?

My VW WeConnect ID App is working fine, but I cannot reach the login to myVolkswagen website at the moment.

With the fix implemented now I get this error:

ERROR 2022/11/25 10:14:01 creating vehicle ev1 failed: cannot create vehicle 'enyaq': cannot get vehicles: Get "https://api.connect.skoda-auto.cz/api/v3/garage": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

evcc vehicle - sometimes works, sometimes gives same error

The fix has no influence on the request process to the API so the error you are seeing us either you internet connection or network at home or the Skoda server having issues. 100% not related to this issue and fix here.

Gerne, mal schauen ob sie noch was ändern in Zukunft. Ich nutze das Projekt hier https://github.com/tillsteinbach/WeConnect-mqtt Fürs aufzeichnen der Daten extra und da hat noch alles funktioniert. Daher wusste ich es kann nicht alles kaputt sein.