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 not updating periodically

    Scheduled Pinned Locked Moved Utilities
    6 Posts 4 Posters 4.0k Views 4 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.
    • Z Offline
      zachlan
      last edited by

      Re: Weatherunderground - currently - hourly - daily - configurable

      I noticed several other people posting about similar issues, but the Weatherunderground module periodically stops updating on my setup. I checked the Analytics page from WU and see the calls simply stop. The other modules (Google calendar, NY times feed) continue to update and the device remains reachable on the network. I watched the MM logs for a bit but didn’t see anything unusual. Has anyone else experienced this?

      Zach

      bheplerB 1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer @zachlan
        last edited by

        @zachlan I haven’t seen this, but I wonder if there is a throttling by the Wunderground API? Does it properly reload after a reboot?

        Z 1 Reply Last reply Reply Quote 0
        • Z Offline
          zachlan @bhepler
          last edited by

          @bhepler - It does properly update after a reload. I’m not sure how long it works after the reload, since the weather doesn’t change all that often I’m looking at the WU analytics page but thats not very granular.

          1 Reply Last reply Reply Quote 0
          • A Offline
            anatius
            last edited by

            I had the same issue and - after some investigation - found that sometimes (for whatever reason) the hourly forecast from WU is not retrieved. Changing line 981 in MMM-WunderGround.js to “if (this.config.hourly == 1 && data.hourly_forecast.length > 0) {” solves the problem.

            Best,
            Christian

            1 Reply Last reply Reply Quote 0
            • E Offline
              ecirpnaes
              last edited by

              I’ve had the same issue. It’s not a network issue as I can start another instance of MM via a browser (I have my mirror set to a fixed IP on my network), and everything works fine. Doing a reboot and/or a “pm2 restart mm” works also. My hacky fix for now is to set up a cronjob that restarts the MM (using pm2) every 2 hours. I will try anatius fix of altering the code to do an additional check.

              1 Reply Last reply Reply Quote 0
              • Z Offline
                zachlan
                last edited by

                I replaced my firewall with a better one so I could do some caps and have more granular control but didn’t seem to make a difference. I updated the code on Saturday, we’ll see if it holds. Thanks.

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