adonno / tagreader

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

Can't get tag read #203

Open dyay108 opened 1 year ago

dyay108 commented 1 year ago

I've tried with 3 different esp8266 modules and 3 different pn532 boards and can't get it working.

I've triple checked the wiring, soldering, etc... Home assistant running locally and not exposed to the Internet.

Link to esp8266

PXL_20221114_014255324 (Don't mind the wire colors, had to make do with what i had lying around)

Successfully added the module to hass.

PXL_20221114_014755726

adonno commented 1 year ago

This is wierd it seems to find the PN532 properly though did you change the wires ? (i know this might be a dumb question. Can you try soldering the wire directly to the pins ?

Maybe the cards are defective ? Tag reader can also read CreditCards, you won't get much information but it should be able to read them

dyay108 commented 1 year ago

this is the third reader and third module, and i already soldered the previous 2 and they didn't work. Ended up damaging those boards trying to desolder.

mariomare22 commented 1 year ago

Hello @adonno i have the tag reader from your website and also have orange light and no feed back on readings. When powering the blue led flashes briefly but that's it.

Any idea?

adonno commented 1 year ago

Ok that's wierd. It should connect to HA does it connect to it?

Does the card appear in the logs when scanned ? Scan a card while logging just to make sure the reader is working properly

this is the third reader and third module, and i already soldered the previous 2 and they didn't work. Ended up damaging those boards trying to desolder.

dyay108 commented 1 year ago

Ok that's wierd. It should connect to HA does it connect to it?

Does the card appear in the logs when scanned ? Scan a card while logging just to make sure the reader is working properly

this is the third reader and third module, and i already soldered the previous 2 and they didn't work. Ended up damaging those boards trying to desolder.

No output in the log window when i present a tag to the reader

adonno commented 1 year ago

and you have been using the cards that are provided with the boards ? Or did these come without a card ?

dyay108 commented 1 year ago

Yes, been using the cards that came with the boards and other cards i bought elsewhere.

adonno commented 1 year ago

i don't get the issue and you did use the code that is provided on github without altering it?

dyay108 commented 1 year ago

i don't get the issue and you did use the code that is provided on github without altering it?

correct. the only thing i changed is the ssid and password.

just in case, could u please list out the steps?

adonno commented 1 year ago

Steps :

  1. solder evrything togehter as per : (in you case ignore the LED and Buzzer) https://github.com/adonno/tagreader/blob/master/Schematics/tag_reader_schematics_v3.2.png
  2. flip the N1 switch to ON on the PN532
  3. Connect to a pc and go to : https://adonno.github.io/tagreader
  4. once flashed post the logs
warrap1989 commented 1 year ago

@adonno I followed the steps in your last post but I'm continuing to have the same issue as OP. I wrote out the steps I followed and configuration details below.

On my router, I've set the IP address of the D1 mini to a static address (as part of troubleshooting). HA version is 2022.11.4 and is setup for external access.

Before doing any of this, I removed added devices in integration from previous attempts, uninstalled the ESP Home add-on, deleted the esphome folder under configs and then proceeded with the following steps.

  1. Run the install from https://adonno.github.io/tagreader/
  2. After install, assigned network credentials when prompted in https://adonno.github.io/tagreader/
  3. Go to Home Assistant and adopt in through ESPHome add-on in Home Assistant
  4. After clicking adopt, I was prompted in ESP Home to input network credentials, I used the same ones as step 2
  5. Proceed with updates installation in ESP Home add-on, kept log window open and proceeded with next steps
  6. After install was complete, added the newly discovered ESP device to my integrations, using the IP in the log file when prompted for the host. integration was added successfully.
  7. Used the Clean Tag and Write Tag entities to attempt to write NFC tag that came with the PN532 and downloaded the log files which are attached.

I've tried a number of approaches and I can't seem to get it working. Any insight would be appreciated; it's a really cool project and I'd love to get it up and running :)

logs_tagreader-0c5c6c install log.txt

grambas commented 1 year ago

Same for me. Everything looks fine. Buzzer reacts to Home Assistant actions like Cancel Writinh, Clean Tag, Write Tag Random, but the reader not reacts to any rfid device 276569ed-e549-46aa-948b-b22011b0cff5

grambas commented 1 year ago

Same for me. Everything looks fine. Buzzer reacts to Home Assistant actions like Cancel Writinh, Clean Tag, Write Tag Random, but the reader not reacts to any rfid device 276569ed-e549-46aa-948b-b22011b0cff5

My Problem was wrong wiring. I needed to change SDA to D2 and CSL to D1

thomastalving commented 1 year ago

I'm having the exact same issue. switching D2 and D1 does not solve it.

Good to note is that i skipped the buzzer and the led and added a battery module on top of my esp8266, but this device should not interfere with everything.

Battery Module