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

Adding calculated Consumption for Transactions Table #1627

Open
MXIII opened this issue Nov 6, 2024 · 1 comment
Open

Adding calculated Consumption for Transactions Table #1627

MXIII opened this issue Nov 6, 2024 · 1 comment

Comments

@MXIII
Copy link

MXIII commented Nov 6, 2024

Checklist

  • [X ] I checked other issues already and found no answer
  • [X ] I checked the documentation and found no answer
  • [X ] I am running the latest version and the feature i am requesting is not implemented there

Describe the problem you are trying to solve

In the Transactions-Overview we have a starting and an end value for charging.
Its a little bit of annoying to count the consumption manually but an easy fix would be to calculate the consumption next to the start-value and end-value just by substracting the startvalue from the endvalue.

the transactionspage needs an overhaul and restructuring, because the start and enddate should be next to each other and the startvalue and endvalue + consumption too, for better comparison, we might also would want to add the username instead of just the ocppTagId to the table.

  • Transaction ID
  • Wallbox ID
  • Connector ID
  • Tag ID
  • Username
  • Started
  • Ended
  • Start Value
  • End Value
  • Consumption (W)
  • Stop Reason

...

Describe the solution you'd like

Screenshot 2024-11-06 222938

In my transactions.jsp i have added the following line:

${ta.stopValue - ta.startValue} and added a table header with "consumption (w)" it might not be reliable (i dont know yet) but it works for me currently and i have a total consumption in watts in the transactionstable maybe there is a better way to solve this issue.

...

...

Additional context

i would also like to add the username to the table next to the ocppTagId instead of just the ocppTagId.
added a screenshot how it looks in my deployment
...

@goekay
Copy link
Member

goekay commented Nov 17, 2024

i could swear there was a work-in-progress PR by a contributor who was trying to do this, but i could not find it right now.

basically, he did some initial work but there were some edge cases which i pointed out, but he did not continue. so PR died i guess.

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

No branches or pull requests

2 participants