Read the statement by Michael Teeuw here.
No Weather Showing?
-
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;} -
Oh, and when I say not working at all, I mean; the weather modules are not on the screen…
Thanks!
-
@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 -
@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-WunderGroundI 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.
-
It seems new API keys from open weather no longer are allowed to request the forecast. We are looking into a solution.
-
@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! :^)
-
@MichMich cheers for the update Mich, you’re a legend :)
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