FlightAware Discussions

ADS-B 1090 and 978 on a single Pi?


#1

I got a Senry for Christmas, so I am repurposing my old Stratux for Flightaware. I have it up and running, and it seems stable, however, I am only seeing 1090 traffic whenI look on FA. Is there a way to send my 978 data as well? I’m willing to build a second unit just for 978, if that’s what’s required.

Also, is there a way for me to see the raw data that the Pi is pushing out to FA?

Any help is appreciated.
TIA


#2

There’s currently nothing “out of the box” to do this but there is some discussion here: PiAware 3.x and Dump978

If you mean the raw ADS-B frames, they’re on TCP port 30005

If you mean the summary reports that go to FA, that’s not directly available but you can simulate it by:

$ /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout 

(though I don’t know it’s going to be hugely interesting as the format is very FA-specific)


#3

Thanks. At least it’s a place to start. I’m a newbie, so I’m sure I’ll encounter a learning curve. Is there a particular reason why there isn’t an out of the box solution for 978? I kniow that it’s specific to the US, but there are a ton of GA aircraft out there that aren’t being seen on FA.


#4

@stonedcrab

Try “ADS-B Receiver Project Setup Scripts”. It offers to installs both dump1090-fa / mutability, and dump978.

If you already have dump1090-fa or dump1090-mutabiluty existing, it will install only dump978.

ADS-B Receiver Project Setup Scripts

.


#5

In my area most of GA planes seemed to switched to ADS-B. I was getting less “hits” from UAT (978MHz) than ADS-B on small planes, so I have used the receiver for something else.
I might put it up again if I have a decent antenna for 978MHz. Anyway the range is way smaller than the ADS-B (because planes flying lower).

I have used the ADS-B project too for that, with two dongles on one Pi. I had to tweak the dongles ID to match the antenna and receiver (1090MHz or 978Mhz) with the correct decoder (dump1090-fa or dump978).


#6

Well, I spent a good part of the weekend trying to get this running. Even ordered a new set of receiver dongles, and another RPi. I tried using both the mutability and the fa versions from this site https://github.com/jprochazka/adsb-receiver/wiki/Using-the-ADS-B-Receiver-Image
but, in the end, still no 978. I see that the slot “0” is for the 978 card, which is where it is according to the rtl_test, but this is what I see.

I have installed the 978dump thru the /install procedure, but was never asked to select which card is 978 and which is 1090. Perhaps one of you can tell me where that setting resides?
Thanks again for the help.


#7

You need to have two different serial numbers on two dongles.

How to Change Serial Number of Dongle - ADSB 1090 + UAT 978 Dongles Plugged Into Same Pi

.
.


#8

I removed the 1090 card, and left only the 978 card. It worked for a few minutes, but when i rebooted, to move the unit, it stopped working. I reran the dump978 script, and this is what i get. also tried to reinstall. Getting close…


#9
Using device 0 : Generic RTL2832U
usb_claim_interface error 6
failed to open rtlsdr device #0

Seems dump978 or dump1090 is running, and using the dongle. That is why rtl_test failed

Give command top and check.

If found running, stop these by following, and after that run rtl_test -t

sudo killall dump978
sudo killall dump1090-fa
sudo killall dump1090-mutability

.


#10

Thanks for the quick reply. I’ll give it a try as soon as I return from this trip.


#11

Serial number didn’t do anything for me, the dongle ID I think is assigned based on the USB port .
You just need to edit the config files to point to the correct dongle ID. Both dump1090-fa and dump978 have config files, but different places.
For dump978 is in /etc/rc.local


#12

abcd-
Thanks for all of your help. I’m new to all this, and just learning the commands. I did what you suggested, to no avail. I’m willing to just set up a 978 Only rig, if thats what it takes.


Can you answer these questions?
-Does dump978 require that a version of dump1090 also be running?
-Does dump978 translate and then feed the data to dump1090?
My rig was sending 1090 data to FA and FR24 using only the 978 receiver for a couple of days. But I was not seeing any 978 traffic being sent at all.
Like I stated, I’m new to all this, and just trying to wrap my head around it.
Thanks again

Sonic, I couldn’t find where to change the rc.local file i
See /etc/rc.local below


Appreciate the input!


#13

The RC file will be firstly automatically filled by the ADS-B Receiver Project:


#14

I believe that the answers to both of your questions should be NO.
As I have only twice installed dump978, just for a short period for trial, and both times I installed dump1090-fa or dump1090-mutability also, so I am not 100 % sure about my answer.

OK, I will write Raspbian Stretch image to one of my spare microSD cards, run JProchazka’s script, and install ONLY dump978 and see how it goes. Give me some time to do it.


#15

As @SoNic67 has already said, Joe.s script will do it.
However for yourr information, all entries, either done manually or by Joe’s script. are entered between last two lines in your screenshot, i.e. above exit 0 and below fi, as shown in red rectangle in the screenshot below:


#16

@stonedcrab

Wrote Stretch Lite image to microSD card, booted RPi with it, and ran J Prochazka’s script

(1) The script did NOT proceed further unless I chose one of dump1090 to be installed. I chose dump1090-mutability and then dump978. Installation successfully completed, but dump978 map not displayed at IP_OF_PI/dump978.php

(2) Ran J Prochazka’s script again, and installed web portal. Now dump978 map visible at IP_OF_PI/dump978.php.

(3) Removed the dump1090-mutability (which was force-installed by J Prochazka’s script) by following command

sudo dpkg --purge dump1090-mutability

sudo rm -rf  /usr/share/dump1090-mutability

sudo reboot

Now the dongle is in use by dump978 as dump1090 has vanished.

However due to no UAT 978 traffic at the moment, cannot say if it is working or not. Will have to wait for say half a day or more. Even the ADS-B 1090 traffic is almost zero here at this hour.

.