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

Scheduled Pinned Locked Moved Transport
111 Posts 12 Posters 112.9k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @stephenmelody
    last edited by Mykle1 Nov 20, 2017, 1:11 AM Nov 20, 2017, 1:06 AM

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

    I like how it’s switching between hectopascals and inches of mercury, as well as m/s and knots!

    According to @320fan, "Display of “Units” is mandatory due to different units in different countries. Happily for me, there was no conversion necessary on my part. Included in the data for each station are the units that apply for that station. And good thing, too, as I have no idea what the hell hectopascals are. :-)

    That was always the one thing missing on this module for me, international airports.

    Well, we aim to please. :-)
    And just for the record, this is not that module. I chose to create my own rather than fork and edit the existing one.

    Ok, time for the two of you to contribute to the cause.

    • Does the “Remarks” line need the word “Remarks”? Is it preferred or not?
    • Flight Rules come before the Station, or after? Seems odd to me.
    • Find/create/make/conjure me a url from the API that can fetch multiple ICAO’s in a single GET request.

    That’s all, for now. :-)

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 0
    • S Offline
      stephenmelody
      last edited by Nov 20, 2017, 1:28 AM

      Here’s my thoughts, but they’re just preferences.

      RMK stands for Remarks, so having it show “Remarks: RMK…” is a little redundant. AO2 just means it’s automated. Also, this info differs from country to country, so I’d say keep it.

      Flight rules tend to be a coloured dot (as per the original code) so it’s often common for that to be first, at least in the US.

      You know my coding skills… but I was wondering if there might be any hints in the original module, as that pulls multiple codes.

      What does a UK airport give you? Maybe EGLL or EGNX as the codes?

      M 2 Replies Last reply Nov 20, 2017, 2:20 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @stephenmelody
        last edited by Nov 20, 2017, 2:20 AM

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

        Also, this info differs from country to country, so I’d say keep it.

        But you, as an interested user, would know those were the remarks, regardless? And by the format of the module itself, that line would always be the remarks. For the sake of space, I’m going to remove it. Let’s see if you miss it. :-)

        Flight rules tend to be a coloured dot (as per the original code) so it’s often common for that to be first, at least in the US.

        Understood, but does the data (ex. IFR) tell you the same thing as the colored dot? Less coding for me if “IFR” is immediately recognizable and understandable by you.

        You know my coding skills… but I was wondering if there might be any hints in the original module, as that pulls multiple codes.

        Only what you’ve told me. :-) API’s don’t conform to one protocol when it comes to formulating a url for data. This is a different API. I was hoping you guys would do some of the leg work. :-)

        What does a UK airport give you? Maybe EGLL or EGNX as the codes?

        I was going to test those but at the moment, the API is down.
        0_1511144281937_3.JPG

        I hope this is not a sign that this API is unreliable.

        However, I get the rest of the night off! :-)

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • A Offline
          allebone
          last edited by Nov 20, 2017, 3:42 AM

          Anything I can to help? Im actually an Air Force aviator trying to get a module like this for our Operations Center.

          There is a universal coding standard for METARS in the Flight Information Handbook (FIH).

          Also, I’d stick to ICAO identifiers as they automatically include international.

          If you use the API from NOAA: https://aviationweather.gov/metar/data?ids=Rodn&format=raw&date=0&hours=0, the results always come imperial.

          Bryan

          C S M 3 Replies Last reply Nov 20, 2017, 12:55 PM Reply Quote 1
          • X Offline
            XT16Johnny
            last edited by Nov 20, 2017, 5:08 AM

            Thanks for the work on this - I am a pilot in Europe so very interested in seeing the outcome.
            Unfortunately like many others, my coding is useless to everyone ;-)
            Thanks again.
            Johnny

            1 Reply Last reply Reply Quote 0
            • 3 Offline
              320fan @Mykle1
              last edited by Nov 20, 2017, 6:16 AM

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

              Sooooo, you’re NOT a pilot?

              I’ve just mean that building of the MagicMirror is my hobby, but the aviation is my profession ;). I’m the Airbus driver in our real world.

              This is a bit of a cheat (at the moment) but here are two instances of the module at the same time, one showing UUDD data and the other showing KJFK data.

              It’a good step forward in the right direction!
              So, just some comments from my side:

              1. Using of colored dot before ICAO code is a best solution (It’s more user-frendly than just a IFR/VFR etc.)
              2. For the remarks - I’m agree that the best way to remove that.
              3. About different units - it’s nice to have a possibility to convert all units in the one base, but that request is not mandratory. In any case I can provide simple formulas for coversion of hPa into Hdg, F to C, kt to m/s and etc.

              And if we going back to beginning: could you please make for the brief data format something like that from my lovely iPad AeroWeather application? This app is very popular for the pilots and it wiil be nce to keep more-less same base:
              0_1511158530179_4E22B447-A80D-467E-A840-08355F78682C.jpeg

              3 M 2 Replies Last reply Nov 20, 2017, 7:48 AM Reply Quote 0
              • 3 Offline
                320fan @320fan
                last edited by Nov 20, 2017, 7:48 AM

                And that for a detail view: 0_1511164083247_95586701-0622-4C8F-9383-D9983891EDBC.jpeg

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cowboysdude Module Developer @allebone
                  last edited by Nov 20, 2017, 12:55 PM

                  @allebone

                  Finally a reasonable request…and an offer to help…

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    stephenmelody @allebone
                    last edited by Nov 20, 2017, 5:27 PM

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

                    Anything I can to help? Im actually an Air Force aviator trying to get a module like this for our Operations Center.

                    There is a universal coding standard for METARS in the Flight Information Handbook (FIH).

                    Also, I’d stick to ICAO identifiers as they automatically include international.

                    If you use the API from NOAA: https://aviationweather.gov/metar/data?ids=Rodn&format=raw&date=0&hours=0, the results always come imperial.

                    Bryan

                    Hey Bryan,

                    That last bit isn’t strictly true… the NOAA API will give you locally used units, not always imperial.

                    for example, pull the NOAA API for EGNX (UK), you’ll get:

                    EGNX 201650Z 25012KT 9999 BKN042 12/10 Q1010

                    Windspeed is in Kts, viz is in Metres (9999m or 10km+), Pressure is in hPa (Q for QNH 1010hPa).

                    UUDD (Russia):
                    UUDD 201700Z 13002MPS 9999 OVC025 01/M02 Q1011 R88/190095 NOSIG

                    wind is in m/s (130 degrees at 02m/s) and viz in metres, pressure in hPa (Q1011).

                    KPIT (USA):
                    KPIT 201651Z 21012G18KT 10SM SCT250 02/M06 A3013 RMK AO2 SLP221 T00221056

                    Wind in kts (210 @ 12kts, Gusting to 18kts), viz is statute miles (10SM), pressure in inHg (A3013).

                    So you do need to know the units you’re dealing with, which is nice with the avwx api, as it gives you the units.

                    I don’t know of anywhere that uses F for temperatures, it always seems to be Celcius, with M indicating minus so for PIT above, Temp = 02 degrees C, dew point Minus 06 degrees C.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @stephenmelody
                      last edited by Nov 20, 2017, 8:09 PM

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

                      What does a UK airport give you? Maybe EGLL or EGNX as the codes?

                      0_1511208527324_1.JPG

                      Create a working config
                      How to add modules

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