evcc-io / evcc

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

Bluelink Vehicle Identification Status Updates not working correctly #13242

Closed h4sk33r closed 6 months ago

h4sk33r commented 6 months ago

Describe the bug

Hello,

I have been running evcc for quite some time now. Been driving a Hyundai Kona 2020 so far. Everything was working fine. evcc identified the car during charging. The SOC was displayed correctly and charging limits were used.

Now i recently got a new Hyundai Kona 2023. I have removed the "old" Kona from my .yaml and added the new one. Now, however neither vehicle recognition or other status updates are working. Looking in the logfiles the Car-SOC and charging target are reported as 0%, the range is not available at all and vehicle recognition is not automatically detecting the car either.

It's the only car in the evcc.yaml

I have since been trying to change the configuration based on other bugs/solutiuons reported here. e.g increasing log-levels and deactivation SOC-Estimation.

Looking at the logs, attached below, it looks like the Kona does not switch into the correct status as it is reported as status A, while the charger is in B. While the car is attached to the charger right now.

I have setup a linux system just to reproduce the error. Logs are from this system and not HomeAssistant where evcc is normally running.

Steps to reproduce

1. 2. 3. ...

Configuration details

levels:
  site: debug
  lp-1: trace
  lp-2: debug
  cache: debug
  db: error

# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
  - name: pv
    type: custom
    power:
      source: mqtt
      topic: evccinput/sensor/tlj2bkm02g_pv_all_power/state
    energy:
      source: mqtt
      topic: evccinput/sensor/solarenergy_produced/state
  - name: grid
    type: custom
    power:
      source: mqtt
      topic: evccinput/sensor/evcc_grid_power/state
  - name: battery
    type: custom
    power:
      source: mqtt
      topic: evccinput/sensor/evcc_battery_power/state
    soc:
      source: mqtt
      topic: evccinput/sensor/tlj2bkm02g_state_of_charge/state
    capacity: 7.5

# charger definitions
# name can be freely chosen and is used as reference when assigning charger to vehicle
# for documentation see https://docs.evcc.io/docs/devices/chargers
chargers:
  - name: Wallbox
    type: template
    template: easee
    user: deprecated
    password: deprecated
    charger: deprecated

# vehicle definitions
# name can be freely chosen and is used as reference when assigning vehicle to loadpoint
# for documentation see https://docs.evcc.io/docs/devices/vehicles
vehicles:
  - name: Kona
    type: template
    template: hyundai
    title: Kona SX2 #Wird in der Benutzeroberfläche angezeigt (optional)
    user: deprecated #Benutzerkonto (bspw. E-Mail Adresse, User Id, etc.)
    password: deprecated # Passwort des Benutzerkontos (bei führenden Nullen bitte in einfache Hochkommata setzen)
    capacity: 65 # Akkukapazität in kWh (optional)
    language: de # 'de' für Deutsch und 'en' für Englisch (optional

# site describes the EVU connection, PV and home battery
site:
  - title: Zuhause # display name for UI
    meters:
      grid: grid
      pv: pv # list of pv inverters/ meters
      battery: battery # list of battery meters
    residualPower: 200
    maxGridSupplyWhileBatteryCharging: # ignore battery charging if AC consumption is above this value

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Zuhause # display name for UI
    charger: Wallbox # charger
    mode: "now" # set default charge mode, use "off" to disable by default if charger is publicly available
    phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases)
    # remaining settings are experts-only and best left at default values
    priority: 0 # relative priority for concurrent charging in PV mode with multiple loadpoints (higher values have higher priority)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 120m
      estimate: false # set false to disable interpolating between api updates (not recommended)

    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 3m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)
    guardDuration: 5m # switch charger contactor not more often than this (default 5m)

Log details

evcc --log debug
[main  ] INFO 2024/03/31 21:17:08 evcc 0.124.10
[main  ] INFO 2024/03/31 21:17:08 using config file: /etc/evcc.yaml
[main  ] INFO 2024/03/31 21:17:08 starting ui and api at :7070
[mqtt  ] INFO 2024/03/31 21:17:08 connecting evcc at tcp://192.168.1.3:1883
[mqtt  ] DEBUG 2024/03/31 21:17:08 tcp://192.168.1.3:1883 connected
[lp-1  ] DEBUG 2024/03/31 21:17:10 charge total import: 1523.381kWh
[site  ] INFO 2024/03/31 21:17:11 site config:
[site  ] INFO 2024/03/31 21:17:11   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2024/03/31 21:17:11     grid:      power ✓ energy ✗ currents ✗
[site  ] INFO 2024/03/31 21:17:11     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/03/31 21:17:11     battery 1: power ✓ energy ✗ currents ✗ soc                                                                                                                                                              ✓ capacity ✓
[site  ] INFO 2024/03/31 21:17:11   vehicles:
[site  ] INFO 2024/03/31 21:17:11     vehicle 1: range ✓ finish ✓ status ✓ clima                                                                                                                                                             te ✗ wakeup ✓
[lp-1  ] INFO 2024/03/31 21:17:11 loadpoint 1:
[lp-1  ] INFO 2024/03/31 21:17:11   mode:        now
[lp-1  ] INFO 2024/03/31 21:17:11   charger:     power ✓ energy ✓ currents ✓ pha                                                                                                                                                             ses ✓ wakeup ✗
[lp-1  ] INFO 2024/03/31 21:17:11   meters:      charge ✓
[lp-1  ] INFO 2024/03/31 21:17:11     charge:    power ✓ energy ✓ currents ✓
[lp-1  ] DEBUG 2024/03/31 21:17:11 phase timer inactive
[lp-1  ] DEBUG 2024/03/31 21:17:11 pv timer inactive
[site  ] DEBUG 2024/03/31 21:17:11 ----
[lp-1  ] DEBUG 2024/03/31 21:17:11 charge power: 0W
[site  ] DEBUG 2024/03/31 21:17:11 pv power: 0W
[site  ] DEBUG 2024/03/31 21:17:11 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:17:11 battery power: 0W
[site  ] DEBUG 2024/03/31 21:17:11 grid meter: 360W
[site  ] DEBUG 2024/03/31 21:17:11 site power: 560W
[lp-1  ] DEBUG 2024/03/31 21:17:11 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:17:11 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:17:11 charger status: B
[lp-1  ] INFO 2024/03/31 21:17:11 car connected
[lp-1  ] DEBUG 2024/03/31 21:17:11 vehicle api refresh
[lp-1  ] DEBUG 2024/03/31 21:17:11 pv timer elapse
[lp-1  ] DEBUG 2024/03/31 21:17:11 pv timer inactive
[lp-1  ] DEBUG 2024/03/31 21:17:11 charge total import: 1523.381kWh
[main  ] ERROR 2024/03/31 21:17:11 vehicle status: must retry
[lp-1  ] DEBUG 2024/03/31 21:17:12 switched phases: 3p
[lp-1  ] DEBUG 2024/03/31 21:17:12 max charge current: 16A
[lp-1  ] DEBUG 2024/03/31 21:17:13 charger enable
[lp-1  ] DEBUG 2024/03/31 21:17:13 wake-up timer: start
[site  ] DEBUG 2024/03/31 21:17:41 ----
[lp-1  ] DEBUG 2024/03/31 21:17:41 charge power: 0W
[site  ] DEBUG 2024/03/31 21:17:41 pv power: 0W
[site  ] DEBUG 2024/03/31 21:17:41 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:17:41 battery power: 0W
[site  ] DEBUG 2024/03/31 21:17:41 grid meter: 360W
[site  ] DEBUG 2024/03/31 21:17:41 site power: 560W
[lp-1  ] DEBUG 2024/03/31 21:17:41 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:17:41 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:17:41 charger status: B
[main  ] DEBUG 2024/03/31 21:17:41 vehicle status: A (Kona SX2)
[lp-1  ] DEBUG 2024/03/31 21:17:43 max charge current: 16A
[site  ] DEBUG 2024/03/31 21:18:11 ----
[lp-1  ] DEBUG 2024/03/31 21:18:11 charge power: 0W
[site  ] DEBUG 2024/03/31 21:18:11 pv power: 0W
[site  ] DEBUG 2024/03/31 21:18:11 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:18:11 battery power: 0W
[site  ] DEBUG 2024/03/31 21:18:11 grid meter: 350W
[site  ] DEBUG 2024/03/31 21:18:11 site power: 550W
[lp-1  ] DEBUG 2024/03/31 21:18:11 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:18:11 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:18:11 charger status: B
[lp-1  ] DEBUG 2024/03/31 21:18:11 vehicle api refresh
[main  ] DEBUG 2024/03/31 21:18:11 vehicle status: A (Kona SX2)
[site  ] DEBUG 2024/03/31 21:18:41 ----
[lp-1  ] DEBUG 2024/03/31 21:18:41 charge power: 0W
[site  ] DEBUG 2024/03/31 21:18:41 pv power: 0W
[site  ] DEBUG 2024/03/31 21:18:41 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:18:41 battery power: 0W
[site  ] DEBUG 2024/03/31 21:18:41 grid meter: 350W
[site  ] DEBUG 2024/03/31 21:18:41 site power: 550W
[lp-1  ] DEBUG 2024/03/31 21:18:41 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:18:41 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:18:41 charger status: B
[main  ] DEBUG 2024/03/31 21:18:41 vehicle status: A (Kona SX2)
[site  ] DEBUG 2024/03/31 21:19:11 ----
[lp-1  ] DEBUG 2024/03/31 21:19:11 charge power: 0W
[site  ] DEBUG 2024/03/31 21:19:11 pv power: 0W
[site  ] DEBUG 2024/03/31 21:19:11 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:19:11 battery power: 0W
[site  ] DEBUG 2024/03/31 21:19:11 grid meter: 360W
[site  ] DEBUG 2024/03/31 21:19:11 site power: 560W
[lp-1  ] DEBUG 2024/03/31 21:19:11 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:19:11 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:19:11 charger status: B
[lp-1  ] DEBUG 2024/03/31 21:19:11 vehicle api refresh
[main  ] DEBUG 2024/03/31 21:19:11 vehicle status: A (Kona SX2)
[site  ] DEBUG 2024/03/31 21:19:41 ----
[lp-1  ] DEBUG 2024/03/31 21:19:41 charge power: 0W
[site  ] DEBUG 2024/03/31 21:19:41 pv power: 0W
[site  ] DEBUG 2024/03/31 21:19:41 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:19:41 battery power: 0W
[site  ] DEBUG 2024/03/31 21:19:41 grid meter: 360W
[site  ] DEBUG 2024/03/31 21:19:41 site power: 560W
[lp-1  ] DEBUG 2024/03/31 21:19:41 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:19:41 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:19:41 charger status: B
[main  ] DEBUG 2024/03/31 21:19:41 vehicle status: A (Kona SX2)
[site  ] DEBUG 2024/03/31 21:20:11 ----
[lp-1  ] DEBUG 2024/03/31 21:20:11 charge power: 0W
[site  ] DEBUG 2024/03/31 21:20:11 pv power: 0W
[site  ] DEBUG 2024/03/31 21:20:11 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:20:11 battery power: 0W
[site  ] DEBUG 2024/03/31 21:20:11 grid meter: 350W
[site  ] DEBUG 2024/03/31 21:20:11 site power: 550W
[lp-1  ] DEBUG 2024/03/31 21:20:11 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:20:11 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:20:11 charger status: B
[lp-1  ] DEBUG 2024/03/31 21:20:11 vehicle api refresh
[main  ] DEBUG 2024/03/31 21:20:11 vehicle status: A (Kona SX2)
[site  ] DEBUG 2024/03/31 21:20:41 ----
[lp-1  ] DEBUG 2024/03/31 21:20:41 charge power: 0W
[site  ] DEBUG 2024/03/31 21:20:41 pv power: 0W
[site  ] DEBUG 2024/03/31 21:20:41 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:20:41 battery power: 0W
[site  ] DEBUG 2024/03/31 21:20:41 grid meter: 350W
[site  ] DEBUG 2024/03/31 21:20:41 site power: 550W
[lp-1  ] DEBUG 2024/03/31 21:20:41 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:20:41 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:20:41 charger status: B
[main  ] DEBUG 2024/03/31 21:20:41 vehicle status: A (Kona SX2)
[main  ] INFO 2024/03/31 21:17:08 evcc 0.124.10
[main  ] INFO 2024/03/31 21:17:08 using config file: /etc/evcc.yaml
[main  ] INFO 2024/03/31 21:17:08 starting ui and api at :7070
[mqtt  ] INFO 2024/03/31 21:17:08 connecting evcc at tcp://192.168.1.3:1883
[mqtt  ] DEBUG 2024/03/31 21:17:08 tcp://192.168.1.3:1883 connected
[lp-1  ] DEBUG 2024/03/31 21:17:10 charge total import: 1523.381kWh
[site  ] INFO 2024/03/31 21:17:11 site config:
[site  ] INFO 2024/03/31 21:17:11   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2024/03/31 21:17:11     grid:      power ✓ energy ✗ currents ✗
[site  ] INFO 2024/03/31 21:17:11     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/03/31 21:17:11     battery 1: power ✓ energy ✗ currents ✗ soc                                                                                                                                                              ✓ capacity ✓
[site  ] INFO 2024/03/31 21:17:11   vehicles:
[site  ] INFO 2024/03/31 21:17:11     vehicle 1: range ✓ finish ✓ status ✓ clima                                                                                                                                                             te ✗ wakeup ✓
[lp-1  ] INFO 2024/03/31 21:17:11 loadpoint 1:
[lp-1  ] INFO 2024/03/31 21:17:11   mode:        now
[lp-1  ] INFO 2024/03/31 21:17:11   charger:     power ✓ energy ✓ currents ✓ pha                                                                                                                                                             ses ✓ wakeup ✗
[lp-1  ] INFO 2024/03/31 21:17:11   meters:      charge ✓
[lp-1  ] INFO 2024/03/31 21:17:11     charge:    power ✓ energy ✓ currents ✓
[lp-1  ] DEBUG 2024/03/31 21:17:11 phase timer inactive
[lp-1  ] DEBUG 2024/03/31 21:17:11 pv timer inactive
[site  ] DEBUG 2024/03/31 21:17:11 ----
[lp-1  ] DEBUG 2024/03/31 21:17:11 charge power: 0W
[site  ] DEBUG 2024/03/31 21:17:11 pv power: 0W
[site  ] DEBUG 2024/03/31 21:17:11 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:17:11 battery power: 0W
[site  ] DEBUG 2024/03/31 21:17:11 grid meter: 360W
[site  ] DEBUG 2024/03/31 21:17:11 site power: 560W
[lp-1  ] DEBUG 2024/03/31 21:17:11 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:17:11 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:17:11 charger status: B
[lp-1  ] INFO 2024/03/31 21:17:11 car connected
[lp-1  ] DEBUG 2024/03/31 21:17:11 vehicle api refresh
[lp-1  ] DEBUG 2024/03/31 21:17:11 pv timer elapse
[lp-1  ] DEBUG 2024/03/31 21:17:11 pv timer inactive
[lp-1  ] DEBUG 2024/03/31 21:17:11 charge total import: 1523.381kWh
[main  ] ERROR 2024/03/31 21:17:11 vehicle status: must retry
[lp-1  ] DEBUG 2024/03/31 21:17:12 switched phases: 3p
[lp-1  ] DEBUG 2024/03/31 21:17:12 max charge current: 16A
[lp-1  ] DEBUG 2024/03/31 21:17:13 charger enable
[lp-1  ] DEBUG 2024/03/31 21:17:13 wake-up timer: start
[site  ] DEBUG 2024/03/31 21:17:41 ----
[lp-1  ] DEBUG 2024/03/31 21:17:41 charge power: 0W
[site  ] DEBUG 2024/03/31 21:17:41 pv power: 0W
[site  ] DEBUG 2024/03/31 21:17:41 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:17:41 battery power: 0W
[site  ] DEBUG 2024/03/31 21:17:41 grid meter: 360W
[site  ] DEBUG 2024/03/31 21:17:41 site power: 560W
[lp-1  ] DEBUG 2024/03/31 21:17:41 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:17:41 charge total import: 1523.381kWh
[lp-1  ] DEBUG 2024/03/31 21:17:41 charger status: B
[main  ] DEBUG 2024/03/31 21:17:41 vehicle status: A (Kona SX2)
[lp-1  ] DEBUG 2024/03/31 21:17:43 max charge current: 16A
[site  ] DEBUG 2024/03/31 21:18:11 ----
[lp-1  ] DEBUG 2024/03/31 21:18:11 charge power: 0W
[site  ] DEBUG 2024/03/31 21:18:11 pv power: 0W
[site  ] DEBUG 2024/03/31 21:18:11 battery soc: 10%
[site  ] DEBUG 2024/03/31 21:18:11 battery power: 0W
[site  ] DEBUG 2024/03/31 21:18:11 grid meter: 350W
[site  ] DEBUG 2024/03/31 21:18:11 site power: 550W
[lp-1  ] DEBUG 2024/03/31 21:18:11 charge currents: [0.008 0.009 0.011]A
[lp-1  ] DEBUG 2024/03/31 21:18:11 charge to

What type of operating system are you running?

HomeAssistant Add-on

Version

0.124.10

andig commented 6 months ago

Please share

evcc vehicle --log trace

Is bluelinky able to query the car?

h4sk33r commented 6 months ago

Thank you very much for looking into it andig,

do I need to remove anything from the log for security reasons (VIN etc.)? I have never used bluelinky, so I can't tell if that one works.

best regards.

h4sk33r commented 6 months ago

I guess every auth-token should be invalid now. Logs below

evcc vehicle --log trace
[main  ] INFO 2024/03/31 23:25:29 evcc 0.124.10
[main  ] INFO 2024/03/31 23:25:29 using config file: /etc/evcc.yaml
[mqtt  ] INFO 2024/03/31 23:25:29 connecting evcc at tcp://192.168.1.3:1883
[hyundai] TRACE 2024/03/31 23:25:29 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/notifications/register
[hyundai] TRACE 2024/03/31 23:25:29 {"pushRegId":"B98CE653F0296686B902B06CE68DF0F7EA9A31A75928EA631062D4280E63777A","pushType":"GCM","uuid":"725b6a14-7885-4c21-8f60-0a9cb6776d27"}
--
{"retCode":"S","resCode":"0000","resMsg":{"deviceId":"85bfbc36-9a1a-417e-b99b-8a0da30b28b1"},"msgId":"735e63fc-d842-4e16-8829-30c9faacc866"}
[hyundai] TRACE 2024/03/31 23:25:29 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/authorize?response_type=code&state=test&client_id=6d477c38-3ca4-4cf3-9557-2a1929a94654&redirect_uri=https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect
[hyundai] TRACE 2024/03/31 23:25:29 <a href="https://prd.eu-ccapi.hyundai.com:8080/web/v1/user/authorize?cache=reset">Found</a>.
[hyundai] TRACE 2024/03/31 23:25:29 GET https://prd.eu-ccapi.hyundai.com:8080/web/v1/user/authorize?cache=reset
[hyundai] TRACE 2024/03/31 23:25:29 <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,maximum-scale=1,user-scalable=0"><meta name="theme-color" content="#ffffff"><link href="https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700,800&amp;subset=korean" rel="stylesheet"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><link rel="manifest" href="/web/v1/user/manifest.json"><link rel="icon" href="/web/v1/user/favicon_hyundai.ico" type="image/x-icon"><!--[if lt IE 10]><script src="/web/v1/user/fetch.js"></script><![endif]--><title></title><link href="/web/v1/user/static/css/main.112e5716.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(f){function e(e){for(var o,r,t=e[0],a=e[1],n=e[2],c=0,l=[];c<t.length;c++)r=t[c],i[r]&&l.push(i[r][0]),i[r]=0;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(f[o]=a[o]);for(p&&p(e);l.length;)l.shift()();return d.push.apply(d,n||[]),u()}function u(){for(var e,o=0;o<d.length;o++){for(var r=d[o],t=!0,a=1;a<r.length;a++){var n=r[a];0!==i[n]&&(t=!1)}t&&(d.splice(o--,1),e=s(s.s=r[0]))}return e}var r={},i={34:0},d=[];function s(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return f[e].call(o.exports,o,o.exports,s),o.l=!0,o.exports}s.e=function(n){var e=[],r=i[n];if(0!==r)if(r)e.push(r[2]);else{var o=new Promise(function(e,o){r=i[n]=[e,o]});e.push(r[2]=o);var t,c=document.createElement("script");c.charset="utf-8",c.timeout=120,s.nc&&c.setAttribute("nonce",s.nc),c.src=s.p+"static/js/"+({0:"Locale0",1:"Locale1",2:"Locale10",3:"Locale11",4:"Locale12",5:"Locale13",6:"Locale14",7:"Locale15",8:"Locale16",9:"Locale17",10:"Locale18",11:"Locale19",12:"Locale2",13:"Locale20",14:"Locale21",15:"Locale22",16:"Locale23",17:"Locale24",18:"Locale25",19:"Locale26",20:"Locale27",21:"Locale28",22:"Locale29",23:"Locale3",24:"Locale4",25:"Locale5",26:"Locale6",27:"Locale7",28:"Locale8",29:"Locale9",30:"agreement_cert",31:"agreement_genesis",33:"resident_registration"}[n]||n)+"."+{0:"5d180db9",1:"df33c353",2:"6c63171c",3:"0ed52d45",4:"4a3696a6",5:"4fe628a6",6:"96ba5aa2",7:"12c714e9",8:"250f3a70",9:"ba315061",10:"0be0b3d2",11:"982c9326",12:"629d1cc6",13:"5f8b721e",14:"e994921a",15:"946d2dee",16:"0b0a09fa",17:"df30a490",18:"cce7ba6c",19:"cc6e09a7",20:"68255c59",21:"7f67c4b0",22:"d6e7324d",23:"bcc36f1e",24:"1d1f7bd2",25:"dc9d46f0",26:"40ba8af4",27:"f7e72c0f",28:"62ff5ff2",29:"e7b04792",30:"152afe09",31:"c4aa3f4a",33:"d8f22e04"}[n]+".chunk.js",t=function(e){c.onerror=c.onload=null,clearTimeout(l);var o=i[n];if(0!==o){if(o){var r=e&&("load"===e.type?"missing":e.type),t=e&&e.target&&e.target.src,a=new Error("Loading chunk "+n+" failed.\n("+r+": "+t+")");a.type=r,a.request=t,o[1](a)}i[n]=void 0}};var l=setTimeout(function(){t({type:"timeout",target:c})},12e4);c.onerror=c.onload=t,document.head.appendChild(c)}return Promise.all(e)},s.m=f,s.c=r,s.d=function(e,o,r){s.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:r})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(o,e){if(1&e&&(o=s(o)),8&e)return o;if(4&e&&"object"==typeof o&&o&&o.__esModule)return o;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:o}),2&e&&"string"!=typeof o)for(var t in o)s.d(r,t,function(e){return o[e]}.bind(null,t));return r},s.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(o,"a",o),o},s.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},s.p="/web/v1/user/",s.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],t=o.push.bind(o);o.push=e,o=o.slice();for(var a=0;a<o.length;a++)e(o[a]);var p=t;u()}([])</script><script src="/web/v1/user/static/js/35.345ba019.chunk.js"></script><script src="/web/v1/user/static/js/main.ad68fca2.chunk.js"></script></body></html>
[hyundai] TRACE 2024/03/31 23:25:29 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language
[hyundai] TRACE 2024/03/31 23:25:29 {"lang":"de"}
[hyundai] TRACE 2024/03/31 23:25:29 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo
[hyundai] TRACE 2024/03/31 23:25:29 {"userId":"b9e68cd7-a27b-4135-b3eb-c9352953c96f","serviceId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","serviceName":"Bluelink"}
[hyundai] TRACE 2024/03/31 23:25:29 GET https://eu-account.hyundai.com/auth/realms/euhyundaiidm/protocol/openid-connect/auth?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&scope=openid+profile+email+phone&response_type=code&hkid_session_reset=true&redirect_uri=https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integration/redirect/login&ui_locales=en&state=6d477c38-3ca4-4cf3-9557-2a1929a94654:b9e68cd7-a27b-4135-b3eb-c9352953c96f
[hyundai] TRACE 2024/03/31 23:25:30 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" class="login-pf">

<head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="robots" content="noindex, nofollow">
    <meta http-equiv="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT">
    <meta http-equiv="Expires" content="-1">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">

            <meta name="viewport" content="width=device-width,initial-scale=1"/>
    <title>Log in to Hyundai Account</title>
    <link rel="icon" href="/auth/resources/o5704/login/hyundai-id/img/favicon.ico?v=2" />

    <!-- OneTrust Cookies Consent Notice start -->
    <script
                src="/auth/resources/o5704/login/hyundai-id/scripts/oneTrust/scripttemplates/otSDKStubMobile.js?v=2"

        type="text/javascript" charset="UTF-8"
                data-language="en"
                    data-domain-script=eu-account-hyundai-mobile
    ></script>
    <script type="text/javascript">
        function OptanonWrapper() { }
    </script>
    <!-- OneTrust Cookies Consent Notice end -->

            <link href="/auth/resources/o5704/login/hyundai-id/node_modules/patternfly/dist/css/patternfly.min.css?v=9" rel="stylesheet" />
            <link href="/auth/resources/o5704/login/hyundai-id/node_modules/patternfly/dist/css/patternfly-additions.min.css?v=9" rel="stylesheet" />
            <link href="/auth/resources/o5704/login/hyundai-id/lib/zocial/zocial.css?v=9" rel="stylesheet" />
            <link href="/auth/resources/o5704/login/hyundai-id/css/login.css?v=9" rel="stylesheet" />
            <link href="/auth/resources/o5704/login/hyundai-id/css/hyundai-login.css?v=9" rel="stylesheet" />
            <script src="/auth/resources/o5704/login/hyundai-id/node_modules/jquery/dist/jquery.min.js" type="text/javascript"></script>
            <script src="/auth/resources/o5704/login/hyundai-id/node_modules/bootstrap/dist/js/bootstrap.min.js" type="text/javascript"></script>
            <script src="/auth/resources/o5704/login/hyundai-id/js/utils.js" type="text/javascript"></script>
            <script src="/auth/resources/o5704/login/hyundai-id/js/css-vars-ponyfill.js" type="text/javascript"></script>
    <script type="text/javascript">
        cssVars({});
    </script>
</head>

<body class="">
  <div class="login-pf-page">
    <div id="kc-header" class="login-pf-page-header">
      <div id="kc-header-wrapper" class="">
        <div class="kc-logo-text"></div><span>Hyundai Account</span>
      </div>
    </div>
    <div class="card-pf ">
      <header class="login-pf-header">
            <div id="kc-locale">
                <div id="kc-locale-wrapper" class="">
                    <div class="kc-dropdown" id="kc-locale-dropdown">
                        <a href="#" id="kc-current-locale-link">English</a>
                        <ul>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=sq">Albanian</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=bs">Bosnian</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=cs">Čeština</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=da">Dansk</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=de">Deutsch</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=et">Eesti keel</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=en">English</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=es">Español</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=fr">Français</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=ka">Georgian</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=hr">Hrvatski</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=is">Íslensku</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=it">Italiano</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=lv">Latvietis</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=lt">Lietuvis</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=mk">Macedonian</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=hu">Magyar</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-actions/authenticate?client_id=64621b96-0f0d-11ec-82a8-0242ac130003&amp;tab_id=ysYVXVdKkpQ&amp;execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&amp;kc_locale=nl">Nederlands</a></li>
                                <li class="kc-dropdown-item"><a href="/auth/realms/euhyundaiidm/login-
[hyundai] TRACE 2024/03/31 23:25:30 POST https://eu-account.hyundai.com/auth/realms/euhyundaiidm/login-actions/authenticate?session_code=2GGFjp7vW0U0CShX3rG6F48ACNCkweu_e1qAVkKW3I4&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&client_id=64621b96-0f0d-11ec-82a8-0242ac130003&tab_id=ysYVXVdKkpQ
[hyundai] TRACE 2024/03/31 23:25:30 credentialId=&password=***&rememberMe=on&username=***
[hyundai] TRACE 2024/03/31 23:25:30 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integration/redirect/login?state=6d477c38-3ca4-4cf3-9557-2a1929a94654%3Ab9e68cd7-a27b-4135-b3eb-c9352953c96f&session_state=914a6c5b-9cdc-422b-b5ac-7012ee2043d9&code=b0d25cc2-2994-43a4-abea-8f5bcf363afb.914a6c5b-9cdc-422b-b5ac-7012ee2043d9.a8210a50-39e0-463a-a595-bb31c94242df
[hyundai] TRACE 2024/03/31 23:25:30 <a href="https://prd.eu-ccapi.hyundai.com:8080/web/v1/user/integration/auth?&amp;locale=en">Found</a>.
[hyundai] TRACE 2024/03/31 23:25:30 GET https://prd.eu-ccapi.hyundai.com:8080/web/v1/user/integration/auth?&locale=en
[hyundai] TRACE 2024/03/31 23:25:30 <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,maximum-scale=1,user-scalable=0"><meta name="theme-color" content="#ffffff"><link href="https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700,800&amp;subset=korean" rel="stylesheet"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><link rel="manifest" href="/web/v1/user/manifest.json"><link rel="icon" href="/web/v1/user/favicon_hyundai.ico" type="image/x-icon"><!--[if lt IE 10]><script src="/web/v1/user/fetch.js"></script><![endif]--><title></title><link href="/web/v1/user/static/css/main.112e5716.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(f){function e(e){for(var o,r,t=e[0],a=e[1],n=e[2],c=0,l=[];c<t.length;c++)r=t[c],i[r]&&l.push(i[r][0]),i[r]=0;for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(f[o]=a[o]);for(p&&p(e);l.length;)l.shift()();return d.push.apply(d,n||[]),u()}function u(){for(var e,o=0;o<d.length;o++){for(var r=d[o],t=!0,a=1;a<r.length;a++){var n=r[a];0!==i[n]&&(t=!1)}t&&(d.splice(o--,1),e=s(s.s=r[0]))}return e}var r={},i={34:0},d=[];function s(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return f[e].call(o.exports,o,o.exports,s),o.l=!0,o.exports}s.e=function(n){var e=[],r=i[n];if(0!==r)if(r)e.push(r[2]);else{var o=new Promise(function(e,o){r=i[n]=[e,o]});e.push(r[2]=o);var t,c=document.createElement("script");c.charset="utf-8",c.timeout=120,s.nc&&c.setAttribute("nonce",s.nc),c.src=s.p+"static/js/"+({0:"Locale0",1:"Locale1",2:"Locale10",3:"Locale11",4:"Locale12",5:"Locale13",6:"Locale14",7:"Locale15",8:"Locale16",9:"Locale17",10:"Locale18",11:"Locale19",12:"Locale2",13:"Locale20",14:"Locale21",15:"Locale22",16:"Locale23",17:"Locale24",18:"Locale25",19:"Locale26",20:"Locale27",21:"Locale28",22:"Locale29",23:"Locale3",24:"Locale4",25:"Locale5",26:"Locale6",27:"Locale7",28:"Locale8",29:"Locale9",30:"agreement_cert",31:"agreement_genesis",33:"resident_registration"}[n]||n)+"."+{0:"5d180db9",1:"df33c353",2:"6c63171c",3:"0ed52d45",4:"4a3696a6",5:"4fe628a6",6:"96ba5aa2",7:"12c714e9",8:"250f3a70",9:"ba315061",10:"0be0b3d2",11:"982c9326",12:"629d1cc6",13:"5f8b721e",14:"e994921a",15:"946d2dee",16:"0b0a09fa",17:"df30a490",18:"cce7ba6c",19:"cc6e09a7",20:"68255c59",21:"7f67c4b0",22:"d6e7324d",23:"bcc36f1e",24:"1d1f7bd2",25:"dc9d46f0",26:"40ba8af4",27:"f7e72c0f",28:"62ff5ff2",29:"e7b04792",30:"152afe09",31:"c4aa3f4a",33:"d8f22e04"}[n]+".chunk.js",t=function(e){c.onerror=c.onload=null,clearTimeout(l);var o=i[n];if(0!==o){if(o){var r=e&&("load"===e.type?"missing":e.type),t=e&&e.target&&e.target.src,a=new Error("Loading chunk "+n+" failed.\n("+r+": "+t+")");a.type=r,a.request=t,o[1](a)}i[n]=void 0}};var l=setTimeout(function(){t({type:"timeout",target:c})},12e4);c.onerror=c.onload=t,document.head.appendChild(c)}return Promise.all(e)},s.m=f,s.c=r,s.d=function(e,o,r){s.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:r})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(o,e){if(1&e&&(o=s(o)),8&e)return o;if(4&e&&"object"==typeof o&&o&&o.__esModule)return o;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:o}),2&e&&"string"!=typeof o)for(var t in o)s.d(r,t,function(e){return o[e]}.bind(null,t));return r},s.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(o,"a",o),o},s.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},s.p="/web/v1/user/",s.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],t=o.push.bind(o);o.push=e,o=o.slice();for(var a=0;a<o.length;a++)e(o[a]);var p=t;u()}([])</script><script src="/web/v1/user/static/js/35.345ba019.chunk.js"></script><script src="/web/v1/user/static/js/main.ad68fca2.chunk.js"></script></body></html>
[hyundai] TRACE 2024/03/31 23:25:30 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin
[hyundai] TRACE 2024/03/31 23:25:30 {"intUserId":""}
--
{"redirectUrl":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect?code=HW8IV2MHOREVO0QUMPKA9W\u0026state=test","popup":false,"method":"","upgrade":false,"integrated":false,"deleteAccountLink":""}
[hyundai] TRACE 2024/03/31 23:25:30 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token
[hyundai] TRACE 2024/03/31 23:25:30 code=HW8IV2MHOREVO0QUMPKA9W&grant_type=authorization_code&redirect_uri=https%3A%2F%2Fprd.eu-ccapi.hyundai.com%3A8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect
--
{"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiJkMTg1YzQyZC1mMjA0LTQwYWItODdjOC1hYTQzOWRhN2MzYTUiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE3MTIwMTM5MzAsImlhdCI6MTcxMTkyNzUzMCwiaXNzIjoiYmx1ZWxpbmsifQ.ZPiR56q3Uwb2TjCTpVeLIXfKmN2P5otrnz3BSNcTm4mw8Q4y8H1K-SA2temvJ1kXuzkx25h95hJ6zGmMt0p5GMdyYEL-yphx7D3hMvx0Lk2xNB0FEkclZo5ggXpOcpRjUWSmSO8edCm9fXknLKtO6TVgli4ZoGGgNo1wW9_pXOsKNSegwq4X6oQXtnVyXVgZ7Pv7L5_uI5h-tvTeO8HPryIa7gWKPzZb9cxVzjgEKCUhdXWxe1pvT5WrAEaN9dFGmQf8otLrdtw-QavZX30OcdvqTC0ENuS2ggv_zcO1MrMkAN-zWq6E2lVYv25BuDZDuT2QgyBNOv2JDq0mRtFIFQ","token_type":"Bearer","refresh_token":"WZGNHLBLWBI5OEL_3AIEWW","expires_in":86400}
[hyundai] TRACE 2024/03/31 23:25:30 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles
[hyundai] TRACE 2024/03/31 23:25:30 {"retCode":"S","resCode":"0000","resMsg":{"vehicles":[{"vin":"deprecated","vehicleId":"59146fe4-6e91-4688-a244-ce2727c13175","vehicleName":"KONA","type":"EV","tmuNum":"-","nickname":"KONA","year":"2024","master":true,"carShare":1,"regDate":"2024-03-15 12:13:05.900","personalFlag":"2","detailInfo":{"inColor":"T9Y","outColor":"JHR","saleCarmdlCd":"7F","bodyType":"2","saleCarmdlEnNm":"KONA"},"protocolType":1,"ccuCCS2ProtocolSupport":1}]},"msgId":"63e7647f-1f75-498c-9a60-694b9eb2192e"}
[hyundai] TRACE 2024/03/31 23:25:30 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/59146fe4-6e91-4688-a244-ce2727c13175/status/latest
[hyundai] TRACE 2024/03/31 23:25:30 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleStatus":{"windowRearCurtain":{},"transCond":true,"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"defrost":false,"lowFuelLight":false,"acc":false,"ign3":false,"hoodOpen":false,"steerWheelHeatStep2":0,"steerWheelHeat":0,"sideBackWindowHeat":0,"dte":{"value":437,"unit":1},"tirePressureLamp":{"tirePressureLampAll":0,"tirePressureLampFL":0,"tirePressureLampFR":0,"tirePressureLampRL":0,"tirePressureLampRR":0},"seatHeaterVentState":{"frSeatHeatState":2,"flSeatHeatState":2,"rlSeatHeatState":2,"rrSeatHeatState":2},"battery":{"batSoc":87,"bacState":0,"sjbDeliveryMode":2},"lampWireStatus":{"stopLamp":{"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rigthLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"windowOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"windowOpen2":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"tailLampStatus":0,"hazardStatus":0,"smartKeyBatteryWarning":false,"fuelLevel":0,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20240401002523","airCleaning":{"airPurifierStatus":1,"fineDustStep":0,"fineDustColor":0}}}},"msgId":"ab2c0fdb-ce03-4eab-b977-1d1fe318f63b"}
[hyundai] TRACE 2024/03/31 23:25:30 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/59146fe4-6e91-4688-a244-ce2727c13175/status/latest
[hyundai] TRACE 2024/03/31 23:25:30 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleStatus":{"windowRearCurtain":{},"transCond":true,"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"defrost":false,"lowFuelLight":false,"acc":false,"ign3":false,"hoodOpen":false,"steerWheelHeatStep2":0,"steerWheelHeat":0,"sideBackWindowHeat":0,"dte":{"value":437,"unit":1},"tirePressureLamp":{"tirePressureLampAll":0,"tirePressureLampFL":0,"tirePressureLampFR":0,"tirePressureLampRL":0,"tirePressureLampRR":0},"seatHeaterVentState":{"frSeatHeatState":2,"flSeatHeatState":2,"rlSeatHeatState":2,"rrSeatHeatState":2},"battery":{"batSoc":87,"bacState":0,"sjbDeliveryMode":2},"lampWireStatus":{"stopLamp":{"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rigthLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"windowOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"windowOpen2":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"tailLampStatus":0,"hazardStatus":0,"smartKeyBatteryWarning":false,"fuelLevel":0,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20240401002523","airCleaning":{"airPurifierStatus":1,"fineDustStep":0,"fineDustColor":0}}}},"msgId":"3fa4b238-5110-4482-8438-766f73c22073"}
Soc:           0%
Capacity:      65.0kWh
Charge status: A
Range:         not available
Odometer:      0km
Finish time:   not available
Position:      0,0
Target Soc:    0%
Features:      []
andig commented 6 months ago

Anscheinend hat sich bei Deinem Fahrzeug das API geändert. Der Code sollte damit jetzt konzilianter umgehen. Kann ab morgen im Nightly getestet werden.

VolkerK62 commented 6 months ago

da fehlt der komplette Teil vehicleStatus.evStatus battery ist die 12V Batterie

{
    "retCode": "S",
    "resCode": "0000",
    "resMsg": {
        "vehicleStatusInfo": {
            "vehicleStatus": {
                "windowRearCurtain": {},
                "transCond": true,
                "airCtrlOn": false,
                "engine": false,
                "doorLock": true,
                "doorOpen": {
                    "frontLeft": 0,
                    "frontRight": 0,
                    "backLeft": 0,
                    "backRight": 0
                },
                "trunkOpen": false,
                "defrost": false,
                "lowFuelLight": false,
                "acc": false,
                "ign3": false,
                "hoodOpen": false,
                "steerWheelHeatStep2": 0,
                "steerWheelHeat": 0,
                "sideBackWindowHeat": 0,
                "dte": {
                    "value": 437,
                    "unit": 1
                },
                "tirePressureLamp": {
                    "tirePressureLampAll": 0,
                    "tirePressureLampFL": 0,
                    "tirePressureLampFR": 0,
                    "tirePressureLampRL": 0,
                    "tirePressureLampRR": 0
                },
                "seatHeaterVentState": {
                    "frSeatHeatState": 2,
                    "flSeatHeatState": 2,
                    "rlSeatHeatState": 2,
                    "rrSeatHeatState": 2
                },
                "battery": {
                    "batSoc": 87,
                    "bacState": 0,
                    "sjbDeliveryMode": 2
                },
                "lampWireStatus": {
                    "stopLamp": {
                        "leftLamp": false,
                        "rightLamp": false
                    },
                    "headLamp": {
                        "headLampStatus": false,
                        "leftLowLamp": false,
                        "rigthLowLamp": false,
                        "leftHighLamp": false,
                        "rightHighLamp": false
                    },
                    "turnSignalLamp": {
                        "leftFrontLamp": false,
                        "rightFrontLamp": false,
                        "leftRearLamp": false,
                        "rightRearLamp": false
                    }
                },
                "windowOpen": {
                    "frontLeft": 0,
                    "frontRight": 0,
                    "backLeft": 0,
                    "backRight": 0
                },
                "windowOpen2": {
                    "frontLeft": 0,
                    "frontRight": 0,
                    "backLeft": 0,
                    "backRight": 0
                },
                "tailLampStatus": 0,
                "hazardStatus": 0,
                "smartKeyBatteryWarning": false,
                "fuelLevel": 0,
                "washerFluidStatus": false,
                "breakOilStatus": false,
                "sleepModeCheck": false,
                "time": "20240401002523",
                "airCleaning": {
                    "airPurifierStatus": 1,
                    "fineDustStep": 0,
                    "fineDustColor": 0
                }
            }
        }
    },
    "msgId": "3fa4b238-5110-4482-8438-766f73c22073"
}
h4sk33r commented 6 months ago

Guten Morgen, kann ich noch irgendwie helfen. Braucht ihr noch spezifische Logfiles oder ähnliches?

h4sk33r commented 6 months ago

Bluelinky hat scheinbar auch noch keine Lösung: https://github.com/Hacksore/bluelinky/issues/271

VolkerK62 commented 6 months ago

@andig hilft das weiter? https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/pull/480

andig commented 6 months ago

That should help! I will need login credentials for testing, please email to info@evcc.io.

h4sk33r commented 6 months ago

That should help! I will need login credentials for testing, please email to info@evcc.io.

Done. Thanks for testing.