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

OCPP does not report correct energy if EV is not unplugged #224

Closed
glynhudson opened this issue Jul 27, 2021 · 8 comments
Closed

OCPP does not report correct energy if EV is not unplugged #224

glynhudson opened this issue Jul 27, 2021 · 8 comments
Labels
ocpp Issues relating to OCPP

Comments

@glynhudson
Copy link
Collaborator

If an OCPP session is stopped but the EV remains plugged in the wh reported by the EVSE does not increment, since the EVSE only increments lifetime wh when the EV is unplugged

screenshot 2021-07-27 01 26 32

@jeremypoulter @lincomatic is there a reason why the EVSE only increments lifetime wh when the EV is unplugged? I think it would be better if lifetime wh was incremented in real-time during a charging session

@jeremypoulter
Copy link
Collaborator

Think this has always been the behaviour of the OpenEVSE. We can easily sum the total + session values if needed if the session value clears when the total increases will have to do some tests.

Also on the subject, calling these wh/watthour and wattsecond is terrible, what do folks think about correcting the names and units in the v4 (breaking backwards compatible) ?

@jeremypoulter jeremypoulter added the ocpp Issues relating to OCPP label Aug 25, 2021
@matth-x
Copy link
Collaborator

matth-x commented Nov 4, 2021

This is addressed in #255

@glynhudson Can you ckeck if the PR solves this issue? Unfortunately, I cannot test it with a real load.

@jeremypoulter
Copy link
Collaborator

@matth-x did you change this just for OCP we need to be careful about what is fixed in OCPP and what is at a higher level.

@matth-x
Copy link
Collaborator

matth-x commented Nov 4, 2021

Yes I've only worked on the OCPP side of this.

@jeremypoulter
Copy link
Collaborator

Then I think we should remove from OCPP, and fix generically for consistency.

@matth-x
Copy link
Collaborator

matth-x commented Nov 5, 2021

Yes, that would be great. The energy reading is fully encapsulated in my code, so switching to another function will be no effort.

@KipK
Copy link
Collaborator

KipK commented Mar 1, 2023

PR #556 will breaks things here as now counters will be updated in real time
@matth-x I let you check the changes involed for OCPP ?

@matth-x
Copy link
Collaborator

matth-x commented Mar 1, 2023

@KipK Thanks for the notice, I checked it and commented in the PR.

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

No branches or pull requests

4 participants