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.

    XKCD not updating

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 2 Posters 1.0k 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
      ruskythegreat
      last edited by

      So I’ve tried both the DailyXKCD and MMM-XKCD but I can’t get either to update. They will refresh if I restart MM though.
      This is my current extract: -

               module: 'DailyXKCD',
              position: 'top_right',
              config: {
                  updateInterval: 3600000,
                  grayScale: false,
                  invertColors: true,
                  limitComicWidth: 400,
                  limitComicHeight: 0,
                  randomComic: true,
                  showTitle: true,
                  }
      

      Any ideas please?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @ruskythegreat
        last edited by

        @ruskythegreat according to the site they add a new image 3 times a WEEK, Monday, Wednesday, Friday

        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
          ruskythegreat @sdetweil
          last edited by

          @sdetweil Yup, there’s an option in both modules.
          In DailyXKCD:
          randomComic Set to true, if you want to see a random comic on days, when there is no new comic.

          In MMM-XKCD there’s also an alwaysRandom option:
          randomComic bool false Display a random comic, where no new comic is available.
          alwaysRandom bool false If you always want to see a random comic, even on days where a new comic is available. Note: Only effective if randomComic is set to true.

          I’m currently running DailyXKCD, so If I’m reading that right, my config has updateInterval set to 3600000 which is 1h, I should get a new comic every hour (for testing!).

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @ruskythegreat
            last edited by

            @ruskythegreat no idea really… code looks ok… there is a small timing problem on startup, but

            open the developers window, ctrl-shift-i, select the tab labeled console, and put a unique part of the module name in the filter field (xkcd)

            see if there are any errors reported

            i did what the node_helper does to get an image, and it looks good…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            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