One Pi, Two Dongles, Two Maps, Two Receivers

(1) INDEPENDENT SETUP OF 2 INSTANCES OF DUMP1090

.

(2) AGGREGATED SETUP OF 2 INSTANCES OF DUMP1090

NOTE :
MLAT SHOULD BE DISABLED IF AGGREGATION IS USED
(MLAT gets confused by two receivers data in one feed, gives erroneous results, and ultimately crashes).

.

AGGREGATION METHOD (Creating Data “Pipe”):

(1) Install netcat

sudo apt-get update
sudo apt-get install netcat

.

(2) Create a file named mypipe.sh

sudo nano mypipe.sh   

.

(3) Copy-paste any one of the following two codes (Do NOT copy-paste both):

(a) For Beast format

#!/bin/sh  
while true  
  do  
    sleep 30  
    nc 127.0.0.1 31005 | nc 127.0.0.1 30004  
  done

.

(b) For AVR format

#!/bin/sh  
while true  
  do  
    sleep 30  
    nc 127.0.0.1 31002 | nc 127.0.0.1 30001  
  done

.

(4) Save file (Ctrl+o) and close (Ctrl+x)

(5) Make file executable

sudo chmod +x mypipe.sh

.

(6) Run the aggregation script mypipe.sh

./mypipe.sh & disown  
2 Likes