Skip to content

Configuring TR4W for Node Red Contesting Dashboard

Tom Schaefer edited this page Mar 18, 2022 · 5 revisions

Kyle AA0Z created a very nice node-red dashboard to display contact, radio and score data provided by N1MM via the UDP broadcast data. TR4W also sends this data so it is an easy matter to configure TR4W to send this data on the correct ports.

Kyle's software listens on different UDP ports for each type of data:

  • Radio - UDP Port 12060
  • Contacts - UDP Port 12061
  • Score - UDP Port 12062

As of TR4W release 4.109.4, it is possible to set each of these type of records on a different port.

To set this up, use the following procedure:

Once in TR4W, enter CTRL-J (or go to the Ctrl-...Configuration Commands Menu). When presented with the following dialog, hit the U key to jump down to the UDP section.

Here is the dialog after pressing U to jump to UDP section.

  • Set UDP BROADCAST APP INFO to FALSE
  • Set UDP BROADCAST CONTACT INFO to TRUE
  • Set UDP BROADCAST RADIO INFO to TRUE
  • Set UDP BROPADCAST SCORE to TRUE
  • Change the UDP BROADCAST PORT CONTACT to 12061
  • Change UDP BROADCAST PORT SCORE to 12062.
  • Confirm UDP BROADCAST PORT RADIO is 12060 (default).
  • Change the UDP BROADCAST ADDRESS to either the broadcast address for your subnet (ends in .255) or the specific IP of your Node-Red system.

You will be prompted to restart.

After restart, you should see info in the Node-Red-Dashboard.

Advanced Troubleshooting

If you do not see any data, you can use tcpdump on the raspberry Pi where you are running Node-red to check for data. Enter >sudo tcpdump -nni eth0 -s 0 host and udp and host <ip of Node-red Raspberry Pi).

Example: >sudo tcpdump -nni eth0 -s 0 host 192.168.1.249 and udp and host 192.168.1.32 -w udp.pcap

This assumes the TR4W computer is 192.168.1.249, the node-red Raspberry Pi is 192.168.1.32 and you are using eth0 as the ethernet interface. You can then sftp to the Node-Red system, download the udp.pcap file and use WireShark to review it. (There are many references on how to use WireShark so search for that info).