AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: markr468 on January 02, 2020, 08:56:34 PM

Title: RB ini file (SAT???)
Post by: markr468 on January 02, 2020, 08:56:34 PM
In my ini file the following lines:

Quote
sat_used=0

sat_visible=0

What do these control?

2nd question, when I look at my station, UAT is on the menu, do I need to change something to enable feeding UAT to RB? Already feed UAT to flight aware.

Thanks!!
-Mark
Title: Re: RB ini file (SAT???)
Post by: abcd567 on January 03, 2020, 07:03:33 AM

2nd question, when I look at my station, UAT is on the menu, do I need to change something to enable feeding UAT to RB? Already feed UAT to flight aware.

You cannot feed both ADS-B and UAT from rbfeeder.
You can feed either ADS-B or UAT from rbfeeder.

RBFEEDER (ADS-B):
Receives feed from dump1090-fa
Setting in file /etc/rbfeeder.ini
Code: [Select]
[network]
mode=beast
external_port=30005
external_host=127.0.0.1

RBFEEDER (UAT):
Receives feed from dump978-fa
Setting in file /etc/rbfeeder.ini
Code: [Select]
[network]
mode=raw
external_port=30978
external_host=127.0.0.1


Another (untested) option is to use ModeSMixer2 to combine ADS-B and UAT data from dump1090-fa and dump978-fa, then feed this combined data to RBfeeder:

(1) Install ModeSMixer2 on RPi (https://github.com/abcd567a/mm2/blob/master/README.md)
(2) Configure ModeSMixer2 to receive beast data from dump1090-fa from 127.0.0.1:30005 AND raw data from dump978-fa from 127.0.0.1:30978
(3) Configure ModeSMixer2 to output combined data in beast  format at port 32005.
(4) Configure rbfeeder to receive beast data from ModeSmixer2 at 127.0.0.1:32005
Title: Re: RB ini file (SAT???)
Post by: markr468 on January 03, 2020, 05:29:00 PM
Thank you for that info. Appreciate it!
Title: Re: RB ini file (SAT???)
Post by: abcd567 on January 04, 2020, 07:44:59 AM
OK, 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.
Code: [Select]
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/combine-1090-978/master/install-combiner.sh)"

Once you install it and it is running, you change port number from 30005 to 32005 in rbfeeder's ini file  as shown in red:

Code: [Select]
sudo nano /etc/rbfeeder.ini
Quote
[network]
mode=beast
external_port=32005
external_host=127.0.0.1


Code: [Select]
sudo systemctl restart rbfeeder

Title: Re: RB ini file (SAT???)
Post by: markr468 on January 04, 2020, 12:22:41 PM
Thank you for making that easy!!

Now I wait for any UAT aircraft....

Have a wonderful day!

--Mark
Title: Re: RB ini file (SAT???)
Post by: abcd567 on January 04, 2020, 08:44:59 PM
Bonus:

(1) To see map, charts, flight table generated by ModeSMixedModeSMixer2 at this address in your browser:

IP-of-Pi:8787

(2) To see status and to restart ModeSMixer2

Code: [Select]
sudo systemctl status combiner

sudo systemctl restart combiner

(3) To view/edit config

Code: [Select]
sudo nano /usr/share/combiner-1090-978/combier.conf


Contents of file combiner.conf:
Code: [Select]
--inConnectId 127.0.0.1:30005:ADSB
--inConnectId 127.0.0.1:30978:UAT
--outServer beast:32005
--web 8787
Title: Re: RB ini file (SAT???)
Post by: markr468 on January 04, 2020, 10:05:58 PM
Beautiful! Thanks again for your time and effort.
--Mark
Title: Re: RB ini file (SAT???)
Post by: tgm on May 04, 2020, 01:28:52 AM
Excellent info...  Looking at the website for ModeSDeco2 (http://xdeco.org/?page_id=30), it seems that this utility has NOT been updated for RaspberryPi 4 (Buster) yet.  Has anyone tried it on 4?

Next, it appears that this should work fine for RadarBox.  But can other flight watchers (FlightRadar24, OpenSky, etc) take raw data with 978 UAT mixed in too?
Title: Re: RB ini file (SAT???)
Post by: abcd567 on May 04, 2020, 06:35:09 AM
Excellent info...  Looking at the website for ModeSDeco2 (http://xdeco.org/?page_id=30), it seems that this utility has NOT been updated for RaspberryPi 4 (Buster) yet.  Has anyone tried it on 4?

ModeSDeco2 - installation script for RPi 2/3/4 and Raspbian Stretch/Buster
 (https://github.com/abcd567a/md2/blob/master/README.md#modesdeco2 - installation-script-for-rpi-234-and-raspbian-stretchbuster)


ModeSMixer2 - installation script for RPi 2/3/4 and Raspbian Stretch/Buster (https://github.com/abcd567a/mm2/blob/master/README.md)


Next, it appears that this should work fine for RadarBox.  But can other flight watchers (FlightRadar24, OpenSky, etc) take raw data with 978 UAT mixed in too?

After posting the combiner method in this thread, I have discussed combining issue with Oliver Jowett (author of dump1090-fa & dump978) and Sergsero (author of ModeSMixer2). Both of them concluded that due to format difference, the mix will not work for any feeder site, including radarbox24, flightradar24, flightaware, OpenSky etc.