• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-FAA-Delay

Scheduled Pinned Locked Moved Transport
20 Posts 5 Posters 10.3k 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.
  • N Offline
    nigel-daniels @fwood04
    last edited by Oct 12, 2016, 4:29 AM

    @fwood04 I’ve found some time and reworked the code so that you can provide an array of airport codes and display multiple airports correctly.
    You will need to re-clone the module and use the new format of configuration.

    I hope that helps.

    1 Reply Last reply Reply Quote 1
    • N Offline
      nigel-daniels @nigel-daniels
      last edited by Oct 14, 2016, 9:33 PM

      @nigel-daniels Update to fix a bug where the reported data on an airport can get assigned the wrong airport code. This is to support the updated configuration that allows for multiple airports, for example:

      {
      module: 'MMM-FAA-Delay',
      position: 'top_left',
      header: 'Airport Delays',
      config: {
      interval: 300000, // 5 min updates
      airports: ['SFO', 'SJC']
      }
      },

      F 1 Reply Last reply Jan 13, 2017, 7:34 PM Reply Quote 1
      • F Offline
        fwood04 @nigel-daniels
        last edited by Jan 13, 2017, 7:34 PM

        @nigel-daniels Sorry for the long delay, but thanks!

        N 1 Reply Last reply Jun 14, 2018, 1:14 AM Reply Quote 0
        • T Offline
          twosquirrels
          last edited by twosquirrels May 31, 2018, 5:03 PM May 31, 2018, 4:47 PM

          This module is great, but how do I get rid of the weather? I already have a weather module, so this wastes valuable space. Thanks.

          EDIT: I answered my own questions. I just commented out this line in MMM-FAA-Delay.js:

            //wrapper.appendChild(weatherRow);
          
          N 2 Replies Last reply May 31, 2018, 7:07 PM Reply Quote 0
          • N Offline
            nigel-daniels @twosquirrels
            last edited by May 31, 2018, 7:07 PM

            @twosquirrels Glad you sorted it out. I figured the weather is useful if you are monitoring airports some distance away but if you live close to the one you track then I can see it’s redundant information.

            1 Reply Last reply Reply Quote 0
            • N Offline
              nigel-daniels
              last edited by Jun 14, 2018, 1:10 AM

              The FAA have update their API and as a result broke this module. There is an updated version now in the git repository. This update has two features:

              • It handles the new API correctly.
              • It now has a flag to block the display of the airport weather.

              On your magic mirror go into the MMM-FAA-Delay directory in the modules and run the following commands:

              git pull
              npm install
              

              This should update the MMM-FAA-Delay code then update it’s dependancies.

              1 Reply Last reply Reply Quote 0
              • N Offline
                nigel-daniels @twosquirrels
                last edited by Jun 14, 2018, 1:13 AM

                @twosquirrels you may be seeing that the MMM-FAA-Delay module is broken, the FAA changed their code and did not let anyone know or put a proxy/web forward in place :( I have updated the code and added a flag displayWeather to the config so that when you update you don’t have to go in and hack the new code again.

                T 2 Replies Last reply Jun 15, 2018, 4:05 PM Reply Quote 0
                • N Offline
                  nigel-daniels @fwood04
                  last edited by Jun 14, 2018, 1:14 AM

                  @fwood04 hi, you may be seeing errors for this module, the FAA changed stuff and broke the module, I’ve just fixed it so you should be good to update.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    twosquirrels @nigel-daniels
                    last edited by Jun 15, 2018, 4:05 PM

                    @nigel-daniels

                    I did notice it was broken for the last couple days but didn’t check these forums until now. Thanks for the update! I’ll be updating today.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      twosquirrels @nigel-daniels
                      last edited by Jun 27, 2018, 9:00 PM

                      @nigel-daniels

                      It was driving me nuts, but the config is showWeather, not displayWeather :smiling_face_with_open_mouth_closed_eyes:

                      N 1 Reply Last reply Jun 27, 2018, 9:04 PM 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