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

MMM-CalendarExt3 only one calendar not updating

Scheduled Pinned Locked Moved Unsolved Troubleshooting
35 Posts 4 Posters 13.0k Views 4 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.
  • E Offline
    emlowe Module Developer @sdetweil
    last edited by Jan 28, 2025, 12:17 AM

    @sdetweil No errors in the console log

    If I wait long enough where this seems anywhere between 15min to an hour or more, they do appear without a manual refresh.

    maybe it’s a complexity issue - when I curl the calender link (it’s a google private ICS link) - the resulting file is 4.8MB - I imagine parsing that is somewhat time-consuming

    S 1 Reply Last reply Jan 28, 2025, 12:21 AM Reply Quote 0
    • S Away
      sdetweil @emlowe
      last edited by Jan 28, 2025, 12:21 AM

      @emlowe yes, and new code takes longer than old with lots of events

      what is the calendar refreshinterval

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Jan 28, 2025, 12:22 AM Reply Quote 0
      • E Offline
        emlowe Module Developer @sdetweil
        last edited by Jan 28, 2025, 12:22 AM

        @sdetweil You mean fetchInterval: 5 * 60 * 1000?

        the calendar module doesn’t have refreshinterval does it?

        S 1 Reply Last reply Jan 28, 2025, 12:36 AM Reply Quote 0
        • S Away
          sdetweil @emlowe
          last edited by Jan 28, 2025, 12:36 AM

          @emlowe fetchInterval is same

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • E Offline
            emlowe Module Developer
            last edited by Jan 28, 2025, 1:21 AM

            I added various log outputs to node_helper.js and calendar.js

            node_helper is sending the socket notification for CALENDAR_EVENTS
            this is not received by the front end code in calendar.js

            I don’t know what happens to it, but I added logging to print out in calendar.js whenever the socketNotificationReceived handler is called and it doesn’t print.

            (unless I refresh the page - at which point it does)

            E S 3 Replies Last reply Jan 28, 2025, 1:30 AM Reply Quote 0
            • E Offline
              emlowe Module Developer @emlowe
              last edited by Jan 28, 2025, 1:30 AM

              Something even stranger - if I immediately refresh the page it also works. Here I mean is:

              npm run server
              got to browser and bring up host:8080
              calendar will say “Loading” for a very long time
              (despite the events getting broadcast)

              But if I :
              npm run server
              go to browser and bring up host:8080
              calender says “Loading”
              Refresh the page immediately
              calendar says “Loading”
              calendar will immediately show the events as soon as the events are broadcast

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @emlowe
                last edited by sdetweil Jan 28, 2025, 2:31 AM Jan 28, 2025, 2:29 AM

                @emlowe oh, “cool” ugh, i opened an issue about that last year

                just reopened
                https://github.com/MagicMirrorOrg/MagicMirror/issues/3380

                can you add the contents of your post in an comment
                actually this one
                https://forum.magicmirror.builders/topic/19345/mmm-calendarext3-only-one-calendar-not-updating/30?page=3#

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE
                  last edited by Jan 30, 2025, 10:28 PM

                  Hmmm… I was in our traditional ceremony with my family - a lunar new year, so I couldn’t catch this post. Sorry.
                  Anyway, this symptom is not my module’s fault, right? There were some reports similar to this, but not figured out.

                  1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @emlowe
                    last edited by Feb 8, 2025, 3:19 PM

                    @emlowe can you try this , configure bigger socketio buffer
                    see the post in the issue
                    https://github.com/MagicMirrorOrg/MagicMirror/issues/3380#issuecomment-2645778523

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Feb 12, 2025, 2:18 PM Reply Quote 0
                    • S Away
                      sdetweil @sdetweil
                      last edited by Feb 12, 2025, 2:18 PM

                      ok, that didnt help

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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