Skip to content

[pull] main from EVerest:main#549

Merged
pull[bot] merged 2 commits intoenergy-projects-renovation-state:mainfrom
EVerest:main
Mar 9, 2026
Merged

[pull] main from EVerest:main#549
pull[bot] merged 2 commits intoenergy-projects-renovation-state:mainfrom
EVerest:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 9, 2026

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 : )

cburandt and others added 2 commits March 9, 2026 07:09
#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>
@pull pull bot locked and limited conversation to collaborators Mar 9, 2026
@pull pull bot added the ⤵️ pull label Mar 9, 2026
@pull pull bot merged commit 27673e1 into energy-projects-renovation-state:main Mar 9, 2026
3 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants