AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: struart on September 23, 2019, 08:53:08 PM

Title: How to feed RadarBox MLAT to VRS
Post by: struart on September 23, 2019, 08:53:08 PM
Hello
On what port rbfeeder(on rpi) feeds mlat data in beast so i can add this to see planes in VRS (i can do it with adsbexchange/piaware mlats by --results best,LISTEN,PORT)
Title: Re: How to feed RadarBox MLAT to VRS
Post by: abcd567 on September 23, 2019, 09:43:09 PM
I am not sure, but as far as I know, RB24 does not feed back mlat calculated results to RPi feeders.

Flightaware and Adsbexchange do feed back their mlat calculation results to RPi on port 30104. The dump1090 makes these results available at port 30106 for use by VRS.
Title: Re: How to feed RadarBox MLAT to VRS
Post by: struart on September 24, 2019, 11:00:11 AM
Yeah i know about FlightAware and adsbexchange but i wanted to get rb24 feed because some planes from here arent detected by other mlats.

But if thats true that theres no feedback to rpi i can live without them :)
Title: Re: How to feed RadarBox MLAT to VRS
Post by: abcd567 on February 17, 2020, 10:49:44 PM
Yes it is possible now.

Credits: denzen
https://forum.adsb.in/f50/cervis-radarbox24-com-beta-testirovanie-1103/index22.html#post48131

Edit this line in /etc/rbfeeder.ini:

Original Line:
#mlat_cmd=/usr/bin/python3.5 /usr/bin/mlat-client

After Editing:
Note: Dont forget to remove # at start of the original line

For Raspbian Stretch:
mlat_cmd=/usr/bin/python3.5 /usr/bin/mlat-client --results beast,listen,30007

For Raspbian Buster:
mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client --results beast,listen,30007



Code: [Select]
sudo nano /etc/rbfeeder.ini

Quote

[client]
network_mode=true
log_file=/var/log/rbfeeder.log

key=xxxxxxxxxxxxxxxxxxxxxxxxx

sn=EXTRPI000035

lat=43.5xxxxxx
lon=-79.6xxxxx
alt=155

sat_used=0
sat_visible=0

[network]
mode=beast
external_port=30005
external_host=127.0.0.1

[mlat]
autostart_mlat=true
mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client --results beast,listen,30007

[dump978]
#dump978_enabled=true





Code: [Select]
sudo systemctl restart rbfeeder


Code: [Select]

netcat 127.0.0.1 30007

111111  3▒MLAT▒▒̐5▒C▒▒▒]3▒MLAT▒▒̐5▒▒▒X▒v▒▒3▒MLAT▒▒̐5▒@▒▒   ▒-I3▒MLAT▒▒̐5▒▒
                                                              X▒▒▒$3▒MLAT▒▒̐5▒>b▒▒I▒3▒MLAT▒▒̐5▒▒X▒▒̖3▒MLAT▒▒̐5Q<▒▒▒L▒▒3▒MLAT▒▒̐5T▒▒X▒-▒▒3▒MLAT▒▒̐51<d▒"6▒3▒MLAT▒▒̐54▒▒X▒▒3▒MLAT▒▒̐5▒▒X▒K:▒3▒MLAT▒▒̐1▒8
▒▒ u3▒MLAT▒▒̐1▒_X▒▒3▒MLAT▒▒̐158▒▒l▒3▒MLAT▒▒̐1▒▒Y5▒p▒3▒MLAT▒▒̐/▒4▒▒▒▒T3▒MLAT▒▒̐/▒1Y3 ▒3▒MLAT▒▒̐/▒4>▒▒▒3▒MLAT▒▒̐/Է▒Y)26j3▒MLAT▒▒̐/▒4
▒▒Q     3▒MLAT▒▒̐/ķsY3▒WL3▒MLAT▒▒̐/A1▒▒^▒▒3▒MLAT▒▒̐/D▒/YFM▒3▒MLAT▒▒̐/1h▒<▒3▒MLAT▒▒̐/▒▒YV[▒▒3▒MLAT▒▒̐-▒0▒穳k#3▒MLAT▒▒̐-ĴYX▒▒▒3▒MLAT▒▒̐-Q.▒▒▒`▒^3▒MLAT▒▒̐-T▒YYq{1O3▒MLAT▒▒̐+▒.▒ݺ▒3▒MLAT▒▒̐+▒Y▒▒▒3▒MLAT▒▒̐+q,v▒▒t▒3▒MLAT▒▒̐+t▒▒Y▒▒▒▒3▒MLAT▒▒̐+A+T▒▒Z3▒MLAT▒▒̐+D▒▒Y▒▒w3▒MLAT▒▒̐)▒*Z▒▒Y243▒MLAT▒▒̐)ԭ▒Y▒t▒N3▒MLAT▒▒̐)▒)▒▒m▒(3▒MLAT▒▒̐)▒▒EY▒:os3▒MLAT▒▒̐'▒&▒▒g▒3▒MLAT▒▒̐'䪓Y▒-▒3▒MLAT▒▒̐'▒'▒*>a▒3▒MLAT▒▒̐'Ԫ▒Y▒~R▒11^C



(https://i.postimg.cc/PJn19L1m/VRS-RB24-MLAT.png)

(https://i.postimg.cc/hvn7Mkqs/VRS-RB24-MLAT-Map.png)
Title: Re: How to feed RadarBox MLAT to VRS
Post by: nigelj65 on February 22, 2020, 04:50:24 PM
Hi, am I missing a step if I get a an error message connection cannot be made with these settings, the target machine actively refused it. IP address and port are correct and SSH is enabled. Thanks
Title: Re: How to feed RadarBox MLAT to VRS
Post by: abcd567 on February 22, 2020, 06:23:19 PM
nigelj65

(1) What are outputs of following commands:
Code: [Select]
cat /etc/os-release 

apt-cache policy mlat-client 

apt-cache policy python3.5

apt-cache policy python3.7

(2) What is output of this command?
Wait few minutes if initially there is no output.
If there is lot of output (strange characters), stop it by pressing Ctrl and c keys simultaneously.

Code: [Select]
netcat 127.0.0.1 30007
Title: Re: How to feed RadarBox MLAT to VRS
Post by: nigelj65 on February 22, 2020, 08:34:11 PM
Hello abc,

attached is the output. Thanks for the help.

Just noticed on the RB24 feeder page MLAT is no longer running or even available as an option to configure through the website??

Nigel

Title: Re: How to feed RadarBox MLAT to VRS
Post by: abcd567 on February 22, 2020, 09:10:33 PM
You installed software is OK:
OS = Raspbian Buster
mlat-client = ver 0.2.11
python = ver 3.7

Problem seems in settings of rbfeeder.
Please post output of following command (remove sharing key before posting):

Code: [Select]
cat /etc/rbfeeder.ini
Title: Re: How to feed RadarBox MLAT to VRS
Post by: nigelj65 on February 22, 2020, 09:26:02 PM
rbfeeder.ini attached

MLAT seems to have stopped working all together?
Title: Re: How to feed RadarBox MLAT to VRS
Post by: abcd567 on February 23, 2020, 12:29:46 AM
rbfeeder.ini attached

MLAT seems to have stopped working all together?

In the line below, you have not left any space between mlat-client and --results.
Code: [Select]
mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client--results beast,listen,30007


Add a space so it becomes like this:
Code: [Select]
mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client --results beast,listen,30007   

Save file rbfeeder.ini
Restart rbfeeder
Code: [Select]
sudo systemctl restart rbfeeder

Now test connection in VRS.

Title: Re: How to feed RadarBox MLAT to VRS
Post by: nigelj65 on February 23, 2020, 08:15:49 AM
Glad it was a typo! MLAT up and running, thanks for all your help.
Title: Re: How to feed RadarBox MLAT to VRS
Post by: teesvalley spotter on February 24, 2020, 03:57:52 PM
Hi.

Is it possible to see MLAT returns from the AirNav Micro RadarBox ADS-B Receiver locally using Virtual Radar Server? It's the dongle and antenna kit off Amazon for £14.95 - https://www.amazon.co.uk/AirNav-Micro-RadarBox-ADS-B-Receiver/dp/B01GNGZAIG

Getting adsb via VRS is easy enough to set up just wondering if it's possible with mlat aircraft too?
Title: Re: How to feed RadarBox MLAT to VRS
Post by: abcd567 on February 24, 2020, 05:47:28 PM
Hi.

Is it possible to see MLAT returns from the AirNav Micro RadarBox ADS-B Receiver locally using Virtual Radar Server? It's the dongle and antenna kit off Amazon for £14.95 - https://www.amazon.co.uk/AirNav-Micro-RadarBox-ADS-B-Receiver/dp/B01GNGZAIG

Getting adsb via VRS is easy enough to set up just wondering if it's possible with mlat aircraft too?

YES, it is possible. Use same procedure as described in above post (https://forum.radarbox24.com/index.php?topic=102391.msg432031#msg432031).
Title: Re: How to feed RadarBox MLAT to VRS
Post by: teesvalley spotter on February 24, 2020, 05:50:36 PM
Hi.

Is it possible to see MLAT returns from the AirNav Micro RadarBox ADS-B Receiver locally using Virtual Radar Server? It's the dongle and antenna kit off Amazon for £14.95 - https://www.amazon.co.uk/AirNav-Micro-RadarBox-ADS-B-Receiver/dp/B01GNGZAIG

Getting adsb via VRS is easy enough to set up just wondering if it's possible with mlat aircraft too?

YES, it is possible.
Use same procedure as described in above post.

Hi. Thanks for your reply the above all seems to be aimed at a raspberry pi. Is it possible to do the same somehow for those just using a PC
Title: Re: How to feed RadarBox MLAT to VRS
Post by: abcd567 on February 24, 2020, 05:55:41 PM

Hi. Thanks for your reply the above all seems to be aimed at a raspberry pi. Is it possible to do the same somehow for those just using a PC

No, I dont think it is possible to configure Windows RBfeeder for mlat feed back. In fact I never tried it. The method described in this thread is for RPi feeder.

Note: Even with RB feeder on RPi, VRS on Windows can be used, as done in howto post above.
Title: Re: How to feed RadarBox MLAT to VRS
Post by: volosguard on May 29, 2020, 06:43:39 AM
Hello. After running sudo nano /etc/rbfeeder.ini

[client]
network_mode=true
log_file=/var/log/rbfeeder.log

key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

sn=xxxxxxxxxx

lat=xxxxxxxxxx

lon=xxxxxxxxxx

alt=107

sat_used=0

sat_visible=0

[network]
mode=beast
external_port=30005
external_host=127.0.0.1

[mlat]
autostart_mlat=true
#mlat_cmd=/usr/bin/python3.5 /usr/bin/mlat-client

[dump978]
#dump978_enabled=true

I have Buster installed but you said python 3.7 should be used. How can I fix this please?
Title: Re: How to feed RadarBox MLAT to VRS
Post by: abcd567 on May 29, 2020, 03:17:23 PM
@volosguard:

(1) Open file rbfeeder.ini to edit
Code: [Select]
sudo nano /etc/rbfeeder.ini

(2) In above file, scroll down to this line:
#mlat_cmd=/usr/bin/python3.5 /usr/bin/mlat-client

(3) Immediately below above line, copy-paste this line:
mlat_cmd=/usr/bin/python3.7 /usr/bin/mlat-client --results beast,listen,30007 

(4) Save file (Ctrl+O) and Close (Ctrl+x)

(5) Restart rbfeeder
Code: [Select]
sudo systemctl restart rbfeeder