TeslaLogger icon indicating copy to clipboard operation
TeslaLogger copied to clipboard

No currency conversion!?

Open jdelker opened this issue 1 year ago • 0 comments

Describe the bug Journeys sum up the charging cost regardless of different currencies. Obviously, the charging session does not provide a field for currency conversion (either manually or automatic). Thus all charing costs are simply totaled without converting it to a common currency.

To Reproduce

  • Use different currencies in your charging sessions.
  • Create journey containing those charging sessions
  • Look at total "Charging costs" in the Journeys table.

Expected behavior An additional field is required for a charging session to provide a proper currency conversion. This could be an additonal "cost_converted" field in chargingstate that allows to store the costs in the native currency, which is either set manually via the "Charging Costs" form, or computed through automatic conversion against some public conversion tables.

jdelker avatar Jul 08 '23 08:07 jdelker