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 123.6k 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.
    • 3 Offline
      320fan
      last edited by

      Hi all,

      I would like to push development of this module. Now, it can track only US airports, but the best way to allow worldwide aviation weather (METAR & TAF) monitoring. For that, I would like to propose a https://avwx.rest service. In addition to “raw” METAR&TAF data (https://avwx.rest/api/metar/KJFK for example) with JSON format, you can parse any weather data via AVWX engine (example: https://avwx.rest/api/parse/metar?report=KJFK 012251Z 04012KT 10SM OVC011 16/13 A3014&options=info,translate)

      Is anyone able to help with this modification? I’m not an expert in java (but I can help with decoding of TAF&METAR data for sure ;) But, however, I can help with test for that script modification.

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

        @320fan

        Have you tried to contact the author?

        Create a working config
        How to add modules

        3 1 Reply Last reply Reply Quote 0
        • 3 Offline
          320fan @Mykle1
          last edited by

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

          @320fan

          Have you tried to contact the author?

          Sure. He told me that for this moment he doesn’t have time for that. So, I would like to find a people, who interested in that development.

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

            @320fan

            Oh, I see. I will take a look at the data. You are interested in both METAR and TAF data? Can you give me a url to the data that you do want?

            Create a working config
            How to add modules

            3 1 Reply Last reply Reply Quote 0
            • 3 Offline
              320fan @Mykle1
              last edited by

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

              @320fan

              Oh, I see. I will take a look at the data. You are interested in both METAR and TAF data? Can you give me a url to the data that you do want?

              Firstly, thanks for your help. As I told before, I’m not a expert in Java.
              Yea, I would like to get both METAR/TAF data. And I would like to keep a initial MMM-aviationwx layout for METAR (Wind, Visibility, clouds, temperature and runaway codition). For the TAF reports - I just want to see all available time periods with data above.

              If I got you correctly, as initial reference you can take next data (it’s my base airport):
              https://avwx.rest/api/taf/uudd
              https://avwx.rest/api/metar/uudd

              P.S. If I go deeply into the detail - my company use AIMS Crew Management System, for which I have iPad iAIMS application, which creates events in my calendar like “3355 DME GYD”. Number - it’s a flight number and DME/GYD - IATA departure and arrival airports. As a best solution I would like to see both METAR/TAF reports for the next upcoming flight in the calendar. For the calendar - I have set up sync of my MagicMirror with iCloud based calendar via vdirsyncer:

                             {
                                      module: "calendar",
                                      header: "Main calendars",
                                      position: "bottom_left",
                                      config: {
                                              colored: true,   // Activate coloring
                                              fetchInterval: 100000, // ~2 mins
                                              timeFormat: "relative",
                                              calendars: [
              ......
                                                      {
                                                              symbol: 'plane',
                                                              maximumEntries: 5,
                                                              maximumNumberOfDays: 31,
                                                              color: '#16416B',
                                                              url: 'http://localhost:8080/modules/calendars/my_iCloud_ID_for_calendar.ics',
                                                      },
              
              
              Mykle1M 2 Replies Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @320fan
                last edited by

                @320fan

                In its simplest form, the data from the TAF url
                https://avwx.rest/api/taf/uudd

                0_1511010165189_1.JPG

                It appears somewhat incomplete, as some of the elements have no data within them. Also, the data for TAF does not include flight information that I can see. I can take a look at the METAR data later today if you like

                Create a working config
                How to add modules

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

                  @320fan said in MMM-aviationwx (Aviation weather):

                  https://avwx.rest/api/metar/uudd

                  Data before being displayed by MM

                  0_1511011012749_2.JPG

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • 3 Offline
                    320fan @Mykle1
                    last edited by

                    @Mykle1 Yea, I have seen these data for both METAR/TAF: it’s a pure JSON which may be (I hope) easily adopted for that module. If you may adopt initial module with a new data source, it will be very nice.

                    For the empty fields, which contains no data logic is very simple: no observation/forecast=no data in the fields.
                    For the TAF report it seems that you must follow all elements of the “Forecast” array and display it like:
                    “Start-Time”/“End-Time”, “Type” (in case of BECMG or TEMPO);
                    “Wind-Direction”, “Wind-Gust”, “Wind-Shear”,“Wind-Speed” - if they are presented;
                    “Visibility”;
                    “Cloud-List”;
                    and last but do not least:
                    “Icing-List”;
                    “Other-List”;
                    “Probability”.
                    Or you just can follow each “Raw-Line” element of “Forecast” array (this is ok for me, but I’m not sure about all others person, who would like to use this module).

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

                      @320fan said in MMM-aviationwx (Aviation weather):

                      it’s a pure JSON which may be (I hope) easily adopted for that module.

                      JSON data, for me, is most easily used. :-)

                      If you may adopt initial module with a new data source, it will be very nice.

                      I usually don’t take someone else’s module and modify it, preferring to create something of my own. Especially, as in this case, where the author has specific license requirements regarding the use of their code

                      Or you just can follow each “Raw-Line” element of “Forecast” array (this is ok for me, but I’m not sure about all others person, who would like to use this module).

                      Oh, I don’t think that is a problem. I don’t know any other pilots that have been asking for this type of module.

                      Question: Do you prefer the data to be displayed one object at a time, rotating through each? Or do you prefer all the objects displayed simultaneously (static)?

                      Create a working config
                      How to add modules

                      3 1 Reply Last reply Reply Quote 0
                      • 3 Offline
                        320fan @Mykle1
                        last edited by

                        @Mykle1 I think that the best way to show all objects simultaneously. But that will be good only if all information can be fitted in the one screen.

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