Feeding Piaware from Radarbox24's dump1090-rb & dump978-rb

Has anyone tried / succeeded to feed Flightaware, FR24, Planefinder etc from data of dump1090-rb & dump978-rb?

     CGroup: /system.slice/rbfeeder.service
             ├─520 /usr/bin/rbfeeder
             ├─28656 /usr/bin/python3.9 /usr/bin/mlat-client --input-type dump1090 --input-connect 127.0.0.1:32457 --server mlat1.rb24.com:40900 --lat 43.5xxxx --lon -79.6xxxx --alt 155 --user EXTRPI000036 --results beast,connect,127.0.0.1:32004
             └─630 /usr/bin/dump1090-rb --write-json /dev/shm/ --net --quiet --mlat --forward-mlat --net-bo-port 30105 --lat 43.5xxxx --lon -79.6xxxx --modeac --fix --adaptive-burst --adaptive-range --gnss

 

     CGroup: /system.slice/dump978-rb.service
             └─534 /usr/bin/dump978-rb --sdr driver=rtlsdr,serial=00000401 --sdr-auto-gain --format CS8 --raw-port 30978 --json-port 28380

 

  • The dump1090-rb does not have a service file to start. It is started by rbfeeder, if in file /etc/rbfeeder.ini the default setting "network_mode=true" is changed to "network_mode=false".

  • There is no config file /etc/default/dump1090-rb. All the config is hard-coded in rbfeeder which starts it. However breaking the CGroup: part of output of status command (see above) shows that dump1090-rb is started with following parameters. The wost part is --net-bo-port 30105 which causes conflict with piaware’s default mlat-results port.

/usr/bin/dump1090-rb 
 --write-json /dev/shm/ 
 --net 
 --quiet 
 --mlat 
 --forward-mlat 
 --net-bo-port 30105 
 --lat 43.5xxxx 
 --lon -79.6xxxx 
 --modeac 
 --fix 
 --adaptive-burst 
 --adaptive-range 
 --gnss 

 

1 Like

OK, succeeded in feeding to Piaware, the Beast output of dump1090-rb (--net-bo-port 30105)

sudo piaware-config receiver-type other
sudo piaware-config receiver-port 30105
sudo piaware-config receiver-host 127.0.0.1 

sudo systemctl restart piaware   

&nbsp

CLICK ON SCREENSHOT TO SEE LARGER SIZE

 

NEXT: willy try feeding data from dump978-rb to Piaware.

EDIT: Success!

dump978-rb configuration

pi@raspberrypi:~ $ sudo nano /etc/default/dump978-rb


# dump978-rb configuration
# This is sourced by /usr/share/dump978-rb/start-dump978-rb as a
# shellscript fragment.

# dump978-rb won't automatically start unless ENABLED=yes
ENABLED=yes

RECEIVER_OPTIONS="--sdr driver=rtlsdr,serial=00000401 --sdr-auto-gain --format CS8"
DECODER_OPTIONS=""
NET_OPTIONS="--raw-port 30978 --json-port 28380"

 

Oh, this is easy. The dump978-rb outputs raw data on port 30978, same as dump978-fa does :slightly_smiling_face:

sudo piaware-config uat-receiver-type sdr   

sudo systemctl restart piaware    

 

CLICK ON SCREENSHOT TO SEE LARGER SIZE

 

That’s because it’s dump978-fa with the serial numbers filed off.

3 Likes

Installed following feeders. Used port 30105 instead of 30005 in their configuration.
All working OK.

  • FR24 feeder
  • Planefinder feeder
  • Adsbexchange feeder

Installed graphs by @wiedehopf

Installation completed with following output:

---------
Created symlink /etc/systemd/system/default.target.wants/graphs1090.service → /lib/systemd/system/graphs1090.service.
--------------
--------------
All done! Graphs available at http://10.0.0.23/graphs1090
It may take up to 10 minutes until the first data is displayed

 

But graphs dont display…:slightly_frowning_face:

 

 

@wiedehopf @obj

Observations about dump1090-rb

(1) No html folder installed by rbfeeder., and no Map available. Only dump1090-rb linux binary here:
/usr/bin/dump1090-rb

(2) No config file such as /etc/default/dump1090-rb installed

(3) No systemd service, or SysV init file installed. The dump1090-rb is started by rbfeeder using configuration hard-coded into rbfeeder.

(4) DVB-T udev rules installed as follows:
/lib/udev/rules.d/60-rbfeeder.rules

pi@raspberrypi:~ $ sudo apt download rbfeeder
Get:1 https://apt.rb24.com bullseye/main armhf rbfeeder armhf 1:1.0.7 [134 kB]
Fetched 134 kB in 1s (176 kB/s)
W: Download is performed unsandboxed as root as file '/home/pi/rbfeeder_1%3a1.0.7_armhf.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

pi@raspberrypi:~ $ ls
rbfeeder_1%3a1.0.7_armhf.deb

 

pi@raspberrypi:~ $ sudo dpkg --contents rbfeeder_1%3a1.0.7_armhf.deb
drwxr-xr-x root/root         0 2022-01-25 11:20 ./
drwxr-xr-x root/root         0 2022-01-25 11:20 ./etc/
-rw-r--r-- root/root       235 2022-01-25 11:20 ./etc/rbfeeder.ini
drwxr-xr-x root/root         0 2022-01-25 11:20 ./lib/
drwxr-xr-x root/root         0 2022-01-25 11:20 ./lib/systemd/
drwxr-xr-x root/root         0 2022-01-25 11:20 ./lib/systemd/system/
-rw-r--r-- root/root       603 2022-01-25 11:20 ./lib/systemd/system/rbfeeder.service
drwxr-xr-x root/root         0 2022-01-25 11:20 ./lib/udev/
drwxr-xr-x root/root         0 2022-01-25 11:20 ./lib/udev/rules.d/
-rw-r--r-- root/root      5687 2022-01-25 11:20 ./lib/udev/rules.d/60-rbfeeder.rules
drwxr-xr-x root/root         0 2022-01-25 11:20 ./usr/
drwxr-xr-x root/root         0 2022-01-25 11:20 ./usr/bin/
-rwxr-xr-x root/root    205352 2022-01-25 11:20 ./usr/bin/dump1090-rb
-rwxr-xr-x root/root    296100 2022-01-25 11:20 ./usr/bin/rbfeeder
drwxr-xr-x root/root         0 2022-01-25 11:20 ./usr/share/
drwxr-xr-x root/root         0 2022-01-25 11:20 ./usr/share/doc/
drwxr-xr-x root/root         0 2022-01-25 11:20 ./usr/share/doc/rbfeeder/
-rw-r--r-- root/root      1722 2022-01-25 11:20 ./usr/share/doc/rbfeeder/changelog.gz
-rw-r--r-- root/root      1391 2022-01-25 11:20 ./usr/share/doc/rbfeeder/copyright

Found why Radarbox24 did not provide Map with their dump1090-rb & dump978-rb:
They want user to use their Windows software “Air Nav Radarbox - 6.02” to display the map using specially formatted data from rbfeeder’s port 32088

 
CLICK ON SCREENSHOTS TO SEE LARGER SIZE
CLICK AGAIN TO SEE FULL SIZE

 

 

image

 

@wiedehopf

OK Solved :slightly_smiling_face:

## First  installed lighttpd
sudo apt install lighttpd     

## Next installed graphs1090
sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"   

 

Next renamed dangling symlink data -> /run/readsb to data-orig
Next created a new symlink data -> /run/shm

 

 

NOTE: dump1090-rb start command has this parameter:
/usr/bin/dump1090-rb --write-json /dev/shm/

 

 

 

 

@wiedehopf

tar1090 installation failed

--------------
FATAL: could not find aircraft.json in any of the usual places!
checked these: /run/readsb /run/dump1090-fa /run/dump1090 /run/dump1090-mutlity /run/adsbexchange-feed /run/skyaware978
--------------
You need to have a decoder installed first, readsb is recommended:
https://github.com/wiedehopf/adsb-scripts/wiki/Automatic-installation-for-rsb
--------------

 

Did this successful hack:

sudo nano /usr/local/share/tar1090/git/install.sh   

In file opened, INSERTED block of code shown inside the red rectangle in screenshot below. Saved file, then issued following command:

sudo bash /usr/local/share/tar1090/git/install.sh   

 

ALL OK Now :slightly_smiling_face:

 

Enable successful installation of graphs1090 and tar1090 on an installation which is using Radarbox24’s dump1090-rb

(rbfeeder setting is network_mode=false)

STEP-1

sudo nano /etc/rbfeeder.ini 

Below [client] added following line:

json_dir=/run/dump1090/

(NOTE: The parameter json_dir is undocumented, found it by trial-and-error :slightly_smiling_face: )

 

image

 

STEP-2

sudo nano /usr/lib/systemd/system/rbfeeder.service  

Under [service], Inserted these two lines:

ExecStartPre=+-/bin/mkdir /run/dump1090   
ExecStartPre=+-/bin/chown rbfeeder:rbfeeder /run/dump1090   

 

image

 

STEP-3

Rebooted RPi

sudo reboot   

 

STEP-4

Checked json data location /run/dump1090/

image

 

 

STEP-5

Install graphs1090 & tar1090 using bash scripts by @wiedehopf

sudo apt install lighttpd   

sudo bash -c "$(curl -L -o - https://github.com/wiedehopf/graphs1090/raw/master/install.sh)"   

sudo bash -c "$(wget -nv -O - https://github.com/wiedehopf/tar1090/raw/master/install.sh)"  

 

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.