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

Doc/powermeter error handling #834

Closed
wants to merge 5 commits into from
Closed

Conversation

florinmihut
Copy link
Contributor

Describe your changes

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

modules/LemDCBM400600/main/lem_dcbm_400600_controller.cpp Outdated Show resolved Hide resolved
modules/LemDCBM400600/main/lem_dcbm_400600_controller.cpp Outdated Show resolved Hide resolved
modules/LemDCBM400600/main/lem_dcbm_400600_controller.cpp Outdated Show resolved Hide resolved
modules/LemDCBM400600/main/lem_dcbm_400600_controller.cpp Outdated Show resolved Hide resolved
modules/LemDCBM400600/main/lem_dcbm_400600_controller.cpp Outdated Show resolved Hide resolved
modules/LemDCBM400600/main/lem_dcbm_400600_controller.cpp Outdated Show resolved Hide resolved
} else {
EVLOG_info << "LEM DCBM 400/600: The last known transaction has the id:" << this->current_transaction_id;
}
} catch (json::exception& json_error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catch const ref, i.e. const json::exception& json_error)

Comment on lines 1 to 16
@startuml
actor User
participant Powermeter
participant Error_Manager
participant EVSE_Manager
participant OCPP

User -> EVSE_Manager: startChargingSession
alt successful case
EVSE_Manager -> Powermeter: startTransaction
Powermeter -> EVSE_Manager: startTransaction Response (OK/ID)
EVSE_Manager -> OCPP: persistTransaction (ID)
else startTransaction failing due to power loss
EVSE_Manager -> Powermeter: startTransaction
Powermeter -> EVSE_Manager: startTransaction Response (FAIL)
EVSE_Manager -> User: stopChargingSession
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really nice that you've created these puml files, maybe we should come up with a guideline, whether rendered versions (jpeg, png) should be created - because it is quite some work to manually create a picture out of it

doc/powermeter_stop_transaction_without_error copy.puml Outdated Show resolved Hide resolved
@Pietfried Pietfried self-assigned this Sep 3, 2024
florinmihut and others added 5 commits October 1, 2024 09:17
…entical to init. Subsequent StopTransactions will be handled correctly since we know if a transaction is open or not

Signed-off-by: florinmihut <[email protected]>
Signed-off-by: florinmihut <[email protected]>
Signed-off-by: florinmihut <[email protected]>
…er and OCPP covering handling of OCMF/Eichrecht

Signed-off-by: pietfried <[email protected]>
@florinmihut florinmihut deleted the doc/powermeter_error_handling branch October 16, 2024 16:30
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.

3 participants