evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.34k stars 612 forks source link

Fahrzeug Cupra wird seit gestern nicht mehr erkannt #5653

Closed maceioal closed 1 year ago

maceioal commented 1 year ago

Describe the bug

Nach upgrade gestern auf 0.110.1 wurde EVCC neu gestartet. Danach wurde das Fahrzeug nicht mehr erkannt. Haben das andere das Problem auch ? Tipps zur Problemlösung ? Zugriff über die Cupra-App funktioniert.

Steps to reproduce

  1. evcc vehicle output: >> cannot creat vehicle 'cupra': unexpexted status: 400 <<

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: info
levels:
  cache: error

# unique installation id
plant: xxxxxxxxx

interval: 10s # control cycle interval

sponsortoken: blablatoken

# 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: xxx.xxx.xxx.xxx  
  port: 8080  
  name: grid1
- type: template
  template: sonnenbatterie 
  usage: pv  
  host: xxx.xxx.xxx.xxx
  port: 8080  
  name: pv2
- type: template
  template: sonnenbatterie 
  usage: battery  
  host: xxx.xxx.xxx.xxx  
  port: 8080  
  name: battery3

chargers:
- type: template
  template: go-e 
  host: xxx.xxx.xxx.xxx  
  name: wallbox6
- type: template
  template: go-e-gemini 
  host: xxx.xxx.xxx.xxx  
  name: wallbox7

vehicles:
- type: template
  template: etron 
  title: audi  
  user: xyz
  password: xyzpwd  
  capacity: 11.4  
  phases: 3  
  icon: car  
  cache: 15m  
  mode: pv  
  minSoC: 0  
  targetSoC: 100  
  minCurrent: 6  
  maxCurrent: 16  
  name: ev4
- type: template
  template: cupra 
  title: cupra  
  user: xyz  
  password: xyzpwd  
  capacity: 58  
  phases: 3  
  icon: car  
  cache: 15m  
  mode: pv  
  minSoC: 0  
  targetSoC: 80  
  minCurrent: 6  
  maxCurrent: 16  
  name: ev5

loadpoints:
- title: GarageL
  charger: wallbox6
  mode: pv
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true
- title: GarageR
  charger: wallbox7
  mode: pv
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

site:
  title: WB8
  meters:
    grid: grid1
    pvs:
    - pv2
    batteries:
    - battery3
  residualPower: 100
  bufferSoC: 90 # Hausbatterie wird oberhalb SoC x% als Puffer genutzt
  prioritySoC: 80 # Hausbatterie bekommt bis zum SoC Priorität beim laden

tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price
    type: fixed
    price: 0.282 # [currency]/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.062 # [currency]/kWh

Log details

[main  ] INFO 2023/01/02 12:42:26 evcc 0.110.1                                                                                                                                                                                                 [main  ] INFO 2023/01/02 12:42:26 using config file: /home/pi/evcc.yaml                                                                                                                                                                        [main  ] INFO 2023/01/02 12:42:26 starting ui and api at :7070                                                                                                                                                                                 [db    ] INFO 2023/01/02 12:42:26 using sqlite database: /home/pi/.evcc/evcc.db                                                                                                                                                                [main  ] ERROR 2023/01/02 12:42:28 creating vehicle ev5 failed: cannot create vehicle 'template': cannot create vehicle 'cupra': unexpected status: 400                                                                                        [lp-2  ] WARN 2023/01/02 12:42:29 locking phase config to 3p for switchable charger                                                                                                                                                            [site  ] WARN 2023/01/02 12:42:29 vehicle 'unavailable' does not support automatic detection                                                                                                                                                   [site  ] INFO 2023/01/02 12:42:29 site config:                                                                                                                                                                                                 [site  ] INFO 2023/01/02 12:42:29   meters:      grid ✓ pv ✓ battery ✓                                                                                                                                                                         [site  ] INFO 2023/01/02 12:42:29     grid:      power ✓ energy ✗ currents ✗                                                                                                                                                                   [site  ] INFO 2023/01/02 12:42:29     pv 1:      power ✓ energy ✗ currents ✗                                                                                                                                                                   [site  ] INFO 2023/01/02 12:42:29     battery 1: power ✓ energy ✗ currents ✗ soc ✓                                                                                                                                                             [site  ] INFO 2023/01/02 12:42:29   vehicles:                                                                                                                                                                                                  [site  ] INFO 2023/01/02 12:42:29     vehicle 1: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗                                                                                                                                                  [site  ] INFO 2023/01/02 12:42:29     vehicle 2: range ✓ finish ✓ status ✓ climate ✓ wakeup ✗                                                                                                                                                  [lp-1  ] INFO 2023/01/02 12:42:29 loadpoint 1:                                                                                                                                                                                                 [lp-1  ] INFO 2023/01/02 12:42:29   mode:        pv                                                                                                                                                                                            [lp-1  ] INFO 2023/01/02 12:42:29   charger:     power ✓ energy ✓ currents ✓ phases ✗ wakeup ✗                                                                                                                                                 [lp-1  ] INFO 2023/01/02 12:42:29   meters:      charge ✓                                                                                                                                                                                      [lp-1  ] INFO 2023/01/02 12:42:29     charge:    power ✓ energy ✓ currents ✓                                                                                                                                                                   [lp-2  ] INFO 2023/01/02 12:42:29 loadpoint 2:                                                                                                                                                                                                 [lp-2  ] INFO 2023/01/02 12:42:29   mode:        pv                                                                                                                                                                                            [lp-2  ] INFO 2023/01/02 12:42:29   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗                                                                                                                                                 [lp-2  ] INFO 2023/01/02 12:42:29   meters:      charge ✓                                                                                                                                                                                      [lp-2  ] INFO 2023/01/02 12:42:29     charge:    power ✓ energy ✓ currents ✓                                                                                                                                                                   [lp-1  ] DEBUG 2023/01/02 12:42:29 phase timer inactive                                                                                                                                                                                        [lp-1  ] DEBUG 2023/01/02 12:42:29 pv timer inactive                                                                                                                                                                                           [lp-2  ] DEBUG 2023/01/02 12:42:29 phase timer inactive                                                                                                                                                                                        [lp-2  ] DEBUG 2023/01/02 12:42:29 pv timer inactive                                                                                                                                                                                           [lp-2  ] DEBUG 2023/01/02 12:42:29 max charge current: 6A                                                                                                                                                                                      [site  ] DEBUG 2023/01/02 12:42:29 ----                                                                                                                                                                                                        [main  ] FATAL 2023/01/02 12:42:29 listen tcp :7070: bind: address already in use                                                                                                                                                              [server] FATAL 2023/01/02 12:42:29 unlinkat /tmp/evcc: operation not permitted

What type of operating system are you running?

Linux

Version

0.110.1

pauxus commented 1 year ago

Duplicate #5647