• 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.

Weather info not showing up on screen

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 3 Posters 6.8k Views 2 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.
  • M Offline
    mar4pack
    last edited by Apr 14, 2017, 3:50 AM

    Total newbie to this. I have everything up and running, but for some reason my current weather and weather forecast will not show up on my screen. I have my location id entered in, and my API key also entered into the config file. I have read other forums on the topic, but still cannot get the info to show on my screen. Any help would be appreciated.

    M 1 Reply Last reply Apr 14, 2017, 5:26 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @mar4pack
      last edited by Apr 14, 2017, 5:26 AM

      @mar4pack

      That’s usually a config issue. Post your config (without API key) here so we can take a look at it. I’m assuming your other modules work eg. clock?

      Create a working config
      How to add modules

      M 1 Reply Last reply Apr 14, 2017, 5:40 AM Reply Quote 0
      • M Offline
        mar4pack
        last edited by Apr 14, 2017, 5:37 AM

        /* 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: 12,
        units: "metric",
        
        modules: [
        	{
        		module: "alert",
        	},
        	{
        		module: "updatenotification",
        		position: "top_bar"
        	},
        	{
        		module: "clock",
        		position: "top_left"
        	},
        	{
        		module: "calendar",
        		header: "US Holidays",
        		position: "top_left",
        		config: {
        			calendars: [
        				{
        					symbol: "calendar-check-o ",
        					url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
        				}
        			]
        		}
        	},
        	{
        		module: "compliments",
        		position: "lower_third"
        	},
        	{
        		module: "currentweather",
        		position: "top_right",
        		config: {
        			location: "Midwest City, OK",
        			locationID: "4542765",  //ID from http://www.openweathermap.org/help/city_list.txt
        			appid: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        		}
        	},
        	{
        		module: "weatherforecast",
        		position: "top_right",
        		header: "Weather Forecast",
        		config: {
        			location: "Midwest City, OK",
        			locationID: "4542765",  //ID from http://www.openweathermap.org/help/city_list.txt
        			appid: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        		}
        	},
        	{
        		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;}

        1 Reply Last reply Reply Quote 0
        • M Offline
          mar4pack @Mykle1
          last edited by Apr 14, 2017, 5:40 AM

          @Mykle1

          Yes clock works and other modules load. Oddly enough I was able to get the weather underground module working.

          B M 2 Replies Last reply Apr 14, 2017, 9:43 AM Reply Quote 0
          • B Offline
            broberg Project Sponsor @mar4pack
            last edited by Apr 14, 2017, 9:43 AM

            @mar4pack Do note, that the API used for the default weather modules are not foolproof, It usually takes time for the API-key to get valid and sometimes it will just stop sending data for your location. This will happen from time to time (as I have noticed) and this has nothing to do with the MagicMirror, the config or the modules, it’s just a lack of data from the service provider.

            In my cases it usually works again in a 24H time period. (it has happen twice in 7 weeks)

            1 Reply Last reply Reply Quote 1
            • M Offline
              Mykle1 Project Sponsor Module Developer @mar4pack
              last edited by Apr 14, 2017, 1:20 PM

              @mar4pack said in Weather info not showing up on screen:

              Oddly enough I was able to get the weather underground module working.

              I think @broberg may be right, unless you entered your API key incorrectly. As a test, I entered your location: "Midwest City, OK", and your locationID: "4542765", into my weatherforecast, using my appid: and it loaded right up without a hitch.
              0_1492176010504_Capture.JPG

              Create a working config
              How to add modules

              M 1 Reply Last reply Apr 14, 2017, 2:57 PM Reply Quote 0
              • M Offline
                mar4pack @Mykle1
                last edited by Apr 14, 2017, 2:57 PM

                Still cannot get it to work. I created another appid and that does not work either. Entered both id’s in correctly and it wont load. Any other suggestions?

                M 1 Reply Last reply Apr 14, 2017, 3:22 PM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @mar4pack
                  last edited by Apr 14, 2017, 3:22 PM

                  @mar4pack said in Weather info not showing up on screen:

                  Any other suggestions?

                  Even removing the header option altogether still worked for me. Below you see the location: empty and it still works.

                  {
                  			disabled: false,
                  			module: "weatherforecast",
                  			position: "top_right",
                  			header: "Weather Forecast",
                  			config: {
                  				location: "",
                  				locationID: "4542765",  //ID from http://www.openweathermap.org/help/city_list.txt
                  				appid: "MY API KEY"
                  			}
                  		},
                  

                  Did you do an automatic install?
                  Manual install?
                  Upgrade from 2.1.0?

                  Create a working config
                  How to add modules

                  M 1 Reply Last reply Apr 14, 2017, 3:27 PM Reply Quote 0
                  • M Offline
                    mar4pack @Mykle1
                    last edited by Apr 14, 2017, 3:27 PM

                    Automatic install. Following one of the guides on here where you end up removing unnecessary programs and cleaning up the pi a little bit.

                    M 2 Replies Last reply Apr 14, 2017, 3:29 PM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @mar4pack
                      last edited by Apr 14, 2017, 3:29 PM

                      @mar4pack

                      Yes, this one I assume.
                      https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        5/12
                        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