TRX Console: user manual

TRX distant version 0.188.0

Language: Français · English · Deutsch · Español

TRX Console is the control panel of the TRX distant station, on the PC (or Raspberry Pi) connected to the transceiver. It is used to install and configure the station, start it, test it, update it and troubleshoot it. Open it from the applications menu ("TRX Console") or by typing trx-console in a terminal.

The menus are grouped by theme (Station, Transceiver and hardware, Transmit safety and alerts, Access and accounts, Features, Troubleshooting and assistance, Updates, Expert and preferences; numbers changed in 0.166.0): type the theme number then the menu number, or both at once, for example 4.1 to pair a phone. 0 changes the console language (français, English, Deutsch, Español) and the display level: Basic (commissioning, daily use, asking for help), Normal (all the usual settings), Expert (plus fine settings and development tools). The level hides menus to keep things simple, without forbidding anything: a typed number always opens its menu. Basic by default; in the browser, language and level change with one click at the top of the page.

Full screen (since version 0.170.0): on the left, the themes with their icon; arrows to choose, Enter to unfold a theme or open a menu; or digits, as in the text console (a digit opens a theme, then a digit opens its menu; 0 = language; r or Esc goes back to the themes; + expands all themes, - collapses them all; F5 refreshes; with the mouse, hovering a menu shows its help, a click chooses it, a second click or a double-click opens it); on the right, the help of the chosen menu; at the top, the station state. The opened menu runs as in the text console, then the screen comes back. It works over SSH and on Windows. trx-console --texte keeps the text console (numbered menus typed on the keyboard, described below); TRX_CONSOLE_SANS_ICONES=1 removes the icons.

In the browser (since version 0.175.0): key w in the full screen, or trx-console --web. The same menus as tiles, help on hover, and the chosen menu running in a terminal built into the page. The page only listens on the station itself and opens with a one-time address; from another PC, through an SSH tunnel (operator guide, part 7.5).

Not sure about a menu? Type h followed by its number (for example h 4.1): without running anything, the console shows what the menu is for, when to use it and what it changes (the texts of this page).

It never transmits on its own: the only menus that can put the transceiver into transmit are the full test (menu 2.2, with confirmation at each step) and, of course, the station once started, controlled from the web page.

First deployment? Follow the steps below in order. Station already in service? Go straight to the menu reference. Helping with debugging? See the "Advanced troubleshooting" part.

First deployment, step by step

  1. Install the software

    On a Debian 12 or 13 PC with a desktop: unzip the package trx-remote-debian-X.Y.Z.zip into Downloads, open a terminal in the resulting folder and type:

    sudo bash install.sh

    Your session password is asked (nothing is shown while you type: this is normal). At the end, log out then log in again so that the new rights take effect.

    Coming from a Windows station? Put its station.toml file next to install.sh before starting the installation: accounts, bands and alerts will be carried over.

  2. Configure the station (menu 2.1)

    On first launch, TRX Console offers the wizard. It asks, in order: the transceiver model (Hamlib list), the CAT serial port, the PTT method, the sound cards (receive and transmit), the bands allowed for transmission, network access and the first account (username and password for the web page).

    The transceiver is queried read-only during the wizard: no transmission. Nothing is saved if you give up halfway.

  3. Check (menu 6.1)

    The diagnostic reviews everything without changing anything. Each line is OK, to watch or failed, with what to do. Fix the failures before going further (menu 8.1 to adjust the configuration, or run the wizard again).

  4. Test the transceiver (menu 2.2)

    First of all, the transceiver sound card must not be the PC's default sound device: on Debian, Settings > Sound, choose the PC speakers as output and its microphone as input (on Windows, Settings > System > Sound). Otherwise the desktop holds the card and its sounds go to the transceiver.

    Start with the receive-only test (choice 1): CAT link, received audio, frequency and mode changes, filter widths, spectrum. Only then does the full test (choice 2) check transmission: dummy load required, reduced power, confirmation asked at each step. The station is stopped during the test.

  5. Start (menu 1.1) and connect

    Menu 1.1 starts the station; run a diagnostic again (menu 6.1) a few seconds later. On the phone or another PC on the same network, open https://<adresse-de-la-station>:8443 and log in with the account created by the wizard. For access from outside, see the project's "Remote access" documentation.

The main menu shows the themes: type the number of a theme then the number of one of its menus, or both at once (7.3); r goes back to the main menu, 0 changes the language, q quits. The old numbers 10 to 24 (single level, up to version 0.125.0) are still accepted for a while: the console gives the new one. Answers to questions (oui, non, OUI, EMETTRE...) ignore upper/lower case and accents. Password: the menu asks for your session password (sudo).

1) Station

2) Transceiver and hardware

3) Transmit safety and alerts

4) Access and accounts

5) Features

6) Troubleshooting and assistance

7) Updates

8) Expert and preferences

Advanced troubleshooting

Console header

The first line gives the installed version, the second the state (running, stopped, not configured yet). Once the station is configured come the address where it can be reached from the web page or the app (machine IP addresses and port; "this machine only" if it only listens locally), then the transceiver state: supply voltage and temperature, as read by the station ("—": value the transceiver does not provide; the IC-7300MK2, for example, does not report its temperature; "readings unavailable": station stopped). The last line gives the station identifier: a unique code created on first start, which makes it possible to match several reports from the same station. It is never sent anywhere automatically.

Useful files (Debian)

Readings from the transceiver (read-only)

For an Icom transceiver with a second CI-V port (spectrum), a raw dump of the settings, without any write, helps establish the real format of the answers. With the station stopped (menu 1.2), run:

/opt/trx-remote/current/venv/bin/python -m trxstation.devtools.civ_scope --port /dev/serial/by-id/<port-B> --reglages

The result is saved in a spectre-reglages-… folder: attach it to your request.

Reporting a problem

  1. In the web page: "Report a problem" section (text reviewed before sending).
  2. On the station: menu 6.3 (troubleshooting report), and if needed the result of menu 8.2.
  3. Describe what you were doing, what you expected and what happened, with the approximate time.