Announcement

Collapse
No announcement yet.

How to Install dump1090-mutability_1.15~dev on RPi

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

  • drworld88
    replied
    Hi

    Currently running this install of dump1090-mutability_1.15~dev with no problems and feeding fr24. What is the easiest way of adding performance graphs to this install?
    With many thanks

    Doug

    Leave a comment:


  • abcd567
    replied
    Originally posted by 71sbeetle
    It looks like this was removed.
    Is there a way to have alternating ring colors?
    I have removed it because it became outdated.

    Today I have added an updated version here (Page 1 post #3 of this thread)

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



    Originally posted by 71sbeetle
    I found your other post on I believe another forum but it seems it doesn't work with dump1090 mutability as I cannot find "function drawCircle" in the script.
    Yes, it is out dated in the other forum.
    Yesterday I have added a new thread "Tweaks" in the other forum which has the updated method.
    Last edited by abcd567; 2017-07-25, 17:29.

    Leave a comment:


  • dskr
    replied
    Hi,

    can someone tell me how to change the interval in which the aircraft.json/history_X.json are being created?

    On Github (github.com/mutability/dump1090/blob/master/README-json.md) it says
    "history_0.json, history_1.json, ..., history_119.json

    These files are historical copies of aircraft.json at (by default) 30 second intervals. They follow exactly the same format as aircraft.json."
    I am running a python skript that fetches all the aircraft-data from the history_x.json-files and merges them together but the "time-gaps" between each file are too big...

    => Solved the problem by opening the aircraft.json every second..
    Last edited by dskr; 2017-05-15, 14:06.

    Leave a comment:


  • abcd567
    replied
    ABOUT AGC

    Following are comments by Oliver Jowett (obj), who is the author of dump1090-mutability:

    Turning on the tuner AGC sets a fixed gain for one gain stage and hands control of the other stages over to the AGC.

    The AGC works by measuring the amplified signal power over a period and using that in a feedback loop to control the gain to try to get an amplified signal power that is somewhere in the middle of the usable range - i.e. if the amplified power is too low, it increases the gain, and vice versa. The AGC is designed for the dongle's original purpose - receiving digital TV signals. For a digital TV signal you are receiving a continuous signal from a single transmitter so this works fine.

    ADS-B signals are bursts that are much shorter than the measurement period, and they originate from many transmitters of different power at different ranges. So the AGC measurement is basically useless and in practice the AGC sees it as a very weak signal and ends up setting the gain as high as it will go.

    Due to a quirk in librtlsdr, the combination of the manually set gain stage + the AGC-controlled gain stages results in a total gain that is higher than what librtlsdr will let you set directly.

    Leave a comment:


  • abcd567
    replied
    Dump1090-mutability: About gain -10

    Question: What does gain -10 actually mean?
    Answer: Enable the tuner AGC.

    Question: So that is the same as having GAIN="agc" in /etc/default/dump1090-mutability ??
    Answer: Yes, if you look at the init script you will see that AGC is translated to -10 and if you look at the dump1090 source then you will see that -10 turns on AGC.

    -10 is a special value meaning "turn on AGC" (for ADS-B, the AGC doesn't actually give auto-gain, just a high gain. Usually AGC will behave like "more gain than max")


    -10 and agc are identical, they both end up passing "--gain -10" to dump1090, see the /etc/init.d/dump1090-mutability script:
    Code:
    pi@raspberrypi:~ $ cat /etc/init.d/dump1090-mutability
    #!/bin/sh
    ### BEGIN INIT INFO
    .............
    .............
    case "x$GAIN" in
     x|xmax) ;;
     xagc) ARGS="$ARGS --gain -10" ;;
     *) ARGS="$ARGS --gain $GAIN" ;;
    esac
    .............
    .............

    For regular gains, you want a positive value in the 0..50 range (nominally in dB). It will pick the closest gain step to the value you give. If you specify any negative number (other than -10), then the closest gain is 0dB: minimum gain!

    AVAILABLE GAIN VALUES:

    pi@raspberrypi:~ $ sudo systemctl stop dump1090-mutability
    pi@raspberrypi:~ $ rtl_test
    Found 1 device(s):
    0: Realtek, RTL2838UHIDIR, SN: 00000001

    Using device 0: Generic RTL2832U OEM
    Found Rafael Micro R820T tuner
    Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 1 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 4 49.6
    Sampling at 2048000 S/s.

    Info: This tool will continuously read from the device, and report if
    samples get lost. If you observe no further output, everything is fine.

    Reading samples in async mode...
    lost at least 16 bytes
    ^CSignal caught, exiting!

    User cancel, exiting...
    Samples per million lost (minimum): 0
    pi@raspberrypi:~ $

    Leave a comment:


  • abcd567
    replied
    Configuration of FR24 feed in Post #1, STEP (11) Updated on 27/02/2017

    Leave a comment:


  • abcd567
    replied
    Updated post #1 on 24/02/2017

    Leave a comment:


  • abcd567
    replied
    Originally posted by Pasajero311
    Hello good afternoon
    With the new RASPBIAN JESSIE WITH PIXEL image dated 2016-09-23
    I can not install dump1090-mutability_1.15
    Any help is good
    But it has to be it has to be with this version
    RASPBIAN JESSIE WITH PIXEL
    After reading your post, I did following:
    1) downloaded "Raspbian Jessie with PIXEL" (2016-09-23-raspbian-jessie.zip).
    2) Extracted 2016-09-23-raspbian-jessie.zip to get 2016-09-23-raspbian-jessie.img
    3) Formatted microSD card.
    4) Wrote the PIXEL image (2016-09-23-raspbian-jessie.img) on it.
    5) Inserted microSD card in RPi, powered up, expanded file system, changed password, changed time zone, and rebooted.
    6) Followed steps in post #1 of this thread, and dump1090-mutability installed WITHOUT ANY PROBLEM.

    Please see below the screenshot of my PIXEL with dump1090-mutability v1.15~dev:
    2016-11-26-132441_1824x984_scrot.jpg

    It seems you have missed one or more of the steps, or some step did not execute properly.
    Try installation again, but first remove/purge the current install:

    sudo dpkg --remove dump1090-mutability
    sudo dpkg --purge dump1090-mutability

    Remove the installation folder
    sudo rm -rf install-dump

    Now install again following the steps on page 1 post 1 of this thread.

    Leave a comment:


  • abcd567
    replied
    Originally posted by jcinnb
    Will do. It was impressive I must say. Especially cost effective:

    Though not sure my fat fingers can deal with pushing down 8 I will give it a try!
    Yes, cost effective and easy. No special parts or connectors.

    I think we better discuss ground plane antenna in it's relevant thread, link given below:

    Why Antennas Have Ground Plane?

    .

    Leave a comment:


  • abcd567
    replied
    Originally posted by jcinnb
    Capt: in your post 41 you provide steps for installing both feeders. EVERYWHERE I have found this referenced, the PiAware is always listed first, then FR24.

    Does the order matter, I have FR running, and now want to expand? Thank you so much for sorting me out on this. I am just concerned to risk what I have now.
    1)The order of feeders is NOT important. If I have always listed piaware first, this is just a matter of habit.

    2)The important thing for headache-free install is that dump1090-mutability is installed BEFORE any data feeders are installed. Once dump1090-mutability is present, the data feeders installation detects it and does not install/use their own dump1090.

    Leave a comment:


  • abcd567
    replied
    @jcinnb:
    Modified procedure in Post #10 Page 1.
    Now 4 colors available for Terrain Limit Rings, so up to 4 rings is ok now.

    If you have created a backup orig-html of folder html & its files, then
    (1) Delete already modified file script.js in folder html.
    (2) Copy script.js from backup folder orig-html to html folder.
    (3) Do the modifications as a fresh case.

    Code:
    cd ~
    cd /usr/share/dump1090-mutability/
    sudo rm html/script.js
    sudo cp orig-html/script.js html/script.js
    cd html
    sudo nano script.html

    Leave a comment:


  • Graeme2812
    replied
    I'd just like to say a big thank you to all, especially abcd567, for the postings and support on this forum. Took me three days to successfully install and configure Dump1090 and FR24 feeder on my Pi but now it is done and all seems to be working well.

    Top Newbie Tip: Run each line of code individually, examine the output, and avoid multiple line executions at a time!

    Leave a comment:


  • abcd567
    replied
    @Avesec:
    If you have clean install of Jessie and dump1090-mutability, then follow procedure given below for a conflict free install.

    (1) Piaware data feeder installation

    Go to this page:
    http://flightaware.com/adsb/piaware/install

    On this page, the "Step 1 - What is needed" will install another copy of dump1090. Skip Step 1. Start from "Step 2 - Download and Install PiAware" which will install piaware data feeder only.

    (2) Flightradar24 feeder installation
    Go to this page:
    https://www.flightradar24.com/raspberry-pi

    On this page you will find a bash script. Run this script. It will detect presence of dump1090-mutability, and will not install any conflicting copies.

    The bash script is
    Code:
    sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
    Last edited by abcd567; 2016-08-04, 02:56.

    Leave a comment:


  • Avsec
    replied
    Originally posted by abcd567
    Dump1090-mutability v1.15~dev can be installed on both of these.

    Both these already have dump1090. The reason to remove dump1090/dump1090-mutability (standard version) and install dump1090-mutability v1.15~dev is because v1.15~dev is more efficient and functional than dump1090/dump1090-mutability (standard version).

    To uninstall/remove dump1090 from piaware or flightradar24 installation, see Step 3 in the procedure (First post on page 1)

    3) REMOVE/UNINSTALL DUMP1090 AND DUMP1090-MUTABILITY IF THESE ARE ALREADY INSTALLED, SO AS TO HAVE A CONFLICT FREE INSTALLATION.
    Question to the Captain abcd567 if I may -

    I have gone down a different route to the above. Restarted from scratch and reformed the SD card, upgraded to Jessie then a fresh installed of dump1090-mutability v1.15~dev. All going swimmingly.

    Now would like to add PiAware and FR24 but worried, that as both these programs use the standard dump1090 software, that there maybe a conflict with the already installed dump1090-mutability v1.15. Have done a search of the various forums but cannot find any discussion if this would be the case.

    Can I just go ahead with the installation of PiAware and FR24 and trust that that the presence of dump1090-mutability v1.15 will override/stop the older dump1090 software being installed?

    Many thanks in advance for your assistance.

    Leave a comment:


  • abcd567
    replied
    @paulus0031

    usb_claim_interface error -6
    Error opening the RTLSDR device: Device or resource busy


    Dump1090 starts when Pi is booted, and was already running (map shows the planes), and was using DVB-T (RTLSDR device).

    When you gave command
    /usr/bin/dump1090-mutability
    you tried to start 2nd instance of dump1090, and since the dvb-t rtlsdr device was already in use by first instance of dump1090, you got error message.

    You dont need to start dum1090 manually. It starts automatically when you boot the Pi. If you want to check its status, restart or stop it, use following commands:

    Code:
    sudo service dump1090-mutability status
    
    sudo service dump1090-mutability restart
    
    sudo service dump1090-mutability stop
    Last edited by abcd567; 2016-07-31, 22:50.

    Leave a comment:

Working...
X