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.

    MMM-AccuWeatherForecastDeluxe stuck loading.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 387 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.
    • G Offline
      GracieSW584
      last edited by

      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!

      X 1 Reply Last reply Reply Quote 0
      • X Offline
        xmartorell @GracieSW584
        last edited by

        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

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