[pull] main from EVerest:main#549
Merged
pull[bot] merged 2 commits intoenergy-projects-renovation-state:mainfrom Mar 9, 2026
Merged
[pull] main from EVerest:main#549pull[bot] merged 2 commits intoenergy-projects-renovation-state:mainfrom
pull[bot] merged 2 commits intoenergy-projects-renovation-state:mainfrom
Conversation
#1925) Signed-off-by: Christoph Burandt <christoph.burandt@pionix.de>
…ause/resume and remove replug (#1790) Remove WaitingForEnergy, Replug states and related session events (ChargingResumed, ReplugStarted, ReplugFinished, WaitingForEnergy). Consolidate pause handling into ChargingPausedEVSE with reason tracking (Error, NoEnergy, UserPause) via new PauseChargingEVSEReasonEnum. Key changes in Charger state machine: - Replace WaitingForEnergy state with direct transitions through ChargingPausedEVSE, which now reports multiple concurrent reasons - Remove evse_replug command from BSP interface and all implementations - Remove EvseReplugStarted/Finished events from board_support_common - Add configurable hlc_charge_loop_without_energy_timeout_s for ISO sessions to handle no-energy scenarios gracefully in charge loop - Add dc_ramp_ampere_per_second config for DC current ramping - Change zero_power_ignore_pause default to true for better EV compatibility - Introduce StoppingCharging as proper transitional state that waits for contactor open before moving to paused or finished states - Use atomic flags (flag_authorized, flag_transaction_active, flag_ev_plugged_in, flag_paused_by_evse) for thread-safe state BREAKING CHANGE: Removes WaitingForEnergy, ChargingResumed, ReplugStarted, ReplugFinished session events and evse_replug BSP command. Consumers must handle ChargingPausedEVSE with reason tracking instead. Smoke tests: - Add pause/resume session commands to test controller interface - Add comprehensive smoke tests for pause/resume and no-energy scenarios - Remove deprecated startup_tests.py in favor of new probe-based tests Signed-off-by: Piet Gömpel <pietgoempel@gmail.com> Signed-off-by: Cornelius Claussen <cc@pionix.de> Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de> Co-authored-by: Piet Gömpel <pietgoempel@gmail.com>
27673e1
into
energy-projects-renovation-state:main
3 of 4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )