gdziuba / node-red-contrib-usbhid

A node-hid (USB HID device access library) wrapper for nodered
Apache License 2.0
3 stars 0 forks source link

HIDdevice stopps reading #10

Open XsiTec opened 1 month ago

XsiTec commented 1 month ago

Hi I use the HIDdevice to reade input from a barcode reader. It works fine so far but the node stops reading after a while. I can see that the barecode reader is still sending the code as a keybord to the pc but the HIDdevice node do not read it and send it to the next node. If I change the VID to a different number, deploy, change it back to the right number and deploy again, the node is reading and everything works fine. If I do a restart of the PC eveything works. But after a while the node again stops reading.

What can I do to reset the note or let it reconnect every 10 min. or so ? Or is there a other option to fix that ?

Thanks a lot