Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 19:49.

  • #2
    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

    Direct download link for latest Raspbian Light image (recomended):




    (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) Access and control RPi.
    You can access Pi and issue commands by any one of the following two methods:
    • Connect a Monitor, Keyboard, and Mouse to your RPi.
    • Use SSH

    The use of SSH enables you to issue commands from your Desktop/Laptop and eliminates the need to connect a Monitor, Keyboard, and Mouse to your RPi.

    For Remote access and SSH, please see following posts:

    - How To Access and Control RPi from Desktop/Laptop using SSH

    - IP Address Finders

    (5) 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.


    (6) 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) Access and control RPi.
    You can access Pi and issue commands by any one of the following two methods:
    • Connect a Monitor, Keyboard, and Mouse to your RPi.
    • Use SSH

    The use of SSH enables you to issue commands from your Desktop/Laptop and eliminates the need to connect a Monitor, Keyboard, and Mouse to your RPi.

    For Remote access and SSH, please see following posts:

    - How To Access and Control RPi from Desktop/Laptop using SSH

    - IP Address Finders

    (5) 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:
    The world’s most popular flight tracker. Track planes in real-time on our flight tracker map and get up-to-date flight status & airport information.


    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:


    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)$: [COLOR=#FF0000][B]4[/B][/COLOR]
    
    Step 4.2 - Please select connection type:
    
     1 - Network connection
     2 - USB directly to this computer
    
    Enter your connection type (1-2)$: [B][COLOR=#FF0000]1[/COLOR][/B]
    
    Step 4.3A - Please enter your receiver's IP address/hostname
    $: [B][COLOR=#FF0000]127.0.0.1[/COLOR][/B]
    
    Step 4.3B - Please enter your receiver's data port number
    $: [B][COLOR=#FF0000]30005[/COLOR][/B]
    (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.pngFR24 settings - External dump1090 - BEAST-TCP.png
    Last edited by abcd567; 2020-02-22, 02:21.

    Comment


    • #3
      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.

      Comment


      • #4
        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?

        Comment


        • #5
          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 |

          Comment


          • #6
            Originally posted by papasven View Post
            A while ago I saw values there i believe, otherwise all ok.

            [ATTACH=CONFIG]5926[/ATTACH]
            Ok, thanks for that info.

            Comment


            • #7
              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!
              T-LFSN4

              Check your rank from FR24 feeder stats at https://jollain.com/FR24/stats.php

              Comment


              • #8
                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 [B]blacklist[/B] 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
                [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Feeder/Decoder Process: running.
                [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Stats Timestamp: 2015-01-21 17:46:02.
                [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Link: connected [UDP].
                [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Radar: T-CYYZ9.
                [ [COLOR="#008800"][b]ok[/b][/color] ] FR24 Tracked AC:.
                [[COLOR="#FF0000"][B]FAIL[/B][/COLOR]] Receiver: down ... [COLOR="#FF0000"][B]failed[/B][/COLOR]!
                Then follow steps shown in the screenshots below:

                [ATTACH=CONFIG]5753[/ATTACH] . [ATTACH=CONFIG]5754[/ATTACH] . [ATTACH=CONFIG]5755[/ATTACH]

                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, 20:09.

                Comment


                • #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, 00:33.

                  Comment


                  • #10
                    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 🎊

                    Comment


                    • #11
                      Hello,

                      i all new to this, but yesterday i got my Raspi up an running.
                      Now i get this message:

                      [ ok ] Receiver: connected (2288078 MSGS/0 SYNC).

                      0 Sync? is this ok?

                      Comment


                      • #12
                        I don't know exactly why, but yes it's ok 👌

                        Sent from my SM-N910F using Tapatalk

                        Comment


                        • #13
                          Is it possible for me to view the map?

                          Comment


                          • #14
                            Super nice guide !
                            Works perfectly.
                            But I just discovered that the step 3 isn't good.
                            You need to use this instead : http://forum.flightradar24.com/threa...r-Raspberry-Pi

                            Comment


                            • #15
                              Originally posted by acid-drop View Post
                              Super nice guide !
                              Works perfectly.
                              But I just discovered that the step 3 isn't good.
                              You need to use this instead : http://forum.flightradar24.com/threa...r-Raspberry-Pi
                              No, no, no. Use this instruction which is the latest and simplest from FR24: http://www.flightradar24.com/raspberry-pi

                              Very confusing that you can find 3 different guides on FR24, and they don't seem to care

                              Comment

                              Working...
                              X