skodaconnect / homeassistant-skodaconnect

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

Hi, the odometerreading with HA does not reflect the milage shown on the app or in the vehicle. Also the range is incoorect with both the app and the vehicle. It has been like this for @ 10 days. Just updated integration this morning and no difference. #277

Open Duderooner opened 2 months ago

Duderooner commented 2 months ago

Please search issues in https://github.com/skodaconnect/skodaconnect and https://github.com/skodaconnect/homeassistant-skodaconnect for duplicates or fixes before reporting a new issue.

Describe the bug A clear and concise description of what the bug is.

**Is this working in MySkoda app?*** Logout and login in the MySkoda app, preferably on Android. Make sure that you have the latest app updates, sometimes there's new consent needed that will only show in latest app version.

Latest working release If the problem started after updating to a new release, please state latest working release.

Debug logs If applicable, add debug logs. See README on how to enable debug logs with response debugging.

Installation:

Additional context Add any other context about the problem here.

dvx76 commented 2 months ago

Hi, this sounds like a potential unit conversion issue (miles/km). Check your base unit setting in HA (Settings -> General).

When logging issues, please follow the issue template and provide as much of the requested information as possible (instead of dumping a brief description all in the issue title).

AMajland commented 1 month ago

My Enyaq was opdated from 3.0 to 3.7 over that last two days and does now show the current Odometer anymore. For my Kodiaq it is still there

Tronity does now show my trips anymore either. Last update trip update there was on 2024-05-29 but it shows that the car had delivered updated data on 2024-05-31 16:40 my the Odometer was not updated.

The soc and range is still valid in home assistant

strickersuk commented 1 month ago

Similar issue here, the odometer and the consumption are off. Imperial units set, looks like a conversion issue. I'll upload debug logs when I can.

Screenshot 2024-06-03 at 06 21 58 Screenshot 2024-06-03 at 06 21 42
strickersuk commented 1 month ago

2024-06-03 07:22:19.486 DEBUG (MainThread) [custom_components.skodaconnect] Updating data from Skoda Connect 2024-06-03 07:22:22.314 DEBUG (MainThread) [custom_components.skodaconnect] Finished fetching skodaconnect data in 2.828 seconds (success: True) 2024-06-03 07:22:24.184 DEBUG (MainThread) [custom_components.skodaconnect] Unloading services 2024-06-03 07:22:24.185 DEBUG (MainThread) [custom_components.skodaconnect] Unloading update listener 2024-06-03 07:22:24.185 DEBUG (MainThread) [custom_components.skodaconnect] Unloading coordinator 2024-06-03 07:22:24.185 DEBUG (MainThread) [custom_components.skodaconnect] Shutdown Skoda Connect 2024-06-03 07:22:24.186 DEBUG (MainThread) [custom_components.skodaconnect] Successfully fetched tokens to save 2024-06-03 07:22:24.186 DEBUG (MainThread) [custom_components.skodaconnect] Saving tokens to config registry 2024-06-03 07:22:24.186 DEBUG (MainThread) [custom_components.skodaconnect] Save complete. 2024-06-03 07:22:24.186 DEBUG (MainThread) [custom_components.skodaconnect] Unloading library connection 2024-06-03 07:22:24.186 DEBUG (MainThread) [custom_components.skodaconnect] Waiting for shutdown to complete 2024-06-03 07:22:24.221 DEBUG (MainThread) [custom_components.skodaconnect] Unloading entry 2024-06-03 07:22:24.221 DEBUG (MainThread) [custom_components.skodaconnect] Unloading data 2024-06-03 07:22:34.144 DEBUG (MainThread) [custom_components.skodaconnect] Updating data from Skoda Connect 2024-06-03 07:22:47.502 DEBUG (MainThread) [custom_components.skodaconnect] Finished fetching skodaconnect data in 13.358 seconds (success: True) 2024-06-03 07:22:47.502 DEBUG (MainThread) [custom_components.skodaconnect] Configured data: {'username': XXX, 'password': XXX, 'instruments': {'model': 'Car Info', 'combined_range': 'Combined range', 'combustion_range': 'Combustion range', 'door_closed_left_back': 'Door closed left back', 'door_closed_left_front': 'Door closed left front', 'door_closed_right_back': 'Door closed right back', 'door_closed_right_front': 'Door closed right front', 'door_locked': 'Doors locked', 'refresh_data': 'Force data refresh', 'fuel_level': 'Fuel level', 'hood_closed': 'Hood closed', 'last_connected': 'Last connected', 'trip_last_average_fuel_consumption': 'Last trip average fuel consumption', 'trip_last_average_speed': 'Last trip average speed', 'trip_last_duration': 'Last trip duration', 'trip_last_length': 'Last trip length', 'trip_last_start_mileage': 'Last trip start mileage', 'trip_longterm_average_fuel_consumption': 'Longterm average fuel consumption', 'trip_longterm_average_speed': 'Longterm average speed', 'trip_longterm_length': 'Longterm distance', 'trip_longterm_duration': 'Longterm duration', 'trip_longterm_start_mileage': 'Longterm start mileage', 'model_image_large': 'Model image URL (Large)', 'model_image_small': 'Model image URL (Small)', 'distance': 'Odometer', 'oil_inspection': 'Oil inspection days', 'oil_inspection_distance': 'Oil inspection distance', 'outside_temperature': 'Outside temperature', 'parking_light': 'Parking light', 'parking_time': 'Parking time', 'position': 'Position', 'trip_cyclic_average_fuel_consumption': 'Refuel average fuel consumption', 'trip_cyclic_average_speed': 'Refuel average speed', 'trip_cyclic_length': 'Refuel distance', 'trip_cyclic_duration': 'Refuel duration', 'trip_cyclic_start_mileage': 'Refuel start mileage', 'request_in_progress': 'Request in progress', 'request_results': 'Request results', 'requests_remaining': 'Requests remaining', 'service_inspection': 'Service inspection days', 'service_inspection_distance': 'Service inspection distance', 'request_flash': 'Start flashing', 'request_honkandflash': 'Start honking and flashing', 'trunk_closed': 'Trunk closed', 'trunk_locked': 'Trunk locked', 'vehicle_moving': 'Vehicle Moving', 'window_closed_left_back': 'Window closed left back', 'window_closed_left_front': 'Window closed left front', 'window_closed_right_back': 'Window closed right back', 'window_closed_right_front': 'Window closed right front', 'windows_closed': 'Windows closed'}, 'vehicle': XXX, 'tokens': {'technical': 2024-06-03 07:22:47.503 DEBUG (MainThread) [custom_components.skodaconnect] Configured options: {'convert': 'imperial_units', 'mutable': True, 'scan_interval': 300, 'debug': True, 'spin': '', 'resources': ['combined_range', 'combustion_range', 'door_closed_left_back', 'door_closed_left_front', 'door_closed_right_back', 'door_closed_right_front', 'door_locked', 'refresh_data', 'fuel_level', 'hood_closed', 'last_connected', 'trip_last_average_fuel_consumption', 'trip_last_average_speed', 'trip_last_duration', 'trip_last_length', 'model_image_large', 'model_image_small', 'distance', 'oil_inspection', 'oil_inspection_distance', 'outside_temperature', 'parking_light', 'parking_time', 'position', 'request_in_progress', 'request_results', 'requests_remaining', 'service_inspection', 'service_inspection_distance', 'request_flash', 'request_honkandflash', 'trunk_closed', 'trunk_locked', 'vehicle_moving', 'window_closed_left_back', 'window_closed_left_front', 'window_closed_right_back', 'window_closed_right_front', 'windows_closed', 'model', 'trip_last_start_mileage', 'trip_longterm_average_speed', 'trip_longterm_average_fuel_consumption', 'trip_longterm_duration', 'trip_longterm_length', 'trip_longterm_start_mileage', 'trip_cyclic_average_speed', 'trip_cyclic_average_fuel_consumption', 'trip_cyclic_duration', 'trip_cyclic_length', 'trip_cyclic_start_mileage'], 'store_tokens': True} 2024-06-03 07:22:47.503 DEBUG (MainThread) [custom_components.skodaconnect] Resources from options are: ['combined_range', 'combustion_range', 'door_closed_left_back', 'door_closed_left_front', 'door_closed_right_back', 'door_closed_right_front', 'door_locked', 'refresh_data', 'fuel_level', 'hood_closed', 'last_connected', 'trip_last_average_fuel_consumption', 'trip_last_average_speed', 'trip_last_duration', 'trip_last_length', 'model_image_large', 'model_image_small', 'distance', 'oil_inspection', 'oil_inspection_distance', 'outside_temperature', 'parking_light', 'parking_time', 'position', 'request_in_progress', 'request_results', 'requests_remaining', 'service_inspection', 'service_inspection_distance', 'request_flash', 'request_honkandflash', 'trunk_closed', 'trunk_locked', 'vehicle_moving', 'window_closed_left_back', 'window_closed_left_front', 'window_closed_right_back', 'window_closed_right_front', 'windows_closed', 'model', 'trip_last_start_mileage', 'trip_longterm_average_speed', 'trip_longterm_average_fuel_consumption', 'trip_longterm_duration', 'trip_longterm_length', 'trip_longterm_start_mileage', 'trip_cyclic_average_speed', 'trip_cyclic_average_fuel_consumption', 'trip_cyclic_duration', 'trip_cyclic_length', 'trip_cyclic_start_mileage'] 2024-06-03 07:22:47.503 DEBUG (MainThread) [custom_components.skodaconnect] All instruments (data): {'model': 'Car Info', 'combined_range': 'Combined range', 'combustion_range': 'Combustion range', 'door_closed_left_back': 'Door closed left back', 'door_closed_left_front': 'Door closed left front', 'door_closed_right_back': 'Door closed right back', 'door_closed_right_front': 'Door closed right front', 'door_locked': 'Doors locked', 'refresh_data': 'Force data refresh', 'fuel_level': 'Fuel level', 'hood_closed': 'Hood closed', 'last_connected': 'Last connected', 'trip_last_average_fuel_consumption': 'Last trip average fuel consumption', 'trip_last_average_speed': 'Last trip average speed', 'trip_last_duration': 'Last trip duration', 'trip_last_length': 'Last trip length', 'trip_last_start_mileage': 'Last trip start mileage', 'trip_longterm_average_fuel_consumption': 'Longterm average fuel consumption', 'trip_longterm_average_speed': 'Longterm average speed', 'trip_longterm_length': 'Longterm distance', 'trip_longterm_duration': 'Longterm duration', 'trip_longterm_start_mileage': 'Longterm start mileage', 'model_image_large': 'Model image URL (Large)', 'model_image_small': 'Model image URL (Small)', 'distance': 'Odometer', 'oil_inspection': 'Oil inspection days', 'oil_inspection_distance': 'Oil inspection distance', 'outside_temperature': 'Outside temperature', 'parking_light': 'Parking light', 'parking_time': 'Parking time', 'position': 'Position', 'trip_cyclic_average_fuel_consumption': 'Refuel average fuel consumption', 'trip_cyclic_average_speed': 'Refuel average speed', 'trip_cyclic_length': 'Refuel distance', 'trip_cyclic_duration': 'Refuel duration', 'trip_cyclic_start_mileage': 'Refuel start mileage', 'request_in_progress': 'Request in progress', 'request_results': 'Request results', 'requests_remaining': 'Requests remaining', 'service_inspection': 'Service inspection days', 'service_inspection_distance': 'Service inspection distance', 'request_flash': 'Start flashing', 'request_honkandflash': 'Start honking and flashing', 'trunk_closed': 'Trunk closed', 'trunk_locked': 'Trunk locked', 'vehicle_moving': 'Vehicle Moving', 'window_closed_left_back': 'Window closed left back', 'window_closed_left_front': 'Window closed left front', 'window_closed_right_back': 'Window closed right back', 'window_closed_right_front': 'Window closed right front', 'windows_closed': 'Windows closed'}

strickersuk commented 1 month ago

There doesn't seem to be anything in the logs, username, password and token removed.

strickersuk commented 1 month ago

Switched to metric units, l/100km appear normal but not odometer.

Screenshot 2024-06-03 at 07 39 39 Screenshot 2024-06-03 at 07 39 34
AMajland commented 1 month ago

My issues seems to be just Skoda server errors. After reaching out to Skoda trough facebook (Skoda EV Lounge) my odometer works again since 7:27 this morning, shortly aftger the car left home

image

Tronity is also working showing Trips