Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Raspberry Pi using DUMP1090 to a csv file?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Passenger
    Join Date
    Dec 2013
    Location
    Liverpool UK
    Posts
    10

    Raspberry Pi using DUMP1090 to a csv file?

    Hi all,
    I am running a website - www.planespottinglog.co.uk . what i want to do is use my raspberry PI running dump1090 for both this site and my own. I wish for it to just create a CSV file to somewhere on the PI with the output you see on the console. does anyone know how to do this?

  2. #2
    Captain
    Join Date
    Jan 2012
    Location
    Dudley area, UK
    Posts
    1,410
    ... if you have the standard dr24.sh script, the dump1090 line ends
    --quiet > /dev/null &

    replace that with
    > somefile.txt

    run it for 10 minutes, see how bit the file gets - it's not CSV, but you can handle that later

    now you could pipe the output into a script to clean up the data and format it (a bash script will do it on the fly).

  3. #3
    Passenger
    Join Date
    Feb 2014
    Posts
    4

    Writing dump1090 to database

    Quote Originally Posted by peterhr View Post
    ... if you have the standard dr24.sh script, the dump1090 line ends
    --quiet > /dev/null&

    replace that with
    > somefile.txt

    run it for 10 minutes, see how bit the file gets - it's not CSV, but you can handle that later

    now you could pipe the output into a script to clean up the data and format it (a bash script will do it on the fly).

    Sir

    I also want to write the data to a csv file. But I cannot understand the solution suggested by you! Could u expalin it?
    What is dr24.sh script?? and where I can find "quiet > /dev/null &" ??
    Please help.. I am a beginner ..
    Thanks

  4. #4
    Captain
    Join Date
    Jan 2012
    Location
    Dudley area, UK
    Posts
    1,410
    Quote Originally Posted by manojpjoseph View Post
    Sir

    I also want to write the data to a csv file. But I cannot understand the solution suggested by you! Could u expalin it?
    What is dr24.sh script?? and where I can find "quiet > /dev/null &" ??
    Please help.. I am a beginner ..
    Thanks
    If you are using dump1090 there are a number of parameters you can use. if you go to the folder where the executable is and type
    ./dump1090 --help all the parameters and what they do are listed
    one of these will give you the output you desire listed to sysoutput (usually means your screen)

    if you use > filename then sysoutput is directed to this file (or if the file is a program or a command is used as the sysinput stream to that program or command)

    the fr24.sh make sence if your Pi is set as in post 8 in this thread http://forum.flightradar24.com/threa...e-to-feed-FR24

  5. #5
    Passenger
    Join Date
    Dec 2013
    Location
    Liverpool UK
    Posts
    10
    Hi
    That's great one question though any way of making it export ONLY the aircrafts HEX code like this:
    0ca61b
    392280
    3986ef

    Etc?
    Last edited by david cummings; 2014-07-14 at 10:47.

  6. #6
    Passenger
    Join Date
    Jul 2014
    Location
    EKCH
    Posts
    4
    I will be making some simple programs to connect via network to the dump1090 daemon - this way it will be possible to save the data into your favorite file/db/whatever - plus, it won't require any changes to dump1090 itself. It will be opensourced of course

  7. #7
    Captain
    Join Date
    Jan 2012
    Location
    Dudley area, UK
    Posts
    1,410
    Quote Originally Posted by david cummings View Post
    Hi
    That's great one question though any way of making it export ONLY the aircrafts HEX code like this:
    0ca61b
    392280
    3986ef

    Etc?
    there is a dump1090 parameter that's for debugging that does this. on your pi do

    "./dump1090 --help"

    to list all possible parameters

  8. #8
    Passenger
    Join Date
    Jul 2014
    Location
    EKCH
    Posts
    4
    As promised - I started writing my little DSM program (Data Source Manipulator . It connects to DUMP1090 via network and then is able to do a bit more with the data. The point is to be able to do some serious antenna measurements as well as upload safely data into any database (incl. some modifications - or only selected columns etc.). I am writing it so that it should be very easy to extend it with simple plugins.

    If you have good ideas - especially in the department of antenna measurements and data/db/upload capabilities - feel free to contact me directly. I will throw the source on Github at some point.

    Selection_307.png

  9. #9
    Passenger
    Join Date
    Oct 2014
    Posts
    4
    How far did you get with your data storage project, micdobro? I'm also very interested in doing something like that, mostly to play with range plots and statistics and things.

  10. #10
    Passenger
    Join Date
    Nov 2014
    Location
    Silicon Valley
    Posts
    1

    Another interested in your project--

    Quote Originally Posted by dogzbody View Post
    How far did you get with your data storage project, micdobro? I'm also very interested in doing something like that, mostly to play with range plots and statistics and things.
    I'm also interested in harvesting data from dump1090 for other purposes; early code perfectly acceptable!

Posting Permissions

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