-
-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Currently the Enabled CableLock option only prevents unlocking the cable from the SmartEVSE socket, when the SmartEVSE has at least once entered another state from the initial STATE_A. From that point onwards, the Enabled CableLock will prevent unplugging the cable from the socket, until the cable is unplugged from the EV first and CableLock is Disabled in the web dashboard (or via API / MQTT).
My feature suggestion is to also enable the activation of the locking of the actuator when: the SmartEVSE is not in mode OFF, and a socket with actuator is configured, and the CableLock option is Enabled, regardless if an EV or cable is connected or not.
The current behaviour for disabling the activation of the locking of the actuator after a charging session will not change. For unplugging the cable from the socket, the cable must not be connected to the EV anymore and the CableLock option must be Disabled in the web dashboard or via API/MQTT.
This feature will be great for:
- testing the working of the actuator during installation: enable/disable CableLock will trigger the actuator, even if there is no cable plugged into the socket.
- It will enable locking of the cable in the socket, when there is no EV connected. This can be used with a semi-permanent cable installation. You can still take the cable away when not using it for extended period of time by disabling the CableLock option. This option is currently only working, but only if you have charged an EV first. This new feature skips that requirement.
- It will enable locking the cable in the socket, when the cable is plugged into the EV and into the SmartEVSE, even if the SmartEVSE has not activated charging yet, for example in a case of delayed charging.
For me personally, option 3 is most important. I will program my domotica system to send a CableLock "Enabled" ('1') command via MQTT when the SmartEVSE detects that an EV is connected. Disabling the CableLock is a manual action for me.
Please let me know if you like this option and if you have any comments. I can create a PR for it and do the coding.