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: integration of further functions #255

Merged
merged 22 commits into from
Nov 29, 2021
Merged

Conversation

matth-x
Copy link
Collaborator

@matth-x matth-x commented Oct 26, 2021

No description provided.

@matth-x matth-x changed the title Diagnostics, evse credentials, error codes, reboot and more OCPP: integration of further functions Oct 26, 2021
@glynhudson
Copy link
Collaborator

Nice work! Could you provide some info with the PR to detail what changes are being made, e.g what functions are being added?

@matth-x
Copy link
Collaborator Author

matth-x commented Oct 26, 2021

Yes of course, sorry that I forgot it. This PR adds support for the following OCPP operations:

  • ChangeAvailability
  • Reset
  • GetDiagnostics
  • UnlockConnector (HW integration still to be done)
  • UpdateFirmware (only general messaging mechanism implemented)

Changes:

  • StatusNotification reworked: the plugged / unplugged state at the connector is integrated more seamlessly
  • The EVSE transmits error codes (HighTemperature, GroundFailure, ect.)
  • BootNotification sends more details (e.g. FW version) and is ready to send all credentials as soon as they will be available

@jeremypoulter jeremypoulter added the ocpp Issues relating to OCPP label Oct 28, 2021
@jeremypoulter
Copy link
Collaborator

FYI in #258 I added an API for resetting the ESP, should use that to reset

@matth-x
Copy link
Collaborator Author

matth-x commented Oct 30, 2021

Thank you Jeremy! Then I can integrate it next week right away.

@matth-x
Copy link
Collaborator Author

matth-x commented Nov 4, 2021

Should be ready now. Soft reset and FW update are integrated now as well.

@chris1howell
Copy link
Member

chris1howell commented Nov 4, 2021 via email

@matth-x
Copy link
Collaborator Author

matth-x commented Nov 4, 2021

Yes, both the WebSocket and OCPP heartbeat work, I've checked them. Probably the issue was that my library was ignoring the OCPP heartbeat interval when it was set with the BootNotification. I have already solved that. But I am not 100% sure if that was the actual reason for the heartbeat problem.

@glynhudson glynhudson merged commit 38f2fd8 into OpenEVSE:master Nov 29, 2021
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

Successfully merging this pull request may close these issues.

4 participants