Results 1 to 8 of 8

Thread: Can i get a text list of the aircraft in view?

  1. #1
    Passenger
    Join Date
    Dec 2018
    Posts
    9

    Can i get a text list of the aircraft in view?

    I have a PiAware image installation, also running FR24feed.

    I notice that FR24 provides a list that I would like to be able to grab as text.
    http://localhost:8754/tracked.html

    FR24 Feeder Tracked Aircraft List
    Updated: 17:52:01 GMT-0700 (Pacific Daylight Time)
    ModeS: 71BE24 Callsign: KAL213
    Lat: 37.7249
    Long: -123.7923
    Alt: 34975ft
    SQW: 1455

    ModeS: A28904 Callsign: UAL1451
    Lat: 37.8682
    Long: -122.6399
    Alt: 13400ft
    SQW: 6646

    I'd like to grab that sort of info as a text output, but "curl" doesn't catch it.

    function update_aircraft() {
    $.ajax({url:'/flights.json?time=' + $.now(), dataType:'json', type:'get', data: $.now() }).done(function(data){update_aircraft_cb(data);}) ;
    }


    Is there a command line I could use to grab the data from dump1090-fa?

  2. #2
    Super Moderator
    Join Date
    May 2011
    Location
    T-NZCH1, PP:PH New Zealand
    Posts
    5,006
    VRS has a database logger

    There is a manual method

    https://forum.flightradar24.com/thre...ll=1#post97748

    And there are other 30003 capture scripts that can use SQL

    But none are as easy as saving the text as far as I'm aware
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

  3. #3
    Captain
    Join Date
    Apr 2018
    Posts
    746
    /dump1090-fa/data/aircraft.json

    you'll have to parse it appropriately.

  4. #4
    Passenger
    Join Date
    Dec 2018
    Posts
    9
    Thanks. That one is just peachy. Lots of screenshots that I didn't need, and the command line that I like
    telnet 10.51.25.212 30003

    And a link to the documentation, user provided:
    http://woodair.net/sbs/Article/Bareb...ocket_Data.htm

    I have written programs to take in data across a telnet port, so this looks quite handy.

    -- Clarence

  5. #5
    Passenger
    Join Date
    Dec 2018
    Posts
    9
    Quote Originally Posted by wiedehopf View Post
    /dump1090-fa/data/aircraft.json

    you'll have to parse it appropriately.

    I speak Python. That looks quite similar to some data for which I have code lying around, somewhere.
    It looks like it is updating once per second.

    Once I had the name, I found the docs. The file is updated one per second, the web page is live.

    http://pi/dump1090-fa/data/aircraft.json


    I conveniently have an address defined in hosts for "pi", otherwise you could plug in an IP address.

    https://github.com/mutability/dump10...README-json.md

    Now that I am looking in the right places, I see lots of code already working.

    I live in a valley, which I hadn't really considered until I ran the https://www.heywhatsthat.com/ up in the air analysis.
    I get good views in directions I didn't expect, and I really just want a picture of where I have the best coverage, by plotting onto a Google Map, maybe overlaying onto the "up in the air" lines.
    I might have stumbled onto what I want, already written.

    Thanks for the file name. Whole new paths to explore.

  6. #6
    Flight attendant magnum's Avatar
    Join Date
    Jun 2010
    Location
    35 miles west of FRA
    Posts
    78
    there's an easier way as the data is stored in a directory including 120 history files for the last 60 minutes:

    /run/dump1090-fa


    In this folder you will find the aircraft.json plus the 120 files named history_xxx.json.
    You could also use these for your investigation.

    In addtion somebody created an adapted view named "tar1090" which is based on Skyaware. This contain a larger history as well.

  7. #7
    Captain
    Join Date
    Apr 2018
    Posts
    746
    Don't try and use tar1090 history files, i remove pretty much everything but the location to speed up loading times.

    These scripts by caius should be interesting to you:
    https://discussions.flightaware.com/...06?u=wiedehopf

    To make data collection easier and just have 24h of data at hand, you can use this:
    https://github.com/wiedehopf/timelap...#timelapse1090

  8. #8
    Passenger
    Join Date
    Dec 2018
    Posts
    9
    Quote Originally Posted by wiedehopf View Post
    These scripts by caius should be interesting to you:
    https://discussions.flightaware.com/...06?u=wiedehopf
    Now that I know where the raw data resides, I can easily parse my simple Google Map.

    I tried the heatmap.sh, but I need to install more packages in my pi, and I got distracted by work :-)

Posting Permissions

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