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

Strange behavior of second relay #22

Closed tizzen closed 6 years ago

tizzen commented 6 years ago

Hi

I installed the application with apt-get on raspbian (RPi1 B+) and I'm able to control both relays via usb.

However: If I set the state of the second relay to 0, the state of the first relay is also set to 0. The same does not happen the other way around.

In short: sudo usbrelay 1FX9M_2=0 sets states of both relays to 0.

pavel-a commented 6 years ago

"usbrelay 1FX9M_2=0" is not a valid command. Please see the readme.
Probably that should be "usbrelay id=1FX9M off 2"