Skip to content
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

Enhance charging history service #1427

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

motzky
Copy link
Contributor

@motzky motzky commented Dec 29, 2024

  1. Limit API response of call to endpoint charging/history to current vehicle's VIN to improve performance by skipping unnecessary database interactions, e.g. for inactive vehicles or multiple vehicles returned for each car id.
  2. Add handling of SuC pricingType "CREDIT_PARTIAL_PAYMENT" to update session price correctly, if part of the session was not billed due to existing SuC credit, e.g. exceeding limit of THG credit during one session or charging more than 30 kWh after taking delivery with SoC < 50%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant