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 2.9k 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.
    • 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
                        • 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