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 does not work

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 3 Posters 967 Views 3 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.
    • karsten13K Online
      karsten13 @Mats
      last edited by

      @Mats

      can confirm this error, will try to fix it later

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

        @Mats

        the problem is caused by changes on the flightradar side, I already opened an issue: https://github.com/derhuerst/flightradar24-client/issues/36

        A quick and dirty fix would be to go into the module folder (from mm folder) with cd modules/MMM-Flights and then edit the followoing file e.g. with nano nano node_modules/flightradar24-client/lib/radar.js and replace the line at the beginning of the file

        const endpoint = 'https://data-live.flightradar24.com/zones/fcgi/feed.js'
        

        with

        const endpoint = 'https://data-cloud.flightradar24.com/zones/fcgi/feed.js'
        

        Other possibilities:

        • wait for a fix
        • you can use another provider in MMM-Flights
        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Mats @karsten13
          last edited by

          @karsten13

          That has worked - thank you!

          karsten13K 1 Reply Last reply Reply Quote 0
          • lavolp3L lavolp3 moved this topic from Transport on
          • karsten13K Online
            karsten13 @Mats
            last edited by

            @Mats

            issue was fixed upstream so I released a new (fixed) version

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

              @karsten13 sorry to jump on this thread with my query, hope you can advise. I added Flights module just now and love it. Only thing is I don’t understand fully the coordinates. If I enter the coordinates of my area and duplicate for min and max it produces a fairly small map of my area. When I try and add a min and max value of areas close to me it defaults to a world map! Can you advise as to what I may be doing wrong? I appreciate this may be difficult without knowing the exact coordinates I am entering.

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

                @james3xyx3

                maybe better explained with

                laMax: Northern edge latitude
                laMin: Southern edge latitude
                loMin: Western edge longitude
                loMax: Eastern edge longitude
                
                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  james3xyx3 @karsten13
                  last edited by

                  @karsten13 That makes much more sense to me now. Will try it tomorrow. Thanks for the quick reply and support, much appreciated.

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