Read the statement by Michael Teeuw here.
Weather-underground config.js
-
Re: Weather Underground Forecast (wuforecast)
Hello, as soon as I add this module to config.js, my mirror won’t start saying that there’s an error in the file, if I remove it it starts… what’s wrong with it? thank you{ module: "MMM-WunderGround", position: "top_right", config: { apikey: "d2c28567ee4d5e00", // private; don't share! pws: 'pws:"KPAGRATZ3", //Gratz hourly: '1', fctext: '1', fcdaycount: "5", fcdaystart: "0", hourlyinterval: "3", hourlycount: "2", alerttime: 10000, alerttruncatestring: "english:", roundTmpDecs: 1, UseCardinals: 0, layout: "horizontal", sysstat: 0 } }, -
@amosh83 said in Weather-underground config.js:
pws: 'pws:“KPAGRATZ3”, //Gratz
This line is formatted incorrectly. It should look like this:
pws: 'pws:KPAGRATZ3',HOWEVER, that pws is not working. I just tested it. Are you sure you copied it correctly? Also, sometimes the pws is not working. Check that number or try another.
You can test your module with my pws:
pws: 'pws:KNYNEWYO103',It is working. -
/* Magic Mirror Config file * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, ipWhitelist: [], // Set [] to allow all IP addresses. language: "en", timeFormat: 24, units: "metric", modules: [ { module: "MMM-WordClock", position: "top_left", config: { width: "300px", height: "300px" } }, { module: "calendar_monthly", position: "top_left", config:{ // The config property is optional // Without a config, a default month view is shown // Please see the 'Configuration Options' section for more information } }, { module: "compliments", position: "bottom_bar" }, { module: "MMM-AlexaPi", position: "lower_third", config: { // The config property is optional. // If no config is set, defualt values are used // See 'Configuration options' for more information. } }, { module: "MMM-WunderGround", position: "top_right", header: "", config: { apikey: "d2c28567ee4d5e00", pws: "pws:KPAGRATZ2", currentweather: 0, coloricon: true, hourly: "1", fcdaycount: "5", hourlyinterval: "2", hourlycount: "1", animationSpeed: 5000, alerttime: 10000, alerttruncatestring: "english:", roundTmpDecs: 0, UseCardinals: 1, windunits: "mph", sysstat: "0" } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login