Jump to content
FoxxMD

[Support] FoxxMD - fr24feed-piaware

48 posts in this topic Last Reply

Recommended Posts

Application Name: fr24feed-piaware
Application Site: 

Github Repo: https://github.com/Thom-x/docker-fr24feed-piaware-dump1090-mutability

Docker Hub: https://hub.docker.com/r/thomx/fr24feed-piaware

Template Repo: https://github.com/FoxxMD/unraid-docker-templates

 

Overview

 

This image contains:

  • Piaware (Flightaware ADS-B and MLAT ground station software/feed)

  • fr24feed (FlightRadar24 ADS-B software feed)

  • Dump1090 for receiving and parsing data to the above software

  • Simple HTTP Server to display received data (aircraft positions/track) on a real-time map

 

It sets up the above software with your RTL-SDR device (RTL2832) so that you can receive ADS-B/MLAT data through your antennae and transmit it to Flightaware/FlightRadar24. Additionally it serves a simple OpenStreetMap map with overlays of aircraft position/track that your device is receiving.

 

Installation

 

Follow the provided instructions on the docker github repository, most of the configuration file bindings are provided in the unraid template. Just follow the README instructions, copy the samples and edit as necessary, and fill in the host paths in the config entries in the template.

 

Terrain-limit rings are not included in the template. Simply add a path binding to your upinair.json file at the given container path if you want to include it.

 

Instructions on how to passthrough your RTL-SDR USB device to the container can be found here.

 

Usage

 

After starting the container feed activity can be seen in the container log.

 

The aircraft map overlay can be found at http://IP:httpPort/gmap.html

Share this post


Link to post

I have absolutely no need for this, but it's very cool.  Just wondering about drivers for the ADS-B Receiver?  They present by default in the Unraid Linux kernel?

Share this post


Link to post

I'm not sure about driver support but both this container and another CA app I templated use software sourced from OsmoSDR -- their software supports a large number of sdr chipsets/products and far as I can tell they have good coverage on upstream repos.

 

Edit: This container in particular blacklists the default driver (which I believe is present in unraid, dvb_usb_rtl28xxu) and compiles rtl_sdr from source. I'm not sure how shinysdr does it but since it installs gnuradio-dev I'm sure it's doing something similar. 

Edited by FoxxMD

Share this post


Link to post

The driver is not necessary since it references the /dev/bus/usb directly.

Having the blacklist in the docker file is also a bit unnecessary. 

I am in the process (when I get time) to rewrite my raspberry pi version into multi-arch.

 

https://github.com/ShoGinn/docker-ads-b

 

So many ways to feed ADSB ;) 

 

Share this post


Link to post

@ShoGinn thanks for the insight!

 

I'd much rather be running dump1090/fa/fr as separate dockers and yours look very clean. Please let me know when you get to multi-arch!

Edited by FoxxMD

Share this post


Link to post

Just an update, after hours of work to try and get my ci/cd platform to do multi-arch builds ;) I was able to break it all up.

 

Next step is to make a template for each container.

 

If you are curious and want to mess around with it.

Its 7 components with dump1090 being of course the rtlsdr component.

 

It is using the latest and greatest versions of all.

 

https://github.com/ShoGinn/dump1090

https://github.com/ShoGinn/adsbexchange-mlat

https://github.com/ShoGinn/adsbhub

https://github.com/ShoGinn/flightaware

https://github.com/ShoGinn/flightradar24

https://github.com/ShoGinn/openskynetwork

https://github.com/ShoGinn/planefinder

Share this post


Link to post

Would you be able to add airspy_adsb in your container? As I don't want to lose the binary every time the docker is updated.

https://airspy.com/download/

Share this post


Link to post

@mAYH3M im confused by your request, air spy isn't even an active component in this container.

 

Are you asking for air spy to be the replacement for dump1090? 

Share this post


Link to post
On 4/20/2019 at 2:22 PM, ShoGinn said:

Next step is to make a template for each container.

I'd be happy to write these for you and add them to my repo if you'd like!

Share this post


Link to post

I say take the wheel ;) you already started this ADSB train.. let me know how I can support otherwise.

Share this post


Link to post
On 4/23/2019 at 7:45 AM, ShoGinn said:

@mAYH3M im confused by your request, air spy isn't even an active component in this container.

 

Are you asking for air spy to be the replacement for dump1090? 

Would you be able to pack the airspy_adsb binary with your container?

Share this post


Link to post

again @mAYH3M I don't see the benefit to adding airspy_adsb to any one of the 7 containers I posted.

 

dump1090 does the same thing.

 

Share this post


Link to post

got my Realtek RTL2838, got it configured and all running but I need to get some decent antennas of fabricate one my self and get a long cable to extend to my reach to the skies lol

 

Thanks for the work mate :)

 

with the 2 antennas provided with the USB I managed to pick up  a couple of flights, this is awesome

flightmap.png

Edited by PSYCHOPATHiO
update

Share this post


Link to post
Just now, ShoGinn said:

@PSYCHOPATHiO its an unfortunate addiction ;)

looooooooool im on amazon getting antennas & stuff & on my second screen I got the monitor up.

Any recommendations for antenna or other equipment to get

 

I even attached its own with lets encrypt link to monitor outside the house. :)

not much activity though

https://fr.sykorp.net/gmap.html

 

Share this post


Link to post
On 4/29/2019 at 9:38 PM, ShoGinn said:

I recommend you check out VRS and it provides a much cooler interface to output to the world

This is getting out of control looooooool

I just got a second SDR & FlightAware 1090 MHz ADS-B Antenna with the SMA filter, I love it.

Going to keep one for tracking flights and the other for messing around with frequencies.

 

I will probably use the new dongle on a windows VM and test VRS & others software.

 

@FoxxMD This is all your fault ;)

Share this post


Link to post
13 hours ago, PSYCHOPATHiO said:

Going to keep one for tracking flights and the other for messing around with frequencies.

 

@FoxxMD This is all your fault ;)

Glad I could get you hooked! Fortunately its a relatively cheap hobby :) at least until you want to start transmitting... 😬

 

I'm using the same configuration right now -- one receiver/antennae for dump1090-piaware-etc. and one beefier receiver/antennae for use with my ShinySDR container for messing around.

 

On that note ethough, @PSYCHOPATHiO let me know if you run into any issues passing through both devices, I'm struggling with my second device.

 

P.S. @ShoGinn I'm still planning on writing templates for your dockers! I have been in the process of moving these last two weeks so haven't had much spare time..

Edited by FoxxMD

Share this post


Link to post
4 hours ago, FoxxMD said:

I'm using the same configuration right now -- one receiver/antennae for dump1090-piaware-etc. and one beefier receiver/antennae for use with my ShinySDR container for messing around.

 

P.S. @ShoGinn I'm still planning on writing templates for your dockers! I have been in the process of moving these last two weeks so haven't had much spare time..

I started fiddling with your Shiny SDR looooooool, but I was only testing. I will get back to it once I get the second SDR. I'm also fabricating some antennas & keeping my self busy.

 

I would love to have @ShoGinn VRS Docker on unraid, it would be a nice addition to the long list of dockers available.

Share this post


Link to post

Hi:

 

I'm strugglin with this docker with no succes.

 

I have passsed the RTL adding the device route, and the log says it have started, but it gets stucked saying that dump1090 is not reporting anything. With the same antena using RPI and natively instaled packegs (no docker) i'm seeing plenty of planes.

 

Then I look to your instructions and I see this:
 

Quote

 

EX For my RTL-SDR device adding the following line to the config file got it working:

config.devices.add(u'osmo', OsmoSDRDevice('rtl=0'))

 

Where I have to place that code? I have to create all the config.py file and so?

 

Thanks.

 

PD:

On 4/29/2019 at 8:38 PM, ShoGinn said:

I recommend you check out VRS and it provides a much cooler interface to output to the world

 

https://github.com/ShoGinn/virtualradarserver-docker

https://hub.docker.com/r/shoginn/vrs

-- its homepage http://www.virtualradarserver.co.uk/

 

Is this working on unraid? Is there any template or installing instructions?

 

Share this post


Link to post

There is a part of the log that I'm getting:

 

[24/Jun/2019 21:10:08] code 404, message File not found
192.168.1.50 - - [24/Jun/2019 21:10:08] "GET /data/aircraft.json?_=1561403246044 HTTP/1.1" 404 -
2019-06-24 21:10:09,204 INFO success: piaware entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-06-24 21:10:09,204 INFO success: piaware entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
192.168.1.50 - - [24/Jun/2019 21:10:10] code 404, message File not found
192.168.1.50 - - [24/Jun/2019 21:10:10] "GET /data/aircraft.json?_=1561403246045 HTTP/1.1" 404 -
2019-06-24 21:10:10,879 INFO exited: piaware (exit status 4; not expected)
2019-06-24 21:10:11,880 INFO spawned: 'piaware' with pid 549
192.168.1.50 - - [24/Jun/2019 21:10:12] code 404, message File not found
192.168.1.50 - - [24/Jun/2019 21:10:12] "GET /data/aircraft.json?_=1561403246046 HTTP/1.1" 404 -

 

If I go to http://miserverIP:httpPort/gmap.html It gives me this:

Error response

Error code 404.

Message: File not found.

Error code explanation: 404 = Nothing matches the given URI.

 

And on http://miserverIP:httpPort I see this:

Problem fetching data from dump1090.
AJAX call failed (error: File not found). Maybe dump1090 is no longer running?
The displayed map data will be out of date.

No way to kill the container, it gets zombie, the only way to kill it is to restar the host...

Edited by yayitazale

Share this post


Link to post

@yayitazale

 

The first block you quoted about config is specific to setting up shinysdr. In that post you only need to follow through Step 5 in order to passthrough the device.

 

Quote

Is this working on unraid? Is there any template or installing instructions?

 

I have not had the time to create templates for @ShoGinn's dockers yet.

 

Can you post a more complete container log? It's hard to tell what is going on from the excerpt you gave.

My guess is that you are missing some configuration or have not correctly passed through the device to the container.

 

Share this post


Link to post

Hi all new to this i have managed to configure flight aware side of this and am supplying them with data however im unable to get Flight radar 24 to work 

 

see my settings below

 

not sure what i have done wrong and not sure how to get key ive tried --signup not does not seem to work either in putty or docker console

 

 

1.PNG

2.PNG

3.PNG

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.