Read the statement by Michael Teeuw here.
Can anyone revive AviationWX, PilotWX, or TAF
-
@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”, -
@sdetweil Thanks again for the help.
I think I have all the variables updated. Im c urrently working on trying to get the dependencies to install on my pi so I can test.
You were a big help and I see where I went wrong in a lot of places when I was trying to build from scratch. It was a lot of simple mistakes lol
-
@FSAHD great news.
dependencies?
package.json has them all for the module
so npm install will do all for the moduleuse my install script for mm
-
@FSAHD a lot of simple mistakes…
computers do things fast. whatever we tell them… lol
-
@sdetweil I tried that after I cloned the git into the modules folder.
I ended up getting this error.
I also don’t remember if I used your script for this instance of mm or if I installed manually if that makes any difference
-
@FSAHD ok, let me look at it in a couple hours
-
@sdetweil I think to resolve just do
npm uninstall request
and will remove request from the package,json. Else it will try to install it and you will run into the errors above. -
@mumblebaj but the code uses request…
It downloads a now gz folder, with one xml file in it… I tried to use fetch and couldn’t get it to unzip the file in stream…
2 days, gave upI installed ok on a pi4 after doing my script install
warnings but no failuresnpm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated joi@13.7.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). added 66 packages, and audited 67 packages in 46s 2 packages are looking for funding run `npm fund` for details 6 vulnerabilities (2 moderate, 4 high) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. sam@raspberrypi4:~/MagicMirror/modules/MMM-aviationwx $
-
@FSAHD i just pushed a fix to package.json and a new postinstall script
git pull to get the updates…(watch out that it doesn’t overwrite your code)
then the postinstall script from the module folder./postinstall
it will be called by npm install as well…