• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 3.9k 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.
  • B Offline
    bhepler Module Developer @zachlan
    last edited by Nov 30, 2016, 4:14 PM

    @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 Nov 30, 2016, 5:25 PM Reply Quote 0
    • Z Offline
      zachlan @bhepler
      last edited by Nov 30, 2016, 5:25 PM

      @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 Dec 4, 2016, 3:40 PM

        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 Dec 5, 2016, 2:05 PM

          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 Dec 19, 2016, 7:50 PM

            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