I have prepared a script which installs ModeSMixer2 on Raspberry PI, and configures it to receive data from dump1090-fa and dump978-fa, combine it and then serve it on port 32005 in beast format.
Copy-paste following command in terminal, and it will install ModeSMixer2, and configure it as combiner.
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/combine-1090-978/master/install-combiner.sh)"
.
.
.
Once you have installed the combiner and it is running, you change port number from 30005 to 32005 in various feederâs ini file as shown below:
Flightradar24 feeder
sudo nano /etc/fr24feed.ini
receiver=âbeast-tcpâ
host=â127.0.0.1:32005â
Planefinder feeder
sudo nano /etc/pfclient-config.json
{âtcp_addressâ:â127.0.0.1â,âtcp_portâ:â32005â,âselect_timeoutâ:â10â,âdata_upload_intervalâ:â10â,âconnection_typeâ:â1â,âaircraft_timeoutâ:â30â,âdata_formatâ:â1â,âlatitudeâ:âxx.xxxxâ,âlongitudeâ:âxx.xxxxâ,âsharecodeâ:âxxxxxxxxxxxâ}
Radarbox24 feeder
sudo nano /etc/rbfeeder.ini
[network]
mode=beast
external_port= 32005
external_host=127.0.0.1
.
Adsbexchange feeder
while sleep 30
do
/bin/socat -u TCP:localhost:32005 TCP:feed.adsbexchange.com:30005
done
.
MISCELLANEOUS
(1) To see map, charts, flight table etc, generated by ModeSMixer2 at this address in your browser:
IP-of-Pi:8787
(2) To see status and to restart ModeSMixer2
sudo systemctl status combiner
sudo systemctl restart combiner
(3) To view/edit config
sudo nano /usr/share/combiner-1090-978/combiner.conf
--inConnectId 127.0.0.1:30005:ADSB
--inConnectId 127.0.0.1:30978:UAT
--outServer beast:32005
--web 8787
NOTE: You can add following line below the last line to show station marker and range plot
--location xx.xxxx:yy.yyyy
Replace xx.xxxx by your latitude and yy.yyyy by your longitude
TO UNINSTALL
sudo systemctl stop combiner
sudo systemctl disable combiner
sudo rm /lib/systemd/system/combiner.service
sudo rm -rf /usr/share/combiner-1090-978