Skip to content

Fix error queueing of OCPP2.x at startup#1482

Merged
Pietfried merged 1 commit into
mainfrom
bugfix/ocpp2-error-queue
Nov 6, 2025
Merged

Fix error queueing of OCPP2.x at startup#1482
Pietfried merged 1 commit into
mainfrom
bugfix/ocpp2-error-queue

Conversation

@Pietfried
Copy link
Copy Markdown
Contributor

@Pietfried Pietfried commented Nov 6, 2025

Describe your changes

The OCPP201 module could call on_faulted or on_faulted_cleared even when the charge_point was not yet instantiated.

This change

  • Correctly queue and process error events before startup
  • Refactors event queuing to store Everest::error::Error objects instead of EventData.
  • Adds helper for consistent component mapping (get_component_from_error)
  • Ensures faulted and fault-cleared states are reported correctly.

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

Refactors event queuing to store Everest::error::Error objects instead of EventData.
Adds helper for consistent component mapping (get_component_from_error).
Ensures faulted and fault-cleared states are reported correctly.

Signed-off-by: Piet Gömpel <pietgoempel@gmail.com>
@Pietfried Pietfried added this pull request to the merge queue Nov 6, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 6, 2025
@Pietfried Pietfried added this pull request to the merge queue Nov 6, 2025
Merged via the queue into main with commit fb2e6e0 Nov 6, 2025
11 of 12 checks passed
@Pietfried Pietfried deleted the bugfix/ocpp2-error-queue branch November 6, 2025 10:57
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

Successfully merging this pull request may close these issues.

2 participants