node-red-contrib-wsjt-x 2.0.1

WSJT-X Data Decoding

npm install node-red-contrib-wsjt-x

node-red-contrib-wsjt-x

A NodeRed node to handle the decoding and encoding of WSJT-X (and JTDX) data. WSJT-X is an amatuer (ham) radio program that enables weak-signal radio communications using a variety of specially desinged protocols (FT8, FT4, WSPR, JT8, JT4, and more). This node allows the data sent by WSJT-X to be injected into NodeRed flows for further processing and use. It also allows messages from NodeRed flows to be encoded and sent to WSJT-X.

Example NodeRed Flow

To best utilize this node in your flow while still being able to use other programs (like GridTracker or your logging software) you should configure WSJT-X's Reporting: UDP Server to send to a multicast address. IP addresses 224.0.0.0 to 224.0.0.255 are reserved for local network multicast, thus an IP in this range is a great choice. Then in all the places you want to receive that data, configure those a multicast as well. Within NodeRed's udp in node, choose Listen for: multicast messages and then configure the same multicast IP address and port that you configured WSJT-X with.

To send commands to WSJT-X you will need to identify the IP address and port number that WSJT-X is using to send data out. This is not the same as the address WSJT-X sends to (above). The easist method is to use a udp in node setup to receive data (as above) and use the msg.ip and msg.port from incoming messages. The wsjt-x-encode node can be used to encode messages from your flow into buffer objects that a udp out node, properly configured, can then send to WSJT-X. You will also have to configure WSJT-X to accept incoming UDP commands, look in Settings.

WSJT-X Encoding Work-in-progrss (v2.0)

While I have a goal of being able to encode all the WSJT-X messages, the priority is to complete the ones that WSJT-X accepts as input first. See the [WSJT-X Source Code](* https://github.com/roelandjansen/wsjt-x/blob/master/NetworkMessage.hpp).

The commands that can be encoded are as follows:

  • clear: {"window":2}
  • heartbeat: {"max_schema_number":3,"version":"2.6.1","revision":""}
  • reply (untested): {}
  • halt_tx: {"auto_tx_only":false}
  • close: {}
  • replay: {}
  • free_text: {"text": "sample", "send": false} (text can be null to change send only)
  • location: (broken?) {"location": "FN43rq"}
  • logged_adif: {"adif_text": "...adif XML-like stuff..."},
  • switch_configuration: {"configuration_name":"IC-705"}
  • highlight_callsign: {"callsign": "...", "background": "#ff00ff", "foreground": "000000", "highlight_last" false} (null for invalid color, which clears highlight)
  • configure: (not implemented)
    {
        "mode":"FT8",                   // null or emptyis no change
        "frequency_tolerance": null,    // null is no change 
        "sub_mode": "",                 // null or emptyis no change
        "fast_mode": true, 
        "tr_period": null,              // null is no change
        "rx_df": null,                  // null is no change
        "dx_call": null,                // null or emptyis no change 
        "dx_grid": null,                // null or emptyis no change
        "generate_messages": true
    }

Node Info

Version: 2.0.1
Updated 1 year, 10 months ago
License: MIT
Rating: 5.0 2

Categories

Actions

Rate:

Downloads

6 in the last week

Nodes

  • wsjt-x-decode
  • wsjt-x-encode

Keywords

  • node-red
  • wsjt-x
  • wsjtx
  • ft8
  • ft4
  • wspr
  • radio
  • ham radio
  • amatuer radio

Maintainers