pavel-a / usb-relay-hid

Software for USB-connected relays with HID interface. See the WIKI for more info.
http://vusb.wikidot.com/project:driver-less-usb-relays-hid-interface
247 stars 105 forks source link

New devices have the same ID and are indistinguishable #40

Open tcetner opened 2 years ago

tcetner commented 2 years ago

Hello, devices I've bought recently (2 relay version) all have the same ID=HURTM:

hidusb-relay-cmd.exe ENUM
Board ID=[HURTM] State: R1=OFF R2=OFF
Board ID=[HURTM] State: R1=OFF R2=OFF

It is impossible to address them independently, only the first one reacts. This makes them useless.

Is there any workaround to this? I'm using Windows 10.

pavolgaj commented 2 years ago

See this closed issue https://github.com/pavel-a/usb-relay-hid/issues/24. If you can use Linux, you should also look at this code https://github.com/darrylb123/usbrelay with details here: https://github.com/darrylb123/usbrelay/issues/18. You'll be able to change their IDs - e.g. ./usbrelay HURTM_0=NEWID (with new ID NEWID). This change is written somewhere directly to the relay board and on Windows, you see it with your new ID. I don't know if it could be compiled also under Win.