Closed chrispi68 closed 6 months ago
Hello.
I think that's the same issue as in https://github.com/kormax/apple-home-key-reader/issues/3
If that's the case, power cycle the PN532 to resolve it this time. As for preventing this in the future, right now this can only be done by patching the nfcpy library by hand as said in the link.
I'll think about possible ways of fixing it via monkey patching the external function, but can provide no timeline for that.
I patched the file pn532.py and now it works
Old: change_baudrate = True # try higher speeds
New: change_baudrate = False # try higher speeds
Hello.
This PR should be able to fix this issue for everyone automatically (by monkey-patching nfcpy library code at runtime).
If you have some time, I would be glad if you could try it out. With this change manual changes to nfcpy would no longer be necessary.
If you have some time, I would be glad if you could try it out. With this change manual changes to nfcpy would no longer be necessary.
I am preparing a second test device with a RasPi Zero 2W and the current code. I will report if this is completed.
It is stable. Great work!
Hi,
The software works, but after a few opening and closing processes it gets stuck in an error loop. To solve the problem, I have to completely power down my Pi and thus also the NFC reader and reboot.
Any ideas?
Raspberry Pi 4 with Raspbian OS, 64bit
Best regards Christoph
Log:
After a restart of the software (without power cycle):