AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: RB ini file (SAT???)  (Read 1550 times)

0 Members and 1 Guest are viewing this topic.

markr468

  • New Member
  • *
  • Posts: 11
RB ini file (SAT???)
« 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

abcd567

  • Sr. Member
  • ****
  • Posts: 341
  • CYYZ - Toronto
Re: RB ini file (SAT???)
« Reply #1 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
« Last Edit: January 03, 2020, 10:23:24 PM by abcd567 »

markr468

  • New Member
  • *
  • Posts: 11
Re: RB ini file (SAT???)
« Reply #2 on: January 03, 2020, 05:29:00 PM »
Thank you for that info. Appreciate it!

abcd567

  • Sr. Member
  • ****
  • Posts: 341
  • CYYZ - Toronto
Re: RB ini file (SAT???)
« Reply #3 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

« Last Edit: January 04, 2020, 08:23:51 AM by abcd567 »

markr468

  • New Member
  • *
  • Posts: 11
Re: RB ini file (SAT???)
« Reply #4 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

abcd567

  • Sr. Member
  • ****
  • Posts: 341
  • CYYZ - Toronto
Re: RB ini file (SAT???)
« Reply #5 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

markr468

  • New Member
  • *
  • Posts: 11
Re: RB ini file (SAT???)
« Reply #6 on: January 04, 2020, 10:05:58 PM »
Beautiful! Thanks again for your time and effort.
--Mark

tgm

  • New Member
  • *
  • Posts: 1
Re: RB ini file (SAT???)
« Reply #7 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?

abcd567

  • Sr. Member
  • ****
  • Posts: 341
  • CYYZ - Toronto
Re: RB ini file (SAT???)
« Reply #8 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


ModeSMixer2 - installation script for RPi 2/3/4 and Raspbian Stretch/Buster


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.
« Last Edit: May 04, 2020, 07:51:38 AM by abcd567 »