Read the statement by Michael Teeuw here.
MMM-AccuWeatherForecastDeluxe stuck loading.
-
Hi everyone!
Newbie here, running MagicMirror2 as a Docker container on my Unraid server, accessing it with a web browser.
So far, so good, just having issues with the MMM-AccuWeatherForecastDeluxe module stuck on “Loading …” forever.
Yes, I have an API key, and as far as I can tell, it works. If I look under the server logs, I can see that the module does hit the service URL and pull down the entire forecast data that it throws into a [LOG] entry, so I don’t think this is a credentials issue. It just seems like the module isn’t parsing the data and doing anything with it?
Any tips to figuring out what I’m possibly doing wrong?
The log entry starts with:
[LOG] [MMM-AccuWeatherForecastDeluxe] url data:
and is followed by a wall of text that is the actual data.
Thanks for any help!
-
Hi there
Same issue in my case. Apparently the API Key is running since I receive the data. If I use “npm run start:dev” I see the error takes place on (see the line with “HERE THE ERROR”) in the file MMM-AccuWeatherForecastDeluxe.js
processWeatherData: function() { console.log(this.name, 'processWeatherData', this.weatherData.Headline.Text); var summary = this.weatherData.Headline.Text;//TODO: call hourly API
var hourlies = [];
if (this.config.showHourlyForecast) {var displayCounter = 0; var currentIndex = this.config.hourlyForecastInterval; while (displayCounter < this.config.maxHourliesToShow) { HERE THE ERROR - if (this.weatherData.hourly[currentIndex] == null) { break; }[…]
Any help on that will be really appreciated
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