Announcement

Collapse
No announcement yet.

Automated Installation of Dump1090-Mutability, Data Feeders, and Performance Graphs

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • abcd567
    replied
    Originally posted by milo
    According to Google I live at

    48.7856988N,9.1639473E how do I set this into the system?
    First configure dump1090-mutability:
    Code:
    sudo dpkg-reconfigure dump1090-mutability
    A configuration window will appear.
    Keep pressing Enter key till you reach the screen which asks Latitude.
    Type 48.7857 and press Enter
    The screen will change and now it will ask Longitude
    Type 9.1639 and press Enter key. Keep pressing Enter key till the configuration window closes.
    At some point pressing Enter key will not change screen. Press "Tab" key to make the "OK" on screen red, then press Enter key.

    dump1090-Latitude.png dump1090-Longitude.png



    Now configure FR24 Feeder:
    Code:
    sudo fr24feed --signup
    It will ask you to enter your email, sharing key, etc.
    When it asks Latitude, type 48.7857 and press Enter key
    When it asks Longitude, type 9.1639 and press Enter key
    When it asks for MLAT, type yes
    When it asks Height of antenna above sea level enter 953 + Height of antenna above ground in feet
    (The 953 feet is ground height above sea level for latitude/longitude you have provided).
    When it asks "Would you like to use autoconfig (*yes*/no)$:" type yes
    Now answer about log file, and then confiuration will complete and confirmation message will come.
    When confirmation message is displayed, restart fr24feed
    Code:
    sudo service fr24feed restart
    fr24feed configuration.png antenna elevation.png
    Last edited by abcd567; 2016-10-26, 08:17.

    Leave a comment:


  • abcd567
    replied
    To check your current settings of time & date:
    Code:
    sudo date
    If time zone is not correctly set, you can set it by:
    Code:
    sudo dpkg-reconfigure tzdata
    If the time setting is not accurate, synchronize it with ntp server:
    Code:
    sudo ntpd -gq
    
    #wait for few seconds then restart ntp
    cd ~
    sudo /etc/init.d/ntp restart
    To check/set your latitude and longitude in dump1090-mutability:
    Code:
    sudo dpkg-reconfigure dump1090-mutability
    
    #when settings window opens, press Enter key, and setting will jump to next item
    #keep pressing the Enter key till you reach latitude setting.
    #pressing once more will display longitude setting
    #if these settings are not correct or accurate to 4 places of decimal, enter correct values
    #continue oressing Enter key till you reach last setting
    #the settings window will close itself
    
    
    #now reboot
    sudo reboot

    To change latitude and longitude setting in FR24, repeat sign-up:
    Code:
    sudo fr24feed --signup
    
    #after completing sign up, reboot
    sudo reboot
    Last edited by abcd567; 2016-10-25, 21:17.

    Leave a comment:


  • Jschmaltz
    replied
    The main dump1090 graphs are on port 80 of the IP address assigned to your Raspberry Pi. The FR24 configuration can be found on port 8754, and the PlaneFinder map/config is on port 30053.

    I think that the FlightAware map/config is supposed to show up on port 8080, but I can't seem to get into it on my setup. I'm wondering if there might be something going on with the script turning the FA web interface off or something, but I'm not experienced enough with it yet to see what I've got wrong. I do know that I'm feeding to FA just fine.

    I've also noticed that automatic updates are disabled for the FlightAware feeder bundled with the script. Is it safe to turn on automatic updates for FA after using this scripted install, or is there a good reason that they're turned off?

    Also, does the ADS-B Exchange feeder have a web interface or something? I can't seem to find any info on it and the ADS-B Exchange site is not set up to tell you if you are feeding them properly, so I don't know if my feed to them is working or not.

    Leave a comment:


  • milo
    replied
    What is the address to access the graphs?

    Leave a comment:


  • cjacques
    replied
    Here's the code. I assume it is FR's blend?

    cd ~
    git clone git://github.com/flightradar24/dump1090
    cd dump1090
    make
    ./dump1090 --interactive --net --net-http-port 8080

    They both seem to be working fine for now, I'll leave my install alone and start looking antennas and installation

    Leave a comment:


  • abcd567
    replied
    @cjacques
    If you installed dump1090-mutabilty, you can feed data to various sites (like flightradar24, flightaware, planefinder etc) by installing their data feeder software.

    The other option (dump1090-fa) is Flightaware's fork of dump1090-mutability. With dump1090-fa, you can still feed data to various sites by installing their data feeders, but I personally prefer to install dump1090-mutability, as it is not aligned to any particular site.
    Last edited by abcd567; 2016-10-25, 02:00.

    Leave a comment:


  • cjacques
    replied
    Outstanding script!!! Install worked like a charm. I do have a slight problem though...

    I am live and feeding to Flightaware, no issue there.

    I am offline on Flightradar24 and not sending any aircraft position, although my uptime is showing high percentage (seems I am connected, but not feeding any aircraft position). fr24feed status tells me it is running.

    Can someone point me in the right direction to troubleshoot this problem? I installed dump1090-mutability during the installation (there were 2 options). I might have missed an option during the install?

    Leave a comment:


  • abcd567
    replied
    Originally posted by jarda
    Everything seems to be working perfectly since the install, thanks again!

    How does one go about keeping various components up to date after install. It says here that fr24 feeder is updated via apt. Is dump1090-mutability as well? piaware?
    The dump1090-mutability and Piaware are NOT installed by "apt-get install". Insted source code is downloaded and .deb package is built in the Pi. Hence "apt-get upgrade" will not upgrade to latest version. The update/upgrade is to be done as follows:

    Code:
    cd ~/adsb-receiver
    git fetch --all
    git reset --hard origin/master
    ./install.sh

    Leave a comment:


  • abcd567
    replied
    Originally posted by airport
    Dump1090-mut is running in Raspi I can see all the graphs and the live map on Win10 PC Chrome browser. Now I want to display dump1090-mut airplanes on BaseStation map running on Win 10 PC. How can I do that?
    HOW TO FEED BASESTATION ON WINDOWS FROM DUMP1090-MUTABILITY ON RPI

    Direct feed from dump1090-mutability is not compatible to BaseStation.
    However, you can still feed BaseStation from dump1090-mutability if you pass the feed through ModeSMixer2.
    Therefore you will have to install ModesSMixer2 on your RPi.


    First Configure your BaseStation on Windows:
    1. Configure "Settings -> Hardware Settings -> Network" to IP of RPi, port 10001. This will enable feed from ModeSMixer2 to display on BaseStation, planes picked by your antenna only (no MLAT).

    2. Configure "Settings -> Data Settings -> Message Filtering" place check mark besides "Process TIS-B Messages". This will add display of MLAT planes from Flightaware to the display of locally picked planes.







    Now install ModeSMixer2 on your RPI
    1. Go to http://xdeco.org/?page_id=30. Select the ModeSMixer2 tgz file which matches your model of Pi and OS (wheezy or Jessie) and download it on Windows Desktop.

    2. In Pi, create a folder "modesmixer"
      Code:
      cd ~
      sudo mkdir modesmixer
    3. Using SFTP/FileZill, copy the downloaded .tgz file from Windows Desktop to RPi in the newly created folder "modesmixer".

    4. Extract the tgz file by following command:
      Code:
      sudo tar -xvf modesmixer2_*.tgz
      
      #extracted files will be displayed as below
      modesmixer2
      modesmixer2.readme
      LICENSE.MIT

    5. Make extracted file "modesmixer2" executable by following command:
      Code:
      sudo chmod 766 modesmixer2

    6. Start the ModeSMixer2 by following command:
      Code:
      cd ~/modesmixer
      sudo ./modesmixer2 --inConnect localhost:30005 --inConnect localhost:30105 --outServer sbs10001:10001 --location xx.xxxxx:yy.yyyy --web 8765 &
      NOTE:
      (a) In the part "--location xx.xxxxx:yy.yyyy" of the above command, replace xx.xxxx by your Latitude and yy.yyyy by your Longitude.
      (b) Take care that "&" at the end of command is copied and pasted. Without "&" at the end of command, mosesmixer2 will stop the moment you close the SSH window.
      (c) The part "--web 8765" instructs the modesmixer2 to display its output in web browser on port 8765. You can change 8765 to another port number if you like.


    7. After giving above command, you will see the output like below:
      2016-10-18 12:21:27.165 INFO ModeSMixer2 v.20160119
      2016-10-18 12:21:27.166 INFO Magnetic declination value was calculated
      2016-10-18 12:21:27.168 INFO outServer(sbs10001:10001) started
      2016-10-18 12:21:27.173 INFO inConnect(localhost:30005) connecting 127.0.0.1:30005
      2016-10-18 12:21:27.174 INFO inConnect(localhost:30005) connected
      2016-10-18 12:21:27.175 INFO inConnect(localhost:30105) connecting 127.0.0.1:30105
      2016-10-18 12:21:27.176 INFO inConnect(localhost:30105) connected
      2016-10-18 12:21:27.297 INFO inConnect(localhost:30005) BEAST data stream detected
      2016-10-18 12:21:30.579 INFO Coverage area was determined.
      2016-10-18 12:21:30.579 INFO Magnetic declination value was calculated
      2016-10-18 12:21:33.521 INFO inConnect(localhost:30105) BEAST data stream detected
      2016-10-18 12:21:35.333 INFO outServer(sbs10001:10001) 192.168.0.10:49910 connected
      2016-10-18 12:21:39.426 INFO outServer(sbs10001:10001) 192.168.0.10:49910 SBS-3 LOGIN












    You can see output from ModeSMixer2 in your browser by typing address http://<IP of RPi>:8765

    Last edited by abcd567; 2016-10-19, 05:25.

    Leave a comment:


  • abcd567
    replied
    Originally posted by jarda
    ......One question though: I am seeing MLAT aircraft position from piaware in the local web portal (which I like). Is everything set up so they're not being fed to flightradar24? I saw people talking about some extra configuration steps needed.

    Thanks for this utility!
    In installations done by automated scripts after August 2016, the flightaware MLAT data is displayed only in local web portal, and is not forwarded to any other site.

    In installation done before August 2016, if someone chose to feed adsbexchange, the automated install script configured piaware to feed MLAT data also to adsbexchange.

    Since the anouncement by Flightaware in August 2016 that their MLAT data should not be fed to other sites, the automated install scripts were modified, and no longer configure the installation to forward MLAT data to adsbexchange. Now if someone chooses to feed adsbexchange, only the local data received by his antenna is fed to adsbexchange, just like it is fed to FR24 or Planefinder or Flightaware.
    Last edited by abcd567; 2016-10-18, 02:09.

    Leave a comment:


  • abcd567
    replied
    Originally posted by dannyhef
    @abcd567

    Thank you for your quick answer. I used your automated Installation with a brand new SD card.

    P.S. I used the option that dump1090-mut is starting automatically on boot.
    On brand new/formatted SD card, with Jessie image burned, the automated installation is designed to allow simultaneously running dump1090-mutability as well as Flightradar24 data feeder. The option to start dump1090-mut automatically on boot is normal, and should be used.

    If you cannot run both dump1090-mutability and FR24 data feeder simultaneously, something has gone wrong during installation process. The cleanest and headache free option is to again format the microSD card, burn Jessie img and run the automated install script again.

    Leave a comment:


  • iamnothere
    replied
    捕获.JPG

    Color full , I like it .

    Leave a comment:


  • abcd567
    replied
    @Nigelr:

    Flightradar24:
    1. If you already have sharing key and entered your email and sharing key, then you dont have to ask for client ID/sharing key.
    2. If you dont have sharing key and entered your email only, FR24 will send you your sharing key on that email address. You then go to page http://xxx.xxx.xx.xx:8754/settings.html and enter the sharing key there, and save, then restart software.
      Note: Replace xxx.xxx.xx.xx by local IP address of your Pi.


    Flightaware:
    1. If you already have an account with Flightaware, and have entered your user name and password for that account during setup, you dont have to do anything else.
    2. If you dont already have Flightaware account, you have to go to their web site and create an account. Then login to your account and go to this page and follow the steps.

      https://flightaware.com/adsb/piaware/claim

      You must be on same network as your Pi when you use above link to claim your Piaware.
    Last edited by abcd567; 2016-10-07, 22:29.

    Leave a comment:


  • abcd567
    replied
    @dannyhef:
    This may happen if Flightradar24 data feeder is installed BEFORE installing dump1090-mutability.

    It is important that dump1090-mutability is installed first, and then any data feeders are installed. This is what is done by the automated method.

    Did you install Flightradar24 data feeder BEFORE installing dump1090-mutability?

    Leave a comment:


  • dannyhef
    replied
    Hey adcd567,

    I have a problem. When dump1090-mut is running I can see all the graphs and the live map in the webportal but I'm not feeding data zu Flightradar I'm offline. When I kill the process dump1090-mut nothing is displayed in the web portal graphs except core utili and stuff and no planes are displayed at the live map but I'm feeding data to Flightradar I'm online.
    So is there a way to run both. See all the graphs AND feeding data to Flightradar.


    P.S. It tells me device is busy when I try to start dump1090 with ./dump1090 when the process fr24feed is already running.

    Dan
    Germany
    Last edited by dannyhef; 2016-10-07, 19:05.

    Leave a comment:

Working...
X