davbauer/chargeController

Refactor mode switch logic

davbauer opened this issue · 0 comments

Currently there are 2 switches on the project and there is no way to set the charger to always make sure the car does not automatically charge when being plugged in.

Therefore I suggest following controller modes:

  • force_off -> Always make sure charger stays off
  • sleep -> Do not interact with charger at all
  • sun -> Only react if power available from sun
  • sun_force -> Charge with minimum, increase when sun provides more power

Source:
Screenshot 2024-03-26 at 00 06 08