• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-FlightTracker - Real time plane tracker using ADS-B systems

Scheduled Pinned Locked Moved Transport
29 Posts 9 Posters 8.7k Views 10 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    ytmytm @tbouron
    last edited by Jan 6, 2020, 10:31 AM

    @tbouron This is working great:

    0_1578306288401_sdrpi.PNG

    After npm iI had to do some more.

    I realized that librtlsdr is required also when using network mode, so this had to be installed first, with library headers:

    sudo apt install librtlsdr-dev
    

    Next I got messages about missing symbols fromrtl-sdr.node module:

    node: symbol lookup error: /home/pi/MagicMirror/modules/MMM-FlightTracker/node_modules/rtl-sdr/build/Release/rtlsdr.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorE
    

    So it had to be rebuilt against my librtlsdr:

    npm rebuild rtl-sdr --build-from-source
    

    Thumbs up! Thanks!

    T 1 Reply Last reply Jan 6, 2020, 10:48 AM Reply Quote 0
    • T Offline
      tbouron Module Developer @ytmytm
      last edited by tbouron Jan 6, 2020, 10:49 AM Jan 6, 2020, 10:48 AM

      @ytmytm Cool, glad it works fine! I actually just realised that my last commit is not quite right regarding the connection retry if the TCP stream is closed. I’ll fix that for the merge in master.

      Regarding the dependency issue, you are right, I missed the librtlsdr-dev dependency in the prerequisites list, I’ll add that (FYI, this is needed only for the rtlsdr mode). And I think you had to rebuild the module because it was missing when you executed npm i (It is certainly not something I had to do on my Pi)

      I’ll clean this up and push to master, probably tomorrow though.

      Finally, I’m also working on a new UI with better UX (I think), I’ll post screenshots when I can.

      Y 1 Reply Last reply Jan 6, 2020, 11:35 AM Reply Quote 1
      • Y Offline
        ytmytm @tbouron
        last edited by Jan 6, 2020, 11:35 AM

        @tbouron said in MMM-FlightTracker - Real time plane tracker using ADS-B systems:

        And I think you had to rebuild the module because it was missing when you executed npm i (It is certainly not something I had to do on my Pi)

        That’s correct. I cleared everything and tried again. The rebuild step is not necessary because the module is actually built during npm install step.

        T 1 Reply Last reply Jan 6, 2020, 11:46 AM Reply Quote 1
        • T Offline
          tbouron Module Developer @ytmytm
          last edited by Jan 6, 2020, 11:46 AM

          @ytmytm Thanks for confirming this. I’ll take that into account when I’ll update the README.md

          1 Reply Last reply Reply Quote 0
          • T Offline
            tbouron Module Developer
            last edited by tbouron Jan 6, 2020, 10:20 PM Jan 6, 2020, 10:19 PM

            That’s what I’m currently working on, a better layout to display the plane where:

            • airline name can be toggled from the config
            • aircraft type (if recognised) can be toggled from the config
            • metadata can be toggled from the config

            Also, the icon beside the altitude reflects the current vertical rate (stays horizontal if vertical rate is 0 or not defined)

            1_1578349146926_Screenshot 2020-01-05 at 14.52.25.png

            0_1578349146925_Screenshot 2020-01-05 at 14.50.38.png

            1 Reply Last reply Reply Quote 0
            • T Offline
              tbouron Module Developer
              last edited by tbouron Jan 7, 2020, 10:44 PM Jan 7, 2020, 10:03 PM

              Hi there.

              I just release v1.1.0 of the module. See the README.md for the new configuration + how it looks like.

              To update, simply do a git checkout master && git fetch origin && git pull origin master && npm i

              1 Reply Last reply Reply Quote 2
              • T Offline
                tbouron Module Developer
                last edited by Jan 13, 2020, 10:15 PM

                Hi again.

                I just release v1.2.0 of the module which adds support for the distance and heading` from your current coordinates to the planes displayed. See the README.md for the new configuration + how it looks like.

                To update, simply do a git checkout master && git fetch origin && git pull origin master

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sonicgoose
                  last edited by Jan 14, 2020, 4:09 PM

                  Any chance this can have the option of reading a dump1090 feed over a local network? I have three RPi’s feeding FlightAware, FlightRadar24, PlaneFinder, RadarBox24 and OpenSky Explorer plus an instance of Virtual Radar Server on a PC I have, which in turn is feeding BaseStation on the same PC. I have another RPi running a custom python script to capture the closest aircraft and display its details on a 7" screen. But I’d love to be able to do this with my two MagicMirrors, neither of which is in a position where an antenna can be connected.

                  T 1 Reply Last reply Jan 14, 2020, 4:12 PM Reply Quote 0
                  • T Offline
                    tbouron Module Developer @sonicgoose
                    last edited by Jan 14, 2020, 4:12 PM

                    Hi @sonicgoose.

                    It’s already available since v1.1.0. Check out the “setup” section of the README.md, it explains how to set it up.

                    S 1 Reply Last reply Jan 14, 2020, 4:53 PM Reply Quote 0
                    • S Offline
                      sonicgoose @tbouron
                      last edited by Jan 14, 2020, 4:53 PM

                      @tbouron said in MMM-FlightTracker - Real time plane tracker using ADS-B systems:

                      Hi @sonicgoose.

                      It’s already available since v1.1.0. Check out the “setup” section of the README.md, it explains how to set it up.

                      Wow. How did I miss that?! I’ve been following this module’s progress but clearly not close enough. Now I want to go home and try it! (Stupid work prevents me, though.) Thanks!

                      T 1 Reply Last reply Jan 14, 2020, 5:07 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        13/29
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy