-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use IO for authorization #9
Comments
I like the idea and would like to help programming this. The access control circuit then needs to provide a potential free contact to I/O 1 and 2 for access control. In this way, there is no hassle with grounding, overload protection etc. I/O 3 can be used to create a switching contact near the Smart EVSE. With this switching contact a Red/Green LED can be powered near the connector. A few questions:
|
Software version 2.04+ I have now added support for authorization with a (momentary) switch on IO2 (SW on hardware 2.1) You can enable this feature in the (LCD) menu of the SmartEVSE, the feature is called ACCESS. On hardware version 2.1, IO1 is now used to drive a 12V led. It will fade in and out when charging. IO3 will be used to connect to a residual current monitor device, to detect AC/DC fault currents. |
Thanks for the update! I thought so already while browsing the menu of my SmartEVSE :) (EDIT: need to read better) Can this also be used to schedule the charging? Waiting for the off-peak hours? I've got my SmartEVSE up and running now. Only need to test the ACCESS part with a Raspberry Pi reading for RFID tags and familiar Bluetooth devices. |
Schedule the charging is tricky, as there is no real time clock in the SmartEVSE. Plugging in the car and then at a specific time enabling access to the SmartEVSE (with the Raspberry Pi) would give you scheduled charging. |
Ah yes, timing with the Raspberry Pi I meant :) Regarding the Bluetooth idea: |
I managed to get a fingerprint sensor working as acces device :) question when the car is disconnected and acces is enabled in the software does the cable keeps locked until right acces key is given ? |
Nice that you got a fingerprint sensor to work! The current software always unlocks the cable from the socket, once the charging is stopped. |
You'll need a stand alone RFID reader, one that works with mifare cards (13.56 Mhz), and has a relay output. And can be learned to recognize your charge card. Now when you swipe your card , the smartESVE can be switched from ACCESS DENIED, to READY TO CHARGE. and vice versa. |
I got it working with a rewritten ESPeasy module but I didn't like the implementation. In the meantime I use a Sonoff Basic with Tasmota where I cut off the 230V and just have a stupid relay. The Sonoff is configured as a Pulse button for 0,5 second. This combination I'm using together with OVMS to stop charging at 80% now through Home-Assistant. In a practical situation I'm not using the RFID cards and just pressing manual the button (outside) to start charging. |
@ErnieV I think this issue can be closed now :) |
Getting a signal on I/O port opens a window of 1 minute to start charging program, otherwise charging is not allowed. Gives user possibility to implement any form of authorization like hidden button, NFC/RFID reader or remote control by webserver.
As optional feature (menu item).
Alternatively: as long as I/O is high, charging is allowed. I tried to add it to the code but I don’t think I/Os are read yet, only written to, am I right?
Love the smartevse as it is now btw! Keep up the good work!
The text was updated successfully, but these errors were encountered: