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

Is MeterStop value the total charged during 1 session or the total since the meter has been installed? #331

Open
RobbeVW opened this issue Mar 26, 2024 · 2 comments

Comments

@RobbeVW
Copy link

RobbeVW commented Mar 26, 2024

The StopTransaction request holds a parameter called MeterStop.

In the documentation, it mentions the following:

  /**
   * This contains the meter value in Wh for the connector at end of the transaction.
   *
   * @return meter value in Wh.
   */
  public Integer getMeterStop() {
    return meterStop;
  }

Does this mean this parameter returns the meter value for the total Wh charged during that session or transaction. Or does this mean the total that has been charged since the meter was ever installed? Both OCPP documentations and this one are open for interpretation.

@rpseng
Copy link

rpseng commented May 6, 2024

It should be cumulative, the total Wh of a specific transaction should come from the difference between StopTransactionRequest.getMeterStop() and StartTransactionRequest.getMeterStart().

@robert-s-ubi
Copy link
Contributor

OCPP allows both. There are charge points out there that reset the meter to 0 kWh on each reboot, others on each transaction, and yet others never. It depends on the type of meter you have.

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

3 participants