SwitchEV / RISE-V2G

The only fully-featured reference implementation of the Vehicle-2-Grid communication interface ISO 15118
MIT License
219 stars 92 forks source link

Treat DC Shutdown status as valid when STOP power delivery is requested #51

Closed mrbig closed 4 years ago

mrbig commented 4 years ago

When an EVSE side shutdown is initated it's hard to tell from the controller point of view wich exact state is requested. So in WaitForPowerDeliveryReq we treat EVSE_SHUTDOWN and similar status codes as valid when the EV requested a stop.

Without this a FAILED_PowerDeliveryNotApplied will be responded wich is not expected at the EV side.

MarcMueltin commented 4 years ago

Thanks @mrbig , this seems to be a good catch. I agree.