-
Notifications
You must be signed in to change notification settings - Fork 427
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
In case of interrupt, log can be damaged. #60
Comments
@goermezer @omersiar i'll try to test another way of writing the log.. Some clients i have, need that so it's not good if the log disappears.. Also, most of wiegand readers have keypad so i'll write and extensio that each user can have pin too. As an optional way to open the doors. |
@nardev for wiegand readers with keypad, does it work if you enter card's decimal id manually? just to chip in to the discussion, while trying out the wiegand reader with esp-rfid, if the 12V connection broken or re-established to the wiegand reader, the log file will capture single digit like 0 and next line 7. |
Logging is horribly inefficient, and also has a bug on file checking. @rneurink's approach was better and i forgot to fix my code. At that time we were discussing different approaches for logging but it did not conclude, so if you make suggestions, we can start to work on it. Just do not bother with the current code. |
@akeilox wiegand readers usually have two buttons for exit or enter.. so at the end you can clear the number you entered or submit it to check if it exists among the users. However, that option is not yetin repo. @omersiar i need some time to test to see if it works fine. The idea i have. i want to check pure file logging with events in a form
We could do better for user interface.. That json is very handy but if we can make same thing without json log much more efficient, why not. @omersiar since we have one reset in 24hours maybe we could add log size check before that reset.. just to keep 1-2 months log or certain size.. |
@akeilox there is my board which can handle 12V for ESP and pass 12V to a reader. If you want i can send you few without ESP12 module.. i have some that have a mistake for a reset button but everything else works. |
@nardev thanks for the offer! i dropped you a message at tindie |
See v0.6 |
I have one client which was not able to retrieve log. When i downloaded the latestlof json file, i noticed that the log file was actually interrupted so the format was damaged.
If possible, please others test this case.. once the card is swiped and reader is interrupted, does anything wrong happen.
I hope i'm wrong.
The text was updated successfully, but these errors were encountered: