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

Feature Request: Add mileage to the charge log #386

Closed
JHCD opened this issue Jul 22, 2022 · 4 comments
Closed

Feature Request: Add mileage to the charge log #386

JHCD opened this issue Jul 22, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@JHCD
Copy link

JHCD commented Jul 22, 2022

As a user of a company electric vehicle, I have to record the mileage for a charge in order to be reimbursed by my employer for the costs.

Would it be possible to add the mileage to the charge log?

@JHCD JHCD changed the title Feature Request: Mileage in the loading log Feature Request: Mileage in the charge log Jul 22, 2022
@JHCD JHCD changed the title Feature Request: Mileage in the charge log Feature Request: Add mileage to the charge log Jul 22, 2022
@flobz
Copy link
Owner

flobz commented Oct 31, 2022

A SQL query might do the tricks ?

@flobz flobz added the enhancement New feature or request label Jan 2, 2023
@stevoh6
Copy link
Contributor

stevoh6 commented Jan 9, 2023

A SQL query might do the tricks ?

Yes and no, I was playing with sql in order to display some data in grafana, but its tricky and unreliable. I think it will be more reliable to store mileage once charging stared.

stevoh6 added a commit to stevoh6/psa_car_controller that referenced this issue Jan 9, 2023
flobz#386 Feature Request: Add mileage to the charge log
@stevoh6
Copy link
Contributor

stevoh6 commented Jan 9, 2023

I implement this feature. Also I made some adjustments and I added one extra feature:

1> highlight hovered row
2> adjust colors (battery percentage below 15 are marked as red, above 85 are green)
3> charging mode (slow or quick) are visible too
4> make possible to download csv or xlxs file (export) for trips and charging data

Who else than me can test it? On my computers works.

image

stevoh6 added a commit to stevoh6/psa_car_controller that referenced this issue May 4, 2023
stevoh6 added a commit to stevoh6/psa_car_controller that referenced this issue May 30, 2023
flobz added a commit that referenced this issue Aug 21, 2023
@flobz
Copy link
Owner

flobz commented Aug 21, 2023

PR merged

@flobz flobz closed this as completed Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants