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: make UsageCost structured #216

Open
paul-pedal opened this issue Mar 28, 2023 · 3 comments
Open

feature request: make UsageCost structured #216

paul-pedal opened this issue Mar 28, 2023 · 3 comments

Comments

@paul-pedal
Copy link

It would be useful for UsageCost to have a consistent format and be attached to each connection rather than the root.

suggestion:

UsageCost: {
      currency: 'GBP',
      perKwh: 0.3,
      connectionCharge: 1.0,
      min: 1.8,
      timeLimit: 60,
      overtime: 5,
      notes: 'xxxxxxx',
}
@webprofusion-chrisc
Copy link
Member

Thanks, increasingly we're looking to align our data model with other standards, so identifying something in OCPI etc. that we could replicate would make sense for interoperability.

@iboboc
Copy link
Contributor

iboboc commented Apr 22, 2023

I miss the same feature. A structured way to retrieve the charging cost/price.
Just a note, charging price should be differentiated by plug (sometimes AC is different than DC) - as mentioned, linked by connector, and should include also starting fee.
This will help also fixing issue #133 by filtering by price from free (0) to any.

Thanks.

@iboboc
Copy link
Contributor

iboboc commented Apr 22, 2023

I am tempted to work on the change myself, once we agree on the architecture (data structure, flow, etc)... but it is quite a job (84 files to modify) :) And I am not really familiar with the system, I will not be able to test much.
I assume it will be straight forward for a current maintainer/contributor and less prone to errors.

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

No branches or pull requests

3 participants