EVerest / everest-core

Apache License 2.0
92 stars 68 forks source link

Charger: Transition to PausedByEV if EV does not start charging after… #757

Closed corneliusclaussen closed 2 months ago

corneliusclaussen commented 2 months ago

… wakeup

Describe your changes

In PrepareCharging state PWM is enabled to signal to the EV that we are ready to deliver power. If the car does not switch to state C to start charging, a legacy wakeup was performed after 30s. If it still does not charge after that, it probably just does not want to charge (e.g. because it is full). In the current implementation the state stays in PrepareCharging. This can lead to an issue that OCPP does not reflect the state correctly (and also local display apps stay in PrepareCharging). This PR switches to PausedByEV which is in that case the correct state.

Issue ticket number and link

Checklist before requesting a review