Closed h4sk33r closed 6 months ago
Please share
evcc vehicle --log trace
Is bluelinky able to query the car?
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.
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&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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&tab_id=ysYVXVdKkpQ&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&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?&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&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: []
Anscheinend hat sich bei Deinem Fahrzeug das API geändert. Der Code sollte damit jetzt konzilianter umgehen. Kann ab morgen im Nightly getestet werden.
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"
}
Guten Morgen, kann ich noch irgendwie helfen. Braucht ihr noch spezifische Logfiles oder ähnliches?
Bluelinky hat scheinbar auch noch keine Lösung: https://github.com/Hacksore/bluelinky/issues/271
@andig hilft das weiter? https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/pull/480
That should help! I will need login credentials for testing, please email to info@evcc.io.
That should help! I will need login credentials for testing, please email to info@evcc.io.
Done. Thanks for testing.
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
Log details
What type of operating system are you running?
HomeAssistant Add-on
Version
0.124.10