Announcement

Collapse
No announcement yet.

distance from site not available

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

  • distance from site not available

    Hi,
    I've just started feeding data to Flightradar24 - my dump1090 local page is not reporting the distance from a tracked aircraft from my site - for example:


    Altitude: 32000 ft / 9748 m Squawk: 2140
    Speed: 389 kt / 720 km/h RSSI: -34.4 dBFS
    Track: 282° (West) Last seen: now
    Position: 53.649°, -0.879° (1.2s)
    Distance from Site: n/a

    I have set my latitude and longitude in /etc/default/dump1090-mutability. My receiver seems to working ok:

    sudo fr24feed-status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2018-09-24 12:04:29.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-EGNO51.
    [ ok ] FR24 Tracked AC: 125.
    [ ok ] Receiver: connected (88360032 MSGS/0 SYNC).
    [ ok ] FR24 MLAT: ok [UDP].
    [ ok ] FR24 MLAT AC seen: 120.

    and I can see data on my FR24 data sharing page.

    any ideas?
    thanks
    Ian

  • #2
    Hi, what format are the lines in the config file? If you surf to <IP>/dump1090/data/receiver.json it will show you what it thinks your position is.

    Comment


    • #3
      Hi,
      thanks for the reply - my receiver.json file is rather sparse:

      { "version" : "v1.14", "refresh" : 1000, "history" : 120 }

      the lines in /etc/default/dump1090-mutability read:

      # If set, supplies a reference location for local position decoding.
      LAT="53.595700"
      LON="-2.696500"



      so it looks like this is not being used - have I specified the location correctly?

      Ian

      Comment


      • #4
        Hi, notice you're using v1.14 which is different to the version I'm using (v1.15~dev). Google says /usr/share/dump1090-mutability/html/config.js is the file you need to edit for v1.14.

        Comment


        • #5
          I've edited the config.js file to contain:


          SiteShow = true; // true to show a center marker
          SiteLat = 53.5957;
          SiteLon = -2.6965;`
          //SiteLat = 45.0; // position of the marker
          //SiteLon = 9.0;
          SiteName = "Ian's Radar Site"; // tooltip of the marker


          and restarted the raspberry pi - no change, and the receiver.json file is the same as before:

          { "version" : "v1.14", "refresh" : 1000, "history" : 120 }


          confused - I'll do some more googling!
          thanks for you help so far,
          Ian

          Comment


          • #6
            well - the answer was simple - i just added --lat and --lon as arguments on the settings page (my_ip:8754/settings.html)

            simples!
            Ian

            Comment


            • #7
              Glad you got it fixed. The :8754 pages are from fr24feed, so I guess that version of dump1090 is the bundled one.

              Comment


              • #8
                Hi. I just joined and have been online with FR24 for 2 days now. Having the same issue: Distance from Site: n/a. Could you please explain the extact text I need to enter in the arguments on the settings page? Thank you.

                Comment


                • #9
                  iam_carnage:
                  fr24rwbuck:

                  You both have dump1090-mutability ver 1.14 (Pi24 image / setting receiver = DVB-T)

                  Go to this post:
                  2019 - PI24 (Image) QuickStart Guide

                  Scroll down, and see the screenshot under following Item:
                  STEP-8: SETTINGS & CONFIGURATION
                  (Latitude & Longitude to be entered in field "Process arguments")

                  elljay:
                  You have dump1090-mutability ver 1.15~dev. It requires latitude & longitude settings in file /usr/share/dump1090-mutability/html/config.js

                  Altrernatively for ver 1.15~dev, you can give following command, and for Latitude and Longitude you can enter your actual values. For all other settings, accept default by pressing Enter key.

                  NOTE: Do NOT use this for ver 1.14
                  Code:
                  sudo dpkg-reconfigure dump1090-mutability
                  Last edited by abcd567; 2019-08-10, 05:52.

                  Comment


                  • #10
                    The --lat 50.23 and --lon 10.12 need to go into the "Process arguments" field.


                    If you can't get it running, this script gives you an easy option to configure the location:

                    Solutions to common problems using dump1090 variants and ADS-B feeders - wiedehopf/adsb-wiki


                    You'll need console access though, so either keyboard/monitor or better putty.
                    This also should give you a proper map and updated dump1090.
                    Last edited by wiedehopf; 2019-08-10, 09:22.

                    Comment


                    • #11
                      iam_carnage and fr24rwbuck


                      I had the same problem. I used the script that wiedehopf posted and now it is working perfect. So it is an easy way to correct the "problem".

                      Comment


                      • #12
                        Hi,

                        I just start to share my data today (using a Raspberry Pi 2) and i have the same issue...
                        I tried everything that this subject advise but still...no distance.

                        When i tried the --lat and --lon as arguments on the settings page (my_ip:8754/settings.html) nothing really happens.

                        When i did this command:
                        sudo dpkg-reconfigure dump1090-mutability; i set up everthing but nothing really happen as well.

                        When i tried the script my receiver stop working and i had to made another image...

                        Can someone please help me?
                        DUMP1090
                        EB_VERSION

                        I did with this image version of the FR24 website

                        Kind regards

                        Comment


                        • #13
                          Originally posted by ecosta View Post
                          EB_VERSION

                          I did with this image version of the FR24 website
                          You have Pi24 image, so do this:

                          Open file fr24feed.ini
                          Code:
                          sudo nano /etc/fr24feed.ini
                          Do you see a line like this?
                          Code:
                          procargs="--gain -10"
                          CASE-1
                          if yes, add to it lat & lon to make it like this
                          Code:
                          procargs="--gain -10 --lat xx.xxxx --lon yy.yyyy"
                          Note: Use your actual lat & lon values in place of xx.xxxx and yy.yyyy

                          Save file (Ctrl+O) and close (Ctrl+x)
                          Restart fr24feed
                          Code:
                          sudo systemctl restart fr24feed
                          Go to map and reload browser (Ctrl+F5)


                          CASE-2
                          If you dont see any line starting with procargs=, then at bottom of file add this line:

                          Code:
                          procargs="--gain -10 --lat xx.xxxx --lon yy.yyyy"
                          Note: Use your actual lat & lon values in place of xx.xxxx and yy.yyyy

                          Save file (Ctrl+O) and close (Ctrl+x)
                          Restart fr24feed
                          Code:
                          sudo systemctl restart fr24feed
                          Go to map and reload browser (Ctrl+F5)


                          .
                          Last edited by abcd567; 2020-05-20, 21:27.

                          Comment


                          • #14
                            Thanks for your help.

                            There was not any line with that information in the file.

                            Now i can see circles in my map, that's a new thing.
                            I need to wait to have traffic because of COVID19 LPPT airport is dead... sad
                            As soon as i have live traffic i will let u know


                            Kind Regards

                            Comment


                            • #15
                              It's working:

                              Distance from Site: 55.5 NM | 102.8 km

                              Thanks a LOT!!!

                              Btw...there is any way to reduce the distance between circles? The 1st one is a bit larger than the others.

                              Comment

                              Working...
                              X