dump1090-fa modification

I recently forked dump1090-fa on Github and modified the web code for indication of military or civil aircraft and highlighting aircrafts marked interesting. Required for this modification is an extended dump1090 JSON aircraft database that is available for download here. Outcome looks like this:

Indicating civil or military aircraft and detailed aircraft type. Interesting highlighted.

Interesting aircraft indication when selected.

Aircraft table with civil and military aircrafts. Interesting highlighted. External links are removed from table.

Update 05.02.2017

Another dump1090-fa modification. I have added a JSON database for indication of aircraft operator in select block and as flight ident tooltip in table. In addition the radio callsign will be shown in select block. Both lines are hidden when no data is available (flight ident empty or invalid).

Aircraft operator and radio callsign indication in dump1090-fa.

Works also for military aircrafts.

25 thoughts on “dump1090-fa modification

  1. Hi, hoping all is fine with you.
    I’m presently using the flightaware dump1090-fa to feed data to flightaware but like the features your fork has, however I don’t want to re-install the software as I would have to register a new feed.
    Question is would I have to remove & re-install everything to get your features or can I just install the files with the features??
    The script to get & install the any necessary files would be a big help althought
    any help/advice would be appreciated.
    Best regards,

    • In case you just need the browser features then you may simply replace the webserver document root at /usr/share/dump1090-fa/html with content of public_html in my fork.
      For example rename /usr/share/dump1090-fa/html to /usr/share/dump1090-fa/html_bak, mkdir a new html folder and copy the content from public_html inside.
      Then Ctrl-F5 in your browser to force a complete reload of the page.
      Keep in mind that your browser must support Indexed Database for proper working page.

      • Hi Michael, Thanks for your response.
        Ok I will try to make the html folder as instructed & see what happens.
        Once again thanks for your help.
        Kind regards,

      • I just tried this procedure with the latest version of FlightAware and it doesn’t seem to work. When I do an F5 all it get is a few pieces of the Webpage. No map and not list of aircraft.

        • What does the browser console (F12) says?
          Did your rename config.example.js in the webpage root folder to config.js and edit for your needs?

          • I hadn’t renamed the config.js file as that step wasn’t mentioned in you previous post from 03.11.2017 at 17:33. Thanks for you help on this.

            When you used to click on the Ident in the FA version it links to another Website to show more flight information. Does your version take that away or do I need to also change some other files?

          • That functionality has been removed long time ago, can’t remember why. However, I’m in the middle of reviewing and reworking the web code. Will put this back in. Does it link to FlightAware?

  2. Hi Michael, hoping that all is fine with yourself.
    I have been trying to get your fork of dump1090-fa working but with no luck, I’ve followed your previous instructions & tried to install without any success.
    Would it be possible for you to send me the script/code to install & run it, I want to insall on a DreamCatcher board it has everything on the same board link: http://radionerds.com/index.php/DreamCatcher#Install_The_RTL-SDR_Libraires_and_Utilities it more or less the same as rspi & chip single board computers.
    The script/code to get it up & running would be a great help, thanks in advance.
    Kind regards,

    • I have no script or whatsoever. You can either build it manually through make or you build the Debian package and its dependencies and then install it.
      See projects README.md.

  3. Hi Michael, thanks for the response.
    I continued trying to build but the process keeps terminating & saying as follows: compilation terminated. Makefile:47: recipe for target ‘interactive.o’ failed make: *** [interactive.o] Error 1
    Any ideas/work-a-round that may help would be appreciated.

  4. Hi,

    I just got my OrangePi zero, installed ARMbian, and tried to compile your version of DUMP1090. After resolving all isues related to depedancies, compilation went without warning. However, the service doesn’t want to start, the RTL2832 key is plugged. On CLI “# dump1090-fa” start and receive messages from the air.

    I took a look on /lib/systemd/system/dump1090-fa.service, but I don’t figure how option are passed through dump1090-fa with var (things starting with $ and in capital letter) . I’m stuck here :
    Jan 18 12:39:36 orangepipc systemd[1]: dump1090-fa.service holdoff time over, scheduling restart.
    Jan 18 12:39:36 orangepipc systemd[1]: Stopping dump1090 ADS-B receiver (FlightAware customization)…
    Jan 18 12:39:36 orangepipc systemd[1]: Starting dump1090 ADS-B receiver (FlightAware customization)…
    Jan 18 12:39:36 orangepipc systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
    Jan 18 12:39:36 orangepipc dump1090-fa[1935]: /usr/bin/dump1090-fa: unrecognized option ‘–device-index’
    Jan 18 12:39:36 orangepipc systemd[1]: dump1090-fa.service: main process exited, code=exited, status=64/n/a
    Jan 18 12:39:36 orangepipc dump1090-fa[1935]: Try `dump1090-fa –help’ or `dump1090-fa –usage’ for more information.
    Jan 18 12:39:36 orangepipc systemd[1]: Unit dump1090-fa.service entered failed state.

    When I remove the var $RECEIVER_OPTIONS in systemd dump1090-fa’s file conf, the service start. I start also lighttpd, and I got almost blank screen on my Firefox 57 64bit (Ubuntu).

    • In service file the configuration will be added to environment variables by this line: “EnvironmentFile=/etc/default/dump1090-fa”. Then systemd can access $RECEIVER_OPTIONS and other config variables.
      Your log tells you that something is wrong with your config:
      >> Jan 18 12:39:36 orangepipc dump1090-fa[1935]: /usr/bin/dump1090-fa: unrecognized option ‘–device-index’ <<
      A valid config looks like this:
      RECEIVER_OPTIONS="–device 0 –device-type rtlsdr –gain 32 –ppm 0 –net-bo-port 30005

      –device expects either an index or serial number as parameter.

  5. Hi,

    On Ubuntu 17.10, I can open the website on Firefox 56, but not on Firefox 57. I got a error message about the openning of the database. Works on Chromium 63 too.

  6. Hi,

    please i need a little help. Can you please tell me how to clone your modified dump1090 to my raspberry?

    The original dump1090 i can clone and build. But your Version, i need a hint :).

    Thanks in advanced.

    Best regards

    • git clone https://github.com/Mictronics/dump1090.git --depth 1
      cd dump1090
      Simple build:
      make all
      Remove dependencies (as required):
      make all RTLSDR=no BLADERF=no PLUTOSDR=no
      Build package:
      dpkg-buildpackage -b

      But it’s also written on Github.

Leave a Reply