Accessing USB based HID RFID Reader in Node-red

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. has gotten really old and does not work out of the box. So installed 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 and then wrote to code as shown below to get the HID device info in debug

1 Like