adonno / tagreader

Simple to build/use NFC tag reader, specially created for Home Assistant
https://adonno.com
GNU General Public License v3.0
1.2k stars 186 forks source link

Authentication failed #257

Open SSpohner87 opened 8 months ago

SSpohner87 commented 8 months ago

Hi, I am using NodeMCU with PN532 NFC NXP Modul V3. Compiling worked without issues. But when I read the tags, I always get the following logs:

[15:07:55][D][pn532:364]: Mifare classic [15:07:56][E][pn532.mifare_classic:101]: Authentication failed - Block 0x04 [15:07:56][D][light:036]: 'TagReader LED' Setting: [15:07:56][D][light:047]: State: ON [15:07:56][D][light:051]: Brightness: 100% [15:07:56][D][light:058]: Red: 0%, Green: 100%, Blue: 0% [15:07:56][D][light:078]: Flash length: 0.5s [15:07:56][D][pn532:200]: Found new tag '63-51-BA-0E' [15:07:56][D][pn532:379]: Waiting to read next tag [15:07:56][W][component:214]: Component pn532 took a long time for an operation (0.12 s). [15:07:56][W][component:215]: Components should block for at most 20-30ms. [15:07:56][D][tagreader:309]: No HA NDEF, using UID [15:07:56][D][rtttl:051]: Playing song success [15:07:56][D][rtttl:176]: Playback finished [15:08:36][I][ota:117]: Boot seems successful, resetting boot loop counter.

What did I do wrong. Is it the NodeMCU?

Best Regards Sebastian

michaelstepner commented 7 months ago

FWIW, I also see this error in my logs but the tag is successfully read and my Home Assistant automations run successfully.

hitnrun30 commented 4 months ago

Same here, but I would like to get rid of it, can it be just the code for the reader?