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

      • one moew issue:
        0_1512664940182_5.png

      Datas from: https://aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=UUDD&hoursBeforeNow=1

      raw_text
      UUDD 071630Z 34005MPS 9999 BKN022 M04/M08 Q1009 R88/520295 NOSIG
      /raw_text
      
      sky_condition sky_cover="BKN" cloud_base_ft_agl="2200"
      

      It must be BKN022, not BKN2200.

      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):

        No possibility to set custom number of airports for the “Static” view

        Yes, at the moment you MUST use 8. However, another user has graciously asked if he could modify some things and issue a PR that I will merge into the module. That is one of the changes.

        My next proposal is to remove line “Station Conditions” for the Static view.

        You mean the headers, “Station” and “Conditions”? Add this to your custom.css file and it will remove both

        .MMM-PilotWX .station {
          display: none;
        } 
        

        And this to change to any color for rotating

        .MMM-PilotWX .bottom_bar {
          color: yellow;
        }  
        

        pressure must be like xx.xx (not like xx as it is)

        Tell that to the API. That’s the data being given. I just display it.

        Is it possible to use a same font/font size, like for standart modules (like "calendars, “weather”, etc.

        Use css to customize to your liking

        Alignment will always be an issue because the module is not set in a table. I did mention above that I am not capable of using tables yet. SO, for the time being, left regions will be better suited to the module

        Taking specific portions of the raw_text for display is beyond me.

        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):

          pressure must be like xx.xx (not like xx as it is)

          Tell that to the API. That’s the data being given. I just display it.

          For example:

          https://aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&stationString=UUDD&hoursBeforeNow=1

          altim_in_hg 29.911417/altim_in_hg
          

          I think that this API converts pressure in hPa from raw_data (like Q1013) into hg by simply dividing by coefficient.

          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):

            altim_in_hg 29.911417/altim_in_hg

            Forgot I rounded this. My bad. So this should be

            29.91/hg ?

            Create a working config
            How to add modules

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

              @Mykle1 Hi again.

              Yea, 29.91Hg.

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

                @320fan

                Good morning

                29.91Hg . Ok, I can work on that later. I’m getting ready for my work day right now

                Create a working config
                How to add modules

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

                  @Mykle1 Okay, no problem. Thanks.

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

                    @320fan

                    Wind speed now displays as such:
                    310/4KT

                    Pressure added to static view and formatted for both views as such:
                    29.91Hg

                    Config option added for time format, Zulu or Local in both views:
                    time: "Zulu", = (19:10Z)
                    time: "Local", = (14:10)

                    https://github.com/mykle1/MMM-PilotWX

                    git pull in your PilotWX directory for update or install as usual.

                    Create a working config
                    How to add modules

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

                      Please move all further inquiries regarding MMM-PilotWX to this topic:

                      https://forum.magicmirror.builders/topic/5686/mmm-pilotwx

                      Create a working config
                      How to add modules

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        hawkeyepilot69 @Mykle1
                        last edited by

                        @Mykle1 is this module no longer working?

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 11
                        • 12
                        • 8 / 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