Looking for an alternative to outrageously expensive industrial-grade barcode scanners for tracking start/end batch times in some of the old production lines (you know, the ones controlled by analog relays and timers, without PLC), I decided to give a try to a few Raspberry Pis (model 3B) that IT had lying around in a corner.
The idea was to get a regular, inexpensive 1D barcode scanner to use with the work order sheets (they have a barcode printed along that I can scan to get the details of the order).
I'd 3D print a DIn rail mount for the PI, and the barcode readers would be installed next to the input and output ports of the production line. The idea is to have just a pair of LEDs (green for successful read, red for error) and the barcode reader connected to the Pi. No screen, no dashboard to speak of.
Now, I installed @gdziuba/node-red-usbhid (which was updated 11 months ago, as opposed to the node-red-contrib-usbhid which hasn't updated in years). The instructions for both seem to be identical.
I followed the instructions to the letter, but I get an error, as I described in the nodes github issues.
now, this seems to be an issue with the permissions, but I added the standard user to an input group exactly as the instructions describe, and I haven't been able to get it working.
Any ideas to solve this, or any working alternative?