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

No Weather Showing?

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 4 Posters 5.1k 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.
  • G Offline
    glenntsharkey
    last edited by Sep 9, 2017, 10:31 PM

    Hey there!

    Totally new to this! I wanted to design my own MagicMirror (thanks for the inspiration!).

    I got MagicMirror2 installed today (via the automatic installer), however the ‘Current Weather’ and ‘Weather Forecast’ is not working at all…

    With/Without the API code also, this doesn’t seem to make a difference…

    Can anyone help?

    Thanks!

    /* Magic Mirror Config Sample
     *
     * By Michael Teeuw http://michaelteeuw.nl
     * MIT Licensed.
     *
     * For more information how you can configurate this file
     * See https://github.com/MichMich/MagicMirror#configuration
     *
     */
    
    var config = {
    	port: 8080,
    	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
    	                                                       // or add a specific IPv4 of 192.168.1.5 :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
    	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
    	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
    
    	language: "en",
    	timeFormat: 24,
    	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: "New York",
    				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "YOUR_OPENWEATHER_API_KEY"
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				location: "New York",
    				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "YOUR_OPENWEATHER_API_KEY"
    			}
    		},
    		{
    			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;}
    
    
    M 1 Reply Last reply Sep 10, 2017, 1:01 AM Reply Quote 0
    • G Offline
      glenntsharkey
      last edited by Sep 9, 2017, 10:36 PM

      Oh, and when I say not working at all, I mean; the weather modules are not on the screen…

      Thanks!

      E 1 Reply Last reply Sep 10, 2017, 10:55 AM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @glenntsharkey
        last edited by Mykle1 Sep 10, 2017, 1:02 AM Sep 10, 2017, 1:01 AM

        @glenntsharkey said in No Weather Showing?:

        With/Without the API code also, this doesn’t seem to make a difference…

        It certainly makes a difference. Without the API key neither of those modules will work. However, there does seem to be a problem with the weatherforecast module. The currentweather module is functional using a valid API key. Enter that precisely and your locationID.

        In the meantime, you can disable weatherforecast. You could also try another weather module that IS working. There are quite a few under the Weather heading here.
        https://github.com/MichMich/MagicMirror/wiki/MagicMirror²-Modules#3rd-party-modules

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • E Offline
          EventHorizon @glenntsharkey
          last edited by Sep 10, 2017, 10:55 AM

          @glenntsharkey Hey mate, just giving you a piece of mind, you are not alone! I think in the most recent MM version there is a problem with both weather modules. But not to worry!

          I switched to this module 3 days ago:
          https://github.com/RedNax67/MMM-WunderGround

          I can confirm for you it’s working and it’s bloody fantastic. Let me know if you want any info or help or changing the config file.

          1 Reply Last reply Reply Quote 0
          • M Offline
            MichMich Admin
            last edited by Sep 10, 2017, 12:03 PM

            It seems new API keys from open weather no longer are allowed to request the forecast. We are looking into a solution.

            M E 2 Replies Last reply Sep 10, 2017, 12:22 PM Reply Quote 1
            • M Offline
              Mykle1 Project Sponsor Module Developer @MichMich
              last edited by Sep 10, 2017, 12:22 PM

              @MichMich said in No Weather Showing?:

              It seems new API keys from open weather no longer are allowed to request the forecast. We are looking into a solution.

              That would explain it. My API key is 9 months old. With it, current weather works, forecast does not. Thanks for the update! :^)

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • E Offline
                EventHorizon @MichMich
                last edited by Sep 10, 2017, 12:38 PM

                @MichMich cheers for the update Mich, you’re a legend :)

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