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

XKCD not updating

Scheduled Pinned Locked Moved Unsolved Troubleshooting
4 Posts 2 Posters 621 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 Nov 22, 2021, 1:14 PM

    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 Nov 22, 2021, 1:19 PM Reply Quote 0
    • S Offline
      sdetweil @ruskythegreat
      last edited by Nov 22, 2021, 1:19 PM

      @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 Nov 22, 2021, 4:34 PM Reply Quote 0
      • R Offline
        ruskythegreat @sdetweil
        last edited by Nov 22, 2021, 4:34 PM

        @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 Nov 23, 2021, 4:35 PM Reply Quote 0
        • S Offline
          sdetweil @ruskythegreat
          last edited by Nov 23, 2021, 4:35 PM

          @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
          • 1 / 1
          1 / 1
          • First post
            3/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