Page 1 of 8 123 ... LastLast
Results 1 to 10 of 74

Thread: Raspberry Pi:How To Install Raspian OS + Dump1090 + FR24 Data Feeder

  1. #1
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,754

    Raspberry Pi:How To Install Raspian OS + Dump1090 + FR24 Data Feeder

    LAST UPDATED: 23rd July, 2019

    This thread provides guide for following 3 options:

    OPTION - 1: PI24 image with integral dump1090-mutability ver 1.14 and fr24feed. Other feeders to be installed by user.
    For detailed guide, please see this post:
    2019 - PI24 (Image) QuickStart Guide


    OPTION - 2: Raspbian Image, dump1090-mutability ver 1.15~dev OR dump1090-fa installed by user. The fr24feed to be installed by user. Other feeders to be installed by user
    For detailed guide, please see Post #2 below


    OPTION - 3: Piaware Image with integral dump1090-fa and piaware data feeder. The fr24feed to be installed by user
    For detailed guide, please see Post #2 below


    Installation, signup, & cofiguration of FR24 data feeder
    For detailed guide, please see Post #2 below


    Install other feeders from respective sites:
    Flightaware (Install piaware data feeder only. Do not install dump1090-fa)
    Planefinder
    Radarbox24
    Last edited by abcd567; 2019-07-23 at 19:49.

  2. #2
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,754
    OPTION 2: Raspbian Image
    MOST FLEXIBLE. Suitable if other Apps are also run on the Pi.
    The Decoder of user's choice installed by user (dump1090-mutability ver 1.15~dev OR dump1090-fa).
    The FR24 data feeder installed by user.

    CAUTION: Do NOT use "Receiver DVBT". Must be configured for "Receiver Beast (TCP)", "Host/port 127.0.0.1:30005".



    (1) Download on your computer Raspbian image from Raspberry Pi foundation site, and write the downloaded image to your microSD card.

    Download and installation instructions are here: http://www.raspberrypi.org/downloads

    (2) Enable SSH: While the microSD card is still in the card reader of your Laptop/Desktop, in File Explorer (Windows) or Finder (Mac) click on drive letter of the microSD card (labelled boot) to open it. It will open folder /boot which has many files & few folders. In the folder /boot, create a new text file and name it ssh.

    (3) Slip out microSD card from card reader, slip into RPi and power-up.


    (4) This image does not have a decoder. You have to first install a decoder of your choice such as dump1090-mutability v 1.15~dev, or dump1090-fa, ModeSDeco2 etc.




    (5) After installation of a decoder, install fr24feed. Scroll down to see the guide at the end of this post.



    OPTION 3: Piaware Image
    Easy, plug-n-play.
    This image has integral dump1090-fa and Flightaware data feeder.

    The FR24 data feeder should be installed by user.

    CAUTION: Do NOT use "Receiver DVBT". Must be configured "Receiver Beast (TCP)", "Host/port 127.0.0.1:30005".



    (1) Download PiAware image from FlightAware on your computer, and write the downloaded image to your microSD card.

    This image has dump1090-fa + Flightaware data feeder pre-installed.

    Download and installation instructions are here: http://flightaware.com/adsb/piaware/build
    This image contains operating system Raspbian, dump1090 and Flightaware data feeder.

    (2) Enable SSH: While the microSD card is still in the card reader of your Laptop/Desktop, in File Explorer (Windows) or Finder (Mac) click on drive letter of the microSD card (labelled boot) to open it. It will open folder /boot which has many files & few folders. In the folder /boot, create a new text file and name it ssh.

    (3) Slip out microSD card from card reader, slip into RPi and power-up.


    (4) Install fr24feed as shown below.





    Installation of FR24 Data Feeder:

    (1) SSH into your Raspberry Pi and execute this command to install FR24 data feeder:
    Code:
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"

    (2) When the above script completes installation, it will automatically start signup. This will require you to enter your details (email, sharing key, latitude, longitude, antenna height etc)

    If you already had a sharing key, you can retrieve it as follows.

    Log-in to your FR24 account and go to this page to find feeder keys:
    https://www.flightradar24.com/account/data-sharing

    FR24 - Find Keys.png

    Step 1.1 - Enter your email address (username@domain.tld)
    $: xxx@yyyyy.com

    Step 1.2 - If you used to feed FR24 with ADS-B data before enter your sharing key.
    If you don't remember your sharing key, pelase use the retrival form:
    http://feed.flightradar24.com/forgotten_key.php

    Otherwise leave this field empty and continue.
    $: xxxxxxxxxxxxxxxx
    Leave key entry blank if you dont have a key


    (3) After signup, configuration will start. Enter values show in red below:

    Code:
    1 - DVBT Stick (USB)
     -----------------------------------------------------
     2 - SBS1/SBS1er (USB/Network)
     3 - SBS3 (USB/Network)
     4 - ModeS Beast (USB/Network)
     5 - AVR Compatible (DVBT over network, etc)
     6 - microADSB (USB/Network)
     7 - SBSx via Basestation (localhost:30006)
    
    
    Enter your receiver type (1-7)$: 4
    
    Step 4.2 - Please select connection type:
    
     1 - Network connection
     2 - USB directly to this computer
    
    Enter your connection type (1-2)$: 1
    
    Step 4.3A - Please enter your receiver's IP address/hostname
    $: 127.0.0.1
    
    Step 4.3B - Please enter your receiver's data port number
    $: 30005
    (4) Restart fr24feed
    Code:
    sudo systemctl restart fr24feed
    To view STATUS: Type following address in your browser, and status page will appear:
    ip-of-pi:8754
    (ip-of-pi will be something like 192.168.0.21)

    To view or change SETTINGS: Type following address in your browser, and settings page will appear:
    ip-of-pi:8754/settings.html
    (ip-of-pi will be something like 192.168.0.21)



    Settings for RASPBIAN OR PIAWARE image
    FR24 on Raspbian or Piaware img - Status.png FR24 settings - External dump1090 - BEAST-TCP.png
    Last edited by abcd567; 2019-07-23 at 19:11.

  3. #3
    Passenger
    Join Date
    Feb 2013
    Posts
    9
    abcd567, I just want to thank you so much for the info to set up FR24 Feed with piaware. I've been going crazy trying to find a way to get that to work.
    Your info made it so easy. I followed your instructions and it worked with no problems at all. Thanks again.

  4. #4
    Passenger
    Join Date
    Feb 2013
    Posts
    9
    Ok, I'm now uploading data to FR24 thru my RasPi and I see stats for aircraft and positions but "Current upload rate" shows "0 KB/s".
    Is this normal?

  5. #5
    Passenger papasven's Avatar
    Join Date
    Jan 2014
    Location
    near Berlin
    Posts
    14
    Quote Originally Posted by djmarko413 View Post
    Ok, I'm now uploading data to FR24 thru my RasPi and I see stats for aircraft and positions but "Current upload rate" shows "0 KB/s".
    Is this normal?
    A while ago I saw values there i believe, otherwise all ok.

    Unbenannt.png
    | T-EDDB8 |T-EDDB28 | Virtual Radar | Dump1090 | ModesMixer2 |

  6. #6
    Passenger
    Join Date
    Feb 2013
    Posts
    9
    Quote Originally Posted by papasven View Post
    A while ago I saw values there i believe, otherwise all ok.

    Unbenannt.png
    Ok, thanks for that info.

  7. #7
    Flight attendant
    Join Date
    Mar 2015
    Location
    Nancy, France
    Posts
    65
    Quote Originally Posted by abcd567 View Post
    What you need is 3 components as follows:
    1- An operating system like Raspbian.
    2- A decoder software like Dump1090
    3- A Data Feeding software.
    Thank you very much for such a detailed and well explained procedure, I was able to set-up everything very quickly!

  8. #8
    Purser
    Join Date
    Apr 2015
    Location
    Switzerland
    Posts
    129
    Quote Originally Posted by abcd567 View Post
    What you need is 3 components as follows:
    1- An operating system like Raspbian.
    2- A decoder software like Dump1090
    3- A Data Feeding software.

    OPTION A:
    You can install each component separately in three (3) steps shown below.

    OPTION B:
    An easier option is to install PiAware image from FlightAware. PiAware is a complete package containing all above three components in one image file, but its Data Feeder is for Flight Aware only. To feed FR24, you will have to install FR24 data feeder (step 3 below) after installing PiAware image.

    I have prepared two 8 GB microSD cards, one with option A, and other with option B, and both work ok.


    STEP 1- Install Raspbian Wheezy on microSD Card
    Download Raspbian (Debian Wheezy) on your Desktop/Laptop from Raspberry Pi's Official Website http://www.raspberrypi.org/downloads/. Scroll down the page to find Raspbian Wheezy.

    After download follow instructions on this page http://www.raspberrypi.org/documenta...ages/README.md.

    You will need a TV/monitor, mouse & keyboard for first install. Select GUI option (Graphical User Interface like windows) when configuration starts at the end of install.

    Alternatively, instead of downloading Raspbian Wheezy from above noted page, you may download NOOBS from the same page, and choose option Raspbian during installation of NOOBS. Instruction for Installation of NOOBS are here http://www.raspberrypi.org/help/noobs-setup/



    STEP 2- Install rtl-sdr Drivers and Decoder Dump1090
    This requires using console of Raspbian Wheezy. You can visit these two sites for instructions:
    https://ferrancasanovas.wordpress.co...-installation/

    http://www.satsignal.eu/raspberry-pi/dump1090.html

    I will list the console commands here which I got from these sites:

    2a- Install updates, upgrades and tools
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install git-core
    sudo apt-get install git 
    sudo apt-get install cmake
    sudo apt-get install libusb-1.0-0-dev
    sudo apt-get install build-essential
    2b- Install RTL-SDR Drivers
    Code:
    git  clone  git://git.osmocom.org/rtl-sdr.git
    cd  rtl-sdr
    mkdir  build
    cd  build
    cmake  ../ -DINSTALL_UDEV_RULES=ON
    make
    sudo  make  install
    sudo  ldconfig
    2c- Install dump1090 (Please see post # 3 below before proceeding)
    Code:
    cd ~
    sudo  cp  ./rtl-sdr/rtl-sdr.rules  /etc/udev/rules.d/
    sudo  reboot
    cd  ~ 
    git  clone  git://github.com/MalcolmRobb/dump1090.git
    cd  dump1090
    make
    ./dump1090 --interactive --net --net-http-port 8080
    You may get following error message;
    Code:
    Kernel driver is active, or device is claimed by second instance
    In the first case, please either detach or blacklist the kernel
    (dvb_usb_rtl28xxu), or enable automatic detaching at compile tim
    
    usb_claim_interface error -6
    Error opening the RTLSDR device: Device or resource busy
    To solve this problem you have to create a blacklist file as follows:
    Code:
    cd  /etc/modprobe.d
    sudo nano /etc/modprobe.d/rtl-sdr-blacklist.conf
    This will create & open the blacklist file rtl-sdr-blacklist.conf
    type following lines in this file & save the file.
    Code:
    blacklist dvb_usb_rtl28xxu
    blacklist e4000
    blacklist rtl2832
    To enable display of planes on Google Map in a Browser, give following command in console:
    Code:
    cd dump1090
    ./dump1090 --interactive --net --net-http-port 8080


    STEP 3- Installation of FR24 Data feeder :
    (Source: http://forum.flightradar24.com/threa...-BETA-testing-)

    Type following command in your console:
    Code:
    sudo wget http://feed.flightradar24.com/raspberry-pi/fr24feed_1.0.12-3_armhf.deb
    This will download .deb installation file in Downloads folder of your RPi.
    install the data feeding software using following console command:

    Code:
    sudo dpkg -i fr24feed_1.0.12-3_armhf.deb
    If this is the first time you’re going to share data with FR24, use the command below:
    Code:
    sudo fr24feed --signup
    If you have already obtained a a data sharing key from FR24, or are already sharing data with FR24 from another computer and want to now feed from RPi instead, use the same sharing key you already have, and start the configuration process by executing:
    Code:
    sudo fr24feed --reconfigure --fr24key=YOUR SHARING KEY
    Complete the configuration wizard. When asked for additioal arguments for dump1090, enter following:
    Code:
    --net --net-http-port 8080
    Now start sharing your data by typing:
    Code:
    sudo service fr24feed restart
    Now run the command:
    Code:
    service fr24feed status
    You will see following "Fail, Receiver down" (last line)
    Code:
    pi@piaware ~ $ service fr24feed status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2015-01-21 17:46:02.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-CYYZ9.
    [ ok ] FR24 Tracked AC:.
    [FAIL] Receiver: down ... failed!
    Then follow steps shown in the screenshots below:

    Attachment 5753 . Attachment 5754 . Attachment 5755

    Now again run the command "service fr24feed status",
    Now the message:
    [FAIL] Receiver: down ... failed!
    will be replaced by:
    [ ok ] Receiver: connected (xxx MSGS/0 SYNC).


    During the next system restart FR24 decoder/feeder will start automatically.

    Download Guide (pdf) from here: http://feed.flightradar24.com/fr24feed-manual.pdf

    GOOD LUCK!!!!
    Man you save my life, afthe 1 day tryng make my PI works, i found this topic, really 192.168.0.x:5784/settings.html this make a difference....... this topic must be merged on flightradar24 install notes for RPI, maybe new users need them.
    Really thanks for that.

    Cheers
    Last edited by mrcarlos; 2015-04-19 at 20:09.

  9. #9
    Passenger
    Join Date
    Apr 2015
    Posts
    9
    Thanks for your guide, unfortunately I've hit a problem.
    I keep hitting the problem described in the end of step 2.
    I made the blacklist but still it keeps giving the error, is this normal or should I proceed?


    After redoing steps 2 and 3 I got it working
    Last edited by thebenchmark; 2015-04-26 at 00:33.

  10. #10
    Purser
    Join Date
    Apr 2015
    Location
    Switzerland
    Posts
    129
    Quote Originally Posted by thebenchmark View Post
    Thanks for your guide, unfortunately I've hit a problem.
    I keep hitting the problem described in the end of step 2.
    I made the blacklist but still it keeps giving the error, is this normal or should I proceed?


    After redoing steps 2 and 3 I got it working
    Good job congratulations 🎊

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •