Skip to content

Adding calculated Consumption for Transactions Table #1627

@maslo90

Description

@maslo90

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
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions