evcc-io / evcc

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

V0.119.2: KIA/Hyundai Bluelink API requests not working #9660

Closed geologe closed 1 year ago

geologe commented 1 year ago

Describe the bug

up to V0.118.11 Kia/Bluelink online status requests were working fine

now I've testet 0.119.2 and evcc got no info from kia (car in this test: Kia e-niro, 2020 model) I did a few attemps with plug/unplug the car

back to V0.118.11 snapshot (evcc is running in an vm) => everythings fine

did you change something from V0.118.11 ?

Steps to reproduce

1.test with v0.118.11 => works 2..test with v0.119.2 => doesn't works

  1. test with v0.118.11 => works again (=> so this time ist no Kia Server Problem) ...

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 settings
log: debug
levels:
  site: debug
  lp-1: trace
#  lp-2: debug
  kia: debug
  cache: debug
#  db: debug

# unique installation id
plant: a01fdd8995b{...deleted...}cebdb0b96d6c

interval: 10s # control cycle interval

meters:
  - name: grid1
    type: custom
    power:
      source: http
      uri: http://192.168.1.15:8087/getPlainValue/0_userdata.0.Datenpunkte.Energie.PWR_evcc_EVU
      scale: 1000
#      method: get
#      usage: grid

  - name: pv1
    type: custom
    power:
      source: http
      uri: http://192.168.1.15:8087/getPlainValue/0_userdata.0.Datenpunkte.Energie.PWR_evcc_PV
      scale: 1000

  - name: bat1
    type: custom
    power:
      source: http
      uri: http://192.168.1.15:8087/getPlainValue/0_userdata.0.Datenpunkte.Energie.PWR_evcc_bat1
      scale: 1000
    soc:
      source: http
      uri: http://192.168.1.15:8087/getPlainValue/0_userdata.0.Datenpunkte.Energie.SOC_evcc_bat1
      scale: 1

chargers:
- type: template
  template: ellipro
  ski: {...deleted...}
  ip: 192.168.1.41
  name: wallbox1

vehicles:
- type: template
  template: kia
  title: eNiro
  user: {...deleted...}
  password: {...deleted...}
  vin: {...deleted...}
  capacity: 64
  phases: 3
  icon: car
  cache: 20m
  language: de
  mode: pv
  minSoc: 25
  targetSoc: 80
  minCurrent: 1
  maxCurrent: 16
  priority: 3
  name: ev1

loadpoints:
- title: Garage
  charger: wallbox1
  vehicle: ev1
  mode: pv
  phases: 3
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

site:
  title: aEb4
  meters:
    grid: grid1
    pv: pv1
    battery: bat1
  prioritySoC: 40 # bis hier wird der Hausakku bevorzugt geladen
  bufferSoC: 70 # bis hier wird der Hausakku max. entladen für das Auto
  bufferStartSoc: 80 # ab hier beginnt die Auto LAdung

# mqtt message broker
mqtt:
  broker: 192.168.1.15:1884
  topic: evcc # root topic for publishing, set empty to disable
  user: iobroker_mqtt
  password: {...deleted...}

eebus:
  certificate:
      private: |
          -----BEGIN EC PRIVATE KEY-----
          MHcCAQEEIGuZIO+KF7Q8QASMrSggeKhAR9tw8PCBPV6Ssyob8BwzoAoGCCqGSM49
          AwEHoUQDQgAE185S9CI70R9BOEAUmpnjr5BEBINCDuQ1C5neeCuYPdhOtv+k+7V6
          FfJh9zSUyYhD7oXPpGogPVdSE6m5mLoZCg==
          -----END EC PRIVATE KEY-----
      public: |
          -----BEGIN CERTIFICATE-----
          MIIBvTCCAWOgAwIBAgIRAo2DNTRFqVvbR0al+R4kqoQwCgYIKoZIzj0EAwIwPjEL
          MAkGA1UEBhMCREUxDTALBgNVBAoTBEVWQ0MxCTAHBgNVBAsTADEVMBMGA1UEAwwM
          RVZDQ19IRU1TXzAxMB4XDTIzMDYyODE4NTU1N1oXDTMzMDYyNTE4NTU1N1owPjEL
          MAkGA1UEBhMCREUxDTALBgNVBAoTBEVWQ0MxCTAHBgNVBAsTADEVMBMGA1UEAwwM
          RVZDQ19IRU1TXzAxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE185S9CI70R9B
          OEAUmpnjr5BEBINCDuQ1C5neeCuYPdhOtv+k+7V6FfJh9zSUyYhD7oXPpGogPVdS
          E6m5mLoZCqNCMEAwDgYDVR0PAQH/BAQDAgeAMA8GA1UdEwEB/wQFMAMBAf8wHQYD
          VR0OBBYEFOLEPuKAby3Ve04zKLSB/+uc0K88MAoGCCqGSM49BAMCA0gAMEUCIQDL
          LhgfFY8RZd4UjVPj+uPkz4Qh65qL2IxM+0ZiQhDXKAIgKU7x8o++n5VrjkMbZ4Oz
          RyBHBKDSdDbuJ9zdC3BXmpk=
          -----END CERTIFICATE-----

Log details

you get one if you need it, have to take it with version(s) of your choice

What type of operating system are you running?

Linux

Version

Ubuntu 22.04.3 LTS in a VM

geologe commented 1 year ago

solved with 0.119.3

great