@incmve: Are you active using this plugin? For me it stopps working. Seems Kia changed the backend.
debug [pimatic-bluelink]: getStatus error: {
"name": "HTTPError",
"host": "prd.eu-ccapi.kia.com:8080",
"hostname": "prd.eu-ccapi.kia.com",
"method": "GET",
"path": "/api/v2/spa/vehicles/12345678-1234-1234-1234-123456789abc/status/latest",
"protocol": "https:",
"url": "https://prd.eu-ccapi.kia.com:8080/api/v2/spa/vehicles/12345678-1234-1234-1234-123456789abc/status/latest",
"gotOptions": {
"path": "/api/v2/spa/vehicles/12345678-1234-1234-1234-123456789abc/status/latest",
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "prd.eu-ccapi.kia.com:8080",
"port": "8080",
"hostname": "prd.eu-ccapi.kia.com",
"hash": null,
"search": null,
"query": null,
"pathname": "/api/v2/spa/vehicles/12345678-1234-1234-1234-123456789abc/status/latest",
"href": "https://prd.eu-ccapi.kia.com:8080/api/v2/spa/vehicles/12345678-1234-1234-1234-123456789abc/status/latest",
"retry": {
"methods": {},
"statusCodes": {},
"errorCodes": {}
},
"headers": {
"user-agent": "got/9.6.0 (https://github.com/sindresorhus/got)",
"authorization": "Bearer abcdefg12345678",
"ccsp-device-id": "abcdefgh-abcd-abcd-abcd-abcdefghijkl",
"content-type": "application/json",
"accept": "application/json",
"accept-encoding": "gzip, deflate"
},
"hooks": {
"beforeRequest": [],
"beforeRedirect": [],
"beforeRetry": [],
"afterResponse": [],
"beforeError": [],
"init": []
},
"decompress": true,
"throwHttpErrors": true,
"followRedirect": true,
"stream": false,
"form": false,
"json": true,
"cache": false,
"useElectronNet": false,
"method": "GET"
},
"statusCode": 401,
"statusMessage": "Unauthorized",
"headers": {
"content-type": "application/json; charset=utf-8",
"date": "Fri, 26 Feb 2021 09:28:06 GMT",
"etag": "W/\"1a-abcdefg/12345678\"",
"x-ratelimit-limit": "100",
"x-ratelimit-remaining": "99",
"x-ratelimit-reset": "1614331746",
"content-length": "138",
"connection": "close",
"set-cookie": [
"TS012b00dd=abcdefg12345678; Path=/; Domain=.prd.eu-ccapi.kia.com"
]
},
"body": {
"retCode": "F",
"resCode": "4017",
"resMsg": "Invalid request value - Invalid Application Id.",
"msgId": "12345678-abcd-abcd-abcd-123456789bca"
}
}