skodaconnect / homeassistant-skodaconnect

Skoda Connect - A home assistant plugin to add integration with your car
Apache License 2.0
230 stars 28 forks source link

Force Data Refresh fail with "Bad gateway" #70

Closed mcshosho closed 3 years ago

mcshosho commented 3 years ago

Describe the bug Force Data Refresh fail with "Bad gateway, this function may not be implemented for this vehicle". In skoda.dashboard log I see that this function is supported <<[skodaconnect.dashboard] TMBLJ7NSXJ..... Force data refresh is supported>>

Latest working release In 1.0.38 I remeber that it worked, after updating to 1.0.40 I think it stopped working, and now with 1.0.56 is not working.

Debug logs 2021-09-10 22:46:34 WARNING (SyncWorker_7) [homeassistant.loader] We found a custom integration skodaconnect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-09-10 22:46:43 DEBUG (MainThread) [custom_components.skodaconnect] Init async_setup_entry 2021-09-10 22:46:43 INFO (MainThread) [skodaconnect.connection] Init Skoda Connect library, version 1.1.6 2021-09-10 22:46:43 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de 2021-09-10 22:46:43 INFO (MainThread) [skodaconnect.connection] Initiating new login 2021-09-10 22:46:43 DEBUG (MainThread) [skodaconnect.connection] Starting authorization process for client skoda 2021-09-10 22:46:48 DEBUG (MainThread) [skodaconnect.connection] Got redirect to signin-service 2021-09-10 22:46:48 DEBUG (MainThread) [skodaconnect.connection] Start authorization for user 2021-09-10 22:46:48 DEBUG (MainThread) [skodaconnect.connection] Finalizing login 2021-09-10 22:46:49 DEBUG (MainThread) [skodaconnect.connection] Received authorization code, exchange for tokens. 2021-09-10 22:46:49 DEBUG (MainThread) [skodaconnect.connection] Verifying token for f9a2359a-b776-46d9-bd0c-db1904343117@apps_vw-dilab_com 2021-09-10 22:46:49 DEBUG (MainThread) [skodaconnect.connection] Token for skoda verified OK. 2021-09-10 22:46:49 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles" 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v2/garage/vehicles" returned with status code [200] 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.connection] Checking vehicle {'id': '5fb532bcb155923fa026d70c', 'vin': 'TMBLJ7NSXJ.....', 'lastUpdatedAt': datetime.datetime(2021, 6, 25, 7, 32, 59, tzinfo=datetime.timezone.utc), 'specification': {'title': 'ŠKODA Kodiaq', 'brand': 'ŠKODA', 'model': 'Kodiaq', 'body': 'SUV', 'systemCode': 'KODIAQ STY TD 110/2.0 A7A', 'systemModelId': 'NS745Z', 'engine': {'type': 'TDI', 'powerInKW': 110, 'capacityInLiters': 2.0}, 'gearbox': {'type': 'A7A'}, 'trimLevel': 'Style', 'manufacturingDate': '2017-12-10', 'devicePlatform': 'MBB'}, 'connectivities': [{'type': 'INCAR', 'detail': {'incar': {'state': 'ACTIVATED'}}}, {'type': 'ONLINE'}], 'capabilities': [{'id': 'DCS', 'statuses': []}]} 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.connection] Check if vehicle exists 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.connection] Adding vehicle TMBLJ7NSXJ....., with connectivities: ['INCAR', 'ONLINE'] 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.vehicle] Creating Vehicle class object with data {'vin': 'TMBLJ7NSXJ.....', 'connectivities': ['INCAR', 'ONLINE'], 'capabilities': ['DCS'], 'specification': {'title': 'ŠKODA Kodiaq', 'brand': 'ŠKODA', 'model': 'Kodiaq', 'body': 'SUV', 'systemCode': 'KODIAQ STY TD 110/2.0 A7A', 'systemModelId': 'NS745Z', 'engine': {'type': 'TDI', 'powerInKW': 110, 'capacityInLiters': 2.0}, 'gearbox': {'type': 'A7A'}, 'trimLevel': 'Style', 'manufacturingDate': '2017-12-10', 'devicePlatform': 'MBB'}} 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.connection] Client "vwg" token is missing, call to authorize the client. 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.connection] Client "connect" token is missing, call to authorize the client. 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.connection] Starting authorization process for client connect 2021-09-10 22:46:50 DEBUG (MainThread) [skodaconnect.connection] Received authorization code, exchange for tokens. 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] Verifying token for 7f045eee-7003-4379-9968-9355ed2adb06@apps_vw-dilab_com 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] Token for connect verified OK. 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] Trying to fetch api tokens. 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] Verifying token for mal.prd.ece.vwg-connect.com 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] VW-Group API token verified OK. 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] Adding TMBLJ7NSXJ..... for data refresh 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] Calling update function for all vehicles 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.vehicle] Starting discovery for vehicle TMBLJ7NSXJ..... 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/TMBLJ7NSXJ...../homeRegion" 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] Request for "https://mal-1a.prd.ece.vwg-connect.com/api/cs/vds/v1/vehicles/TMBLJ7NSXJ...../homeRegion" returned with status code [200] 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.vehicle] Get homeregion for VIN TMBLJ7NSXJ..... 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] Attempting extraction of jwt subject from identity token. 2021-09-10 22:46:51 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://customer-profile.apps.emea.vwapps.io/v2/customers/21f95d68-526b-4385-a3da-614b5754a24c/realCarData" 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.connection] Request for "https://customer-profile.apps.emea.vwapps.io/v2/customers/21f95d68-526b-4385-a3da-614b5754a24c/realCarData" returned with status code [200] 2021-09-10 22:46:52 INFO (MainThread) [skodaconnect.vehicle] Vehicle "Andrei's KODIAQ" - (TMBLJ7NSXJ.....) added. Homeregion is "https://mal-1a.prd.ece.vwg-connect.com/api" 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.vehicle] Attempting discovery of supported API endpoints for vehicle. 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://mal-1a.prd.ece.vwg-connect.com/api/rolesrights/operationlist/v3/vehicles/TMBLJ7NSXJ....." 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.connection] Request for "https://mal-1a.prd.ece.vwg-connect.com/api/rolesrights/operationlist/v3/vehicles/TMBLJ7NSXJ....." returned with status code [200] 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.vehicle] Discovered enabled service: statusreport_v1 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.vehicle] Discovered enabled service: rhonk_v1 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.vehicle] Discovered enabled service: carfinder_v1 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.vehicle] Discovered enabled service: trip_statistic_v1 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.vehicle] API endpoints: {'rheating_v1': {'active': False}, 'rclima_v1': {'active': False}, 'rlu_v1': {'active': False}, 'trip_statistic_v1': {'active': True, 'expiration': datetime.datetime(2022, 1, 11, 20, 12, tzinfo=datetime.timezone.utc), 'operations': ['G_TRIPDATA', 'G_AGGR_TRIPDATA', 'G_JOBSTATUS', 'D_TRIPDATA']}, 'statusreport_v1': {'active': True, 'expiration': datetime.datetime(2022, 1, 11, 20, 12, tzinfo=datetime.timezone.utc), 'operations': ['G_SVDATA', 'G_CVDATAID', 'G_CVDATA', 'G_RQSTAT']}, 'rbatterycharge_v1': {'active': False}, 'rhonk_v1': {'active': True, 'expiration': datetime.datetime(2022, 1, 11, 20, 12, tzinfo=datetime.timezone.utc), 'operations': ['G_REQSTATUS', 'G_RHIST', 'P_VREQ']}, 'carfinder_v1': {'active': True, 'expiration': datetime.datetime(2022, 1, 11, 20, 12, tzinfo=datetime.timezone.utc), 'operations': ['FIND_CAR', 'G_CPOS']}, 'timerprogramming_v1': {'active': False}} 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.connection] Attempting Model image URL generate 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/tripstatistics/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../tripdata/shortTerm?newest" 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/cf/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../position" 2021-09-10 22:46:52 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../status" 2021-09-10 22:46:53 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/cf/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../position" returned with status code [200] 2021-09-10 22:46:53 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../status" returned with status code [200] 2021-09-10 22:46:53 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/tripstatistics/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../tripdata/shortTerm?newest" returned with status code [200] 2021-09-10 22:46:53 DEBUG (MainThread) [custom_components.skodaconnect] Updating data from Skoda Connect 2021-09-10 22:46:53 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/tripstatistics/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../tripdata/shortTerm?newest" 2021-09-10 22:46:53 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/cf/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../position" 2021-09-10 22:46:53 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../status" 2021-09-10 22:46:53 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/cf/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../position" returned with status code [200] 2021-09-10 22:46:53 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../status" returned with status code [200] 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/tripstatistics/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../tripdata/shortTerm?newest" returned with status code [200] 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Position is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door locked is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Trunk locked is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Start flashing is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Start honking and flashing is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Force data refresh is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window Heater (WindowHeater:window_heater) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Seat Heating (SeatHeating:seat_heating) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Climatisation from battery (BatteryClimatisation:climatisation_without_external_power) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Electric Climatisation (ElectricClimatisation:electric_climatisation) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Auxiliary Climatisation (AuxiliaryClimatisation:auxiliary_climatisation) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking Heater Ventilation (PHeaterVentilation:pheater_ventilation) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking Heater Heating (PHeaterHeating:pheater_heating) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging (Charging:charging) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Request results is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Departure timer 1 (DepartureTimer1:departure1) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Departure timer 2 (DepartureTimer2:departure2) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Departure timer 3 (DepartureTimer3:departure3) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Odometer is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Battery level (Sensor:battery_level) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Minimum charge level (Sensor:min_charge_level) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Adblue level is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Fuel level is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Service inspection days is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Service inspection distance is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Oil inspection days is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Oil inspection distance is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last connected is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking time is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging time left (Sensor:charging_time_left) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging power (Sensor:charging_power) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging rate (Sensor:charge_rate) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Electric range (Sensor:electric_range) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Combustion range is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Combined range is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charger max ampere (Sensor:charge_max_ampere) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Climatisation target temperature (Sensor:climatisation_target_temperature) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Climatisation time left (Sensor:climatisation_time_left) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average speed is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average electric consumption (Sensor:trip_last_average_electric_consumption) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average fuel consumption is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip duration is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip length is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip recuperation (Sensor:trip_last_recuperation) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average recuperation (Sensor:trip_last_average_recuperation) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average auxillary consumption (Sensor:trip_last_average_auxillary_consumption) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average auxillary consumer consumption (Sensor:trip_last_average_aux_consumer_consumption) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip total electric consumption (Sensor:trip_last_total_electric_consumption) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking Heater heating/ventilation status (Sensor:pheater_status) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking Heater heating/ventilation duration (Sensor:pheater_duration) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Outside temperature is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Requests remaining is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... External power (BinarySensor:external_power) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Energy flow (BinarySensor:energy_flow) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking light is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Doors locked is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door closed left front is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door closed right front is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door closed left back is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door closed right back is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Trunk locked is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Trunk closed is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Hood closed is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging cable connected (BinarySensor:charging_cable_connected) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging cable locked (BinarySensor:charging_cable_locked) is not supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Sunroof closed is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Windows closed is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window closed left front is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window closed left back is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window closed right front is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window closed right back is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Vehicle Moving is supported 2021-09-10 22:46:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Request in progress is supported 2021-09-10 22:46:54 DEBUG (MainThread) [custom_components.skodaconnect] Finished fetching skodaconnect data in 0.482 seconds (success: True) 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of service_inspection_distance 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of oil_inspection 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of oil_inspection_distance 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of last_connected 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of parking_time 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of combustion_range 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of combined_range 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of trip_last_average_speed 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of trip_last_average_fuel_consumption 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of trip_last_duration 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of trip_last_length 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of outside_temperature 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of requests_remaining 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of request_results 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of distance 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of adblue_level 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of fuel_level 2021-09-10 22:47:02 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of service_inspection 2021-09-10 22:48:05 DEBUG (MainThread) [skodaconnect.connection] HTTP POST "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../requests" 2021-09-10 22:48:06 ERROR (MainThread) [skodaconnect.connection] Bad gateway, this function may not be implemented for this vehicle 2021-09-10 22:48:06 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140356027314624] Invalid or no response for endpoint fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../requests Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1492, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1527, in _execute_service await handler.job.target(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service await self.hass.helpers.service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 843, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call await result File "/config/custom_components/skodaconnect/switch.py", line 57, in async_turn_on await self.instrument.turn_on() File "/usr/local/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 454, in turn_on await self.vehicle.set_refresh() File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1054, in set_refresh response = await self._connection.setRefresh(self.vin) File "/usr/local/lib/python3.9/site-packages/skodaconnect/connection.py", line 1440, in setRefresh return await self._setVWAPI(f'fs-car/bs/vsr/v1/{BRAND}/{COUNTRY}/vehicles/{vin}/requests', data=None) File "/usr/local/lib/python3.9/site-packages/skodaconnect/connection.py", line 1224, in _setVWAPI raise SkodaException(f'Invalid or no response for endpoint {endpoint}') skodaconnect.exceptions.SkodaException: Invalid or no response for endpoint fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../requests 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect] Updating data from Skoda Connect 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/tripstatistics/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../tripdata/shortTerm?newest" 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/cf/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../position" 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.connection] HTTP GET "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../status" 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/tripstatistics/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../tripdata/shortTerm?newest" returned with status code [200] 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../status" returned with status code [200] 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.connection] Request for "https://msg.volkswagen.de/fs-car/bs/cf/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../position" returned with status code [200] 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Position is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door locked is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Trunk locked is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Start flashing is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Start honking and flashing is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Force data refresh is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window Heater (WindowHeater:window_heater) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Seat Heating (SeatHeating:seat_heating) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Climatisation from battery (BatteryClimatisation:climatisation_without_external_power) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Electric Climatisation (ElectricClimatisation:electric_climatisation) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Auxiliary Climatisation (AuxiliaryClimatisation:auxiliary_climatisation) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking Heater Ventilation (PHeaterVentilation:pheater_ventilation) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking Heater Heating (PHeaterHeating:pheater_heating) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging (Charging:charging) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Request results is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Departure timer 1 (DepartureTimer1:departure1) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Departure timer 2 (DepartureTimer2:departure2) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Departure timer 3 (DepartureTimer3:departure3) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Odometer is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Battery level (Sensor:battery_level) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Minimum charge level (Sensor:min_charge_level) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Adblue level is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Fuel level is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Service inspection days is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Service inspection distance is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Oil inspection days is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Oil inspection distance is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last connected is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking time is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging time left (Sensor:charging_time_left) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging power (Sensor:charging_power) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging rate (Sensor:charge_rate) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Electric range (Sensor:electric_range) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Combustion range is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Combined range is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charger max ampere (Sensor:charge_max_ampere) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Climatisation target temperature (Sensor:climatisation_target_temperature) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Climatisation time left (Sensor:climatisation_time_left) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average speed is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average electric consumption (Sensor:trip_last_average_electric_consumption) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average fuel consumption is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip duration is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip length is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip recuperation (Sensor:trip_last_recuperation) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average recuperation (Sensor:trip_last_average_recuperation) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average auxillary consumption (Sensor:trip_last_average_auxillary_consumption) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip average auxillary consumer consumption (Sensor:trip_last_average_aux_consumer_consumption) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Last trip total electric consumption (Sensor:trip_last_total_electric_consumption) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking Heater heating/ventilation status (Sensor:pheater_status) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking Heater heating/ventilation duration (Sensor:pheater_duration) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Outside temperature is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Requests remaining is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... External power (BinarySensor:external_power) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Energy flow (BinarySensor:energy_flow) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Parking light is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Doors locked is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door closed left front is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door closed right front is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door closed left back is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Door closed right back is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Trunk locked is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Trunk closed is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Hood closed is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging cable connected (BinarySensor:charging_cable_connected) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Charging cable locked (BinarySensor:charging_cable_locked) is not supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Sunroof closed is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Windows closed is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window closed left front is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window closed left back is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window closed right front is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Window closed right back is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Vehicle Moving is supported 2021-09-10 22:49:54 DEBUG (MainThread) [skodaconnect.dashboard] TMBLJ7NSXJ..... Request in progress is supported 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect] Finished fetching skodaconnect data in 0.600 seconds (success: True) 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of service_inspection_distance 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of oil_inspection 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of oil_inspection_distance 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of last_connected 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of parking_time 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of combustion_range 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of combined_range 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of trip_last_average_speed 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of trip_last_average_fuel_consumption 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of trip_last_duration 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of trip_last_length 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of outside_temperature 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of requests_remaining 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of request_results 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of distance 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of adblue_level 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of fuel_level 2021-09-10 22:49:54 DEBUG (MainThread) [custom_components.skodaconnect.sensor] Getting state of service_inspection 2021-09-10 22:50:58 DEBUG (MainThread) [skodaconnect.connection] HTTP POST "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../requests" 2021-09-10 22:50:59 ERROR (MainThread) [skodaconnect.connection] Bad gateway, this function may not be implemented for this vehicle 2021-09-10 22:50:59 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140355216994512] Invalid or no response for endpoint fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../requests Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1492, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1527, in _execute_service await handler.job.target(service_call) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service await self.hass.helpers.service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 843, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call await result File "/config/custom_components/skodaconnect/switch.py", line 57, in async_turn_on await self.instrument.turn_on() File "/usr/local/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 454, in turn_on await self.vehicle.set_refresh() File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 1054, in set_refresh response = await self._connection.setRefresh(self.vin) File "/usr/local/lib/python3.9/site-packages/skodaconnect/connection.py", line 1440, in setRefresh return await self._setVWAPI(f'fs-car/bs/vsr/v1/{BRAND}/{COUNTRY}/vehicles/{vin}/requests', data=None) File "/usr/local/lib/python3.9/site-packages/skodaconnect/connection.py", line 1224, in _setVWAPI raise SkodaException(f'Invalid or no response for endpoint {endpoint}') skodaconnect.exceptions.SkodaException: Invalid or no response for endpoint fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ...../requests

Installation:

Additional context Skoda Connect component installed through HACS. Data refresh is triggered with the switch.kodiaq_force_data_refresh.

Farfar commented 3 years ago

@mcshosho thanks for the complete log. Do you have the possibility to test version 1.0.38 and compare? What I suspect is that the request is being sent to the wrong host (msg.volkswagen.de) and it should be sent to mal-1a.prd.ece.vwg-connect.com. The code that determines this has changed a bit over the versions and it would be good to get it confirmed that the older version indeed use mal-1a... for the request.

mcshosho commented 3 years ago

sorry, I was wrong... In 1.0.38 it's not working either ... I tried 38,30, 30-RC2, 27 and I am having same "Bad gateway" error. But for sure, it was a version somewhere in time when it worked, don't remeber exactly what and it seems I can't find it now :)

1.0.38 2021-09-10 23:56:54 DEBUG (MainThread) [skodaconnect.connection] HTTP POST "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests" 2021-09-10 23:56:55 ERROR (MainThread) [skodaconnect.connection] Bad gateway, this function may not be implemented for this vehicle 2021-09-10 23:56:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140189605500432] Invalid or no response for endpoint fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests

1.0.30 2021-09-11 00:25:14 DEBUG (MainThread) [custom_components.skodaconnect.switch] Turning ON refresh_data. 2021-09-11 00:25:14 DEBUG (MainThread) [skodaconnect.connection] HTTP POST "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests" 2021-09-11 00:25:16 ERROR (MainThread) [skodaconnect.connection] Bad gateway, this function may not be implemented for this vehicle 2021-09-11 00:25:16 WARNING (MainThread) [skodaconnect.vehicle] Failed to execute data refresh - Invalid or no response 2021-09-11 00:25:16 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140463081031232] Data refresh failed

1.0.30RC2 2021-09-11 01:09:57 DEBUG (MainThread) [skodaconnect.connection] HTTP POST "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests" 2021-09-11 01:09:58 WARNING (MainThread) [skodaconnect.connection] Failure to execute: 502, message='Bad Gateway', url=URL('https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests') 2021-09-11 01:09:58 WARNING (MainThread) [skodaconnect.connection] Data refresh failed - Failure to execute: 502, message='Bad Gateway', url=URL('https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests') 2021-09-11 01:09:58 WARNING (MainThread) [skodaconnect.vehicle] Failed to execute data refresh - Data refresh failed - Failure to execute: 502, message='Bad Gateway', url=URL('https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests') 2021-09-11 01:09:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140265313358320] Failed to execute data refresh - Data refresh failed - Failure to execute: 502, message='Bad Gateway', url=URL('https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests')

1.0.27 2021-09-11 00:37:00 DEBUG (MainThread) [custom_components.skodaconnect.switch] Turning ON refresh_data. 2021-09-11 00:37:00 DEBUG (MainThread) [skodaconnect.connection] HTTP POST "https://msg.volkswagen.de/fs-car/bs/vsr/v1/skoda/CZ/vehicles/TMBLJ7NSXJ..../requests" 2021-09-11 00:37:01 ERROR (MainThread) [skodaconnect.connection] Bad gateway, this function may not be implemented for this vehicle 2021-09-11 00:37:01 WARNING (MainThread) [skodaconnect.vehicle] Failed to execute data refresh - Invalid or no response 2021-09-11 00:37:01 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140366706852624] Data refresh failed

mcshosho commented 3 years ago

But probably it is a problem with Skoda's API, because I just noticed that in MySkoda app the refresh it's not working either....

Screenshot_20210911-014804_MyKODA1

Farfar commented 3 years ago

But probably it is a problem with Skoda's API, because I just noticed that in MySkoda app the refresh it's not working either....

Screenshot_20210911-014804_MyKODA1

Yes looks like it! I leave issue open and once it works in the App you can verify it works in latest release?