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:

                    https://github.com/wiedehopf/adsb-wi...for-dump1090fa

                    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

                      Working...
                      X