usbrelay(1)

usbrelay1

Control or query usb hid relays

Usage

usbrelay [OPTION ...] [ACTION ...]

Overview

usbrelay allows for querying and setting the state of USB HID electrical relays. If no ACTION is passed, the state of all relays is printed to stdout. RELID_N=[0|1] sets the N-th relay on module RELID to off or on.

Multiple actions can be performed with one command

eg:

usbrelay REL0A_1=0 REL0A_2=1 REL0B_2=0...

The Relay module ID can be changed on DCTTECH relays: RELID_0=NEWID sets the relay RELID to NEWID

Options

-d, --debug

Produce debugging output

-q, --quiet

Suppress output

-?, --help

Print the help menu

--usage

Print a usage description

-V, --version

Print the program version

Releases

6 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–11
  2. 12–13

--debug since Debian 12 (Bookworm); --help since Debian 12 (Bookworm); --quiet since Debian 12 (Bookworm); --usage since Debian 12 (Bookworm); --version since Debian 12 (Bookworm); -? since Debian 12 (Bookworm); -V since Debian 12 (Bookworm); -d since Debian 12 (Bookworm); -q since Debian 12 (Bookworm).

From usbrelay 1.0-2.2+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.