Code Monkey home page Code Monkey logo

Comments (6)

matjack1 avatar matjack1 commented on August 22, 2024

hey @neel8440924 if you could please try this new PR here: #632 it might have fixed the problem.

Also, can you please check in the Settings -> NTP settings if the hour displayed is correct?

from esp-rfid.

MaximeSharp avatar MaximeSharp commented on August 22, 2024

I can also confirm issue #631, it still trigger the relay even if I disable the access on Tuesday :
2024-04-23_18-30-55
2024-04-23_18-36-36

[ INFO ] PICC's UID: 90535856 MIFARE 1KB = known PICC
[ INFO ] User Name: '3' has access relay
[ INFO ] Read timeout or clean after read
mili : 1006493
activating relay 0 now
1006893
1006493
400
0
deactivate relay after this
mili : 1006893

PR #632 seems to fix this issue :

[ INFO ] PICC's UID: 90535856 MIFARE 1KB = known PICC
[ INFO ] User Name: '3' does not have access
[ INFO ] Mqtt Publish:{"cmd":"log","uid":"90535856","username":"3","access":"Disabled","time":1713892463,"doorName":""}
[ INFO ] Read timeout or clean after read

from esp-rfid.

neel8440924 avatar neel8440924 commented on August 22, 2024

I have tested this PR #632 for some time, but I don't know I think the problem is still there, I have noticed sometimes it deny access even in opening hours also, I was not able to test it fully as it was causing problem for the users so I am not using this feature for now, maybe others can test it more and report back.

from esp-rfid.

matjack1 avatar matjack1 commented on August 22, 2024

@neel8440924 we are using this feature daily with hundreds of people and it works. The only issue that I had was with losing connection with the NTP server. If you lose that connection, then the esp can drift quite quickly and have a time very far from reality.

So if you (or someone else) want to try this feature more and if you have problems, please also attach the logs of the accesses, so that we can see at what time the access has been denied and we can check if the reason is the time drift.

Thanks!

from esp-rfid.

neel8440924 avatar neel8440924 commented on August 22, 2024

@matjack1 I have created a test setup to check it in a more controlled way and mess with settings without affecting other people. Herein this example , it denies access even in opening hours. I have attached screenshot of general setting, NTP setting, user setting as well as access logs
IMG_1203
IMG_1204
IMG_1205
IMG_1206

from esp-rfid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.