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.

    Request: Flight tracker using PiAware

    Scheduled Pinned Locked Moved Solved Requests
    14 Posts 4 Posters 485 Views 4 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.
    • E Offline
      Exndfan
      last edited by

      I have missed having a module that lists the flights overhead since it went dark some time ago. I may have a solution but have no idea how to code it since JavaScript is pretty much like hieroglyphics to me.

      I am running PiAware on separate pi and the listing of overhead aircraft can be read as a json file but not all of the information that I would like displayed is in the json file. Would someone be willing to work on this with me?

      S J E 3 Replies Last reply Reply Quote 0
      • E Offline
        Exndfan @sdetweil
        last edited by

        @sdetweil Oops…The. repo is at http://github.com/kds54/MMM-Planefinder

        I also put it in the listing. of 3rd party modules

        J 1 Reply Last reply Reply Quote 1
        • S Offline
          sdetweil @Exndfan
          last edited by sdetweil

          @Exndfan sure. What do you mean can be read. Is it a file or output of a command or?

          We could create a repo and discuss thru issues

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @sdetweil
            last edited by sdetweil

            Open an issue w the json file attached and describe how you got it

            Open another and describe how you want to results to look
            And what additional info you want and where you might get it

            Open another with your ideas

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • J Offline
              JohnGalt @Exndfan
              last edited by

              @Exndfan

              Maybe the best way to move this forward is to tell us what module you are referring to when you say something used to work but went dark some time ago.

              If we can see or reference what you are talking about, you have a better chance of getting help.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @JohnGalt
                last edited by

                @JohnGalt I think he was talking about
                https://github.com/E3V3A/MMM-FlightsAbove

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  JohnGalt @sdetweil
                  last edited by

                  @sdetweil
                  AHA - I see. It looks like that module is/was quite involved! I’m not sure I can add much to answer the original question, but i did note that the OP described the data as being/like JSON, but the module difers:

                  Bugs and Warnings
                  ℹ️ The data provided by the flightradar24-client, is not JSON, even if it resembles it. 
                  It is actually an Array of JavaScript objects. 
                  For an example of the raw data, look at the demo.json file.
                  
                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Exndfan @Exndfan
                    last edited by

                    Well…I managed to come up with a viable alternative for what I was wanting to display. I will continue to clean it up and let everyone know

                    1 Reply Last reply Reply Quote 1
                    • R Offline
                      Richard238
                      last edited by

                      +1 for this, please. I have a Pi Aware in the loft and would be interested in adding its data to MM.

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Exndfan @Richard238
                        last edited by

                        @Richard238 Let me know if you need help.

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @Exndfan
                          last edited by

                          @Exndfan you didn’t post the new module link here

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          E 1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 1 / 2
                          • First post
                            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