• 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.

Module Update Interval question

Scheduled Pinned Locked Moved Solved Troubleshooting
4 Posts 2 Posters 837 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.
  • R Offline
    RGN01
    last edited by Sep 28, 2021, 6:05 PM

    I have MMM-eswordoftheday installed but have a problem in that it doesn’t automatically update.

    It updates if I restart the MM but not automatically once a day or more frequently.

    What drives the automated updates?

    The pertinent part of config.js is:

        {
          module: 'MMM-eswordoftheday',
          position: 'top_left',
          header: '',
          config: {
            updateInterval: 21600000
          }
    

    I have reduced the update frequency down from 86400000 to 21600000 (what I think is 6 hours) in an effort to sort this, but to no avail!

    Any tips to debug this would be very welcome.

    Thanks.

    Richard

    S 1 Reply Last reply Sep 28, 2021, 7:00 PM Reply Quote 0
    • S Offline
      sdetweil @RGN01
      last edited by Sep 28, 2021, 7:00 PM

      @rgn01 it only updates once after startup… then never again

      edit the .js file and change line 17 from

          setTimeout(function() {
      

      to

          setInterval(function() {
      

      for grins, and easy testing,
      change updateInterval to 60000 (60 seconds)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Oct 3, 2021, 10:15 AM Reply Quote 0
      • R Offline
        RGN01 @sdetweil
        last edited by Oct 3, 2021, 10:15 AM

        Thanks @sdetweil - I missed your reply until this morning so apologies for not reporting back earlier.

        I have now made the change, to 3 hours, and will watch it. As the source only changes once a day that felt like a sensible compromise to ensure it updates but not too often!

        I’ll confirm in the next few days whether this has worked!

        Thanks again!

        R 1 Reply Last reply Oct 5, 2021, 6:27 AM Reply Quote 0
        • R Offline
          RGN01 @RGN01
          last edited by Oct 5, 2021, 6:27 AM

          I can confirm that this is now solved. Thank you, @sdetweil !

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            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