Skoda Enyaq: not showing entities
See original GitHub issueDescribe the bug I’m not being able to login with both of our Skoda Connect accounts.
Latest working release Never used it before. Installed the latest stable and the latest beta
Debug logs
Logging from latest stable:
DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de DEBUG (MainThread) [skodaconnect.connection] Got authorization endpoint, logging on. ERROR (MainThread) [skodaconnect.connection] Login failed for skoda account, 'NoneType' object has no attribute 'find_all' WARNING (MainThread) [custom_components.skodaconnect] Could not login to Skoda Connect, please check your credentials and verify that the service is working ERROR (MainThread) [homeassistant.setup] Setup failed for skodaconnect: Integration failed to initialize.
Logging from latest beta:
DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de DEBUG (MainThread) [skodaconnect.connection] Initiating new login DEBUG (MainThread) [skodaconnect.connection] Got authorization endpoint DEBUG (MainThread) [skodaconnect.connection] Authenticating with email and password. DEBUG (MainThread) [skodaconnect.connection] Parsing login response. DEBUG (MainThread) [skodaconnect.connection] Login successful, received authorization code. DEBUG (MainThread) [skodaconnect.connection] Trying to fetch user identity tokens. DEBUG (MainThread) [skodaconnect.connection] User identity token verified OK. INFO (MainThread) [skodaconnect.connection] Successfully logged in DEBUG (MainThread) [skodaconnect.connection] Trying to fetch api tokens. DEBUG (MainThread) [skodaconnect.connection] VW-Group API token verified OK. DEBUG (MainThread) [skodaconnect.connection] Fetching vehicles associated with account DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/usermanagement/users/v1/skoda/CZ/vehicles" DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/usermanagement/users/v1/skoda/CZ/vehicles" returned with status code [200] DEBUG (MainThread) [skodaconnect.connection] Failed to retrieve list of cars, trying new API DEBUG (MainThread) [skodaconnect.connection] Got authorization endpoint DEBUG (MainThread) [skodaconnect.connection] Authenticating with email and password. DEBUG (MainThread) [skodaconnect.connection] Parsing login response. DEBUG (MainThread) [skodaconnect.connection] Login successful, received authorization code. DEBUG (MainThread) [skodaconnect.connection] Trying to fetch user identity tokens. DEBUG (MainThread) [skodaconnect.connection] User identity token verified OK. INFO (MainThread) [skodaconnect.connection] Successfully logged in to Skoda new API DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles" WARNING (MainThread) [homeassistant.setup] Setup of skodaconnect is taking over 10 seconds. DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles" returned with status code [200] DEBUG (MainThread) [skodaconnect.connection] Going to call vehicle updates DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/[VIN]/homeRegion" ERROR (MainThread) [skodaconnect.connection] Got unhandled error from server: 404 DEBUG (MainThread) [skodaconnect.connection] Could not get homeregion, error 'homeRegion' DEBUG (MainThread) [skodaconnect.vehicle] Get homeregion for VIN [VIN] DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/promoter/portfolio/v1/skoda/CZ/vehicle/[VIN]/carportdata" DEBUG (MainThread) [skodaconnect.connection] Attempting extraction of subject from identity token. DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://customer-profile.apps.emea.vwapps.io/v1/customers/[GUID]/realCarData" DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/promoter/portfolio/v1/skoda/CZ/vehicle/[VIN]/carportdata" returned with status code [200] DEBUG (MainThread) [skodaconnect.connection] Request for "https://customer-profile.apps.emea.vwapps.io/v1/customers/[GUID]/realCarData" returned with status code [200] INFO (MainThread) [skodaconnect.vehicle] Vehicle [VIN] added. Homeregion is "https://msg.volkswagen.de" DEBUG (MainThread) [skodaconnect.vehicle] Attempting discovery of supported API endpoints for vehicle. DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/api/rolesrights/operationlist/v3/vehicles/[VIN]" ERROR (MainThread) [skodaconnect.connection] Got HTTP 400 "Bad Request" from server, this request might be malformed or not implemented correctly for this vehicle WARNING (MainThread) [skodaconnect.connection] Could not fetch operation list, HTTP status code: 400 WARNING (MainThread) [skodaconnect.connection] Could not update information: 'serviceInfo' WARNING (MainThread) [custom_components.skodaconnect] Could not login to Skoda Connect, please check your credentials and verify that the service is working ERROR (MainThread) [homeassistant.setup] Setup failed for skodaconnect: Integration failed to initialize.
Installation:
- Home Assistant variant: Core
- Python version: 3.8.9
- Python library versions: pip==20.2.3, setuptools==49.2.1
Additional context Clean set-up via HACS, logged on with same credentials via https://www.skoda-connect.com/ and that works. Accepted new terms.
App screenshot
Issue Analytics
- State:
- Created 2 years ago
- Comments:42
Thanks, this is still WIP and since I don’t have a Enyaq myself I can’t test all endpoint data. With this info I’ll be able to fix theese sensors, RC6 on the way!
I have started work on this but support for Enyaq, and probably a lot of upcoming models, will require some rework of the login and vehicle discovery functions.