Newan / ioBroker.bluelink

Adapter for Hyundai (Bluelink) or KIA (UVO) connection
MIT License
15 stars 9 forks source link

Error: undefined is not a valid state value #84

Closed Ilovegym66 closed 1 year ago

Ilovegym66 commented 1 year ago

System: VM in Synology, CPU: 0,47 % RAM: 55,2 % Betriebszeit: 1d23h Verfügbar: 4.0.24 Installiert: 5.0.1 Ereignisse: ⇥75 / ↦13 Plattform: linux Betriebssystem: linux Architektur: x64 CPUs: 8 Geschwindigkeit: 2693 MHz Modell: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz RAM: 15.6 GB System-Betriebszeit: 4 T. 01:15:09 Node.js: v18.16.0 time: 1682068595682 timeOffset: -120 Adapter-Anzahl: 562 NPM: 9.5.1 Datenträgergröße: 31.4 GB Freier Festplattenspeicher: 23.3 GB Betriebszeit: 2 T. 18:44:04 Aktive Instanzen: 74 Pfad: /opt/iobroker/ aktiv: true _npmCurrent: 9.5.1 _npmNewest: 9.5.1 _npmNewestNext: 9.5.1 _nodeNewestNext: 18.16.0 _nodeCurrent: 18.16.0 _nodeNewest: 18.16.0

Debug-Log: ` 2023-04-21 11:42:20.391 - info: host.iobrokerS2 "system.adapter.bluelink.0" enabled 2023-04-21 11:42:20.490 - info: host.iobrokerS2 instance system.adapter.bluelink.0 started with pid 7101 2023-04-21 11:42:20.391 - info: host.iobrokerS2 "system.adapter.bluelink.0" enabled 2023-04-21 11:42:20.490 - info: host.iobrokerS2 instance system.adapter.bluelink.0 started with pid 7101 2023-04-21 11:42:21.535 - debug: bluelink.0 (7101) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-21 11:42:21.555 - debug: bluelink.0 (7101) Objects client ready ... initialize now 2023-04-21 11:42:21.557 - debug: bluelink.0 (7101) Objects create System PubSub Client 2023-04-21 11:42:21.557 - debug: bluelink.0 (7101) Objects create User PubSub Client 2023-04-21 11:42:21.535 - debug: bluelink.0 (7101) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-21 11:42:21.555 - debug: bluelink.0 (7101) Objects client ready ... initialize now 2023-04-21 11:42:21.557 - debug: bluelink.0 (7101) Objects create System PubSub Client 2023-04-21 11:42:21.557 - debug: bluelink.0 (7101) Objects create User PubSub Client 2023-04-21 11:42:22.534 - debug: bluelink.0 (7101) Objects client initialize lua scripts 2023-04-21 11:42:22.543 - debug: bluelink.0 (7101) Objects connected to redis: 10.1.1.1:6379 2023-04-21 11:42:22.595 - debug: bluelink.0 (7101) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-21 11:42:22.607 - debug: bluelink.0 (7101) States create System PubSub Client 2023-04-21 11:42:22.609 - debug: bluelink.0 (7101) States create User PubSub Client 2023-04-21 11:42:22.624 - debug: bluelink.0 (7101) States connected to redis: 10.1.1.1:6379 2023-04-21 11:42:22.534 - debug: bluelink.0 (7101) Objects client initialize lua scripts 2023-04-21 11:42:22.543 - debug: bluelink.0 (7101) Objects connected to redis: 10.1.1.1:6379 2023-04-21 11:42:22.595 - debug: bluelink.0 (7101) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-21 11:42:22.607 - debug: bluelink.0 (7101) States create System PubSub Client 2023-04-21 11:42:22.609 - debug: bluelink.0 (7101) States create User PubSub Client 2023-04-21 11:42:22.624 - debug: bluelink.0 (7101) States connected to redis: 10.1.1.1:6379 2023-04-21 11:42:23.322 - info: bluelink.0 (7101) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-21 11:42:23.370 - info: bluelink.0 (7101) Login to api 2023-04-21 11:42:23.322 - info: bluelink.0 (7101) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-21 11:42:23.370 - info: bluelink.0 (7101) Login to api 2023-04-21 11:42:24.358 - info: javascript.0 (768) script.js.common.Nuki.mqtt2log: NUKI Hub HT: unlocked 2023-04-21 11:42:24.358 - info: javascript.0 (768) script.js.common.Nuki.mqtt2log: NUKI Hub HT: unlocked 2023-04-21 11:42:27.470 - info: bluelink.0 (7101) 1 Vehicles found 2023-04-21 11:42:27.471 - debug: bluelink.0 (7101) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN-NR","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.de","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"1234","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODIxNTY1NDcsImlhdCI6MTY4MjA3MDE0NywiaXNzIjoiYmx1ZWxpbmsifQ.cX74iBppNUNvw4-p2Bttj7UeBLHf_d9rAxQweKhY54s0GbgeI6xUJ-QEmY8bEnpZ5j0RTa-b4iJiJpCB5tHVcKsCiuorePDmmHYj4gmgWjeeyEhEIgDTOgWQjXO3DQLWXcj1QFI2n2D0TT-5MqVL1z8uU2XWCwvQt3SGOyToLLUlwG6MisrwND1dQORMSMhdXe6L9cgTvoBjqJ0zy0MjzEdExuGDKe_G3_V4L1tYB1Hhp_v45XxfNz-kDhZw8XHTXkpQzYfvlr27S_Md2wGJbhZgBucmZsAmEDSrumQoYM9jLv1j4mMk2zTzPbfWsDRLv6Ucmfluwgs9PPvdCsoBqw","refreshToken":"WJ39WC0AVQW6KVENB6AUMA","deviceId":"20d84c56-3466-4a2a-b517-01e4b8f2a266","tokenExpiresAt":1682156547,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-21 11:42:27.657 - debug: bluelink.0 (7101) driveHistory-Data: {"cumulated":[{"period":0,"consumption":{"total":101467,"engine":76514,"climate":15813,"devices":9140,"battery":0},"regen":46674,"distance":529},{"period":1,"consumption":{"total":5340,"engine":4027,"climate":832,"devices":481,"battery":0},"regen":2456,"distance":27.842105263157894},{"period":2,"consumption":{}}],"history":[{"period":0,"rawDate":"20230419","date":"2023-04-18T22:00:00.000Z","consumption":{"total":4125,"engine":2937,"climate":588,"devices":600,"battery":0},"regen":1928,"distance":22},{"period":0,"rawDate":"20230418","date":"2023-04-17T22:00:00.000Z","consumption":{"total":1845,"engine":1344,"climate":211,"devices":290,"battery":0},"regen":1416,"distance":11},{"period":0,"rawDate":"20230417","date":"2023-04-16T22:00:00.000Z","consumption":{"total":5240,"engine":3466,"climate":1164,"devices":610,"battery":0},"regen":2910,"distance":23},{"period":0,"rawDate":"20230415","date":"2023-04-14T22:00:00.000Z","consumption":{"total":16060,"engine":12943,"climate":2037,"devices":1080,"battery":0},"regen":7912,"distance":84},{"period":0,"rawDate":"20230414","date":"2023-04-13T22:00:00.000Z","consumption":{"total":175,"engine":8,"climate":117,"devices":50,"battery":0},"regen":0,"distance":0},{"period":0,"rawDate":"20230413","date":"2023-04-12T22:00:00.000Z","consumption":{"total":5525,"engine":3557,"climate":1378,"devices":590,"battery":0},"regen":2358,"distance":26},{"period":0,"rawDate":"20230412","date":"2023-04-11T22:00:00.000Z","consumption":{"total":18184,"engine":16090,"climate":1264,"devices":830,"battery":0},"regen":5381,"distance":104},{"period":0,"rawDate":"20230411","date":"2023-04-10T22:00:00.000Z","consumption":{"total":5952,"engine":4493,"climate":899,"devices":560,"battery":0},"regen":2824,"distance":30},{"period":0,"rawDate":"20230410","date":"2023-04-09T22:00:00.000Z","consumption":{"total":3424,"engine":3054,"climate":170,"devices":200,"battery":0},"regen":2261,"distance":23},{"period":0,"rawDate":"20230409","date":"2023-04-08T22:00:00.000Z","consumption":{"total":2906,"engine":2295,"climate":291,"devices":320,"battery":0},"regen":1731,"distance":20},{"period":0,"rawDate":"20230408","date":"2023-04-07T22:00:00.000Z","consumption":{"total":6838,"engine":5149,"climate":1109,"devices":580,"battery":0},"regen":3273,"distance":33},{"period":0,"rawDate":"20230405","date":"2023-04-04T22:00:00.000Z","consumption":{"total":4652,"engine":3118,"climate":1034,"devices":500,"battery":0},"regen":2020,"distance":25},{"period":0,"rawDate":"20230403","date":"2023-04-02T22:00:00.000Z","consumption":{"total":4235,"engine":2934,"climate":961,"devices":340,"battery":0},"regen":1875,"distance":18},{"period":0,"rawDate":"20230401","date":"2023-03-31T22:00:00.000Z","consumption":{"total":1268,"engine":597,"climate":421,"devices":250,"battery":0},"regen":607,"distance":4},{"period":0,"rawDate":"20230331","date":"2023-03-30T22:00:00.000Z","consumption":{"total":6765,"engine":5433,"climate":762,"devices":570,"battery":0},"regen":3408,"distance":36},{"period":0,"rawDate":"20230329","date":"2023-03-28T22:00:00.000Z","consumption":{"total":3282,"engine":2325,"climate":617,"devices":340,"battery":0},"regen":1744,"distance":20},{"period":0,"rawDate":"20230327","date":"2023-03-26T22:00:00.000Z","consumption":{"total":5533,"engine":3426,"climate":1507,"devices":600,"battery":0},"regen":2252,"distance":25},{"period":0,"rawDate":"20230325","date":"2023-03-24T23:00:00.000Z","consumption":{"total":4377,"engine":2727,"climate":1010,"devices":640,"battery":0},"regen":2226,"distance":19},{"period":0,"rawDate":"20230323","date":"2023-03-22T23:00:00.000Z","consumption":{"total":1081,"engine":618,"climate":273,"devices":190,"battery":0},"regen":548,"distance":6}]} 2023-04-21 11:42:27.731 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.732 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.736 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.736 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.743 - info: bluelink.0 (7101) Adapter bluelink cleaned up everything... 2023-04-21 11:42:27.744 - info: bluelink.0 (7101) terminating 2023-04-21 11:42:27.745 - warn: bluelink.0 (7101) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-04-21 11:42:27.748 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.749 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.750 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.750 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.754 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.755 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.755 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.756 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.760 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.761 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.761 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.762 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.766 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.767 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.767 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.768 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.772 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.772 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.773 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.773 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.777 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.778 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.779 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.779 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:28.248 - info: bluelink.0 (7101) terminating 2023-04-21 11:42:28.394 - error: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-04-21 11:42:28.395 - info: host.iobrokerS2 Restart adapter system.adapter.bluelink.0 because enabled 2023-04-21 11:42:28.395 - warn: host.iobrokerS2 Do not restart adapter system.adapter.bluelink.0 because restart loop detected 2023-04-21 11:42:27.470 - info: bluelink.0 (7101) 1 Vehicles found 2023-04-21 11:42:27.471 - debug: bluelink.0 (7101) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN-NR","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.de","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"1234","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODIxNTY1NDcsImlhdCI6MTY4MjA3MDE0NywiaXNzIjoiYmx1ZWxpbmsifQ.cX74iBppNUNvw4-p2Bttj7UeBLHf_d9rAxQweKhY54s0GbgeI6xUJ-QEmY8bEnpZ5j0RTa-b4iJiJpCB5tHVcKsCiuorePDmmHYj4gmgWjeeyEhEIgDTOgWQjXO3DQLWXcj1QFI2n2D0TT-5MqVL1z8uU2XWCwvQt3SGOyToLLUlwG6MisrwND1dQORMSMhdXe6L9cgTvoBjqJ0zy0MjzEdExuGDKe_G3_V4L1tYB1Hhp_v45XxfNz-kDhZw8XHTXkpQzYfvlr27S_Md2wGJbhZgBucmZsAmEDSrumQoYM9jLv1j4mMk2zTzPbfWsDRLv6Ucmfluwgs9PPvdCsoBqw","refreshToken":"WJ39WC0AVQW6KVENB6AUMA","deviceId":"20d84c56-3466-4a2a-b517-01e4b8f2a266","tokenExpiresAt":1682156547,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-21 11:42:27.657 - debug: bluelink.0 (7101) driveHistory-Data: {"cumulated":[{"period":0,"consumption":{"total":101467,"engine":76514,"climate":15813,"devices":9140,"battery":0},"regen":46674,"distance":529},{"period":1,"consumption":{"total":5340,"engine":4027,"climate":832,"devices":481,"battery":0},"regen":2456,"distance":27.842105263157894},{"period":2,"consumption":{}}],"history":[{"period":0,"rawDate":"20230419","date":"2023-04-18T22:00:00.000Z","consumption":{"total":4125,"engine":2937,"climate":588,"devices":600,"battery":0},"regen":1928,"distance":22},{"period":0,"rawDate":"20230418","date":"2023-04-17T22:00:00.000Z","consumption":{"total":1845,"engine":1344,"climate":211,"devices":290,"battery":0},"regen":1416,"distance":11},{"period":0,"rawDate":"20230417","date":"2023-04-16T22:00:00.000Z","consumption":{"total":5240,"engine":3466,"climate":1164,"devices":610,"battery":0},"regen":2910,"distance":23},{"period":0,"rawDate":"20230415","date":"2023-04-14T22:00:00.000Z","consumption":{"total":16060,"engine":12943,"climate":2037,"devices":1080,"battery":0},"regen":7912,"distance":84},{"period":0,"rawDate":"20230414","date":"2023-04-13T22:00:00.000Z","consumption":{"total":175,"engine":8,"climate":117,"devices":50,"battery":0},"regen":0,"distance":0},{"period":0,"rawDate":"20230413","date":"2023-04-12T22:00:00.000Z","consumption":{"total":5525,"engine":3557,"climate":1378,"devices":590,"battery":0},"regen":2358,"distance":26},{"period":0,"rawDate":"20230412","date":"2023-04-11T22:00:00.000Z","consumption":{"total":18184,"engine":16090,"climate":1264,"devices":830,"battery":0},"regen":5381,"distance":104},{"period":0,"rawDate":"20230411","date":"2023-04-10T22:00:00.000Z","consumption":{"total":5952,"engine":4493,"climate":899,"devices":560,"battery":0},"regen":2824,"distance":30},{"period":0,"rawDate":"20230410","date":"2023-04-09T22:00:00.000Z","consumption":{"total":3424,"engine":3054,"climate":170,"devices":200,"battery":0},"regen":2261,"distance":23},{"period":0,"rawDate":"20230409","date":"2023-04-08T22:00:00.000Z","consumption":{"total":2906,"engine":2295,"climate":291,"devices":320,"battery":0},"regen":1731,"distance":20},{"period":0,"rawDate":"20230408","date":"2023-04-07T22:00:00.000Z","consumption":{"total":6838,"engine":5149,"climate":1109,"devices":580,"battery":0},"regen":3273,"distance":33},{"period":0,"rawDate":"20230405","date":"2023-04-04T22:00:00.000Z","consumption":{"total":4652,"engine":3118,"climate":1034,"devices":500,"battery":0},"regen":2020,"distance":25},{"period":0,"rawDate":"20230403","date":"2023-04-02T22:00:00.000Z","consumption":{"total":4235,"engine":2934,"climate":961,"devices":340,"battery":0},"regen":1875,"distance":18},{"period":0,"rawDate":"20230401","date":"2023-03-31T22:00:00.000Z","consumption":{"total":1268,"engine":597,"climate":421,"devices":250,"battery":0},"regen":607,"distance":4},{"period":0,"rawDate":"20230331","date":"2023-03-30T22:00:00.000Z","consumption":{"total":6765,"engine":5433,"climate":762,"devices":570,"battery":0},"regen":3408,"distance":36},{"period":0,"rawDate":"20230329","date":"2023-03-28T22:00:00.000Z","consumption":{"total":3282,"engine":2325,"climate":617,"devices":340,"battery":0},"regen":1744,"distance":20},{"period":0,"rawDate":"20230327","date":"2023-03-26T22:00:00.000Z","consumption":{"total":5533,"engine":3426,"climate":1507,"devices":600,"battery":0},"regen":2252,"distance":25},{"period":0,"rawDate":"20230325","date":"2023-03-24T23:00:00.000Z","consumption":{"total":4377,"engine":2727,"climate":1010,"devices":640,"battery":0},"regen":2226,"distance":19},{"period":0,"rawDate":"20230323","date":"2023-03-22T23:00:00.000Z","consumption":{"total":1081,"engine":618,"climate":273,"devices":190,"battery":0},"regen":548,"distance":6}]} 2023-04-21 11:42:27.731 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.732 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.736 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.736 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.743 - info: bluelink.0 (7101) Adapter bluelink cleaned up everything... 2023-04-21 11:42:27.744 - info: bluelink.0 (7101) terminating 2023-04-21 11:42:27.745 - warn: bluelink.0 (7101) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-04-21 11:42:27.748 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.749 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.750 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.750 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.754 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.755 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.755 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.756 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.760 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.761 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.761 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.762 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.766 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.767 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.767 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.768 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.772 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.772 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.773 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.773 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:27.777 - error: bluelink.0 (7101) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-21 11:42:27.778 - error: bluelink.0 (7101) unhandled promise rejection: undefined is not a valid state value 2023-04-21 11:42:27.779 - error: bluelink.0 (7101) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:383:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:222:25) 2023-04-21 11:42:27.779 - error: bluelink.0 (7101) undefined is not a valid state value 2023-04-21 11:42:28.248 - info: bluelink.0 (7101) terminating 2023-04-21 11:42:28.394 - error: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-04-21 11:42:28.395 - info: host.iobrokerS2 Restart adapter system.adapter.bluelink.0 because enabled 2023-04-21 11:42:28.395 - warn: host.iobrokerS2 Do not restart adapter system.adapter.bluelink.0 because restart loop detected 2023-04-21 11:42:34.838 - info: host.iobrokerS2 "system.adapter.bluelink.0" disabled 2023-04-21 11:42:34.838 - info: host.iobrokerS2 "system.adapter.bluelink.0" disabled

`

arteck commented 1 year ago

check now plz

Ilovegym66 commented 1 year ago

immer noch: 2023-04-24 05:53:05.344 - info: host.iobrokerS2 iobroker url Newan/ioBroker.bluelink --host iobrokerS2 --debug 2023-04-24 05:53:08.709 - info: host.iobrokerS2 iobroker install Newan/ioBroker.bluelink 2023-04-24 05:53:09.470 - info: host.iobrokerS2 iobroker NPM version: 9.5.1 2023-04-24 05:53:09.471 - info: host.iobrokerS2 iobroker Installing Newan/ioBroker.bluelink... (System call) 2023-04-24 05:53:22.318 - info: bluelink.0 (227037) Read new update for VIN-NR directly from the car 2023-04-24 05:53:22.840 - info: host.iobrokerS2 iobroker 2023-04-24 05:53:22.841 - info: host.iobrokerS2 iobroker removed 99 packages, and changed 1 package in 13s 2023-04-24 05:53:22.842 - info: host.iobrokerS2 iobroker 144 packages are looking for funding runnpm fund` for details 2023-04-24 05:53:24.843 - info: host.iobrokerS2 iobroker upload [5] bluelink.admin /opt/iobroker/node_modules/iobroker.bluelink/admin/admin.d.ts admin.d.ts video/mp2t 2023-04-24 05:53:24.859 - info: host.iobrokerS2 iobroker upload [4] bluelink.admin /opt/iobroker/node_modules/iobroker.bluelink/admin/bluelink.png bluelink.png image/png 2023-04-24 05:53:24.865 - info: host.iobrokerS2 iobroker upload [3] bluelink.admin /opt/iobroker/node_modules/iobroker.bluelink/admin/bluelink_old.png bluelink_old.png image/png 2023-04-24 05:53:24.870 - info: host.iobrokerS2 iobroker upload [2] bluelink.admin /opt/iobroker/node_modules/iobroker.bluelink/admin/index_m.html index_m.html text/html 2023-04-24 05:53:24.876 - info: host.iobrokerS2 iobroker upload [1] bluelink.admin /opt/iobroker/node_modules/iobroker.bluelink/admin/style.css style.css text/css 2023-04-24 05:53:24.883 - info: host.iobrokerS2 iobroker upload [0] bluelink.admin /opt/iobroker/node_modules/iobroker.bluelink/admin/words.js words.js application/javascript 2023-04-24 05:53:24.917 - info: host.iobrokerS2 iobroker Update "system.adapter.bluelink.0" 2023-04-24 05:53:24.926 - info: host.iobrokerS2 stopInstance system.adapter.bluelink.0 (force=false, process=true) 2023-04-24 05:53:24.934 - info: host.iobrokerS2 stopInstance system.adapter.bluelink.0 send kill signal 2023-04-24 05:53:24.937 - info: bluelink.0 (227037) Got terminate signal TERMINATE_YOURSELF 2023-04-24 05:53:24.938 - info: bluelink.0 (227037) Adapter bluelink cleaned up everything... 2023-04-24 05:53:24.939 - info: bluelink.0 (227037) terminating 2023-04-24 05:53:24.940 - info: bluelink.0 (227037) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-04-24 05:53:25.441 - info: bluelink.0 (227037) terminating 2023-04-24 05:53:25.536 - info: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-04-24 05:53:25.952 - info: host.iobrokerS2 iobroker exit 0 2023-04-24 05:53:28.028 - info: host.iobrokerS2 instance system.adapter.bluelink.0 started with pid 315181 2023-04-24 05:53:31.252 - info: bluelink.0 (315181) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 05:53:31.310 - info: bluelink.0 (315181) Login to api 2023-04-24 05:53:36.760 - info: bluelink.0 (315181) 1 Vehicles found 2023-04-24 05:53:37.058 - error: bluelink.0 (315181) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 05:53:37.059 - error: bluelink.0 (315181) unhandled promise rejection: undefined is not a valid state value 2023-04-24 05:53:37.062 - error: bluelink.0 (315181) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 05:53:37.063 - error: bluelink.0 (315181) undefined is not a valid state value 2023-04-24 05:53:37.069 - info: bluelink.0 (315181) Adapter bluelink cleaned up everything... 2023-04-24 05:53:37.070 - info: bluelink.0 (315181) terminating 2023-04-24 05:53:37.072 - warn: bluelink.0 (315181) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-04-24 05:53:37.075 - error: bluelink.0 (315181) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 05:53:37.076 - error: bluelink.0 (315181) unhandled promise rejection: undefined is not a valid state value 2023-04-24 05:53:37.077 - error: bluelink.0 (315181) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 05:53:37.077 - error: bluelink.0 (315181) undefined is not a valid state value 2023-04-24 05:53:37.082 - error: bluelink.0 (315181) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 05:53:37.082 - error: bluelink.0 (315181) unhandled promise rejection: undefined is not a valid state value 2023-04-24 05:53:37.083 - error: bluelink.0 (315181) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 05:53:37.083 - error: bluelink.0 (315181) undefined is not a valid state value 2023-04-24 05:53:37.088 - error: bluelink.0 (315181) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 05:53:37.088 - error: bluelink.0 (315181) unhandled promise rejection: undefined is not a valid state value 2023-04-24 05:53:37.089 - error: bluelink.0 (315181) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 05:53:37.089 - error: bluelink.0 (315181) undefined is not a valid state value 2023-04-24 05:53:37.093 - error: bluelink.0 (315181) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 05:53:37.094 - error: bluelink.0 (315181) unhandled promise rejection: undefined is not a valid state value 2023-04-24 05:53:37.095 - error: bluelink.0 (315181) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 05:53:37.095 - error: bluelink.0 (315181) undefined is not a valid state value 2023-04-24 05:53:37.099 - error: bluelink.0 (315181) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 05:53:37.099 - error: bluelink.0 (315181) unhandled promise rejection: undefined is not a valid state value 2023-04-24 05:53:37.100 - error: bluelink.0 (315181) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 05:53:37.101 - error: bluelink.0 (315181) undefined is not a valid state value 2023-04-24 05:53:37.104 - error: bluelink.0 (315181) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 05:53:37.105 - error: bluelink.0 (315181) unhandled promise rejection: undefined is not a valid state value 2023-04-24 05:53:37.105 - error: bluelink.0 (315181) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 05:53:37.106 - error: bluelink.0 (315181) undefined is not a valid state value 2023-04-24 05:53:37.575 - info: bluelink.0 (315181) terminating 2023-04-24 05:53:37.593 - error: bluelink.0 (315181) Cannot check object existence of "bluelink.0.KMHKR81AFNU011963.driveHistory.20230403.regen": DB closed 2023-04-24 05:53:37.594 - warn: bluelink.0 (315181) Could not perform strict object check of state bluelink.0.KMHKR81AFNU011963.driveHistory.20230403.consumption.devices: DB closed 2023-04-24 05:53:37.595 - error: bluelink.0 (315181) Error: Could not check object existence of bluelink.0.KMHKR81AFNU011963.driveHistory.20230403.regen: Cannot check object existence of "bluelink.0.KMHKR81AFNU011963.driveHistory.20230403.regen": DB closed 2023-04-24 05:53:37.675 - error: host.iobrokerS2 Caught by controller[0]: Register request has failed with Error=PHONE_REGISTRATION_ERROR 2023-04-24 05:53:37.676 - error: host.iobrokerS2 Caught by controller[1]: Retry... 1 2023-04-24 05:53:37.676 - error: host.iobrokerS2 Caught by controller[2]: [ioredis] Unhandled error event: Error: write EPIPE 2023-04-24 05:53:37.676 - error: host.iobrokerS2 Caught by controller[2]: at afterWriteDispatched (node:internal/stream_base_commons:160:15) 2023-04-24 05:53:37.677 - error: host.iobrokerS2 Caught by controller[2]: at writeGeneric (node:internal/stream_base_commons:151:3) 2023-04-24 05:53:37.677 - error: host.iobrokerS2 Caught by controller[2]: at Socket._writeGeneric (node:net:930:11) 2023-04-24 05:53:37.677 - error: host.iobrokerS2 Caught by controller[2]: at Socket._write (node:net:942:8) 2023-04-24 05:53:37.677 - error: host.iobrokerS2 Caught by controller[2]: at writeOrBuffer (node:internal/streams/writable:392:12) 2023-04-24 05:53:37.678 - error: host.iobrokerS2 Caught by controller[2]: at _write (node:internal/streams/writable:333:10) 2023-04-24 05:53:37.678 - error: host.iobrokerS2 Caught by controller[2]: at Writable.write (node:internal/streams/writable:337:10) 2023-04-24 05:53:37.678 - error: host.iobrokerS2 Caught by controller[2]: at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:679:33) 2023-04-24 05:53:37.678 - error: host.iobrokerS2 Caught by controller[2]: at Redis.set (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25) 2023-04-24 05:53:37.678 - error: host.iobrokerS2 Caught by controller[2]: at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/build/lib/states/statesInRedisClient.js:606:35) 2023-04-24 05:53:37.679 - error: host.iobrokerS2 Caught by controller[2]: at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-04-24 05:53:37.684 - error: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION)

`

arteck commented 1 year ago

hmm.. next try look for info receiveEVInformation in LOG.. i need this string

Ilovegym66 commented 1 year ago

found 7 times of it, highlighted.. ` 2023-04-24 07:27:11.954 - info: host.iobrokerS2 stopInstance system.adapter.bluelink.0 (force=false, process=true) 2023-04-24 07:27:11.964 - info: host.iobrokerS2 stopInstance system.adapter.bluelink.0 send kill signal 2023-04-24 07:27:11.965 - info: bluelink.0 (1913) Got terminate signal TERMINATE_YOURSELF 2023-04-24 07:27:11.967 - info: bluelink.0 (1913) Adapter bluelink cleaned up everything... 2023-04-24 07:27:11.968 - info: bluelink.0 (1913) terminating 2023-04-24 07:27:11.969 - info: bluelink.0 (1913) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-04-24 07:27:12.472 - info: bluelink.0 (1913) terminating 2023-04-24 07:27:12.572 - info: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-04-24 07:27:15.007 - info: tuya.0 (1160) bfedd2eb6e3f7a5077nwea: Error on Reconnect (7): connect EHOSTUNREACH 10.1.5.152:6668 2023-04-24 07:27:15.069 - info: host.iobrokerS2 instance system.adapter.bluelink.0 started with pid 15554 2023-04-24 07:27:15.467 - info: web.0 (1705) <== Disconnect system.user.admin from ::ffff:10.1.1.60 2023-04-24 07:27:15.911 - info: admin.0 (710) ==> Connected system.user.admin from ::ffff:192.168.0.9 2023-04-24 07:27:16.056 - debug: bluelink.0 (15554) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 07:27:16.073 - info: sonoff.0 (880) Client [LichtDuscheESP] connected with secret 1682314032978_2466 2023-04-24 07:27:16.077 - debug: bluelink.0 (15554) Objects client ready ... initialize now 2023-04-24 07:27:16.079 - debug: bluelink.0 (15554) Objects create System PubSub Client 2023-04-24 07:27:16.080 - debug: bluelink.0 (15554) Objects create User PubSub Client 2023-04-24 07:27:16.765 - debug: bluelink.0 (15554) Objects client initialize lua scripts 2023-04-24 07:27:16.774 - debug: bluelink.0 (15554) Objects connected to redis: 10.1.1.1:6379 2023-04-24 07:27:16.835 - debug: bluelink.0 (15554) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 07:27:16.843 - debug: bluelink.0 (15554) States create System PubSub Client 2023-04-24 07:27:16.844 - debug: bluelink.0 (15554) States create User PubSub Client 2023-04-24 07:27:16.856 - debug: bluelink.0 (15554) States connected to redis: 10.1.1.1:6379 2023-04-24 07:27:17.424 - info: bluelink.0 (15554) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 07:27:17.473 - info: bluelink.0 (15554) Login to api 2023-04-24 07:27:17.713 - info: web.0 (1705) ==> Connected system.user.admin from ::ffff:10.1.1.60 2023-04-24 07:27:17.778 - info: tuya.0 (1160) bfedd2eb6e3f7a5077nwea: Connect locally to device 2023-04-24 07:27:17.778 - info: tuya.0 (1160) bfedd2eb6e3f7a5077nwea Init with IP=10.1.5.152, Key=0d92c4914f5a16ef, Version=3.3 2023-04-24 07:27:18.079 - info: tuya.0 (1160) bfedd2eb6e3f7a5077nwea: Error on Reconnect (1): connect EHOSTUNREACH 10.1.5.152:6668 2023-04-24 07:27:20.118 - info: host.iobrokerS2 stopInstance system.adapter.bluelink.0 (force=false, process=true) 2023-04-24 07:27:20.128 - info: host.iobrokerS2 stopInstance system.adapter.bluelink.0 send kill signal 2023-04-24 07:27:20.129 - info: bluelink.0 (15554) Got terminate signal TERMINATE_YOURSELF 2023-04-24 07:27:20.131 - info: bluelink.0 (15554) Adapter bluelink cleaned up everything... 2023-04-24 07:27:20.132 - info: bluelink.0 (15554) terminating 2023-04-24 07:27:20.134 - info: bluelink.0 (15554) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-04-24 07:27:20.636 - info: bluelink.0 (15554) terminating 2023-04-24 07:27:20.741 - info: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-04-24 07:27:21.677 - info: admin.0 (710) <== Disconnect system.user.admin from ::ffff:192.168.0.9 2023-04-24 07:27:23.223 - info: host.iobrokerS2 instance system.adapter.bluelink.0 started with pid 15621 2023-04-24 07:27:24.424 - debug: bluelink.0 (15621) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 07:27:24.444 - debug: bluelink.0 (15621) Objects client ready ... initialize now 2023-04-24 07:27:24.446 - debug: bluelink.0 (15621) Objects create System PubSub Client 2023-04-24 07:27:24.447 - debug: bluelink.0 (15621) Objects create User PubSub Client 2023-04-24 07:27:25.534 - debug: bluelink.0 (15621) Objects client initialize lua scripts 2023-04-24 07:27:25.544 - debug: bluelink.0 (15621) Objects connected to redis: 10.1.1.1:6379 2023-04-24 07:27:25.607 - debug: bluelink.0 (15621) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 07:27:25.618 - debug: bluelink.0 (15621) States create System PubSub Client 2023-04-24 07:27:25.619 - debug: bluelink.0 (15621) States create User PubSub Client 2023-04-24 07:27:25.637 - debug: bluelink.0 (15621) States connected to redis: 10.1.1.1:6379 2023-04-24 07:27:26.387 - info: bluelink.0 (15621) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 07:27:26.444 - info: bluelink.0 (15621) Login to api 2023-04-24 07:27:26.591 - info: web.0 (1705) <== Disconnect system.user.admin from ::ffff:10.1.1.31 minuvis.0 2023-04-24 07:27:30.091 - info: bluelink.0 (15621) 1 Vehicles found 2023-04-24 07:27:30.093 - debug: bluelink.0 (15621) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN-NR","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.com","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"PIN1","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODI0MDA0NDksImlhdCI6MTY4MjMxNDA0OSwiaXNzIjoiYmx1ZWxpbmsifQ.D7b3EYxSzsALKQZJL0gzbBOgLABs4ILY9LHXvBEhljxWKEy6-FRVZ0oAyPS2Tt0KYeDXcHbtVYUQXJFSwC8v0R6CqyU2EhWcZQSsgZPi2Du4u45g4gkzkk7MQC_I6GllUSVLJ3cBzGrZMwAeI-nmcy0mtXd-ZtKsPTqoa2QKXvvt861d2kM5JD8tKBDw2QWQkwrS2YbURV3jdUMZuD2V5RXkJ0QCMVSHtM3Zw4S9wGn3Dtf7BuN1SxxSlduH70RoAAIRtpq9PYWaU25vjo0IktFWrXjihW09RBi5K5MK7YCPQvhgBIcx8HXi_iS-vEFU83_Z69t4i7xrLy40UzH0JA","refreshToken":"BM5_PNYCU7IYJO75T_JCZA","deviceId":"df350a1f-9c7c-4fc7-8f42-d8b0c353a530","tokenExpiresAt":1682400449,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-24 07:27:30.300 - debug: bluelink.0 (15621) driveHistory-Data: {"cumulated":[{"period":0,"consumption":{"total":106819,"engine":82820,"climate":14939,"devices":9060,"battery":0},"regen":49916,"distance":565},{"period":1,"consumption":{"total":5622,"engine":4358,"climate":786,"devices":476,"battery":0},"regen":2627,"distance":29.736842105263158},{"period":2,"consumption":{}}],"history":[{"period":0,"rawDate":"20230422","date":"2023-04-21T22:00:00.000Z","consumption":{"total":10198,"engine":9224,"climate":334,"devices":640,"battery":0},"regen":5552,"distance":58},{"period":0,"rawDate":"20230420","date":"2023-04-19T22:00:00.000Z","consumption":{"total":612,"engine":427,"climate":75,"devices":110,"battery":0},"regen":464,"distance":3},{"period":0,"rawDate":"20230419","date":"2023-04-18T22:00:00.000Z","consumption":{"total":4125,"engine":2937,"climate":588,"devices":600,"battery":0},"regen":1928,"distance":22},{"period":0,"rawDate":"20230418","date":"2023-04-17T22:00:00.000Z","consumption":{"total":1845,"engine":1344,"climate":211,"devices":290,"battery":0},"regen":1416,"distance":11},{"period":0,"rawDate":"20230417","date":"2023-04-16T22:00:00.000Z","consumption":{"total":5240,"engine":3466,"climate":1164,"devices":610,"battery":0},"regen":2910,"distance":23},{"period":0,"rawDate":"20230415","date":"2023-04-14T22:00:00.000Z","consumption":{"total":16060,"engine":12943,"climate":2037,"devices":1080,"battery":0},"regen":7912,"distance":84},{"period":0,"rawDate":"20230414","date":"2023-04-13T22:00:00.000Z","consumption":{"total":175,"engine":8,"climate":117,"devices":50,"battery":0},"regen":0,"distance":0},{"period":0,"rawDate":"20230413","date":"2023-04-12T22:00:00.000Z","consumption":{"total":5525,"engine":3557,"climate":1378,"devices":590,"battery":0},"regen":2358,"distance":26},{"period":0,"rawDate":"20230412","date":"2023-04-11T22:00:00.000Z","consumption":{"total":18184,"engine":16090,"climate":1264,"devices":830,"battery":0},"regen":5381,"distance":104},{"period":0,"rawDate":"20230411","date":"2023-04-10T22:00:00.000Z","consumption":{"total":5952,"engine":4493,"climate":899,"devices":560,"battery":0},"regen":2824,"distance":30},{"period":0,"rawDate":"20230410","date":"2023-04-09T22:00:00.000Z","consumption":{"total":3424,"engine":3054,"climate":170,"devices":200,"battery":0},"regen":2261,"distance":23},{"period":0,"rawDate":"20230409","date":"2023-04-08T22:00:00.000Z","consumption":{"total":2906,"engine":2295,"climate":291,"devices":320,"battery":0},"regen":1731,"distance":20},{"period":0,"rawDate":"20230408","date":"2023-04-07T22:00:00.000Z","consumption":{"total":6838,"engine":5149,"climate":1109,"devices":580,"battery":0},"regen":3273,"distance":33},{"period":0,"rawDate":"20230405","date":"2023-04-04T22:00:00.000Z","consumption":{"total":4652,"engine":3118,"climate":1034,"devices":500,"battery":0},"regen":2020,"distance":25},{"period":0,"rawDate":"20230403","date":"2023-04-02T22:00:00.000Z","consumption":{"total":4235,"engine":2934,"climate":961,"devices":340,"battery":0},"regen":1875,"distance":18},{"period":0,"rawDate":"20230401","date":"2023-03-31T22:00:00.000Z","consumption":{"total":1268,"engine":597,"climate":421,"devices":250,"battery":0},"regen":607,"distance":4},{"period":0,"rawDate":"20230331","date":"2023-03-30T22:00:00.000Z","consumption":{"total":6765,"engine":5433,"climate":762,"devices":570,"battery":0},"regen":3408,"distance":36},{"period":0,"rawDate":"20230329","date":"2023-03-28T22:00:00.000Z","consumption":{"total":3282,"engine":2325,"climate":617,"devices":340,"battery":0},"regen":1744,"distance":20},{"period":0,"rawDate":"20230327","date":"2023-03-26T22:00:00.000Z","consumption":{"total":5533,"engine":3426,"climate":1507,"devices":600,"battery":0},"regen":2252,"distance":25}]} 2023-04-24 07:27:30.404 - error: bluelink.0 (15621) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 07:27:30.405 - error: bluelink.0 (15621) unhandled promise rejection: undefined is not a valid state value 2023-04-24 07:27:30.410 - error: bluelink.0 (15621) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 07:27:30.411 - error: bluelink.0 (15621) undefined is not a valid state value 2023-04-24 07:27:30.418 - info: bluelink.0 (15621) Adapter bluelink cleaned up everything... 2023-04-24 07:27:30.419 - info: bluelink.0 (15621) terminating 2023-04-24 07:27:30.420 - warn: bluelink.0 (15621) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-04-24 07:27:30.426 - error: bluelink.0 (15621) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 07:27:30.427 - error: bluelink.0 (15621) unhandled promise rejection: undefined is not a valid state value 2023-04-24 07:27:30.428 - error: bluelink.0 (15621) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 07:27:30.429 - error: bluelink.0 (15621) undefined is not a valid state value 2023-04-24 07:27:30.434 - error: bluelink.0 (15621) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 07:27:30.435 - error: bluelink.0 (15621) unhandled promise rejection: undefined is not a valid state value 2023-04-24 07:27:30.436 - error: bluelink.0 (15621) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 07:27:30.437 - error: bluelink.0 (15621) undefined is not a valid state value 2023-04-24 07:27:30.441 - error: bluelink.0 (15621) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 07:27:30.442 - error: bluelink.0 (15621) unhandled promise rejection: undefined is not a valid state value 2023-04-24 07:27:30.443 - error: bluelink.0 (15621) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 07:27:30.444 - error: bluelink.0 (15621) undefined is not a valid state value 2023-04-24 07:27:30.452 - error: bluelink.0 (15621) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 07:27:30.455 - error: bluelink.0 (15621) unhandled promise rejection: undefined is not a valid state value 2023-04-24 07:27:30.456 - error: bluelink.0 (15621) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:92:21) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 07:27:30.456 - error: bluelink.0 (15621) undefined is not a valid state value 2023-04-24 07:27:30.461 - error: bluelink.0 (15621) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 07:27:30.461 - error: bluelink.0 (15621) unhandled promise rejection: undefined is not a valid state value 2023-04-24 07:27:30.463 - error: bluelink.0 (15621) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 07:27:30.463 - error: bluelink.0 (15621) undefined is not a valid state value 2023-04-24 07:27:30.470 - error: bluelink.0 (15621) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 07:27:30.471 - error: bluelink.0 (15621) unhandled promise rejection: undefined is not a valid state value 2023-04-24 07:27:30.472 - error: bluelink.0 (15621) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at Bluelink._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5332:49) at Bluelink.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5293:21) at Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:121:34) at async Json2iob.extractArray (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:253:17) at async Json2iob.parse (/opt/iobroker/node_modules/iobroker.bluelink/lib/json2iob.js:90:21) at async Bluelink.receiveEVInformation (/opt/iobroker/node_modules/iobroker.bluelink/main.js:385:17) at async ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:25) 2023-04-24 07:27:30.473 - error: bluelink.0 (15621) undefined is not a valid state value 2023-04-24 07:27:30.922 - info: bluelink.0 (15621) terminating 2023-04-24 07:27:30.931 - error: bluelink.0 (15621) Cannot check object existence of "bluelink.0.VIN-NR.driveHistory.20230409.consumption.climate": Cannot read properties of null (reading 'exists') 2023-04-24 07:27:30.933 - warn: bluelink.0 (15621) Could not perform strict object check of state bluelink.0.VIN-NR.driveHistory.20230409.consumption.total: DB closed 2023-04-24 07:27:30.934 - error: bluelink.0 (15621) Error: Could not check object existence of bluelink.0.VIN-NR.driveHistory.20230409.consumption.climate: Cannot check object existence of "bluelink.0.VIN-NR.driveHistory.20230409.consumption.climate": Cannot read properties of null (reading 'exists') 2023-04-24 07:27:31.036 - error: host.iobrokerS2 Caught by controller[0]: Register request has failed with Error=PHONE_REGISTRATION_ERROR 2023-04-24 07:27:31.037 - error: host.iobrokerS2 Caught by controller[1]: Retry... 1 2023-04-24 07:27:31.038 - error: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-04-24 07:27:31.038 - info: host.iobrokerS2 Restart adapter system.adapter.bluelink.0 because enabled 2023-04-24 07:27:55.258 - info: host.iobrokerS2 "system.adapter.bluelink.0" disabled 2023-04-24 07:28:02.317 - debug: bluelink.0 (15894) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 07:28:02.338 - debug: bluelink.0 (15894) Objects client ready ... initialize now 2023-04-24 07:28:02.339 - debug: bluelink.0 (15894) Objects create System PubSub Client 2023-04-24 07:28:02.340 - debug: bluelink.0 (15894) Objects create User PubSub Client 2023-04-24 07:28:03.347 - debug: bluelink.0 (15894) Objects client initialize lua scripts 2023-04-24 07:28:03.356 - debug: bluelink.0 (15894) Objects connected to redis: 10.1.1.1:6379 2023-04-24 07:28:03.415 - debug: bluelink.0 (15894) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 07:28:03.431 - debug: bluelink.0 (15894) States create System PubSub Client 2023-04-24 07:28:03.432 - debug: bluelink.0 (15894) States create User PubSub Client 2023-04-24 07:28:03.469 - debug: bluelink.0 (15894) States connected to redis: 10.1.1.1:6379 2023-04-24 07:28:03.670 - error: bluelink.0 (15894) adapter disabled 2023-04-24 07:28:03.694 - warn: bluelink.0 (15894) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason

`

arteck commented 1 year ago

next try

Ilovegym66 commented 1 year ago

hmm fast... :)

` 2023-04-24 08:07:44.761 - info: host.iobrokerS2 "system.adapter.bluelink.0" enabled 2023-04-24 08:07:44.849 - info: host.iobrokerS2 instance system.adapter.bluelink.0 started with pid 23661 2023-04-24 08:07:44.761 - info: host.iobrokerS2 "system.adapter.bluelink.0" enabled 2023-04-24 08:07:44.849 - info: host.iobrokerS2 instance system.adapter.bluelink.0 started with pid 23661 2023-04-24 08:07:46.093 - debug: bluelink.0 (23661) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 08:07:46.118 - debug: bluelink.0 (23661) Objects client ready ... initialize now 2023-04-24 08:07:46.120 - debug: bluelink.0 (23661) Objects create System PubSub Client 2023-04-24 08:07:46.121 - debug: bluelink.0 (23661) Objects create User PubSub Client 2023-04-24 08:07:46.093 - debug: bluelink.0 (23661) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 08:07:46.118 - debug: bluelink.0 (23661) Objects client ready ... initialize now 2023-04-24 08:07:46.120 - debug: bluelink.0 (23661) Objects create System PubSub Client 2023-04-24 08:07:46.121 - debug: bluelink.0 (23661) Objects create User PubSub Client 2023-04-24 08:07:47.120 - debug: bluelink.0 (23661) Objects client initialize lua scripts 2023-04-24 08:07:47.130 - debug: bluelink.0 (23661) Objects connected to redis: 10.1.1.1:6379 2023-04-24 08:07:47.185 - debug: bluelink.0 (23661) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 08:07:47.195 - debug: bluelink.0 (23661) States create System PubSub Client 2023-04-24 08:07:47.196 - debug: bluelink.0 (23661) States create User PubSub Client 2023-04-24 08:07:47.210 - debug: bluelink.0 (23661) States connected to redis: 10.1.1.1:6379 2023-04-24 08:07:47.120 - debug: bluelink.0 (23661) Objects client initialize lua scripts 2023-04-24 08:07:47.130 - debug: bluelink.0 (23661) Objects connected to redis: 10.1.1.1:6379 2023-04-24 08:07:47.185 - debug: bluelink.0 (23661) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 08:07:47.195 - debug: bluelink.0 (23661) States create System PubSub Client 2023-04-24 08:07:47.196 - debug: bluelink.0 (23661) States create User PubSub Client 2023-04-24 08:07:47.210 - debug: bluelink.0 (23661) States connected to redis: 10.1.1.1:6379 2023-04-24 08:07:47.941 - info: bluelink.0 (23661) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 08:07:47.992 - info: bluelink.0 (23661) Login to api 2023-04-24 08:07:47.941 - info: bluelink.0 (23661) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 08:07:47.992 - info: bluelink.0 (23661) Login to api 2023-04-24 08:07:52.723 - info: bluelink.0 (23661) 1 Vehicles found 2023-04-24 08:07:52.725 - debug: bluelink.0 (23661) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.com","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"PIN!","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODI0MDI4NzIsImlhdCI6MTY4MjMxNjQ3MiwiaXNzIjoiYmx1ZWxpbmsifQ.Dh6yGPWbyiBrMhxonGw8OhSnQSwOz0OkfQ-xGeVJhbCtkDiJ1eofrUqwE_DdnPDnQsmSGbD7RKRVSkCYtCnMFj0g9YGEcuz4t3z_ktI2qr1soLJbd-BQsuVGShWQirQsmzDJOs8mzvIb9mT8v9ZRjnIRYhiInXDa7QblxlAkyufgM8KuKamMGv0EOSVbqWtc69-NK4y7jiKM89yIe6ArATHTpyAY4TOOOdTAOJZKOmaz_t-niBCGnq3LckHMwuaoCbm7Ve3BkQn07_zriuhoYpyI3ZmZh-LX4hzGWX_LryLQvbPC7g_mEoj78evpZMbaiJhzsHLhJqJb2VXk_l-mzA","refreshToken":"UUJWLUSOWBAAPPPL0Z0CEA","deviceId":"aaad121b-d8f6-442a-9fa9-c12c3aadbf38","tokenExpiresAt":1682402872,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-24 08:07:52.812 - error: bluelink.0 (23661) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 08:07:52.813 - error: bluelink.0 (23661) unhandled promise rejection: JSONstringify is not defined 2023-04-24 08:07:52.814 - error: bluelink.0 (23661) ReferenceError: JSONstringify is not defined at ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:34) 2023-04-24 08:07:52.815 - error: bluelink.0 (23661) JSONstringify is not defined 2023-04-24 08:07:52.822 - info: bluelink.0 (23661) Adapter bluelink cleaned up everything... 2023-04-24 08:07:52.823 - info: bluelink.0 (23661) terminating 2023-04-24 08:07:52.825 - warn: bluelink.0 (23661) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-04-24 08:07:53.326 - info: bluelink.0 (23661) terminating 2023-04-24 08:07:53.413 - error: host.iobrokerS2 Caught by controller[0]: Register request has failed with Error=PHONE_REGISTRATION_ERROR 2023-04-24 08:07:53.414 - error: host.iobrokerS2 Caught by controller[1]: Retry... 1 2023-04-24 08:07:53.414 - error: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-04-24 08:07:53.414 - info: host.iobrokerS2 Restart adapter system.adapter.bluelink.0 because enabled 2023-04-24 08:07:52.723 - info: bluelink.0 (23661) 1 Vehicles found 2023-04-24 08:07:52.725 - debug: bluelink.0 (23661) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.com","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"PIN!","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODI0MDI4NzIsImlhdCI6MTY4MjMxNjQ3MiwiaXNzIjoiYmx1ZWxpbmsifQ.Dh6yGPWbyiBrMhxonGw8OhSnQSwOz0OkfQ-xGeVJhbCtkDiJ1eofrUqwE_DdnPDnQsmSGbD7RKRVSkCYtCnMFj0g9YGEcuz4t3z_ktI2qr1soLJbd-BQsuVGShWQirQsmzDJOs8mzvIb9mT8v9ZRjnIRYhiInXDa7QblxlAkyufgM8KuKamMGv0EOSVbqWtc69-NK4y7jiKM89yIe6ArATHTpyAY4TOOOdTAOJZKOmaz_t-niBCGnq3LckHMwuaoCbm7Ve3BkQn07_zriuhoYpyI3ZmZh-LX4hzGWX_LryLQvbPC7g_mEoj78evpZMbaiJhzsHLhJqJb2VXk_l-mzA","refreshToken":"UUJWLUSOWBAAPPPL0Z0CEA","deviceId":"aaad121b-d8f6-442a-9fa9-c12c3aadbf38","tokenExpiresAt":1682402872,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-24 08:07:52.812 - error: bluelink.0 (23661) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 08:07:52.813 - error: bluelink.0 (23661) unhandled promise rejection: JSONstringify is not defined 2023-04-24 08:07:52.814 - error: bluelink.0 (23661) ReferenceError: JSONstringify is not defined at ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:34) 2023-04-24 08:07:52.815 - error: bluelink.0 (23661) JSONstringify is not defined 2023-04-24 08:07:52.822 - info: bluelink.0 (23661) Adapter bluelink cleaned up everything... 2023-04-24 08:07:52.823 - info: bluelink.0 (23661) terminating 2023-04-24 08:07:52.825 - warn: bluelink.0 (23661) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-04-24 08:07:53.326 - info: bluelink.0 (23661) terminating 2023-04-24 08:07:53.413 - error: host.iobrokerS2 Caught by controller[0]: Register request has failed with Error=PHONE_REGISTRATION_ERROR 2023-04-24 08:07:53.414 - error: host.iobrokerS2 Caught by controller[1]: Retry... 1 2023-04-24 08:07:53.414 - error: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-04-24 08:07:53.414 - info: host.iobrokerS2 Restart adapter system.adapter.bluelink.0 because enabled

`

arteck commented 1 year ago

hast den adaper auf debug stehen und neu installiert ?? ich sehe meine Tags nicht ... die müssen mit -------> anfangen

ahh mist fehler entdeckt. installier nochmal

Ilovegym66 commented 1 year ago

so jetzt kommts: ` 2023-04-24 09:23:32.140 - debug: bluelink.0 (55789) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 09:23:32.161 - debug: bluelink.0 (55789) Objects client ready ... initialize now 2023-04-24 09:23:32.163 - debug: bluelink.0 (55789) Objects create System PubSub Client 2023-04-24 09:23:32.164 - debug: bluelink.0 (55789) Objects create User PubSub Client 2023-04-24 09:23:31.797 - info: linux-control.0 (2604) getting data from grafana (10.1.1.3:22) 2023-04-24 09:23:32.140 - debug: bluelink.0 (55789) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 09:23:32.161 - debug: bluelink.0 (55789) Objects client ready ... initialize now 2023-04-24 09:23:32.163 - debug: bluelink.0 (55789) Objects create System PubSub Client 2023-04-24 09:23:32.164 - debug: bluelink.0 (55789) Objects create User PubSub Client 2023-04-24 09:23:32.828 - debug: bluelink.0 (55789) Objects client initialize lua scripts 2023-04-24 09:23:32.832 - debug: bluelink.0 (55789) Objects connected to redis: 10.1.1.1:6379 2023-04-24 09:23:32.858 - debug: bluelink.0 (55789) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 09:23:32.865 - debug: bluelink.0 (55789) States create System PubSub Client 2023-04-24 09:23:32.867 - debug: bluelink.0 (55789) States create User PubSub Client 2023-04-24 09:23:32.877 - debug: bluelink.0 (55789) States connected to redis: 10.1.1.1:6379 2023-04-24 09:23:32.828 - debug: bluelink.0 (55789) Objects client initialize lua scripts 2023-04-24 09:23:32.832 - debug: bluelink.0 (55789) Objects connected to redis: 10.1.1.1:6379 2023-04-24 09:23:32.858 - debug: bluelink.0 (55789) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 09:23:32.865 - debug: bluelink.0 (55789) States create System PubSub Client 2023-04-24 09:23:32.867 - debug: bluelink.0 (55789) States create User PubSub Client 2023-04-24 09:23:32.877 - debug: bluelink.0 (55789) States connected to redis: 10.1.1.1:6379 2023-04-24 09:23:33.550 - info: bluelink.0 (55789) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 09:23:33.574 - info: bluelink.0 (55789) Login to api 2023-04-24 09:23:33.550 - info: bluelink.0 (55789) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 09:23:33.574 - info: bluelink.0 (55789) Login to api 2023-04-24 09:23:35.091 - info: linux-control.0 (2604) successful received data from grafana (10.1.1.3:22) 2023-04-24 09:23:35.091 - info: linux-control.0 (2604) successful received data from grafana (10.1.1.3:22) 2023-04-24 09:23:35.636 - info: linux-control.0 (2604) getting data from redis (10.1.1.1:22) 2023-04-24 09:23:35.636 - info: linux-control.0 (2604) getting data from redis (10.1.1.1:22) 2023-04-24 09:23:39.225 - info: bluelink.0 (55789) 1 Vehicles found 2023-04-24 09:23:39.226 - debug: bluelink.0 (55789) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN-NR","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.com","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"PIN1","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODI0MDc0MTgsImlhdCI6MTY4MjMyMTAxOCwiaXNzIjoiYmx1ZWxpbmsifQ.kRKB_rLU-dy5fCD4zbY5fi09p_CTqOT19g1c9BkP0NfOP_0rmGPeE7yvLzmFA7gdfzwWADcBkdQLQfj7l1ztLjwhmakXiwAFo6skz_NtHHiDiYZVIMdS_YzK-DqjP_r1cUX57fEA3JzFwcyNlrWuqv_4E5dlQL02PAxZO5Kt0CbxehKTzq10gp0KAi1tTL2IP8AF3b7wJRuW4PBIPVZw3uLBXAo1im13zSWGe7kY4Q36w7eMLLP-tjtVrJ6qznoYeFZTzKnUFC217hoTEjWpMrH5eZ6Utn1D2wWns8TFL7RjIT65eiTTb1NdUHmLwov8Vm5OdZMzaOuDVr3Vz_8O6w","refreshToken":"C7EFWXVZUBOVQUP39CF3ZQ","deviceId":"dca93207-6602-4fd5-adf7-93a6edc356d8","tokenExpiresAt":1682407418,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-24 09:23:39.266 - error: bluelink.0 (55789) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 09:23:39.266 - error: bluelink.0 (55789) unhandled promise rejection: Converting circular structure to JSON --> starting at object with constructor 'G' | property 'controller' -> object with constructor 'ne' | property 'vehicles' -> object with constructor 'Array' --- index 0 closes the circle 2023-04-24 09:23:39.266 - error: bluelink.0 (55789) TypeError: Converting circular structure to JSON --> starting at object with constructor 'G' | property 'controller' -> object with constructor 'ne' | property 'vehicles' -> object with constructor 'Array' --- index 0 closes the circle at JSON.stringify () at ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:86) 2023-04-24 09:23:39.267 - error: bluelink.0 (55789) Converting circular structure to JSON --> starting at object with constructor 'G' | property 'controller' -> object with constructor 'ne' | property 'vehicles' -> object with constructor 'Array' --- index 0 closes the circle 2023-04-24 09:23:39.273 - info: bluelink.0 (55789) Adapter bluelink cleaned up everything... 2023-04-24 09:23:39.273 - info: bluelink.0 (55789) terminating 2023-04-24 09:23:39.274 - warn: bluelink.0 (55789) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-04-24 09:23:39.776 - info: bluelink.0 (55789) terminating 2023-04-24 09:23:39.819 - error: host.iobrokerS2 Caught by controller[0]: Register request has failed with Error=PHONE_REGISTRATION_ERROR 2023-04-24 09:23:39.820 - error: host.iobrokerS2 Caught by controller[1]: Retry... 1 2023-04-24 09:23:39.820 - error: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-04-24 09:23:39.820 - info: host.iobrokerS2 Restart adapter system.adapter.bluelink.0 because enabled 2023-04-24 09:23:39.955 - info: linux-control.0 (2604) successful received data from redis (10.1.1.1:22) 2023-04-24 09:23:39.225 - info: bluelink.0 (55789) 1 Vehicles found 2023-04-24 09:23:39.226 - debug: bluelink.0 (55789) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN-NR","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.com","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"PIN1","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODI0MDc0MTgsImlhdCI6MTY4MjMyMTAxOCwiaXNzIjoiYmx1ZWxpbmsifQ.kRKB_rLU-dy5fCD4zbY5fi09p_CTqOT19g1c9BkP0NfOP_0rmGPeE7yvLzmFA7gdfzwWADcBkdQLQfj7l1ztLjwhmakXiwAFo6skz_NtHHiDiYZVIMdS_YzK-DqjP_r1cUX57fEA3JzFwcyNlrWuqv_4E5dlQL02PAxZO5Kt0CbxehKTzq10gp0KAi1tTL2IP8AF3b7wJRuW4PBIPVZw3uLBXAo1im13zSWGe7kY4Q36w7eMLLP-tjtVrJ6qznoYeFZTzKnUFC217hoTEjWpMrH5eZ6Utn1D2wWns8TFL7RjIT65eiTTb1NdUHmLwov8Vm5OdZMzaOuDVr3Vz_8O6w","refreshToken":"C7EFWXVZUBOVQUP39CF3ZQ","deviceId":"dca93207-6602-4fd5-adf7-93a6edc356d8","tokenExpiresAt":1682407418,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-24 09:23:39.266 - error: bluelink.0 (55789) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-04-24 09:23:39.266 - error: bluelink.0 (55789) unhandled promise rejection: Converting circular structure to JSON --> starting at object with constructor 'G' | property 'controller' -> object with constructor 'ne' | property 'vehicles' -> object with constructor 'Array' --- index 0 closes the circle 2023-04-24 09:23:39.266 - error: bluelink.0 (55789) TypeError: Converting circular structure to JSON --> starting at object with constructor 'G' | property 'controller' -> object with constructor 'ne' | property 'vehicles' -> object with constructor 'Array' --- index 0 closes the circle at JSON.stringify () at ae. (/opt/iobroker/node_modules/iobroker.bluelink/main.js:224:86) 2023-04-24 09:23:39.267 - error: bluelink.0 (55789) Converting circular structure to JSON --> starting at object with constructor 'G' | property 'controller' -> object with constructor 'ne' | property 'vehicles' -> object with constructor 'Array' --- index 0 closes the circle 2023-04-24 09:23:39.273 - info: bluelink.0 (55789) Adapter bluelink cleaned up everything... 2023-04-24 09:23:39.273 - info: bluelink.0 (55789) terminating 2023-04-24 09:23:39.274 - warn: bluelink.0 (55789) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-04-24 09:23:39.776 - info: bluelink.0 (55789) terminating 2023-04-24 09:23:39.819 - error: host.iobrokerS2 Caught by controller[0]: Register request has failed with Error=PHONE_REGISTRATION_ERROR 2023-04-24 09:23:39.820 - error: host.iobrokerS2 Caught by controller[1]: Retry... 1 2023-04-24 09:23:39.820 - error: host.iobrokerS2 instance system.adapter.bluelink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-04-24 09:23:39.820 - info: host.iobrokerS2 Restart adapter system.adapter.bluelink.0 because enabled

`

arteck commented 1 year ago

ne find ich nicht

-------------> receiveEVInformation

Ilovegym66 commented 1 year ago

hab ihn jetzt laufen lassen, laeuft so in ner Endlosschleife, bis das hier kommt: image

arteck commented 1 year ago

ja der bricht dann immer weider ab.. und der controller blockt es dann.. damit der iobroker nicht lahmgelegt wird.. installier nochmal von GIT.. wenns immer noch. dann muss ich mal schauen .. vielleicht krieg ich es mit meinem PHEV nachgestellt

Ilovegym66 commented 1 year ago

So, jetzt kommt was:

` 2023-04-24 10:02:22.561 - info: host.iobrokerS2 instance system.adapter.bluelink.0 started with pid 72794 2023-04-24 10:02:23.875 - debug: bluelink.0 (72794) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 10:02:23.896 - debug: bluelink.0 (72794) Objects client ready ... initialize now 2023-04-24 10:02:23.897 - debug: bluelink.0 (72794) Objects create System PubSub Client 2023-04-24 10:02:23.898 - debug: bluelink.0 (72794) Objects create User PubSub Client 2023-04-24 10:02:23.875 - debug: bluelink.0 (72794) Redis Objects: Use Redis connection: 10.1.1.1:6379 2023-04-24 10:02:23.896 - debug: bluelink.0 (72794) Objects client ready ... initialize now 2023-04-24 10:02:23.897 - debug: bluelink.0 (72794) Objects create System PubSub Client 2023-04-24 10:02:23.898 - debug: bluelink.0 (72794) Objects create User PubSub Client 2023-04-24 10:02:25.110 - debug: bluelink.0 (72794) Objects client initialize lua scripts 2023-04-24 10:02:25.120 - debug: bluelink.0 (72794) Objects connected to redis: 10.1.1.1:6379 2023-04-24 10:02:25.190 - debug: bluelink.0 (72794) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 10:02:25.200 - debug: bluelink.0 (72794) States create System PubSub Client 2023-04-24 10:02:25.201 - debug: bluelink.0 (72794) States create User PubSub Client 2023-04-24 10:02:25.213 - debug: bluelink.0 (72794) States connected to redis: 10.1.1.1:6379 2023-04-24 10:02:25.110 - debug: bluelink.0 (72794) Objects client initialize lua scripts 2023-04-24 10:02:25.120 - debug: bluelink.0 (72794) Objects connected to redis: 10.1.1.1:6379 2023-04-24 10:02:25.190 - debug: bluelink.0 (72794) Redis States: Use Redis connection: 10.1.1.1:6379 2023-04-24 10:02:25.200 - debug: bluelink.0 (72794) States create System PubSub Client 2023-04-24 10:02:25.201 - debug: bluelink.0 (72794) States create User PubSub Client 2023-04-24 10:02:25.213 - debug: bluelink.0 (72794) States connected to redis: 10.1.1.1:6379 2023-04-24 10:02:25.980 - info: bluelink.0 (72794) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 10:02:26.036 - info: bluelink.0 (72794) Login to api 2023-04-24 10:02:25.980 - info: bluelink.0 (72794) starting. Version 2.3.2 (non-npm: Newan/ioBroker.bluelink) in /opt/iobroker/node_modules/iobroker.bluelink, node: v18.16.0, js-controller: 5.0.1-alpha.0-20230418-efa3e809 2023-04-24 10:02:26.036 - info: bluelink.0 (72794) Login to api 2023-04-24 10:02:29.649 - info: bluelink.0 (72794) 1 Vehicles found 2023-04-24 10:02:29.651 - debug: bluelink.0 (72794) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN-NR","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.com","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"PIN1","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODI0MDk3NDksImlhdCI6MTY4MjMyMzM0OSwiaXNzIjoiYmx1ZWxpbmsifQ.O7FQ4ZcNto8W-gU4db1K-YqZVz_Yfp8xurODiN-CY6MXR_mnmyEBQfWj6dosX1KqJgokQz4qwKWPCXGvDU2tus1txfWVmA-oi9Xp9gtaNppr8OgTLmFwkVGLt-77XHHnGr1z26K8y4M8kqSkTefqrhKN6l0_Lk1tnING9IpGxpcSbgGIt04rh4ASSDRHNXmocBqdabsICjN8l_Qbn26YRKQSNXGoz7TbCiK9fNwvzX_xtT5XsAXSGfuV9DOEVfFmVxysI98kDEVpWlvr93zQut_IVmsmNSsvgciEKG6LX44oS36k_B9XTEqTyCQSezCT2qiZ43rUq1TkyzusBClCsQ","refreshToken":"-O9C26VQWTSMGCUVAS2RNG","deviceId":"6f653d3a-aa3c-4001-a388-f497aefd2694","tokenExpiresAt":1682409749,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-24 10:02:29.772 - error: bluelink.0 (72794) Error in receiveEVInformation 2023-04-24 10:02:29.787 - debug: bluelink.0 (72794) Read new status from api for VIN-NR 2023-04-24 10:02:29.794 - info: bluelink.0 (72794) Read new update for VIN-NR directly from the car 2023-04-24 10:02:29.649 - info: bluelink.0 (72794) 1 Vehicles found 2023-04-24 10:02:29.651 - debug: bluelink.0 (72794) [{"vehicleConfig":{"nickname":"IONIQ 5","name":"IONIQ 5","regDate":"2021-09-13 13:47:52.635","brandIndicator":"H","id":"00f88c28-97d2-479d-bb06-4f2800241850","vin":"VIN-NR","generation":"2022"},"controller":{"userConfig":{"username":"mail@mail.com","password":"TopSecret","region":"EU","brand":"hyundai","autoLogin":true,"pin":"PIN1","vin":"","language":"de"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI3OGRkMDg4OC1mYmM1LTQ0NjAtOTU4ZC03YTcwNzM3ZTcxNTQiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2ODI0MDk3NDksImlhdCI6MTY4MjMyMzM0OSwiaXNzIjoiYmx1ZWxpbmsifQ.O7FQ4ZcNto8W-gU4db1K-YqZVz_Yfp8xurODiN-CY6MXR_mnmyEBQfWj6dosX1KqJgokQz4qwKWPCXGvDU2tus1txfWVmA-oi9Xp9gtaNppr8OgTLmFwkVGLt-77XHHnGr1z26K8y4M8kqSkTefqrhKN6l0_Lk1tnING9IpGxpcSbgGIt04rh4ASSDRHNXmocBqdabsICjN8l_Qbn26YRKQSNXGoz7TbCiK9fNwvzX_xtT5XsAXSGfuV9DOEVfFmVxysI98kDEVpWlvr93zQut_IVmsmNSsvgciEKG6LX44oS36k_B9XTEqTyCQSezCT2qiZ43rUq1TkyzusBClCsQ","refreshToken":"-O9C26VQWTSMGCUVAS2RNG","deviceId":"6f653d3a-aa3c-4001-a388-f497aefd2694","tokenExpiresAt":1682409749,"controlTokenExpiresAt":0},"_environment":{"brand":"hyundai","host":"prd.eu-ccapi.hyundai.com:8080","baseUrl":"https://prd.eu-ccapi.hyundai.com:8080","clientId":"6d477c38-3ca4-4cf3-9557-2a1929a94654","appId":"014d2225-8495-4735-812d-2616334fd15d","endpoints":{"session":"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","login":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin","language":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/language","redirectUri":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect","token":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token","integration":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/integrationinfo","silentSignIn":"https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/silentsignin"},"basicToken":"Basic NmQ0NzdjMzgtM2NhNC00Y2YzLTk1NTctMmExOTI5YTk0NjU0OktVeTQ5WHhQekxwTHVvSzB4aEJDNzdXNlZYaG10UVI5aVFobUlGampvWTRJcHhzVg==","GCMSenderID":"414998006775"},"authStrategies":{"main":{"language":"de"},"fallback":{"language":"de"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}] 2023-04-24 10:02:29.772 - error: bluelink.0 (72794) Error in receiveEVInformation 2023-04-24 10:02:29.787 - debug: bluelink.0 (72794) Read new status from api for VIN-NR 2023-04-24 10:02:29.794 - info: bluelink.0 (72794) Read new update for VIN-NR directly from the car 2023-04-24 10:02:40.619 - debug: bluelink.0 (72794) Set new full status for VIN-NR 2023-04-24 10:02:40.620 - debug: bluelink.0 (72794) RAW {"vehicleLocation":{"coord":{"lat":49.794736,"lon":8.608686,"alt":0,"type":0},"head":150,"speed":{"value":0,"unit":0},"accuracy":{"hdop":0,"pdop":0},"time":"20230424080240"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":97,"batteryPlugin":0,"remainTime2":{"etc1":{"value":7,"unit":1},"etc2":{"value":45,"unit":1},"etc3":{"value":15,"unit":1},"atc":{"value":15,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":376,"unit":1},"totalAvailableRange":{"value":376,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":385,"unit":1},"totalAvailableRange":{"value":385,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":385,"unit":1},"totalAvailableRange":{"value":385,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2,"batteryPreconditioning":false,"batterySoh":0},"ign3":true,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0,"tirePressureLampFL":0,"tirePressureLampFR":0,"tirePressureLampRL":0,"tirePressureLampRR":0},"battery":{"batSoc":87,"batState":0,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false,"leftBifuncLamp":false,"rightBifuncLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230424060237","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"03:12:43"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":23029.7,"unit":1}} 2023-04-24 10:02:40.914 - debug: bluelink.0 (72794) Folgende Ladezeiten Moeglichkeiten wurden gefunden: 2023-04-24 10:02:40.914 - debug: bluelink.0 (72794) {"etc1":{"value":7,"unit":1},"etc2":{"value":45,"unit":1},"etc3":{"value":15,"unit":1},"atc":{"value":15,"unit":1}} 2023-04-24 10:02:40.978 - debug: bluelink.0 (72794) Set 87 battery state for VIN-NR 2023-04-24 10:02:40.991 - info: bluelink.0 (72794) Update for VIN-NR successfull 2023-04-24 10:02:40.619 - debug: bluelink.0 (72794) Set new full status for VIN-NR 2023-04-24 10:02:40.620 - debug: bluelink.0 (72794) RAW {"vehicleLocation":{"coord":{"lat":49.794736,"lon":8.608686,"alt":0,"type":0},"head":150,"speed":{"value":0,"unit":0},"accuracy":{"hdop":0,"pdop":0},"time":"20230424080240"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":97,"batteryPlugin":0,"remainTime2":{"etc1":{"value":7,"unit":1},"etc2":{"value":45,"unit":1},"etc3":{"value":15,"unit":1},"atc":{"value":15,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":376,"unit":1},"totalAvailableRange":{"value":376,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":385,"unit":1},"totalAvailableRange":{"value":385,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":385,"unit":1},"totalAvailableRange":{"value":385,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2,"batteryPreconditioning":false,"batterySoh":0},"ign3":true,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0,"tirePressureLampFL":0,"tirePressureLampFR":0,"tirePressureLampRL":0,"tirePressureLampRR":0},"battery":{"batSoc":87,"batState":0,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false,"leftBifuncLamp":false,"rightBifuncLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230424060237","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"03:12:43"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":23029.7,"unit":1}} 2023-04-24 10:02:40.914 - debug: bluelink.0 (72794) Folgende Ladezeiten Moeglichkeiten wurden gefunden: 2023-04-24 10:02:40.914 - debug: bluelink.0 (72794) {"etc1":{"value":7,"unit":1},"etc2":{"value":45,"unit":1},"etc3":{"value":15,"unit":1},"atc":{"value":15,"unit":1}} 2023-04-24 10:02:40.978 - debug: bluelink.0 (72794) Set 87 battery state for VIN-NR 2023-04-24 10:02:40.991 - info: bluelink.0 (72794) Update for VIN-NR successfull

`

arteck commented 1 year ago

ah ok dann warte..

Error in receiveEVInformation

kommt... jetzt noch wissen warum.. installier nochmal von GIT

Ilovegym66 commented 1 year ago

So, jetzt kommt kein Error mehr und diese Ausgabe:

`

bluelink.0 2023-04-24 14:34:23.858 debug Folgende Ladezeiten Moeglichkeiten wurden gefunden:

bluelink.0 2023-04-24 14:34:23.377 debug RAW {"vehicleLocation":{"coord":{"lat":49.794775,"lon":8.608536,"alt":0,"type":0},"head":247,"speed":{"value":0,"unit":0},"accuracy":{"hdop":0,"pdop":0},"time":"20230424123421"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":92,"batteryPlugin":0,"remainTime2":{"etc1":{"value":25,"unit":1},"etc2":{"value":140,"unit":1},"etc3":{"value":40,"unit":1},"atc":{"value":40,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":353,"unit":1},"totalAvailableRange":{"value":353,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":385,"unit":1},"totalAvailableRange":{"value":385,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":385,"unit":1},"totalAvailableRange":{"value":385,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2,"batteryPreconditioning":false,"batterySoh":0},"ign3":true,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0,"tirePressureLampFL":0,"tirePressureLampFR":0,"tirePressureLampRL":0,"tirePressureLampRR":0},"battery":{"batSoc":83,"batState":0,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false,"leftBifuncLamp":false,"rightBifuncLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230424103420","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"01:43:17"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":23049.3,"unit":1}}

`

Ilovegym66 commented 1 year ago

`

bluelink.0 2023-04-24 14:34:23.975 info Update for KMHKR81AFNU011963 successfull

bluelink.0 2023-04-24 14:34:23.969 debug Set 83 battery state for KMHKR81AFNU011963

bluelink.0 2023-04-24 14:34:23.859 debug {"etc1":{"value":25,"unit":1},"etc2":{"value":140,"unit":1},"etc3":{"value":40,"unit":1},"atc":{"value":40,"unit":1}}

bluelink.0 2023-04-24 14:34:23.858 debug Folgende Ladezeiten Moeglichkeiten wurden gefunden:

bluelink.0 2023-04-24 14:34:23.377 debug RAW {"vehicleLocation":{"coord":{"lat":49.794775,"lon":8.608536,"alt":0,"type":0},"head":247,"speed":{"value":0,"unit":0},"accuracy":{"hdop":0,"pdop":0},"time":"20230424123421"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":92,"batteryPlugin":0,"remainTime2":{"etc1":{"value":25,"unit":1},"etc2":{"value":140,"unit":1},"etc3":{"value":40,"unit":1},"atc":{"value":40,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":353,"unit":1},"totalAvailableRange":{"value":353,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":385,"unit":1},"totalAvailableRange":{"value":385,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":385,"unit":1},"totalAvailableRange":{"value":385,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2,"batteryPreconditioning":false,"batterySoh":0},"ign3":true,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0,"tirePressureLampFL":0,"tirePressureLampFR":0,"tirePressureLampRL":0,"tirePressureLampRR":0},"battery":{"batSoc":83,"batState":0,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false,"leftBifuncLamp":false,"rightBifuncLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230424103420","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"01:43:17"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":23049.3,"unit":1}}

bluelink.0 2023-04-24 14:34:23.376 debug Set new full status for KMHKR81AFNU011963

bluelink.0 2023-04-24 14:34:12.383 info Read new update for KMHKR81AFNU011963 directly from the car

bluelink.0 2023-04-24 14:34:12.377 debug Read new status from api for KMHKR81AFNU011963

bluelink.0 2023-04-24 14:34:09.582 info State value to set for "bluelink.0.KMHKR81AFNU011963.driveHistory.cumulated03.distance" has to be type "undefined" but received type "number"

bluelink.0 2023-04-24 14:34:09.572 info State value to set for "bluelink.0.KMHKR81AFNU011963.driveHistory.cumulated03.regen" has to be type "undefined" but received type "number"

bluelink.0 2023-04-24 14:34:09.567 info State value to set for "bluelink.0.KMHKR81AFNU011963.driveHistory.cumulated03.consumption.battery" has to be type "undefined" but received type "number"

bluelink.0 2023-04-24 14:34:09.558 info State value to set for "bluelink.0.KMHKR81AFNU011963.driveHistory.cumulated03.consumption.devices" has to be type "undefined" but received type "number"

bluelink.0 2023-04-24 14:34:09.555 info State value to set for "bluelink.0.KMHKR81AFNU011963.driveHistory.cumulated03.consumption.climate" has to be type "undefined" but received type "number"

bluelink.0 2023-04-24 14:34:09.551 info State value to set for "bluelink.0.KMHKR81AFNU011963.driveHistory.cumulated03.consumption.engine" has to be type "undefined" but received type "number"

bluelink.0 2023-04-24 14:34:09.546 info State value to set for "bluelink.0.KMHKR81AFNU011963.driveHistory.cumulated03.consumption.total" has to be type "undefined" but received type "number"

bluelink.0 2023-04-24 14:34:09.472 debug driveHistory-Data: {"cumulated":[{"period":0,"consumption":{"total":108823,"engine":84279,"climate":15224,"devices":9320,"battery":0},"regen":50718,"distance":574},{"period":1,"consumption":{"total":5441,"engine":4213,"climate":761,"devices":466,"battery":0},"regen":2535,"distance":28.7},{"period":2,"consumption":{"total":2004,"engine":1459,"climate":285,"devices":260,"battery":0},"regen":802,"distance":9}],"history":[{"period":0,"rawDate":"20230424","date":"2023-04-23T22:00:00.000Z","consumption":{"total":2004,"engine":1459,"climate":285,"devices":260,"battery":0},"regen":802,"distance":9},{"period":0,"rawDate":"20230422","date":"2023-04-21T22:00:00.000Z","consumption":{"total":10198,"engine":9224,"climate":334,"devices":640,"battery":0},"regen":5552,"distance":58},{"period":0,"rawDate":"20230420","date":"2023-04-19T22:00:00.000Z","consumption":{"total":612,"engine":427,"climate":75,"devices":110,"battery":0},"regen":464,"distance":3},{"period":0,"rawDate":"20230419","date":"2023-04-18T22:00:00.000Z","consumption":{"total":4125,"engine":2937,"climate":588,"devices":600,"battery":0},"regen":1928,"distance":22},{"period":0,"rawDate":"20230418","date":"2023-04-17T22:00:00.000Z","consumption":{"total":1845,"engine":1344,"climate":211,"devices":290,"battery":0},"regen":1416,"distance":11},{"period":0,"rawDate":"20230417","date":"2023-04-16T22:00:00.000Z","consumption":{"total":5240,"engine":3466,"climate":1164,"devices":610,"battery":0},"regen":2910,"distance":23},{"period":0,"rawDate":"20230415","date":"2023-04-14T22:00:00.000Z","consumption":{"total":16060,"engine":12943,"climate":2037,"devices":1080,"battery":0},"regen":7912,"distance":84},{"period":0,"rawDate":"20230414","date":"2023-04-13T22:00:00.000Z","consumption":{"total":175,"engine":8,"climate":117,"devices":50,"battery":0},"regen":0,"distance":0},{"period":0,"rawDate":"20230413","date":"2023-04-12T22:00:00.000Z","consumption":{"total":5525,"engine":3557,"climate":1378,"devices":590,"battery":0},"regen":2358,"distance":26},{"period":0,"rawDate":"20230412","date":"2023-04-11T22:00:00.000Z","consumption":{"total":18184,"engine":16090,"climate":1264,"devices":830,"battery":0},"regen":5381,"distance":104},{"period":0,"rawDate":"20230411","date":"2023-04-10T22:00:00.000Z","consumption":{"total":5952,"engine":4493,"climate":899,"devices":560,"battery":0},"regen":2824,"distance":30},{"period":0,"rawDate":"20230410","date":"2023-04-09T22:00:00.000Z","consumption":{"total":3424,"engine":3054,"climate":170,"devices":200,"battery":0},"regen":2261,"distance":23},{"period":0,"rawDate":"20230409","date":"2023-04-08T22:00:00.000Z","consumption":{"total":2906,"engine":2295,"climate":291,"devices":320,"battery":0},"regen":1731,"distance":20},{"period":0,"rawDate":"20230408","date":"2023-04-07T22:00:00.000Z","consumption":{"total":6838,"engine":5149,"climate":1109,"devices":580,"battery":0},"regen":3273,"distance":33},{"period":0,"rawDate":"20230405","date":"2023-04-04T22:00:00.000Z","consumption":{"total":4652,"engine":3118,"climate":1034,"devices":500,"battery":0},"regen":2020,"distance":25},{"period":0,"rawDate":"20230403","date":"2023-04-02T22:00:00.000Z","consumption":{"total":4235,"engine":2934,"climate":961,"devices":340,"battery":0},"regen":1875,"distance":18},{"period":0,"rawDate":"20230401","date":"2023-03-31T22:00:00.000Z","consumption":{"total":1268,"engine":597,"climate":421,"devices":250,"battery":0},"regen":607,"distance":4},{"period":0,"rawDate":"20230331","date":"2023-03-30T22:00:00.000Z","consumption":{"total":6765,"engine":5433,"climate":762,"devices":570,"battery":0},"regen":3408,"distance":36},{"period":0,"rawDate":"20230329","date":"2023-03-28T22:00:00.000Z","consumption":{"total":3282,"engine":2325,"climate":617,"devices":340,"battery":0},"regen":1744,"distance":20},{"period":0,"rawDate":"20230327","date":"2023-03-26T22:00:00.000Z","consumption":{"total":5533,"engine":3426,"climate":1507,"devices":600,"battery":0},"regen":2252,"distance":25}]}

bluelink.0

arteck commented 1 year ago

na dann geht ja alles

Ilovegym66 commented 1 year ago

ja, laeuft seitdem ohne Errors mit js-controller 5.x - ich mach hier zu, fuer mich gefixt. DANKE!