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

Update API state and error handling to new error framwork #496

Merged
merged 6 commits into from
Jan 16, 2024

Conversation

corneliusclaussen
Copy link
Contributor

@corneliusclaussen corneliusclaussen commented Jan 15, 2024

The error handling framework was recently refactored to allow for a more powerful error handling:

  • Multiple errors can coexist at the same time, some blocking charging while others do not
  • errors do not automatically clear when the EV is unplugged. It depends on the error type when it clears. If it clears during charging, charging can resume and no replug is needed

This requires some breaking changes to the API to expose this information to the UI.

@corneliusclaussen corneliusclaussen force-pushed the cc-change-api-state-error-handling branch from 64d5ae3 to 197920f Compare January 15, 2024 11:37
Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: Cornelius Claussen <[email protected]>
@corneliusclaussen corneliusclaussen merged commit 903d504 into main Jan 16, 2024
3 of 4 checks passed
@corneliusclaussen corneliusclaussen deleted the cc-change-api-state-error-handling branch January 16, 2024 15:24
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