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-Flights Not Working

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 4 Posters 4.0k 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.
    • K Offline
      KI6UVE
      last edited by KI6UVE

      Does anyone have MMM-Flights working? I have it installed, and configured, but just a dead space in my MagicMirror. No indication that it is working at all. Any suggestions would be helpful. Thanks.

      Here is the section in my config.js file:

      {
      module: “MMM-Flights”,
      position: “middle_center”,
      config: {
      laMin: 33.183537,
      laMax: 32.849596,
      loMin: -117.204895,
      loMax: -116.790161,
      },

      S B 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @KI6UVE
        last edited by

        @KI6UVE can u open the developer window and look for any errors in the console tab, with flight in the filter field

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil
          Seems odd, but absolutely nothing comes up with “flight” in the filter field.

          There is this error without filtering:

          45F5B299-8560-4207-96F5-54FF8C834CC8.jpeg

          karsten13K S 2 Replies Last reply Reply Quote 0
          • karsten13K Offline
            karsten13 @KI6UVE
            last edited by

            @KI6UVE

            did you install the module?

            your config.js is missing a }

            laMin and laMax should be switched

            db8f1fb0-3058-407c-907f-070e8e5b9e2e-grafik.png

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

              @KI6UVE well, there SHOULD be ‘something’ loading etc…

              this is what I see
              Screenshot_2022-11-28_12-38-24.png

              i did git clone
              then cd MMM-Flights
              then npm install
              I just copied the module sample config

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil

                I used the exact same install technique. Could you post your code section with the module above and below the flights module so I can see how it is supposed to be nested in the config file? The module author said I’m missing a { somewhere.

                Thanks!

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

                  @KI6UVE
                  Your config.js should be as follows

                  {
                  module: “MMM-Flights”,
                  position: “middle_center”,
                  config: {
                  laMin: 33.183537,
                  laMax: 32.849596,
                  loMin: -117.204895,
                  loMax: -116.790161,
                                 }
                  },
                  

                  Note the } without the comma closes off the config part. (With the comma, closes the module)

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

                    @KI6UVE it was only in the paste above

                    Here is the section in my config.js file:
                    
                    {
                    module: “MMM-Flights”,
                    position: “middle_center”,
                    config: {
                    laMin: 33.183537,
                    laMax: 32.849596,
                    loMin: -117.204895,
                    loMax: -116.790161,
                    },
                    

                    you would have had a fatal startup error otherwise…

                    did u npm install in the module folder?

                    your config looks ok
                    Screenshot_2022-11-28_13-31-17.png

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil said in MMM-Flights Not Working:

                      Got it working. Thanks to all!!

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

                        @KI6UVE what was it?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil

                          I was missing the } to close out the flights module.

                          My coordinates do not include the ocean, but my map extends the width of the entire screen to include areas outside my area of interest. Do you know if there is a way to constrain it to just the area of interest?

                          karsten13K 1 Reply Last reply Reply Quote 0
                          • karsten13K Offline
                            karsten13 @KI6UVE
                            last edited by

                            @KI6UVE

                            you may should choose another (smaller) module position, middle_center uses the whole screen.

                            You can see the area of your coordinates in the map, there are small arrows in the area corners.

                            The map size can be controlled with css.

                            K 1 Reply Last reply Reply Quote 0
                            • K Offline
                              KI6UVE @karsten13
                              last edited by

                              @karsten13

                              Thanks, bottom center is much better. I just compared the map to my iPad version of Flightradar and the MM module doesn’t seem to be showing any air traffic.

                              BA7ED7E7-29CA-4795-947A-9C3708D1F732.jpeg

                              1 Reply Last reply Reply Quote 0
                              • karsten13K Offline
                                karsten13 @karsten13
                                last edited by

                                and the MM module doesn’t seem to be showing any air traffic.

                                I already mentioned the fix for this:

                                @karsten13 said in MMM-Flights Not Working:

                                laMin and laMax should be switched

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 1 / 1
                                • 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