serkri / SmartEVSE-3

Smart Electric Vehicle Charging Station (EVSE)
MIT License
67 stars 28 forks source link

Cable lock issues / Feature request #237

Open jongerenchaos opened 5 months ago

jongerenchaos commented 5 months ago

I utilize the SmartEVSE without RFID and a start button. I've noticed that when the SmartEVSE is in smart mode or on mode, the cable is locked by activating the LOCK feature. I've configured it so that the SmartEVSE is initially in the off state and only becomes active during cost-effective charging periods. Consequently, I've observed that the locking mechanism is only engaged during the charging process. This means that when the unit is turned off, the cable can be removed from the unit.

I'm wondering if we could implement one of the following options in the code:

  1. The ability to toggle the lock on or off via an HTTP/MQTT command, allowing for cable unlocking through a home automation system.

  2. When removing the cable from the car side, the lock on the SmartEVSE could also be automatically disengaged.

  3. Adding an extra status (off/smart/solar) and the status "waiting" or a similar state, wherein the lock remains active.

I hope we can integrate one of these options into the code to enhance the functionality of the SmartEVSE.