• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Problem with Weather Underground Forecast

Scheduled Pinned Locked Moved Troubleshooting
19 Posts 3 Posters 10.7k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    xeroxu
    last edited by yawns Apr 12, 2017, 8:50 AM Apr 12, 2017, 8:21 AM

    Hi Folks, my first Post. Mirror is still in work and i hav a Problem with the module MMM-WunderGround. Each Time I put it in my config.js the mirror will not start. I don´t know what I am doing wrong, I put the Code

    modules: [
    {
        module: 'MMM-WunderGround',
        position: 'top_right',
        config: {
            apikey: 'xxxxxxxxxxxxx', // private; don't share! Put in my API 
            pws: 'pws:IGELDERL219', //culemborg Put in miy pws
            hourly: '1',
            fctext: '1',
            fcdaycount: "5",
            fcdaystart: "0",
            hourlyinterval: "3",
            hourlycount: "2",
            alerttime: 10000,
            alerttruncatestring: "english:",
    	roundTmpDecs: 1,
    	UseCardinals: 0,
    	layout: "horizontal",
    	sysstat: 0
        }
    };
    ]
    

    betweeen my Calendar and the Newsfeed, I try it also without modules:[ ], but it will not work, any Idea?

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yawns Moderator
      last edited by Apr 12, 2017, 8:54 AM

      This is how it should look like … the modules : [] stuff should be there once only. And you closed the MMM-WunderGround module with a ; which tells javascript there is nothing to add afterwards, the command is complete. Therefore the rest is invalid syntax :)

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses.
      
      	language: "en",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		// OTHER MODULES .. blabla
      		{
      			module: 'MMM-WunderGround',
      			position: 'top_right',
      			config: {
      				apikey: 'xxxxxxxxxxxxx', // private; don't share! Put in my API 
      				pws: 'pws:IGELDERL219', //culemborg Put in miy pws
      				hourly: '1',
      				fctext: '1',
      				fcdaycount: "5",
      				fcdaystart: "0",
      				hourlyinterval: "3",
      				hourlycount: "2",
      				alerttime: 10000,
      				alerttruncatestring: "english:",
      			roundTmpDecs: 1,
      			UseCardinals: 0,
      			layout: "horizontal",
      			sysstat: 0
      			}
      		},
      		// ADDITIONAL MODULES ..
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      X 1 Reply Last reply Apr 12, 2017, 9:26 AM Reply Quote 0
      • X Offline
        xeroxu @yawns
        last edited by Apr 12, 2017, 9:26 AM

        @yawns said in Problem with Weather Underground Forecast:

        {

        Thank you yawns, that fix the Mirror starts but the module did not show up, the first problem was because I am an absolute NOOB in Javascript,

        Y 1 Reply Last reply Apr 12, 2017, 10:54 AM Reply Quote 0
        • Y Offline
          yawns Moderator @xeroxu
          last edited by Apr 12, 2017, 10:54 AM

          @xeroxu
          No worries. So you don’t see anything of this module?

          X 1 Reply Last reply Apr 12, 2017, 11:20 AM Reply Quote 0
          • X Offline
            xeroxu @yawns
            last edited by Apr 12, 2017, 11:20 AM

            @yawns , Right I see nottthin, no Cuurent weather no forecast , nothing ,I dont know in the configuration options I´ve read about Locid, but i only find pws in my MMM-WunderGround.js. Is that the error

            M 1 Reply Last reply Apr 12, 2017, 4:32 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @xeroxu
              last edited by Apr 12, 2017, 4:32 PM

              @xeroxu said in Problem with Weather Underground Forecast:

              in the configuration options I´ve read about Locid, but i only find pws in my MMM-WunderGround.js. Is that the error

              I see the locid reference in the config options, too, but I don’t think that’s your problem. I just used your pws: 'pws:IGELDERL219', in my WunderGround and it loads and displays just fine.

              Create a working config
              How to add modules

              X 1 Reply Last reply Apr 12, 2017, 5:33 PM Reply Quote 0
              • X Offline
                xeroxu @Mykle1
                last edited by Apr 12, 2017, 5:33 PM

                @Mykle1 no chance it will no show up :…( where can I check my Weathe Underground API KEY, maybe is soething wrong with tthe API KEY, Whats the difference between API KEY and KEY ID? Sorry for my dumb questions,

                M 1 Reply Last reply Apr 12, 2017, 5:49 PM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @xeroxu
                  last edited by Mykle1 Apr 12, 2017, 5:51 PM Apr 12, 2017, 5:49 PM

                  @xeroxu said in Problem with Weather Underground Forecast:

                  where can I check my Weathe Underground API KEY, maybe is soething wrong with tthe API KEY,

                  You can check your API key by going to https://www.wunderground.com/ and signing into your account. Once you’ve signed in, at the bottom of the page is Weather API. Click that! Your API KEY will be on the right side of the page, about 1/3 of the way down from the top. Copy and paste it into your config.js so it looks like this:
                  apikey: '1234567891011',
                  If you manually typed yours in you may have made a mistake and that’s all it takes to get no response from WonderGround.

                  Create a working config
                  How to add modules

                  X 1 Reply Last reply Apr 12, 2017, 6:23 PM Reply Quote 0
                  • X Offline
                    xeroxu @Mykle1
                    last edited by Apr 12, 2017, 6:23 PM

                    @Mykle1 This also not works, I regenerate the Key and with the New One also nothing. Í think I stay on the default weather modules .

                    X 1 Reply Last reply Apr 15, 2017, 6:16 AM Reply Quote 0
                    • X Offline
                      xeroxu @xeroxu
                      last edited by xeroxu Apr 15, 2017, 11:47 AM Apr 15, 2017, 6:16 AM

                      @Mykle1 There must be something wrong with the apikey. iI try it with the wuforecast module, and here also nothing show up.I have free Membership and choose the anvil plan. Have I to make big changes in the weatherunderground.js? I put in my API and Location pws.

                      M 1 Reply Last reply Apr 15, 2017, 1:40 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/19
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy