Hi! I’m trying to use the component but I’m getting login struggles, I’ve tried the latest stable and this is the logging from 1.0.40-rc2
Apr 29 12:37:45 raspberrypi hass[27647]: 2021-04-29 12:37:45 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de
Apr 29 12:37:45 raspberrypi hass[27647]: 2021-04-29 12:37:45 DEBUG (MainThread) [skodaconnect.connection] Initiating new login
Apr 29 12:37:48 raspberrypi hass[27647]: 2021-04-29 12:37:48 DEBUG (MainThread) [skodaconnect.connection] Got authorization endpoint
Apr 29 12:37:50 raspberrypi hass[27647]: 2021-04-29 12:37:50 DEBUG (MainThread) [skodaconnect.connection] Authenticating with email and password.
Apr 29 12:37:50 raspberrypi hass[27647]: 2021-04-29 12:37:50 DEBUG (MainThread) [skodaconnect.connection] Parsing login response.
Apr 29 12:37:51 raspberrypi hass[27647]: 2021-04-29 12:37:51 DEBUG (MainThread) [skodaconnect.connection] Login successful, received authorization code.
Apr 29 12:37:51 raspberrypi hass[27647]: 2021-04-29 12:37:51 DEBUG (MainThread) [skodaconnect.connection] Trying to fetch user identity tokens.
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 DEBUG (MainThread) [skodaconnect.connection] User identity token verified OK.
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 INFO (MainThread) [skodaconnect.connection] Successfully logged in
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 DEBUG (MainThread) [skodaconnect.connection] Trying to fetch api tokens.
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 DEBUG (MainThread) [skodaconnect.connection] VW-Group API token verified OK.
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 DEBUG (MainThread) [skodaconnect.connection] Fetching vehicles associated with account
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/usermanagement/users/v1/skoda/CZ/vehicles"
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/usermanagement/users/v1/skoda/CZ/vehicles" returned with status code [200]
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 DEBUG (MainThread) [skodaconnect.connection] Failed to retrieve list of cars, trying new API
Apr 29 12:37:53 raspberrypi hass[27647]: 2021-04-29 12:37:53 DEBUG (MainThread) [skodaconnect.connection] Got authorization endpoint
Apr 29 12:37:54 raspberrypi hass[27647]: 2021-04-29 12:37:54 DEBUG (MainThread) [skodaconnect.connection] Authenticating with email and password.
Apr 29 12:37:54 raspberrypi hass[27647]: 2021-04-29 12:37:54 DEBUG (MainThread) [skodaconnect.connection] Parsing login response.
Apr 29 12:37:54 raspberrypi hass[27647]: 2021-04-29 12:37:54 DEBUG (MainThread) [skodaconnect.connection] Login successful, received authorization code.
Apr 29 12:37:54 raspberrypi hass[27647]: 2021-04-29 12:37:54 DEBUG (MainThread) [skodaconnect.connection] Trying to fetch user identity tokens.
Apr 29 12:37:55 raspberrypi hass[27647]: 2021-04-29 12:37:55 DEBUG (MainThread) [skodaconnect.connection] User identity token verified OK.
Apr 29 12:37:55 raspberrypi hass[27647]: 2021-04-29 12:37:55 INFO (MainThread) [skodaconnect.connection] Successfully logged in to Skoda new API
Apr 29 12:37:55 raspberrypi hass[27647]: 2021-04-29 12:37:55 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles"
Apr 29 12:37:55 raspberrypi hass[27647]: 2021-04-29 12:37:55 WARNING (MainThread) [homeassistant.setup] Setup of skodaconnect is taking over 10 seconds.
Apr 29 12:37:55 raspberrypi hass[27647]: 2021-04-29 12:37:55 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles" returned with status code [200]
Apr 29 12:37:55 raspberrypi hass[27647]: 2021-04-29 12:37:55 DEBUG (MainThread) [skodaconnect.connection] Going to call vehicle updates
Apr 29 12:37:55 raspberrypi hass[27647]: 2021-04-29 12:37:55 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/[VIN]/homeRegion"
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 ERROR (MainThread) [skodaconnect.connection] Got unhandled error from server: 404
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 DEBUG (MainThread) [skodaconnect.connection] Could not get homeregion, error 'homeRegion'
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 DEBUG (MainThread) [skodaconnect.vehicle] Get homeregion for VIN [VIN]
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/promoter/portfolio/v1/skoda/CZ/vehicle/[VIN]/carportdata"
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 DEBUG (MainThread) [skodaconnect.connection] Attempting extraction of subject from identity token.
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://customer-profile.apps.emea.vwapps.io/v1/customers/c7033925-7b01-4e61-85e9-2cb848f6e7a8/realCarData"
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 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]
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 DEBUG (MainThread) [skodaconnect.connection] Request for "https://customer-profile.apps.emea.vwapps.io/v1/customers/c7033925-7b01-4e61-85e9-2cb848f6e7a8/realCarData" returned with status code [200]
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 INFO (MainThread) [skodaconnect.vehicle] Vehicle [VIN] added. Homeregion is "https://msg.volkswagen.de"
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 DEBUG (MainThread) [skodaconnect.vehicle] Attempting discovery of supported API endpoints for vehicle.
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/api/rolesrights/operationlist/v3/vehicles/[VIN]"
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 ERROR (MainThread) [skodaconnect.connection] Got HTTP 400 "Bad Request" from server, this request might be malformed or not implemented correctly for this vehicle
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 WARNING (MainThread) [skodaconnect.connection] Could not fetch operation list, HTTP status code: 400
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 WARNING (MainThread) [skodaconnect.connection] Could not update information: 'serviceInfo'
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 WARNING (MainThread) [custom_components.skodaconnect] Could not login to Skoda Connect, please check your credentials and verify that the service is working
Apr 29 12:37:57 raspberrypi hass[27647]: 2021-04-29 12:37:57 ERROR (MainThread) [homeassistant.setup] Setup failed for skodaconnect: Integration failed to initialize.
and from the latest stable I’m getting this:
Apr 29 12:59:47 raspberrypi hass[27647]: 2021-04-29 12:59:47 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de
Apr 29 12:59:55 raspberrypi hass[27647]: 2021-04-29 12:59:55 DEBUG (MainThread) [skodaconnect.connection] Got authorization endpoint, logging on.
Apr 29 12:59:56 raspberrypi hass[27647]: 2021-04-29 12:59:56 ERROR (MainThread) [skodaconnect.connection] Login failed for skoda account, 'NoneType' object has no attribute 'find_all'
Apr 29 12:59:56 raspberrypi hass[27647]: 2021-04-29 12:59:56 WARNING (MainThread) [custom_components.skodaconnect] Could not login to Skoda Connect, please check your credentials and verify that the service is working
Apr 29 12:59:56 raspberrypi hass[27647]: 2021-04-29 12:59:56 ERROR (MainThread) [homeassistant.setup] Setup failed for skodaconnect: Integration failed to initialize.
My config looks like this (credentials are good, they work at https://www.skoda-connect.com/):
skodaconnect:
username: !secret skoda_username
password: !secret skoda_password
scan_interval:
minutes: 1
name:
# !secret skoda_vin_enyaq: 'Enyaq'
!secret skoda_vin_citigo-e: 'Citigo-e'
Can someone tell me what I’m doing wrong?