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
250 stars 106 forks source link

how to operate. two one channel relay connected to one laptop #23

Closed combat007 closed 6 years ago

combat007 commented 6 years ago

My problem is I have two one channel relay hid device. the command "./hidusb-relay-cmd enum" show the following output Board ID=[959BI] State: R1=OFF Board ID=[959BI] State: R1=OFF

but when I provide the command "./hidusb-relay-cmd ID=959BI ON 1" it works for one device but changing the number to 2,3 or 4 dosen't help operating second device. How can I achieve this. How can I operate the second one.

ImXron commented 6 years ago

@combat007 Were you able to figure this one out?

Thanks

tcsaddul commented 6 years ago

They should have a different serial no.  I guess the library does not have the capability to write serial no of the relay.

On Thursday, March 15, 2018, 5:59:13 AM GMT+8, ImXron <notifications@github.com> wrote:  

@combat007 Were you able to figure this one out?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

combat007 commented 6 years ago

Yes

On Mar 15, 2018 3:29 AM, "ImXron" notifications@github.com wrote:

@combat007 https://github.com/combat007 Were you able to figure this one out?

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pavel-a/usb-relay-hid/issues/23#issuecomment-373188965, or mute the thread https://github.com/notifications/unsubscribe-auth/AHJVzNeaP55VUoNWCDkGAf0PpDKj-szsks5teZKvgaJpZM4Rumyt .