Skip to content

PN532 doesn't reconnect automatically? #39

@rplushh

Description

@rplushh

After days of finally getting the right ESPHome code to trigger an external relay via GPIO pin, I'm running to this issue below. I believe the NFC reader has been dropped and doesn't reconnect to ESP automatically like the fix that was implemented the HomeKey-ESP32 codebase (i may be wrong). Am I wrong to expect the device to be able to pull homekey through express mode at any point in time?

using an ESP32 board with elechouse v3 board with the blue caps so the antennas should have matching impedance. Log files is attached

logs_homekey-reader_logs(1).txt

Describe the bug
after being idle for >10min reading homekey either in express mode or authenticated through wallet app isn't able to be read

To Reproduce
Steps to reproduce the behavior:

  1. successfully read homekey via wallet app, triggers GPIO pin to trigger external relay
  2. read homekey in express mode, success
  3. wait ~10min,
  4. try homekey through express mode, phone doesn't detect NFC reader to pull up homekey in express mode.
  5. open wallet app choose key, authenticate, gives a red (!) on iphone.
  6. wait 5 seconds place phone back to NFC Reader, reads fine, triggers GPIO pin

Expected behavior
phone to be able to pull up homekey through express mode and reader to detect all the correct values

Additional context
In the logs, I notice after xx minutes of idle, it gives me a warning of [W][pn532:146]: Setting 8bit TX failed! when placing my phone next to the PN532 to read the homekey

  • Device: iPhone 16 Pro
  • iOS version: iOS 18.5

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions