smartevse icon indicating copy to clipboard operation
smartevse copied to clipboard

Config shielded with PIN

Open laemen opened this issue 5 years ago • 4 comments

Feature request: I have the SmartEVSE semi-outside (garage), and protected with a Raspberry Pi with RFID meter switching the SmartEVSE switch pin. However you can easily go info the configuration and disable the switch pin, enabling the SmartEVSE and the actuator. Shielding this with a 4 digit pin would prevent that. The SDM630 has PIN shielding for comparison.

laemen avatar Jul 19 '20 10:07 laemen

Sure i can add that in a future version. But how to reset the pin in case you forget it somehow?

  • Allow a PIN reset by holding a button on the front when powering on?
  • Only allow PIN reset by reprogramming the controller with the FTDI cable.
  • Any other idea?

mstegen avatar Jul 26 '20 18:07 mstegen

PIN reset through a button on the front would void the protection. A physical recovery would be the best, reprogramming through the FTDI would have my vote. Couldn't find how the SDM630 recovers the PIN, maybe by buying a new one 😳

laemen avatar Jul 26 '20 19:07 laemen

may this helps as base: https://github.com/SmartEVSE/smartevse/pull/33/commits/aed6ccbbc5874c5bd411822326e6e05316b8c092

I Impediment a simple lock that can be enabled and disabled via Modbus. In my use case I have connected a raspberry pi via Modbus and all Management is done via the raspberry pi. This includes load, Access Management, power monitoring.

Register 0xD*: Extended Configuration

Register Access Description Unit Values
0xD0 R/W Disable Menu 0: Menu Enabled / 1: Menu Disable

PR open: https://github.com/SmartEVSE/smartevse/pull/33

Links2004 avatar Sep 20 '20 11:09 Links2004

PIN reset through a button on the front would void the protection.

... "holding a button on the front when powering on" If you are able to switch the power on and off you have physical access ... IMHO the best solution. @Links2004 yes, it should be also accessable via modbus. I will merge this commit

bobosch avatar Dec 02 '20 12:12 bobosch