# Accessing USB based HID RFID Reader in Node-red

**URL:** <https://discourse.nodered.org/t/accessing-usb-based-hid-rfid-reader-in-node-red/61597>\
**Category:** Share Your Projects\
**Created:** [21 April 2022 12:49 UTC](https://discourse.nodered.org/t/accessing-usb-based-hid-rfid-reader-in-node-red/61597 "2022-04-21T12:49:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anilsagar](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@anilsagar](https://discourse.nodered.org/u/anilsagar)\
**Post date:** [21 April 2022 12:49 UTC](https://discourse.nodered.org/t/accessing-usb-based-hid-rfid-reader-in-node-red/61597/1 "2022-04-21T12:49:35Z")

</div>

Have been trying hard all day to get input from an USB based HID RFID reader into node-red. Have achieved some success which I want to share with others.

[https://flows.nodered.org/node/node-red-contrib-usbhid](https://flows.nodered.org/node/node-red-contrib-usbhid) has gotten really old and does not work out of the box. So installed [https://github.com/node-hid/node-hid#building-node-hid-from-source-for-your-projects](https://github.com/node-hid/node-hid#building-node-hid-from-source-for-your-projects) from source.

Needed to make sure latest node-red, nodejs, python and visual studio are installed in windows.

Then had setup a function node and imported a node-hid module as setup [here](https://discourse.nodered.org/t/accessing-inverter-hid-interface-via-nodered/51671/5) and then wrote to code as shown below to get the HID device info in debug

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/7/47e94943c5da3470461259cd2a5de0ea241e1056.png)
