Skip to content

Correctly pausing and resuming a charging session

Compare
Choose a tag to compare
@MarcMueltin MarcMueltin released this 01 Oct 09:49
· 48 commits to master since this release

The mechanism of pausing and resuming a charging session was not working correctly previously. This release includes changes to several files for the EVCC and the SECC that finally implements a correctly running pause and resume. The necessary EVCC's session parameters are saved in the file EVCCConfig.properties. The SECC's session parameters are simply stored inside the session object, which will now not be destroyed upon pausing a charging session.

Have a look at the function isChargingLoopActive() in DummyEVController.java. There, you'll find a commented line

getCommSessionContext().setChargingSession(ChargingSessionType.PAUSE);

which you need to uncomment in order to test a charging pause that is triggered by the EVCC.