Announcement

Collapse
No announcement yet.

How to correctly replace dump1090-mutability with dump1090-fa?

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

  • How to correctly replace dump1090-mutability with dump1090-fa?

    Can anyone please write the commands for replacing dump1090-mutability with dump1090-fa.
    I am on RPi 4B+ with the latest Debian ver. 11.
    I want to have dump1090-fa instead.
    I am a newbie on Linux!
    Thank you in advance

  • #2
    First purge dump1090-mutability and it's config files

    Code:
    sudo apt purge dump1090-mutability

    Next install dump1090-fa

    Code:
    wget https://www.flightaware.com/adsb/piaware/files/packages/pool/piaware/f/flightaware-apt-repository/flightaware-apt-repository_1.1_all.deb  
    
    sudo dpkg -i flightaware-apt-repository_1.1_all.deb  
    ​
    sudo apt update  
    
    sudo apt install dump1090-fa
    Next make open fr24 config file
    Code:
    sudo nano /etc/fr24feed.ini


    In above file, delete the following line:

    receiver="dvb-t"

    In it's place add following two lines

    receiver="avr-tcp"
    host="127.0.0.1:30002"

    Save & Close the file

    Reboot Pi

    sudo reboot


    .

    Comment


    • #3
      Thanks a lot for your fast and detailed reply!
      I will do first thing tomorrow morning!
      br

      Comment


      • #4
        Worked 100%, thanks a lot !

        But which file to edit to get the "Site Location" and "Distance Rings" on the map ?
        Last edited by fjuppe; 2023-10-02, 07:18.

        Comment


        • #5
          Code:
          sudo nano /etc/default/dump1090-fa
          scroll down till you see

          RECEIVER_LAT=
          RECEIVER_LON=

          After = signs, type values of your location's Latitude and Longitude, so it becomes like the example below (replace figures in example below by your actual latitude nd longitude in decimal degrees)

          RECEIVER_LAT=51.5014​
          RECEIVER_LON=-0.1406​


          Save and Close file

          Restart dump1090-fa
          sudo systemctl restart dump1090-fa

          Reload browser (press Ctrl and F5 keys together)


          .

          Comment


          • #6
            So clear instructions! Works like a charm!
            Thanks a lot

            Topic closed
            br

            Comment


            • #7
              hi abcd,

              thanks alot for that help. I updated fom 1.15 to Skyaware 9.0 and I wanted to setup autogain via a script, but it seems, that since 6.0 autogain is enabled. So basically I dont need to change anything and autogain will change this value over time?
              grafik.png

              Comment


              • #8
                Originally posted by Imaduffus View Post
                hi abcd,

                thanks alot for that help. I updated fom 1.15 to Skyaware 9.0 and I wanted to setup autogain via a script, but it seems, that since 6.0 autogain is enabled. So basically I dont need to change anything and autogain will change this value over time?
                Yes, you dont have to do anything, auto-gain will keep changing gain setting as and when needed.

                If you install graphs1090 by wiedehopf, then one of graphs plots the gain vs time.
                Code:
                https://github.com/wiedehopf/graphs1090/raw/master/install.sh)"

                The graph below is plot of gain (vertical axis, gain in dB) vs time (horizontal axis)on one of my RPi

                dump1090-localhost-misc-24h.png



                .

                Comment


                • #9
                  Hi again, Looks good so far, but for some reason I see no changes in the gain tab, although the automation is active, when I check the dump Status.

                  Screenshot_20240121-202827.jpg

                  Comment


                  • #10
                    auto gain reduces the gain when there is strong signal.
                    This happens when many airplane are flying close to your antenna.
                    By close I mean at 50 nm or less.

                    Comment


                    • #11
                      Hey again, after some days, I checked the performance and everything went fine. Today I stumbeld upon following display and I am confused. It seems that my Pi was "offline" from approx midnight to midday today, but checking my radr: https://www.flightradar24.com/accoun...tats/?id=36560 it seems there was no offline situation.

                      Now I am wondering, what caused this gap. Any ideas? Thanks alot!

                      grafik.png

                      Comment


                      • #12
                        This gap in graphs1090 often happens with all my several Pis. When I chech my stats at Flightaware or Flightradar24, they show no gap. The only conclusion I could make was that there is some bug in the graphs1090

                        Comment


                        • #13
                          Originally posted by abcd567 View Post

                          First purge dump1090-mutability and it's config files

                          Code:
                          sudo apt purge dump1090-mutability

                          Next install dump1090-fa

                          Code:
                          wget https://www.flightaware.com/adsb/piaware/files/packages/pool/piaware/f/flightaware-apt-repository/flightaware-apt-repository_1.1_all.deb
                          
                          sudo dpkg -i flightaware-apt-repository_1.1_all.deb
                          ​
                          sudo apt update
                          
                          sudo apt install dump1090-fa

                          Next make open fr24 config file

                          Code:
                          sudo nano /etc/fr24feed.ini

                          In above file, delete the following line:

                          receiver="dvb-t"

                          In it's place add following two lines

                          receiver="avr-tcp"
                          host="127.0.0.1:30002"

                          Save & Close the file

                          Reboot Pi

                          sudo reboot
                          I'm currently using dump1090-mutability and fr24feed. It's working properly, but after reading about dump1090-mutability on github, I would like to give dump1090-fa a try.

                          I have some questions about switching.

                          Does this statement also uninstall dump1090-mutability?

                          Code:
                          sudo apt purge dump1090-mutability

                          Here is the existing config file for fr24feed:

                          Code:
                          receiver="avr-tcp"
                          fr24key="REDACTED"
                          host="127.0.0.1:30002"
                          bs="no"
                          raw="no"
                          mlat="no"
                          mlat-without-gps="no"​


                          Is there any reason to change it?​

                          Do I have to stop dump1090-mutability, lighttpd and fr24feed before making the changes?

                          Thanks.
                          Last edited by bimmerdriver; 2024-02-17, 04:21.

                          Comment


                          • #14
                            "sudo apt purge dump1090-mutability" should be enough.
                            After this you go ahead with installation of dump1090-fa.

                            Comment


                            • #15
                              I tried replacing dump1090-mutabillity with dump1090-fa. Unfortunately, it wasn't successful.

                              Code:
                              $ sudo dpkg -i flightaware-apt-repository_1.1_all.deb
                              Selecting previously unselected package flightaware-apt-repository.
                              (Reading database ... 24469 files and directories currently installed.)
                              Preparing to unpack flightaware-apt-repository_1.1_all.deb ...
                              Unpacking flightaware-apt-repository (1.1) ...
                              Setting up flightaware-apt-repository (1.1) ...
                              No apt repository available for given architectures
                              dpkg: error processing package flightaware-apt-repository (--install):
                              installed flightaware-apt-repository package post-installation script subprocess returned error exit status 1
                              Errors were encountered while processing:
                              flightaware-apt-repository
                              I'm wondering if this failed because ​I'm using Intel / Ubuntu, not ARM / debian.

                              I tried going back to dump1090-mutability and I encounted the same problem as before where sudo fr24feed --signup failed because it didn't recognize the key. This seems to be caused whenever anything changes with dump1090. I removed everything and started again from scratch.

                              I used the procedure on https://github.com/abcd567a/fr24feed...ntu-amd64-i386. Everything seemed to run properly, but it's not working. According to the FR24 website, the receiver is online, but not reporting data. fr24feed-status is reporting messages, but they aren't getting through. Also, I cannot open the dump1090 map. Is there a different URL for dump1090-fa?

                              Comment

                              Working...
                              X