# USB RFID Reader and Pi keyboard Node

**URL:** <https://discourse.nodered.org/t/usb-rfid-reader-and-pi-keyboard-node/44063>\
**Category:** General\
**Created:** [12 April 2021 20:08 UTC](https://discourse.nodered.org/t/usb-rfid-reader-and-pi-keyboard-node/44063 "2021-04-12T20:08:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttavlis](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@ttavlis](https://discourse.nodered.org/u/ttavlis)\
**Post date:** [12 April 2021 20:08 UTC](https://discourse.nodered.org/t/usb-rfid-reader-and-pi-keyboard-node/44063/1 "2021-04-12T20:08:35Z")

</div>

Dear all,  
I have a simple setup where I use a generic USB RFID Reader (as [this](https://www.amazon.de/Neuftech-Reader-Kartenleseger%C3%A4t-Kartenleser-Kontaktlos/dp/B018OYOR3E/ref=asc_df_B018OYOR3E/?tag=googshopde-21&linkCode=df0&hvadid=308574175625&hvpos=&hvnetw=g&hvrand=12989582037019116109&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9044546&hvtargid=pla-425928233458&psc=1&th=1&psc=1&tag=&ref=&adgrpid=62518755598&hvpone=&hvptwo=&hvadid=308574175625&hvpos=&hvnetw=g&hvrand=12989582037019116109&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9044546&hvtargid=pla-425928233458) ) one) to read a RFID card and "do stuff" (yes, play some music in sonos).  
The PI Keyboard Node gets the ID of the card, which is 10 characters and ends with a "28", i.e. the "enter".  
As soon as I lift the card from the reader, the indicator light changes from green (Activated) to red (deactivated), but there is no change on the output of a debug node linked to the Pi Keyboard Node.  
Is there anyone else that knows, if it is possible to capture this "remove card" from the Neuftech reader on Node-Red?  
The idea is to use this to pause the music that is playing at the moment.

Thanks a lot for any help.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 April 2021 20:24 UTC](https://discourse.nodered.org/t/usb-rfid-reader-and-pi-keyboard-node/44063/2 "2021-04-12T20:24:28Z")

</div>

Is there any option to configure the reader to send a message for that ?

---

<div class="post-metadata">

**Author:** ![ttavlis](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@ttavlis](https://discourse.nodered.org/u/ttavlis)\
**Post date:** [12 April 2021 21:26 UTC](https://discourse.nodered.org/t/usb-rfid-reader-and-pi-keyboard-node/44063/3 "2021-04-12T21:26:02Z")

</div>

This would be a pretty good approach. But the software allows only to change the format or add some strings to the end of the ID being read.  
Any other idea or experience with this kind of reader?

 ![Neuftech USB RFID Reader ID Kartenlesegerät Kartenleser Amazon.de Computer & Zubehör](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/1/5187f99801da24a70ad4838f18cfd45c006fdca8.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 April 2021 21:48 UTC](https://discourse.nodered.org/t/usb-rfid-reader-and-pi-keyboard-node/44063/4 "2021-04-12T21:48:09Z")

</div>

No sorry, if they don't send anything I don't know how you could detect it. You could use a trigger node to send a second message after a fixed timeout but that's not really the same.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 June 2021 21:48 UTC](https://discourse.nodered.org/t/usb-rfid-reader-and-pi-keyboard-node/44063/5 "2021-06-11T21:48:24Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
