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-PilotWX

    Scheduled Pinned Locked Moved Productivity
    15 Posts 5 Posters 6.4k Views 6 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by

      Weather conditions for International Airports

      • Monitor a variable number of ICAO’s in static or rotating display

      • Layout as per actual pilot’s recommendations

      • Designed to be usable in all regions

      • Standard or Alternative colored icon for Flight Rules

      Examples:

      • Static config option. Display many or few.

      0_1512936855204_3.PNG 0_1512936878400_1.PNG

      • Rotating config option

      0_1512936900746_2.png

      A very special thanks to user Area 49

      For taking the initiative and adding table view, the ability to choose a variable
      number of ICAO’s, alternative heading option, C or F temperature option. I personally
      would like to thank him for his efforts and his generosity. Thanks! :-)

      Download:

      [card:mykle1/MMM-PilotWX]

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 2
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by Mykle1

        The “Productivity” subcategory of “Modules” has a paper airplane icon. I just saw that! :-)

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • S Offline
          sonicgoose
          last edited by

          I’m loving this module. I found, however, that I was getting multiple results for some airports where the METAR had changed more than once in the last hour. That was easily fixed by editing the .js to add ‘&mostRecentForEachStation=true’ to the end of the url. And because I’m not a pilot, I couldn’t remember what the red, blue, green, etc colours meant, so I hardcoded those in as well. Much more useful to me now!
          0_1549307443808_Screen Shot 2019-02-04 at 2.06.35 PM.jpg

          Mykle1M 1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @sonicgoose
            last edited by

            @sonicgoose said in MMM-PilotWX:

            And because I’m not a pilot,

            I’m not a pilot either. I made this module by request of a few users. It was quite an ambitious undertaking for me as I was still quite a novice then. (I still am). Once I had the module working well enough, another user sent me a PR which included a more elegant, efficient way of coding the module as well as some table magic.

            I’m glad you are enjoying the module and thank you for your kind words.

            Create a working config
            How to add modules

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              sonicgoose @Mykle1
              last edited by

              @mykle1 If I wanted to increase the font size for the entire line (mode: rotating,) which css element would need to be edited?

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by Mykle1

                @sonicgoose said in MMM-PilotWX:

                font size for the entire line (mode: rotating,) which css element would need to be edited?

                For your custom.css file. It works. I just tested it before posting. Modify to your liking.

                .MMM-PilotWX .bottom_bar {
                   color: cyan;        /* Color line. Default is white. */
                   font-size: .9em;    /* Or you can use Ex. 12px */
                }  
                

                Create a working config
                How to add modules

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sonicgoose @Mykle1
                  last edited by

                  @mykle1 said in MMM-PilotWX:

                  .MMM-PilotWX .bottom_bar {
                  color: cyan; /* Color line. Default is white. /
                  font-size: .9em; /
                  Or you can use Ex. 12px */
                  }

                  Yep, that works. Perfect. Thank you.

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @sonicgoose
                    last edited by

                    @sonicgoose said in MMM-PilotWX:

                    Yep, that works. Perfect. Thank you.

                    :thumbsup:

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      brentevjen
                      last edited by

                      Loving this module, but for some reason the list doesn’t appear in the same order that I entered them in the config.

                      Is there a way to fix that?

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @brentevjen
                        last edited by Mykle1

                        @brentevjen said in MMM-PilotWX:

                        the list doesn’t appear in the same order that I entered them in the config.

                        No, they wouldn’t. The divs are dynamically created based on the return from the API. The most recent item (timestamped) will always be at the top, dropping down as more recent data comes in. So, there is nothing to fix.

                        Of course, you can always fork the repo and make any changes you like.

                        Create a working config
                        How to add modules

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