MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED MMM-Flights Not Working

    Troubleshooting
    4
    14
    207
    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
      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
        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

        Create a working config
        How to add modules

        K 1 Reply Last reply Reply Quote 0
        • K
          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

          karsten13 S 2 Replies Last reply Reply Quote 0
          • karsten13
            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

            karsten13 1 Reply Last reply Reply Quote 0
            • S
              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

              Create a working config
              How to add modules

              K 1 Reply Last reply Reply Quote 0
              • K
                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
                  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
                    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

                    Create a working config
                    How to add modules

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      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
                        sdetweil @KI6UVE last edited by

                        @KI6UVE what was it?

                        Sam

                        Create a working config
                        How to add modules

                        K 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy