question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Skoda Enyaq: not showing entities

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Comments:42

github_iconTop GitHub Comments

4reactions
Farfarcommented, May 24, 2021

2021-05-24 10:41:16 DEBUG (MainThread) [skodaconnect.connection] Got vehicle data {‘plug’: {‘connectionState’: ‘Connected’, ‘lockState’: ‘Locked’}, ‘charging’: {‘state’: ‘Charging’, ‘remainingToCompleteInSeconds’: 2400, ‘chargingPowerInWatts’: 10500.0, ‘chargingRateInKilometersPerHour’: 53.0, ‘chargingType’: ‘Ac’, ‘chargeMode’: ‘MANUAL’}, ‘battery’: {‘cruisingRangeElectricInMeters’: 319000, ‘stateOfChargeInPercent’: 81}}`

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!

2reactions
Farfarcommented, May 10, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The 295bhp Skoda Enyaq iV vRS not-the-Coupe is here
We've already seen the 295bhp vRS version of the Skoda Enyaq iV Coupe, ... 13 inches while the driver display is a more...
Read more >
Skoda Connect - #343 by daranto - Third party integrations
But it does not work. Is this service already working with the Enyaq? If I use the skoda app I can start that...
Read more >
Volkswagen Subsidiary Skoda's Electric Enyaq Might Be Too ...
Volkswagen subsidiary Skoda is moving upmarket but with the all-electric Enyaq maybe be getting little too close to VW's own brand.
Read more >
Skoda Enyaq First Drive: Is it an estate car or is it another SUV?
SUBSCRIBE, LIKE & SHARE if you want Clean Energy & Electric Vehicles to be the norm. We're back on by a lake, back...
Read more >
ŠKODA ENYAQ iV vRS — SUV Version Of ... - CleanTechnica
Aside from specs on charging, acceleration, battery size, and range, we also now have UK pricing for the ENYAQ iV vRS. The short...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found