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
                     }
                     },
    

  • Module Developer

    @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;}
    

Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.