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

transactionId=0 being synonymous with "null" in MeterValues #1415

Closed
3 tasks done
goekay opened this issue Mar 19, 2024 · 0 comments
Closed
3 tasks done

transactionId=0 being synonymous with "null" in MeterValues #1415

goekay opened this issue Mar 19, 2024 · 0 comments

Comments

@goekay
Copy link
Member

goekay commented Mar 19, 2024

Checklist

  • I checked other issues already and found no answer
  • I checked the documentation and found no answer
  • 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 MeterValues messages, some charging stations seem to set transactionId=0 to communicate that there is no transaction reference. Actually, transactionId is nullable and therefore this attribute can be omitted from payload.

This is a charging station misbehaviour. But it can be fixed (worked around) easily without harming the integrity of the business flows. Our valid transaction ids are coming from a database sequence (PK) and start with 1 anyways. So, there is no overlap between the value ranges.

Describe the solution you'd like

Treat transactionId=0 the same as transactionId=null

Describe alternative solutions or features you've considered

Leave it as is. But we cannot process these messages and are dropping them causing information loss.

Additional context

...

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

1 participant