AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: anorak on September 11, 2016, 09:21:45 AM

Title: Raspberry Pi3
Post by: anorak on September 11, 2016, 09:21:45 AM
Can RadarBox be fed through a Raspberry and if so;
A) is there any special set up
B) can it be sent with an other programme running over the internet at the same time
words of 1 syllable please, it is Sunday.
Thanks, Dave?
Title: Re: Raspberry Pi3
Post by: neroon79 on September 11, 2016, 03:06:45 PM
Can RadarBox be fed through RPi3: Unfortunately for AirnavSystems: No.

Only possible solution I know: PP can be fed by RPi/dump1090 setup. PP can feed Radarbox Network. Problem: power consuming WIN PC running PP would be needed.

Ingo
Title: Re: Raspberry Pi3
Post by: anorak on September 11, 2016, 04:55:09 PM
Thanks Ingo, no cheap and simple answer then.
Dave.
Title: Re: Raspberry Pi3
Post by: abcd567 on November 01, 2016, 04:36:23 PM
I have installed RB24 data feeder on Windows Desktop. It gets data from VRS also running on my Windows Desktop. The VRS gets data from Raspberry Pi. My desktop does not run 24/7, while Ras Pi are running 24/7.

In January 2016, I requested support to make available a data feeder client for Linux/Raspbian so that I can feed directly from Pi without need to run the windows desktop. They promised, but it is not yet available.

I feed adsbexchange.com directly from Ras Pi using a script. I therefore tried to feed RB24 using similar script. The adsbexchange does not require login, but RB24 does require login. I therefore added a curl command to log-in, and changed url & port in netcat command to connect to radarbox24 server.

It did NOT work for Radarbox24. Does anyone know how to do it by a script?

Here is what I tried

#first installed netcat
Code: [Select]
sudo apt-get install netcat

#created a new file rb24fdr.sh
Code: [Select]
cd ~
sudo nano rb24fdr.sh

#in new blank file, copy-pasted following code
Code: [Select]
#! /bin/sh
while true
  do
    sleep 30
    curl --user [MY EMAIL]:[MY PASSWORD] http://www.airnavsystems.com:7878 -v
    /bin/nc 127.0.0.1 30003 | /bin/nc airnavsystems.com 7878
  done

#saved file (ctrl+o) and closed nano editor (ctrl+x)

#made new file executable
Code: [Select]
sudo chmod +x  rb24fdr.sh

# Now run the file
Code: [Select]
./rb24fdr.sh &

#it showed output as below
Code: [Select]
[1] 10831
 * Rebuilt URL to: http://www.airnavsystems.com:7878/
* Hostname was NOT found in DNS cache
*   Trying 96.31.64.6...
* Connected to www.airnavsystems.com (96.31.64.6) port 7878 (#0)
* Server auth using Basic with user 'MY EMAIL'
> GET / HTTP/1.1
> Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> User-Agent: curl/7.38.0
> Host: www.airnavsystems.com:7878
> Accept: */*
>



I then checked the Radarbox.com web page. None of planes are shown from my station, although when I feed from Windows desktop using RB24 data feeder, I see a large number of planes from my station.
Anyone can help?
Title: Re: Raspberry Pi3
Post by: anorak on November 01, 2016, 04:56:41 PM
Good luck with that one. I got my set up running to an other site quite easily, but I wouldn`t have a clue about writing a script to do it.
Dave.
Title: Re: Raspberry Pi3
Post by: abcd567 on November 01, 2016, 05:10:55 PM
Good luck with that one. I got my set up running to an other site quite easily, but I wouldn`t have a clue about writing a script to do it.
Dave.
I feed 4 different sites from my Raspberry Pi. All these I got running very easily, three by installing their Linux data feeder, and fourth by script file.

I am unable to feed RB24 directly from Rasberry Pi due to non availability of their Linux data feeder or script.
Title: Re: Raspberry Pi3
Post by: Runway 31 on November 01, 2016, 05:41:41 PM
Why not contact support@airnavsystems and ask about connecting via script

Alan
Title: Re: Raspberry Pi3
Post by: abcd567 on November 01, 2016, 10:18:15 PM
Why not contact support@airnavsystems and ask about connecting via script

Alan


Yes, yesterday I emailed the script to support. They checked and found I am feeding data, but misunderstood that it is by th script. It was actually by their windows data feeder running on my desktop. The problem is still unresolved.

Then about 5 hours ago, I sent email to Andre Brandao of AirNavSystems, giving link to my above post which has the script and all details script. Waiting for reply.


Quote
Re: RadarBox24.com - New data Sharing Software

From:
ab
Tue 11/1/2016 12:59 PM

To:
Andre Brandao ([email protected]);

Hi Andre!

Any news of Linux feeder for Raspberry Pi?
Please also see my today's post in AirNav Systems Forum
http://www.airnavsystems.com/forum/index.php?topic=8767.msg130671#msg130671

Regards
ab
---------------------------------
From: Andre Brandao <[email protected]>
Sent: Tuesday, January 12, 2016 5:55 PM
To: ab
Subject: Re: RadarBox24.com - New data Sharing Software
 
Copied. We don't yet have a data feeder for Linux but we are devloping one.
....................
....................
Title: Re: Raspberry Pi3
Post by: anorak on November 02, 2016, 10:24:10 AM
watching with interest as this could solve a lot of problems.
Dave.
Title: Re: Raspberry Pi3
Post by: abcd567 on November 03, 2016, 02:21:22 PM
Good News!
Received this email today:

Quote
From: Andre Brandao <[email protected]>
Sent: Wednesday, November 2, 2016 8:44 PM
To: ab
Subject: Re: RadarBox24.com - New data Sharing Software
 
Hi

Thanks for your email,. We are preparing a brand new raspberry pi feeder software but it is not yet available. We believe, taking in account the current development, that it will be ready in 4-6 weeks.



Regards, Andre Brandao
AirNav Systems
Title: Re: Raspberry Pi3
Post by: anorak on November 03, 2016, 07:26:14 PM
Keep us posted.
Dave.
Title: Re: Raspberry Pi3
Post by: ETSI4 on November 04, 2016, 05:59:34 AM
Great news..............


Volker
Title: Re: Raspberry Pi3
Post by: neroon79 on November 04, 2016, 02:47:34 PM
Hopefully it can be fed by dump1090 or similar receiver/decoder software. If the PI feeder needs exclusive access to the receiver dongle it would still be useless for me (and many others I guss).

Ingo
Title: Re: Raspberry Pi3
Post by: abcd567 on November 17, 2016, 07:00:57 PM
Any one interested in DIY Antennas?

Please see this new thread:
FOR BEGINNERS - 3 EASY DIY ANTENNAS (http://www.airnavsystems.com/forum/index.php?topic=9131.0)

.
Title: Re: Raspberry Pi3
Post by: abcd567 on December 10, 2016, 06:55:22 AM
Anyone interested to know his maximum range, can find it from this new thread:

What is the Maximum Range I can Get?  (http://www.airnavsystems.com/forum/index.php?topic=9251.0)


.
Title: Re: Raspberry Pi3
Post by: Lila1926 on January 06, 2017, 12:38:04 PM
Quote
From: Andre Brandao <[email protected]>
Sent: Wednesday, November 2, 2016 8:44 PM
To: ab
Subject: Re: RadarBox24.com - New data Sharing Software
 
Hi

Thanks for your email,. We are preparing a brand new raspberry pi feeder software but it is not yet available. We believe, taking in account the current development, that it will be ready in 4-6 weeks.



Regards, Andre Brandao
AirNav Systems

Has this been released?  Its now 9 weeks since this was posted?
Title: Re: Raspberry Pi3
Post by: Runway 31 on January 06, 2017, 12:47:23 PM
Nope, try emailing again

Alan
Title: Re: Raspberry Pi3
Post by: Lila1926 on January 06, 2017, 01:02:06 PM
Nope, try emailing again

I didnt email him, it was someone else.

I'm feeding FlightAware and FR24 instead.  Airnavs loss.
Title: Re: Raspberry Pi3
Post by: abcd567 on January 08, 2017, 12:01:46 AM
I analyzed and found Radarbox24's windows software changes the format of data as follows:

Output from dump1090 running in Raspberry Pi:
Code: [Select]
pi@raspberrypi:~ $ nc localhost 30003
MSG,7,1,1,ABE101,1,2016/12/21,13:58:57.106,201/12/21,13:58:57.121,,28000,,,,,,,,,,
MSG,8,1,1,C00B80,1,2016/12/21,13:58:57.109,201/12/21,13:58:57.121,,,,,,,,,,,,0
MSG,4,1,1,ABC6E0,1,2016/12/21,13:58:58.168,2016/12/21,13:58:58.207,,,248,306,,,-1024,,,,,0
MSG,8,1,1,A224FA,1,2016/12/21,13:58:57.109,2016/12/21,13:58:57.122,,,,,,,,,,,,0
MSG,5,1,1,C05EAC,1,2016/12/21,13:58:58.277,2016/12/21,13:58:58.316,,1550,,,,,,,0,,0,
MSG,3,1,1,A009DA,1,2016/12/21,13:58:58.311,2016/12/21,13:58:58.319,,39975,,,41.03224,-78.95459,,,,,,0

#Stopped by ctrl+c
^C



Output of Radarbox24 Software fed to Radarbox24:
Code: [Select]
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221181811,89911D,CAL5321,34000,364,293,,,43.828903,-80.180267,,3001,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221181811,A791AC,,27975,,,,,,,,,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221181811,C013DE,,26000,341,292,,,42.813209,-78.296879,,1577,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221181811,ACB82C,,31975,,,,,,,,,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221181811,A92E72,,37000,486,074,,,41.328006,-80.565491,,,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221181811,AAD012,UAL803,30975,445,004,,,43.444794,-76.173131,,2175,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221181812,A07808,N1294C,03975,70,290,,,43.023904,-78.273141,,5175,,,,,

Note: EXTSHA000XXX is my station number (I replaced last 3 digit by XXX before posting in forum)



To make this conversion locally on Ras Pi, I wrote this script to run on RPi
Code: [Select]
#!/bin/bash
MYTIME=$(date +"%Y%m%d%H%M%S")

ADDSTRING="\$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,\$PTA"

nc localhost 30003 | egrep --line-buffered 'MSG,1|MSG,3|MSG,4|MSG,6' | awk -F "," -v var1="$ADDSTRING" -v var2="$MYTIME" '{print var1","var2","$5","$11","$12","$13","$14","$17","$15","$16","$18",,,,,"}' >> 30003.buf

#saved file as rb24.sh
#made file rb24.sh executeable
pi@raspberrypi:~ $ chmod +x rb24.sh
#run the file
pi@raspberrypi:~ $ ./rb24.sh

#after 30 seconds, stopped the script by ctrl+c
^C



Now read the contents of output file 30003.buf ..... Format changed successfully.
Code: [Select]
pi@raspberrypi:~ $ cat 30003.buf
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221135500,ABC6E0,,24000,,,,42.72071,-78.23351,,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221135500,A8A6CD,,27000,,,,41.69591,-77.28518,,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221135500,C00926,WJA658 ,,,,,,,,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221135500,C00926,,,166,228,-192,,,,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221135500,06A075,,,462,201,64,,,,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221135500,A20433,UAL807 ,,,,,,,1372,,,,,
$PTI,EXTSHA000XXX,Mississauga,Canada,,,,,RB24120,$PTA,20161221135500,3C0D06,,36050,,,,41.05829,-78.37445,,,,,,



Tried to feed this data to airnavsystem.com port 7878 (instead of saving in file 30003.buf) using netcat, after handshake & login by curl (see my previous post), BUT NO SUCCESS  :(
Title: Re: Raspberry Pi3
Post by: Runway 31 on January 08, 2017, 03:10:13 PM
I would suggest that you would be better off discussing with Airnav direct

Alan
Title: Re: Raspberry Pi3
Post by: Siddy on January 13, 2017, 01:00:26 PM
This will be good when they release it I asked years ago. I'm feeding radar360 and fr24 on Pi upstairs.
Soon as we get a break on the weather this is going down the garden and fed off the solar system I've installed for the garage and man shed.
My Hp server will shut the drives down and run off it's ssd till called for then.
Title: Re: Raspberry Pi3
Post by: ETSI4 on March 13, 2017, 05:02:57 PM
NEWS:

Quote
We are in advanced development stages for RPI client/server. It was supposed to be finished in February but we had to give priority to other urgent projects. I hope it will be ready in mid April.

Regards, Andre Brandao
AirNav Systems
http://www.airnavsystems.com
-
Email: [email protected]
Phone: +1 (813) 321-7834
Toll Free: +1 (800) 401-2474
Title: Re: Raspberry Pi3
Post by: abcd567 on April 22, 2017, 07:06:24 AM
HOW TO INSTALL RB24 FEEDER ON RASPBERRY PI
https://www.radarbox24.com/raspberry-pi



LIST OF RASPBERRY PI STATIONS
https://www.radarbox24.com/stations/raspberry-pi
Title: Re: Raspberry Pi3
Post by: abcd567 on May 07, 2017, 07:13:26 AM
300+ RPi Stations connected - May 07, 2017 - 0700 UTC
Title: Re: Raspberry Pi3
Post by: abcd567 on May 10, 2017, 04:20:51 PM
350+ RPi Stations connected - May 10, 2017 - 1700 UTC

Title: Re: Raspberry Pi3
Post by: abcd567 on May 13, 2017, 04:55:56 PM
400 RPi Stations connected - May 13, 2017 - 1800 UTC

Title: Re: Raspberry Pi3
Post by: anorak on October 22, 2017, 05:41:25 PM
Still waiting.  :-((
Dave.