Closed prior-philip closed 9 months ago
With update to 0.123 the connection to Hyundai Kona 2023 is broken. evcc considers vehicle as not-connected while charging.
Konfiguration (/etc/evcc.yaml): network: schema: http host: bonna.local # .local suffix announces the hostname on MDNS port: 7071 # log: info levels: site: info lp-1: info hyundai: trace # unique installation id plant: ***** interval: 15s # control cycle interval sponsortoken: ***** # 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: kostal-plenticore id: 71 host: 192.168.1.52 port: 1502 usage: pv modbus: tcpip name: Blammer79-PV - type: template template: kostal-plenticore name: Blammer79-BYD usage: battery #capacity: 7.7 id: 71 host: 192.168.1.52 port: 1502 modbus: tcpip - type: template template: kostal-ksem id: 71 host: 192.168.1.51 port: 502 usage: grid modbus: tcpip name: Blammer79-KSEM chargers: - type: template template: go-e-v3 host: 192.168.1.54 name: go-e vehicles: # Blammer79-Kona - name: Blammer79-Kona type: template template: hyundai title: Kona Electric user: ***** password: ***** vin: ***** capacity: 64 # onIdentify: # mode: off # targetSoc: 80 # minCurrent: 6 # maxCurrent: 10 # cache: 60m #phases: 3 #icon: car # cache: 60m language: en # minSoc: 35 # targetSoc: 80 # minCurrent: 6 # maxCurrent: 10 loadpoints: - title: Garage charger: go-e enable: delay: 1m threshold: -100 # es wird eingeschaltet, wenn 1 Minute lang bei 100W oder weniger Netzbezug. disable: delay: 3m threshold: 500 # es wird ausgeschaltet, wenn 30 Minuten lang mehr als 500 W Netzstrom bezogen wurde mode: pv # phases: 0 # mincurrent: 6 # maxcurrent: 32 # resetOnDisconnect: true vehicle: Blammer79-Kona soc: estimate: false poll: mode: always interval: 30m site: title: Blammer79 meters: grid: Blammer79-KSEM #pvs: #- Blammer79-PV #batteries: #- Blammer79-BYD residualPower: 100 # bufferSoC: 90 # Hausbatterie wird oberhalb SoC 80% als Puffer genutzt # bufferStartSoC: 60 # Hausbatterie wird oberhalb SoC 80% als Puffer genutzt # prioritySoC: 75 # Hausbatterie bekommt bis zum eingetellten SoC Priorität beim laden tariffs: currency: EUR # (default EUR) grid: # static grid price type: fixed price: 0.369 # [currency]/kWh feedin: # rate for feeding excess (pv) energy to the grid type: fixed price: 0.08 # [currency]/kWh Version: `0.123.1`
[main ] INFO 2023/12/23 20:33:34 evcc 0.123.1 [main ] INFO 2023/12/23 20:33:34 using config file: /etc/evcc.yaml [main ] INFO 2023/12/23 20:33:34 starting ui and api at :7071 [db ] INFO 2023/12/23 20:33:34 using sqlite database: /home/oknitter/.evcc/evcc.db [hyundai] TRACE 2023/12/23 20:33:35 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/notifications/register [hyundai] TRACE 2023/12/23 20:33:35 {"pushRegId":"2F0D85BB85012C2FEF977505F82E463ACCF73C10C917A9C89D9CCFBB4EA4AA64","pushType":"GCM","uuid":"770c1255-7ba3-4d69-9c77-7fccd39aec1c"} -- {"retCode":"S","resCode":"0000","resMsg":{"deviceId":"afc96071-febc-4a01-b77e-0bc82e010cef"},"msgId":"0fe5bf7c-e8af-41c9-b437-92d14822e2aa"} [hyundai] TRACE 2023/12/23 20:33:35 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 2023/12/23 20:33:35 <a href="https://prd.eu-ccapi.hyundai.com:8080/web/v1/user/authorize?cache=reset">Found</a>. [hyundai] TRACE 2023/12/23 20:33:35 GET https://prd.eu-ccapi.hyundai.com:8080/web/v1/user/authorize?cache=reset [hyundai] TRACE 2023/12/23 20:33:35 <!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.9c0a4b8e.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:"03bc62aa",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.e6df61fc.chunk.js"></script><script src="/web/v1/user/static/js/main.44dece12.chunk.js"></script></body></html> [hyundai] TRACE 2023/12/23 20:33:35 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language [hyundai] TRACE 2023/12/23 20:33:35 {"lang":"en"} [hyundai] TRACE 2023/12/23 20:33:35 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo [hyundai] TRACE 2023/12/23 20:33:35 {"userId":"8bf827be-2559-49cc-b62c-d8a92a9eaa66","serviceId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","serviceName":"Bluelink"} [hyundai] TRACE 2023/12/23 20:33:35 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:8bf827be-2559-49cc-b62c-d8a92a9eaa66 [hyundai] TRACE 2023/12/23 20:33:35 <!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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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=Etrr87puvCI&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 2023/12/23 20:33:35 POST https://eu-account.hyundai.com/auth/realms/euhyundaiidm/login-actions/authenticate?session_code=kkG4zhCrM589JoCatrgFttn94Lmi6wLZyaiWaCDtSdg&execution=f09c7a3a-cb33-4625-b9f1-13fd5d3f3cfa&client_id=64621b96-0f0d-11ec-82a8-0242ac130003&tab_id=Etrr87puvCI [hyundai] TRACE 2023/12/23 20:33:35 credentialId=&password=***&rememberMe=on&username=*** [hyundai] TRACE 2023/12/23 20:33:35 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integration/redirect/login?state=6d477c38-3ca4-4cf3-9557-2a1929a94654%3A8bf827be-2559-49cc-b62c-d8a92a9eaa66&session_state=e5841bfc-c66d-46e5-a843-e877ae8bca35&code=67705fd8-7dc4-419a-8fa1-049ae08577ef.e5841bfc-c66d-46e5-a843-e877ae8bca35.a8210a50-39e0-463a-a595-bb31c94242df [hyundai] TRACE 2023/12/23 20:33:45 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin [hyundai] TRACE 2023/12/23 20:33:45 {"email":"***","password":"***"} -- {"errId":"28cd9803-dd6a-4995-80ff-14a6e162f672","errCode":"4003","errMsg":"Invalid values"} [main ] ERROR 2023/12/23 20:33:45 creating vehicle Blammer79-Kona failed: cannot create vehicle 'template': cannot create vehicle 'hyundai': login failed: unexpected status: 400 (Bad Request): Invalid values (4003) [lp-1 ] WARN 2023/12/23 20:33:45 poll mode '{always 30m0s}' may deplete your battery or lead to API misuse. USE AT YOUR OWN RISK. [site ] INFO 2023/12/23 20:33:45 site config: [site ] INFO 2023/12/23 20:33:45 meters: grid ✓ pv ✗ battery ✗ [site ] INFO 2023/12/23 20:33:45 grid: power ✓ energy ✓ currents ✓ [site ] INFO 2023/12/23 20:33:45 vehicles: [site ] INFO 2023/12/23 20:33:45 vehicle 1: range ✗ finish ✗ status ✗ climate ✗ wakeup ✗ [lp-1 ] INFO 2023/12/23 20:33:45 loadpoint 1: [lp-1 ] INFO 2023/12/23 20:33:45 mode: now [lp-1 ] INFO 2023/12/23 20:33:45 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗ [lp-1 ] INFO 2023/12/23 20:33:45 meters: charge ✓ [lp-1 ] INFO 2023/12/23 20:33:45 charge: power ✓ energy ✓ currents ✓ [lp-1 ] INFO 2023/12/23 20:33:45 vehicle updated: unknown -> Kona Electric (offline) [site ] WARN 2023/12/23 20:33:46 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval [lp-1 ] INFO 2023/12/23 20:33:46 car connected [lp-1 ] INFO 2023/12/23 20:33:46 start charging ->
Linux
0.123.1
Duplikat
Describe the bug
With update to 0.123 the connection to Hyundai Kona 2023 is broken. evcc considers vehicle as not-connected while charging.
Steps to reproduce
Configuration details
Log details
What type of operating system are you running?
Linux
Version
0.123.1