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.

    Can anyone revive AviationWX, PilotWX, or TAF

    Scheduled Pinned Locked Moved Unsolved Requests
    36 Posts 3 Posters 9.8k Views 3 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.
    • F Offline
      FSAHD @sdetweil
      last edited by

      @sdetweil

      From what I have been able to tell I have 2 options however, I think https://aviationweather.gov/data/api/#/Data/dataMetars is going to be the better source (the other one is avwx.rest which needs users to sign up and create a token to use). I can send you a token for avwx if you need.

      FWIW I can also share the repository for the Module I was working on

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @FSAHD
        last edited by

        @FSAHD is the problem just the use of request?
        that can be fixed w very little code change

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          FSAHD @sdetweil
          last edited by

          @sdetweil that is what I believe it it, also what the AI helped me deduce.

          I attempted to solve that but was unsuccessful. I believe that was the problem with all 3 modules I mentioned.

          I tried using npm install request. that didnt work.

          Then I attempted to update the code to use axios

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @FSAHD
            last edited by

            @FSAHD OK, let me look at them

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @FSAHD
              last edited by

              @FSAHD well every url changed, and all the data
              changed. some has to be calculated (avg airport delay) or that info display deleted.

              too much work for me., given my avaliable time

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                FSAHD @sdetweil
                last edited by

                @sdetweil I appreciate you looking into this. ill take some time and see wat I can do!

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @FSAHD
                  last edited by sdetweil

                  @FSAHD I got the metar to work, then the faa data is all different not by airport request. and all the variable names have changed too

                  don’t know if the data is different for display

                  and the data is xml

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    FSAHD @sdetweil
                    last edited by

                    @sdetweil I know the airport delay item is last on the wish list.

                    I can take over and update variables and such. wherever you left off ill be happy to take over!

                    S 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @FSAHD
                      last edited by

                      @FSAHD ok, let me finish the faa data . I was working on it this morning

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @FSAHD
                        last edited by sdetweil

                        @FSAHD ok, here is the partially updated MMM-aviationwx

                        https://github.com/sdetweil/MMM-aviationwx

                        there is a file of the output sent back from the node_helper( this morning) in formatted json (sample-data.txt)

                        so you can see the field names and values…

                        I marked in the MMM-aviationwx.js in getDom() where all this needs to be corrected with correct variable names and values…

                        as an example

                              var icao = airport.id;
                        

                        airport.id is now airport.station_id
                        “station_id”: “KSFO”,

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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