2022-09-08 11:11:40.631 - info: host.Tower instance system.adapter.bluelink.0 started with pid 23837
2022-09-08 11:11:43.000 - debug: bluelink.0 (23837) Redis Objects: Use Redis connection: 0.0.0.0:9001
2022-09-08 11:11:43.030 - debug: bluelink.0 (23837) Objects client ready ... initialize now
2022-09-08 11:11:43.031 - debug: bluelink.0 (23837) Objects create System PubSub Client
2022-09-08 11:11:43.032 - debug: bluelink.0 (23837) Objects create User PubSub Client
2022-09-08 11:11:43.089 - debug: bluelink.0 (23837) Objects client initialize lua scripts
2022-09-08 11:11:43.097 - debug: bluelink.0 (23837) Objects connected to redis: 0.0.0.0:9001
2022-09-08 11:11:43.165 - debug: bluelink.0 (23837) Redis States: Use Redis connection: 0.0.0.0:9000
2022-09-08 11:11:43.183 - debug: bluelink.0 (23837) States create System PubSub Client
2022-09-08 11:11:43.184 - debug: bluelink.0 (23837) States create User PubSub Client
2022-09-08 11:11:43.222 - debug: bluelink.0 (23837) States connected to redis: 0.0.0.0:9000
2022-09-08 11:11:43.418 - info: bluelink.0 (23837) starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.bluelink, node: v16.17.0, js-controller: 4.0.23
2022-09-08 11:11:43.434 - info: bluelink.0 (23837) Login to api
2022-09-08 11:11:47.757 - info: bluelink.0 (23837) 1 Vehicles found
2022-09-08 11:11:47.758 - debug: bluelink.0 (23837) [{"vehicleConfig":{"nickname":"KONA","name":"KONA","regDate":"2022-09-05 08:02:24.415","brandIndicator":"H","id":"0c34711c-7914-476e-b9c6-ab8f285be851","vin":"TMAK281HFNJ065529","generation":"2022"},"controller":{"userConfig":{"username":"det.erfurt@web.de","password":"jan#HY?01","region":"EU","brand":"hyundai","autoLogin":true,"pin":"2013","vin":"","language":"en"},"session":{"accessToken":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiI4NDBjOGZiNy0yNGVjLTRhZTktYWJiMi0yNmVlN2ZiZjMxMmUiLCJzaWQiOiI2ZDQ3N2MzOC0zY2E0LTRjZjMtOTU1Ny0yYTE5MjlhOTQ2NTQiLCJleHAiOjE2NjI3MTQ3MDcsImlhdCI6MTY2MjYyODMwNywiaXNzIjoiYmx1ZWxpbmsifQ.hNG82yF9WqBcF-MHOmrDM1y1FFazBZSdBL3LnmbeCQPfrJc5dtcHEpMyYJdGlW2NN1HT1EZku_PSfeCy-aGNHX-PmHnXE9Fn9fxN-3XtuN67QYPR3Aa9ju_Y6Bc7ZqVE-9Wabaxmcym1IRVdynY4SsUAbI_PBcglM9hq82NzPH4gw_EPl-LNNyrzM3Hm7CIMuMJzDfibaUm6UCWRm7G7a6Q5IdfRSSXWJOeMQ3DDI0PSvgREecdPmcGTu_c5GdeJv-EhdO5gioUk5N6Qy3eRcy-qRlQbclTByNRlI4dcwZJLwjUCIhJHiaYGsr6gjU_HWRr78jebChuWZLghjp7HSw","refreshToken":"NAPHEFKJXS2NBYVZZD1GBA","deviceId":"a1981a86-73d8-4a5d-a604-d14f576a2dde","tokenExpiresAt":1662714707,"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":"en"},"fallback":{"language":"en"}}},"_fullStatus":null,"_status":null,"_location":null,"_odometer":null,"region":"EU","serverRates":{"max":-1,"current":-1}}]
2022-09-08 11:11:47.910 - debug: bluelink.0 (23837) driveHistory-Data: {"cumulated":[{"period":0,"consumption":{"total":20620,"engine":17111,"climate":724,"devices":2380,"battery":0},"regen":7978,"distance":140},{"period":1,"consumption":{"total":10310,"engine":8555,"climate":362,"devices":1190,"battery":0},"regen":3989,"distance":70},{"period":2,"consumption":{}}],"history":[{"period":0,"rawDate":"20220906","date":"2022-09-05T22:00:00.000Z","consumption":{"total":17079,"engine":15131,"climate":395,"devices":1350,"battery":0},"regen":6072,"distance":115},{"period":0,"rawDate":"20220905","date":"2022-09-04T22:00:00.000Z","consumption":{"total":3541,"engine":1980,"climate":329,"devices":1030,"battery":0},"regen":1906,"distance":25}]}
2022-09-08 11:11:47.920 - info: bluelink.0 (23837) undefined is not a valid state value for id "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated03.regen"
2022-09-08 11:11:47.920 - info: bluelink.0 (23837) undefined is not a valid state value for id "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated03.distance"
2022-09-08 11:11:47.923 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated01.regen" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.924 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated01.distance" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.927 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated02.regen" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.968 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated02.distance" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.970 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated01.consumption.total" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.970 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated01.consumption.engine" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.971 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated01.consumption.climate" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.971 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated01.consumption.devices" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.971 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated01.consumption.battery" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.972 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated02.consumption.total" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.972 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated02.consumption.engine" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.972 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated02.consumption.climate" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.973 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated02.consumption.devices" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.973 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated02.consumption.battery" has to be type "undefined" but received type "number"
2022-09-08 11:11:47.973 - info: bluelink.0 (23837) undefined is not a valid state value for id "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated03.consumption.total"
2022-09-08 11:11:47.973 - info: bluelink.0 (23837) undefined is not a valid state value for id "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated03.consumption.engine"
2022-09-08 11:11:47.973 - info: bluelink.0 (23837) undefined is not a valid state value for id "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated03.consumption.climate"
2022-09-08 11:11:47.974 - info: bluelink.0 (23837) undefined is not a valid state value for id "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated03.consumption.devices"
2022-09-08 11:11:47.974 - info: bluelink.0 (23837) undefined is not a valid state value for id "bluelink.0.TMAK281HFNJ065529.driveHistory.cumulated03.consumption.battery"
2022-09-08 11:11:50.013 - debug: bluelink.0 (23837) Read new status from api for TMAK281HFNJ065529
2022-09-08 11:11:50.018 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.tripInfo.distance" has to be type "undefined" but received type "number"
2022-09-08 11:11:50.020 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.tripInfo.durations.drive" has to be type "undefined" but received type "number"
2022-09-08 11:11:50.020 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.tripInfo.durations.idle" has to be type "undefined" but received type "number"
2022-09-08 11:11:50.021 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.tripInfo.speed.avg" has to be type "undefined" but received type "number"
2022-09-08 11:11:50.021 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.tripInfo.speed.max" has to be type "undefined" but received type "number"
2022-09-08 11:12:20.228 - debug: bluelink.0 (23837) Set new full status for TMAK281HFNJ065529
2022-09-08 11:12:20.229 - debug: bluelink.0 (23837) {"vehicleLocation":{"coord":{"lat":49.842247,"lon":8.090264,"alt":142,"type":0},"head":230,"speed":{"value":0,"unit":0},"accuracy":{"hdop":8,"pdop":12},"time":"20220908091218"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":0},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":94,"batteryPlugin":0,"remainTime2":{"etc1":{"value":16,"unit":1},"etc2":{"value":75,"unit":1},"etc3":{"value":35,"unit":1},"atc":{"value":90,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":271,"unit":1},"totalAvailableRange":{"value":271,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[2,4],"time":{"time":"0750","timeSection":0}},"reservChargeSet":true,"reservFatcSet":{"defrost":false,"airTemp":{"value":"14H","unit":0,"hvacTempType":1},"airCtrl":1,"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":"14H","unit":0,"hvacTempType":1},"airCtrl":1,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":9,"time":{"time":"1200","timeSection":0}},"end":{"day":9,"time":{"time":"1200","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":288,"unit":1},"totalAvailableRange":{"value":288,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":288,"unit":1},"totalAvailableRange":{"value":288,"unit":1}},"type":2},"plugType":1}]}},"ign3":true,"hoodOpen":false,"transCond":true,"steerWheelHeat":2,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0,"tirePressureLampFL":0,"tirePressureLampFR":0,"tirePressureLampRL":0,"tirePressureLampRR":0},"battery":{"batSoc":90,"batState":0},"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,"breakOilStatus":false,"sleepModeCheck":false,"time":"20220908071216","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:25:09"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":606.5,"unit":1}}
2022-09-08 11:12:20.331 - debug: bluelink.0 (23837) Folgende Ladezeiten Moeglichkeiten wurden gefunden:
2022-09-08 11:12:20.331 - debug: bluelink.0 (23837) {"etc1":{"value":16,"unit":1},"etc2":{"value":75,"unit":1},"etc3":{"value":35,"unit":1},"atc":{"value":90,"unit":1}}
2022-09-08 11:12:20.397 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.vehicleStatus.doorOpen.frontLeft" has to be type "boolean" but received type "number"
2022-09-08 11:12:20.439 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.vehicleStatus.doorOpen.frontRight" has to be type "boolean" but received type "number"
2022-09-08 11:12:20.441 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.vehicleStatus.doorOpen.backLeft" has to be type "boolean" but received type "number"
2022-09-08 11:12:20.443 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.vehicleStatus.doorOpen.backRight" has to be type "boolean" but received type "number"
2022-09-08 11:12:20.492 - info: bluelink.0 (23837) State value to set for "bluelink.0.TMAK281HFNJ065529.vehicleStatus.steerWheelHeat" has to be type "boolean" but received type "number"
2022-09-08 11:12:20.539 - debug: bluelink.0 (23837) Set 90 battery state for TMAK281HFNJ065529