I’m considering buying ‘USB Relay with 5 or 10 Amp Relays’ but i’m was hoping to confirm some of my thoughts.
I just want to be able to control the relay with a command from a linux machine ( ubuntu would be nice ). I would essentially just like to be able to turn on and off a specific relay with a simple command, preferably with Ruby.
It seems possible from what i’ve read and the videos i’ve watched but I would love to know if anyone else had luck doing this.
Or if there is a better direction someone could suggest, i’d would love to hear that as well.
Yes, you can control the usb relays using linux machine ( including ubuntu).
for example to turn on a relay you will need to send this command — 254 108 1
and to turn off a relay you will need to send this command — 254 100 1 through a serial port.
All the relay control command docs can be found on the product page under resources.
Let us know if you have any other questions.