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 1.3k 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

      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 Reply Quote 0
      • S Offline
        sdetweil @RGN01
        last edited by

        @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 Reply Quote 0
        • R Offline
          RGN01 @sdetweil
          last edited by

          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 Reply Quote 0
          • R Offline
            RGN01 @RGN01
            last edited by

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

            1 Reply Last reply Reply Quote 0

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