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 7.2k 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

      /* 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

        @Mykle1

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

        brobergB Mykle1M 2 Replies Last reply Reply Quote 0
        • brobergB Offline
          broberg Project Sponsor @mar4pack
          last edited by

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

            @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 Reply Quote 0
            • M Offline
              mar4pack @Mykle1
              last edited by

              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?

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @mar4pack
                last edited by

                @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 Reply Quote 0
                • M Offline
                  mar4pack @Mykle1
                  last edited by

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

                  Mykle1M 2 Replies Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @mar4pack
                    last edited by

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

                      @mar4pack

                      It’s just odd that only the weatherforecast and currentweather modules are the only one’s giving you a problem. If you can live with WunderGround (which you were able to get working) then I would stick with that. If you prefer the former, then you can either try again from the beginning (I’m not suggesting you do, only offering it as an option) or you can file an issue. If you do want to try a new install you can try this one instead, if you wish.
                      https://github.com/MichMich/MagicMirror#modules. I’ve done both the automatic install and the manual install from this page and not had a problem

                      Create a working config
                      How to add modules

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        mar4pack @Mykle1
                        last edited by

                        Well, I got the weather underground at least up and going. Only thing I can see now with it is the forecast is all incorrect. Pretty sure its in the mid 70’s not the low 50’s. Not sure what is wrong within that module. Cant seem to find any help or info in regards to it.

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