-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
force_refresh_all_vehicles_states() - doesn't return odometer values #290
Comments
Which region and brand? |
Europe, Hyundai |
I can confirm that force_refresh_all_vehicles_states() will NOT fill odometer. I digged into the differences of the responses:
and
It appears that in Received forced vehicle data the following information is NOT returned:
In the source code of KiaUvoApiEU.py the location is separately called, when force_refresh_all_vehicles_states() is called, to circumvent the absense of location (but nothing done for odometer).
I do not know if this odometer was never returned in Received forced vehicle data. The workaround for the library user would be to call force_refresh_all_vehicles_states() first en then update_all_vehicles_with_cached_state(). Or KiaUvoApiEU.py should do this internally? |
Because I tested with force_refresh_all_vehicles_states(), you can see well in the below Battery Monitor screenshot how much impact a force refresh has on your 12 volt battery. At 8:07 I did the refresh. Your battery will be definitely drain if you use the refresh often. Especially when the SOC of your car is below 20%, because then the battery saver function will not kick in to top up your 12 volt battery, at least with the IONIQ 5. That is why my tool, hyundai_kia_connect_monitor does no longer do a force refresh anymore. |
Thanks for sharing these insights - understood :-) Nevertheless, I think there's no obvious reason to omit the odometer information in this (force-) function, since all the other datapoints as far as I checked do exist... - or am I wrong ? |
@eili77 Yep, unfortunately the bluelink API does not return the odometer (and locations) values in the vehicles/[id]/status call, while it does in vehicles/[id]/status/latest |
Nope, unfortunately I don't. Thanks! |
I thought I had this one fixed awhile back by not putting the value into vehicle unless provided. This only works if you call cache regularly and occasionally call force. |
Description
Using
force_refresh_all_vehicles_states(self)
method doesn't return odometer values (all "none").Using
update_all_vehicles_with_cached_state(self)
works fine and returns odometer values.It's a repeatable issue.
Is this a wanted/known behaviour?
The text was updated successfully, but these errors were encountered: