evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Update Odometer value for Session UI until end of charge

Open sutixp opened this issue 5 months ago • 2 comments

Is your feature request related to a problem? Please describe. Because of VW's implementation of the EU Data Act values like the soc or odometer are delayed. When I arrive at home and plug in my VW the currently odometer value available in evcc is stored in database for this charging session. These values are incorrect as it takes 15 minutes (or even longer) until VW provide the current data.

Describe the solution you'd like Update the odometer value as long as the car is charging

Describe alternatives you've considered As of now I update the odometer manually (thanks to #30437 )

Additional context I added my car as Home Assistant Vehicle. The data in Home Assistant are from an integration getting the data from VW's EU data act implementation.

sutixp avatar Jun 23 '26 15:06 sutixp

The change you're requesting should already be covered by this PR https://github.com/evcc-io/evcc/pull/30361. On disconnect we update the charging session with the last value we've received. Are you sure you receive the correct odometer value during you charging session?

naltatis avatar Jun 23 '26 16:06 naltatis

My car was still connected when i checked the odometer value. Sorry, haven't found this PR before opening mine. Updating on disconnect is a good solution for me, therefore closing this issue.

sutixp avatar Jun 23 '26 16:06 sutixp