Read the statement by Michael Teeuw here.
Working Weather Underground module?
-
I’m pretty I’m running @Saabman 's fork now but I’m still running into a blank screen when MM loads. Here’s what I can see in the console :
Load script: modules/MMM-WunderGround//MMM-WunderGround.js module.js:513 Module registered: MMM-WunderGround loader.js:148 Bootstrapping module: MMM-WunderGround loader.js:236 File already loaded: moment.js loader.js:153 Scripts loaded for: MMM-WunderGround loader.js:236 File already loaded: weather-icons.css loader.js:195 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons-wind.css loader.js:195 Load stylesheet: modules/MMM-WunderGround/MMM-WunderGround.css loader.js:155 Styles loaded for: MMM-WunderGround translator.js:102 MMM-WunderGround - Load translation fallback: translations/en.json localhost/:2 Uncaught SyntaxError: Unexpected token / in JSON at position 4 at JSON.parse (<anonymous>) at XMLHttpRequest.xhr.onreadystatechange (translator.js:22)
-
@chanster edit the module
translations/en.jsonand remove the comments
// …
or/*… */
comments not allowed in json
-
@sdetweil Thanks ! That did the trick!
-
@sdetweil Thanks for that I had seen the error but it didnt stop the application from running for me so didn’t look further into it.
@chanster I had forked the orignal version and then only modified the Develop branch.
If you just do a git clone you will get the Master branch not the develop branch - Im only learning my way around Github -so I might be doing something wrong as well. But from what I can work out if you use the following command it should get the the develop branch
git clone --single-branch --branch Develop https://github.com/saabman/MMM-WunderGround.git
-
@Saabman see the topic at the top.of troubleshooting about test fixes and develop.
gives instructions -
@sdetweil Thanks Ill look into it.
Just got the module pulling the forecast info into it - only displays it in the console at the moment but its getting there
-
@Saabman funny, one has to READ the message to reply properly…
git clone should get all branches, unless u specifically ask for depth=??1
u can get another branch with git fetch remotename remotebranch_name: localbranch_name
then git checkout localbranch_name should work -
After the new installation of MM, I installed the module and I can see some weather data from my wether station - really good beginning.
@sdetweil Thanks for the fantastic installation script.
-
Nice that some people are working on it. I want also my pws in the mirror, and willing to help, but im not able to program. But can test if necessary. I tried the module so far , and yes there are some signs of live in the module. Thanks already.
-
Ive been spending some time working out how to use github a bit better. Thanks for the tips sdetweil.
So havent progressed any further on the module.
What I have noticed is the original module MMM-Wunderground has quiet a lot in it - been able to choose different icons/color moon phase etc. which is not stuff that your PWS will provide. So thinking of doing a cut down version that just provides current weather data as provided by your PWS.