Read the statement by Michael Teeuw here.
Can anyone revive AviationWX, PilotWX, or TAF
-
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
-
@FSAHD is the problem just the use of request?
that can be fixed w very little code change -
@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
-
@FSAHD OK, let me look at them
-
@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
-
@sdetweil I appreciate you looking into this. ill take some time and see wat I can do!
-
@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
-
@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!
-
@FSAHD ok, let me finish the faa data . I was working on it this morning
-
@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”,