Page 12 of 19 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 185

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

  1. #111
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,577
    Quote Originally Posted by thutson View Post
    The function to sort on column header click is missing. Add this to line 848 of script.js:

    Code:
    function sortByRSSI()  { sortBy('rssi', compareNumeric,   function(x) { return x.rssi; }); }
    Thanks lot thutson. I have missed your post earlier. Saw it just now and added sort function STEP-2, item 2.3

  2. #112
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,577
    Scroggie

    Yes, it can be done in following two ways. You have done it by method (b).

    (a) sudo dpkg-reconfigure dump1090-mutability
    (b) sudo nano etc/default/dump1090-mutability


    It is given in STEP (7) of first post

    STEP (7): DUMP1090-MUTABILITY POST INSTALLATION CONFIGURATION

    Code:
    sudo dpkg-reconfigure dump1090-mutability
    For most settings, accept default settings by pressing "Enter".
    For following settings, enter values as shown:
    (a) RTL-SDR dongle to use: 0
    (b) Your receiver's Latitude (in decimal format): xx.xxxx
    (c) Your receiver's Longitude (in decimal format): yy.yyyy
    (d) Interface address to bind to (blank for all interfaces): remove default 127.0.0.1 and leave blank.

    For advance users: Alternatively, you can change the settings by editing the configuration file shown below:

    Code:
    sudo nano /etc/default/dump1090-mutability 
    #after making changes, save file (Ctrl+o) and exit (Ctrl+x) 
    #restart dump1090-mutability sudo /etc/init.d/dump1090-mutability restart 
    #alternative command to restart dump1090-mutability sudo service dump1090-mutability restart

  3. #113
    Passenger
    Join Date
    Jan 2019
    Posts
    16
    Thanks to the OP for the wealth of info in this thread! I’ve successfully built my first RPi receiver from source, and it’s feeding properly to FR. However, I want to install this dev version to play around with the web server. Is there an “easy” way to install the dump1090-mutability without disrupting my existing FR feed? Or is it faster/easier to just start from scratch with a fresh image of Raspian? It looks do-able to my intermediately skilled brain, but I haven’t quite wrapped my head around the conflicts that could arise from re-installing dump1090 while I already have the FR24feed up and running.

    Again, thanks to the OP for helping all us newbies out. Very fun hobby.

  4. #114
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,577
    aesoprrp

    1. The very first thing you should do is to reconfigure the FR24 Feeder on the page http://<IP of RPi>:8754/settings.html.

      The "Receiver" setting should be "ModeS Beast(TCP)". Do NOT use Receiver "DVB-T Stick (default)"
      The "Host/IP" should be "127.0.0.1:30005"

      Please see screenshot below.
      After changing settings, dont forget to click "Save" button, then "Restart" button.
      Both these buttons are at bottom-right of the settings page.

      FR24 Settings.png


    2. Uninstall existing dump1090-mutability ver 1.14 which was installed by FR24FEED
      Code:
      sudo apt-get purge dump1090-mutability
      
      sudo rm -rf  /usr/share/dump1090-mutability
    3. Install dump1090-mutability ver 1.15~dev as per procedure in the first post of this thread.

    4. Reboot Pi

    5. ENJOY
    Last edited by abcd567; 2019-01-08 at 17:37.

  5. #115
    First officer
    Join Date
    Apr 2018
    Posts
    409
    Quote Originally Posted by aesoprrp View Post
    And just to make sure I'm understanding what's going on here... Both FR24feed and dump1090 need to decode the raw data, but only one program can access the SDR at a time. So dump1090 does the initial decoding, but passes the data along to the local port (30005). Then, FR24feed listens on the local address on that port, and it finds the data from dump1090. So it decodes it and sends it along to the FR24 servers. Is that a good estimation of what's happening here?
    Basically that's correct, but for the technical details:

    dump1090 listens on port 30005
    fr24feed connects to port 30005
    (other feeders like planefinder or flightaware could also connect to this port if you would want to feed other platforms)

    dump1090 does the actual decoding from the waveform / signal it gets from the dongle.
    This yields messages 56 bits or 112 bits long, which in turn can be interpreted.

    dump1090 and the feeder programs both do their own interpretation of those messages.

    dump1090 based on that information provides plane positions and so on via the local map.
    fr24feed reduces the amount of data and only sends data when something changes and probably only every 5 seconds minimum.
    (Also details on some planes are not transmitted at all when they are tracked by many receivers already, all done to save bandwidth)

  6. #116
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,577
    Setting: Receiver = DVB-T




    .
    .

    Setting: Receiver = AVR (TCP) or Beast (TCP)


  7. #117
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,577
    Quote Originally Posted by wiedehopf View Post
    (or does mutability use the builtin webserver by default? @abcd)
    There is no built-in server with dump1090-mutability ver 1.15~dev.

    The dump1090 (Malcolm Robb) has a built-in server.

    I am not sure about dump mut ver 1.14 which is installed by FR24 feeder.

    I suspect problem is caused by setting "receiver=dvbt".
    Last edited by abcd567; 2019-01-19 at 16:18.

  8. #118
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,577
    @wiedehopf

    When "receiver=dvbt" is set in "/etc/fr24feed.ini", the fr24feed runs script "install_dump1090.sh", which installs:

    • librtlsdr0
    • libusb-1.0-0
    • dirmngr
    • lighttpd
    • wget
    • dump1090-mutability ver 1.14


    Please see below for details:

    Code:
    pi@raspberrypi:~ $ ls /usr/lib/fr24
    create_missing_directories.sh  install_dump1090.sh
    dump1090                       public_html
    dump_diagnostics.sh            unregister_kernel_modules.sh
    fr24feed_updater.sh

    Code:
    pi@raspberrypi:~ $ cat /usr/lib/fr24/install_dump1090.sh
    
    #!/bin/bash
    
    # Stop on first error
    set -e
    
    LOGFILE=/var/log/fr24feed_install_dump1090.log
    exec > >(tee -a $LOGFILE)
    exec 2>&1
    
    if grep -q "^receiver.*dvbt" /etc/fr24feed.ini && [ ! -e /usr/lib/fr24/dump1090 ] ; then
        echo "dump1090 is not found, downloading dump1090-mutability..."
    
        # to skip any questions from APT
        export DEBIAN_FRONTEND=noninteractive
    
        echo 'dump1090-mutability dump1090-mutability/auto-start boolean false' | debconf-set-selections -v
    
        apt-get update -y
        apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install librtlsdr0 libusb-1.0-0 dirmngr lighttpd wget -y
    
        # Download and install dump1090-mutability
        wget -O /tmp/dump1090-mutability_1.14_armhf.deb https://github.com/mutability/dump1090/releases/download/v1.14/dump1090-mutability_1.14_armhf.deb
        dpkg -i /tmp/dump1090-mutability_1.14_armhf.deb
        rm -f /tmp/dump1090-mutability_1.14_armhf.deb
    
        ln -s /usr/bin/dump1090-mutability /usr/lib/fr24/dump1090
    
        lighty-enable-mod dump1090 || true
        service lighttpd force-reload || true
        systemctl enable lighttpd || true
        systemctl start lighttpd || true
    
        echo "dump1090-mutability is installed. You can always override it in /etc/fr24feed.ini with any other supported driver."
        echo "Web server (aircraft map) at http://YOUR_DEVICE_IP/dump1090 is enabled by default."
    fi

    Just now I wrote Raspbian Lite to microSD card, and first thing I did was to install fr24feed by bash script, and during configuration chose "Receiver : DVB-T".
    This is the dump1090-mutability ver 1.14 map:

    dump1090-mut ver 1.14.png

  9. #119
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,577
    Quote Originally Posted by JPZone View Post
    Ahh thats probably because I have a DVBT Sick as my receiver.
    OK do this:

    STEP-1
    Open file fr24feed.ini for editing
    Code:
    sudo nano /etc/fr24feed.ini
    In the file opened, make changes as shown in red below:
    Also dont leave fr24key blank. Insert its actual value (I have inserted below xxxxxxxxx as an example)

    Code:
    receiver="beast-tcp"
    fr24key="xxxxxxxxxxxxxx"
    host="127.0.0.1:30005"
    bs="no"
    raw="no"
    logmode="0"
    windowmode="0"
    logpath="/var/log/fr24feed"
    mpx="no"
    mlat="no"
    mlat-without-gps="no"
    use-http="yes"
    http-timeout="10"
    Save flie (Ctrl+o) and Close (Ctrl+x)

    STEP-2

    Purge out the dump1090-mut ver 1.14 (which has google map)

    Code:
    sudo dpkg --purge dump1090-mutability
    
    sudo rm -rf /usr/share/dump1090-mutability
    
    sudo reboot
    STEP-3
    install dump1090-mutability ver 1.15~dev according to instructions in first post of this thread.

    You will not have to install fr24feed again as it is already existing.
    You dont have to configure fr24feed, as you have already done it in STEP-1.

  10. #120
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,577
    speedycab

    The browser is showing the old cached map.

    (1) Clear browser cache by pressing Ctrl+Shift+Delete keys simoultaneously, then hit Enter key

    (2) Reload browser by simultaneusly pressing Ctrl+F5 keys.

    (3) Sometimes browsers are very stubborn and will not let go old cached content. Try steps (1) and (2) several times.

    (4) If items (1), (2), and (3) do not solve the problem, try another browser. For example if you are using Firefox, try Google Chrome and Safari.

Posting Permissions

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