-
Notifications
You must be signed in to change notification settings - Fork 8
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
StatusNotification - Timestamp invalid format #5
Comments
Hey thanks for the report @rustik666 sorry for the long response time, I'll take a look into this now |
@rustik666 I wasn't able to find anywhere in the documentation a mention of RFC3339 ![]() I only found this section which mentions ISO 8601 which is what we are following right now |
Unfortunately this is at odds with the published JSON schema, as the |
@nick-jones I'll see if I can reach out to some people at the OCA to see why the discrepancy but in our experience as a CPMS many charge points are sending values to us using Offsets |
@BrianEstrada That's been our experience too. That said, we've had quite a number of cases where charge points have been non-compliant to the schema in other ways, so I wouldn't necessarily use that as a notion of correctness. The OCPP 2.0.1 and 2.1 draft specs now state:
... so I think it's fair to assume this was understood to be an issue and corrected. This isn't really a hill to die on, but yeah, the main problem with not using RFC 3339 here is that any CSMS that decides to validate payloads against the published schema are going to end up rejecting these messages from the emulator. I'd be interested to hear what the OCA opinion is on this 👍 |
@nick-jones some nice insights thank you for sharing 😃 I think this is enough to convince me to change it in the emulator but I'll still bring it up at the OCA and report back here |
Hi ! Any news on this ? I am facing this issue right now, and it also happens in the StartTransaction request. I could offer a fix, if I did would it get accepted ? |
StatusNotification- Timestamp invalid format
Details
We recieve the next paylod for
StatusNotification
2024-04-26T14:35:02+02
isn't valid RFC3339 format which we would expect to receive according to OCPP specification.The text was updated successfully, but these errors were encountered: