Thanks a lot Sir @zenofmud, that's so generous. I will let you know if I need it.
Regards
Hello, i'm receiving an error message: "SyntaxError: Unexpected token S in JSON at position 0" unless i'm getting ride of the JSON node then i get this: Size: 8
{ "cardUID": "550f24d9","cardtype":"MIFARE 1KB" }
I'm wondering why this: "Size: 8"
Any comments? Thanks
A little more information would be helpful...where are you seeing this error?
can you identify the node issuing it?
Where is the data originally coming from?
what does the data coming out of the originating node look like?
What does the flow look ike? Maybe provide it???
Hi Zeno, thanks for answering
- error in Debug node
- Issuing node: RFIDReader from: https://github.com/mxgxw/MFRC522-python
- the flow is here:
https://github.com/Pi4IoT/Node-RED/blob/master/RFID/RFID_RC522.txt
Thanks again, David
Have you looked at the open issues about the python code you are running? (See github)
i did but havent fiind the solution, my skills are not on the level
My point was that there are a bunch of issues. You are trying to use code from a couple years ago that hasn't been updated and people are reporting errors with. So you have the choice of diging in and fixing the code or do what you want anothr way.
Ciao, potresti inviarmi lo schema per wemos e il codice? Grazie
Ne sarei felice, ma ci vorrĂ del tempo. Devo scavare e potrebbe volerci un giorno o due.
I used the MFRC522
library at https://github.com/miguelbalboa/rfid and you will find many examples there. For Node-RED, you just use an mqtt-in
node to receive the message being sent by the WeMos.
Here is the RFID-RC522 to WeMos
wiring diagram I used.
Ho usato la libreria MFRC522
su https://github.com/miguelbalboa/rfid e lĂŹ troverai molti esempi. Per Node-RED, si usa semplicemente un nodo mqtt-in
per ricevere il messaggio inviato da WeMos.
Ecco lo schema di cablaggio da RFID-RC522 a WeMos
che ho usato.
Grazie. Proverò