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

Calendar appears to be fetching the last calendar in the list multiple times.

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 2 Posters 526 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.
  • S Offline
    sdetweil @vvrangler
    last edited by sdetweil Oct 13, 2020, 8:35 PM Oct 13, 2020, 1:48 PM

    @vvrangler the fix i proposed has been accepted and is part of the develop branch, if you would like to use it

    to get there

    if you did manual install

    cd ~/MagicMirror
    git checkout develop
    git pull
    

    restart MagicMirror as normal

    if you used my install script

    cd ~/MagicMirror
    git fetch origin develop:develop
    git checkout develop
    

    restart MagicMirror as normal

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • V Offline
      vvrangler @sdetweil
      last edited by Oct 16, 2020, 10:18 PM

      @sdetweil Yes, the number of events look to be good, and I’m not really seeing any issues because of this, it’s just something that I noticed in the logs.

      S 1 Reply Last reply Oct 16, 2020, 10:21 PM Reply Quote 0
      • S Offline
        sdetweil @vvrangler
        last edited by Oct 16, 2020, 10:21 PM

        @vvrangler yeh, it seems to luck out currently

        the top code starts the fetcher and a starts a timer for each calendar entry
        the fetcher ALSO starts a timer, so if its never called again, it still returns a refreshed list

        I changed it so the top code starts the fetcher for each calendar entry
        and let the fetcher handle its configured timer cycle

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        V 1 Reply Last reply Oct 16, 2020, 10:41 PM Reply Quote 0
        • V Offline
          vvrangler @sdetweil
          last edited by vvrangler Oct 16, 2020, 10:43 PM Oct 16, 2020, 10:41 PM

          @sdetweil said in Calendar appears to be fetching the last calendar in the list multiple times.:

          @vvrangler yeh, it seems to luck out currently

          the top code starts the fetcher and a starts a timer for each calendar entry
          the fetcher ALSO starts a timer, so if its never called again, it still returns a refreshed list

          I changed it so the top code starts the fetcher for each calendar entry
          and let the fetcher handle its configured timer cycle

          The change definitely fixed the issue and everything looks good now during the subsequent polls, thank you again.

          I also have a couple of other calendar related issues that I’ve seen in the log, would it be best if I closed this topic and post a new one?

          S 1 Reply Last reply Oct 16, 2020, 10:43 PM Reply Quote 0
          • S Offline
            sdetweil @vvrangler
            last edited by Oct 16, 2020, 10:43 PM

            @vvrangler said in Calendar appears to be fetching the last calendar in the list multiple times.:

            I also have a cope of other calendar related issue that I’ve seen in the log, would it be best if I close this topic and posted a new one?

            yes please

            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
              8/8
              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