esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PN532 Uids missing 0 sometimes

neel8440924 opened this issue · comments

I am using fix access log build and rc522 reader and UID was scanned correctly, but every few hours rc522 would stop responding which can be fixed by restarting esp. So I tried using PN532 reader but now it misses 0s in Uids which causes some users to get locked out.

Hey @neel8440924 since I'm not actively using RC522 reader and the bug seems nasty, if it happens after a few hours, have you considered enabling the auto-restart of esp-rfid, so that the problem is mitigated?

Yes I tried using auto restart feature every half-hour but it still happen sometime so I changed to pn532 reader and no issue so far. Only problem is missing zeros in UID when using pn532 reader can you please help with that?

Yes @neel8440924 I can have a look at some point soon, but if anyone has time to help on this is welcome as I don't normally use a PN532, so it's a bit cumbersome for me to test this :(