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-aviationwx (Aviation weather)

    Scheduled Pinned Locked Moved Transport
    111 Posts 12 Posters 121.7k Views 11 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
      stephenmelody @Mykle1
      last edited by

      @Mykle1 Here…

      https://aviationweather.gov/gis/scripts/MetarJSON.php

      or maybe this:

      https://aviationweather.gov/gis/javascript/Metars.js

      However - the php file only seems to give North American and some random METARs, not the same coverage as that webpage gives… weird I know right?!

      Also - the us gov doesn’t give local units like the avwx api does, so you have to make a leap of faith as to what it’s showing.

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

        @stephenmelody

        I do appreciate the effort. Thanks, but neither of those would work. However, I’ll be working on it in the next few days.

        Questions: How many different Flight Rules are there? And how many different colors associated with them? Would a flight rule (IFR) colored appropriately, amount to the same thing as a colored circle?

        Create a working config
        How to add modules

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

          @Mykle1 It’s not great in that it doesn’t have full global weather either, so to the original requester’s requirements, it wouldn’t do the job anyway. the AVWX API looks to be better in that regard.

          WRT flight conditions, this differs from country to country, the UK typically only reports 2, VFR or IFR. The US seems to have 4 (which is what I’d go with, i’ve never seen anything more that these 4):

          VFR
          MVFR
          IFR
          LIFR

          There’s also two types of colour schemes, many pilots use the Alternative (I fly on alternative), so being able to configure this would be perfect…

          Standard: VFR-Blue MVFR-Green IFR-Yellow LIFR-Red Unknown-Grey

          Alternative: VFR-Green MVFR-Blue IFR-Red LIFR-Magenta Unknown-Grey

          Would the text coloured per the rules work the same as a coloured circle? Yes - although a circle would be better for screen real estate I would imagine…

          Mykle1M 3 Replies Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @stephenmelody
            last edited by Mykle1

            @stephenmelody

            Ok, so here is where I stand. Yesterday, I began a second version of this module. It looks nearly identical to my first prototype. However, in this second version I was using the aviationweather API. Besides the fact that the data does not come in json format (my personal preference) the data itself doesn’t contain a “units” object. This seems fairly important to me. I’d rather have the units than not.

            So, I’m going back to the original prototype and continue from there, using the avwx API.

            Create a working config
            How to add modules

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

              @stephenmelody said in MMM-aviationwx (Aviation weather):

              Standard: VFR-Blue MVFR-Green IFR-Yellow LIFR-Red Unknown-Grey
              Alternative: VFR-Green MVFR-Blue IFR-Red LIFR-Magenta Unknown-Grey

              Thanks for doubling my workload, Stephen. :-)

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • A Offline
                allebone
                last edited by

                This is amazing collaboration. Anyone interested in hammering out a CSS/Config that would work well for an FBO or Flight Ops Office to coincide with this module? We have the Base Ops Office here, and its needed a good weather, NOTAMS, Ops Notes display for visiting people. I am pretty sure every FBO out there would love to have something too.

                Would be nice to config it up to where its just change ICAO and surrounding field ICAOs to get a workable display.

                We have actually talked recently about how we’d display an Airfield Diagram, but color code the RCR for all the Taxi-ways. We have limits to where we can taxi on Ice/Slush here in the Midwest, so it’d be nice to visualize. However, I haven’t begun to figure out how to crack that nut. (STS). :)

                Bryan

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

                  @allebone - what colour scheme do you use for IFR/VFR/MVFR/LIFR? Personally I prefer the alternative one that I have called out above.

                  @Mykle1 - no problem, always here to make life harder :-D

                  Here’s another option that might be of interest, as it’s JSON format…

                  https://www.icao.int/safety/iStars/Pages/API-Data-Service.aspx

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

                    @allebone @Mykle1

                    This would give you the NOTAM information…
                    https://www.npmjs.com/package/notams

                    METAR / TAF:
                    https://www.npmjs.com/package/metar-taf

                    https://www.npmjs.com/package/metar-js

                    Don’t know if they help…?

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

                      @stephenmelody said in MMM-aviationwx (Aviation weather):

                      Alternative: VFR-Green MVFR-Blue IFR-Red LIFR-Magenta Unknown-Grey
                      Would the text coloured per the rules work the same as a coloured circle? Yes - although a circle would be better for screen real estate I would imagine…

                      Ok, I’ve coded the “Alterative” color scheme just now, as you’ve described it, using generic colors. You will get the corresponding colored circle depending on the Flight Rule. What I would like from you are HEX color codes for those five colors that work best against the black background. For instance, you may want a lighter blue as the generic blue is a little hard to see. Agreed?

                      0_1511315233411_1.JPG

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • cowboysdudeC Offline
                        cowboysdude Module Developer
                        last edited by

                        I would like #FCDFFF, #FAAFBA, #E45E9D, #FFFF00 and #87F717

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 11
                        • 12
                        • 4 / 12
                        • 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