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.9k 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

      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;}
      
      
      Mykle1M 1 Reply Last reply Reply Quote 0
      • G Offline
        glenntsharkey
        last edited by

        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 Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @glenntsharkey
          last edited by Mykle1

          @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

            @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
            • MichMichM Offline
              MichMich
              last edited by

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

              Mykle1M E 2 Replies Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @MichMich
                last edited by

                @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

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

                  1 Reply Last reply Reply Quote 0

                  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
                  • 1 / 1
                  • First post
                    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