-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
blocked RFID / OCCP User #13
Comments
more info about the request needed |
If a user authenticate with a RFID-Card which is not registered, then ignores SteVe this Event and send only an blocked to the charging station. |
oh ok, this is a nice suggestion and would make the job for the manager (user of steve) definitely easier. however, i would like to ask the community some questions, though, before implementing this feature (which is not much work btw) :
are the concerns of 2nd and 3rd points valid? how can we overcome these? or should we neglect the probability of such things happening? |
I think the suggestion is valid, cluttering the database seems not an big issue for me, as it creates ~1 row per real-life action. UI-wise it should be enough to only show the n last ones. To distiguish unknown id's the timestamp can be used. |
the point three is interesting. Maybe another name for the flag of new rfids records. |
from now on, we store invalid RFID tags in-memory (not persistent! the tags will vanish if you shut down steve) and present them in the OCPP tags page. we also specify an upper bound of 1000 tags to be stored. the request in #13 brings up storage in database, but we do not desire to make db schema changes if not absolutely necessary. keeping them in memory offers a benefit as side effect: forgetting them after shutdown prevents infinite growing of this list, only the most recent (and therefore probably relevant) ones are kept.
Tests/NginxSwagger Approved-by: Eduardo Rodrigues de Abreu
Create a new record with blocked properties when RFID does not exist
The text was updated successfully, but these errors were encountered: