• 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 10.4k 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.
  • S Offline
    sdetweil @emlowe
    last edited by Jan 27, 2025, 10:13 PM

    @emlowe as you updated to the develop branch, did you also redo the npm run install-mm

    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 27, 2025, 10:24 PM

      I did yes - so the current test results are this

      The calendar did eventually appear - but it took quite some time - I wasn’t watching, so I don’t know when exactly - I’ll test again. But it was several minutes after the log output of “broadcasting 22 events”

      S 1 Reply Last reply Jan 27, 2025, 10:34 PM Reply Quote 0
      • S Offline
        sdetweil @emlowe
        last edited by sdetweil Jan 27, 2025, 10:44 PM Jan 27, 2025, 10:34 PM

        @emlowe the default for ext3 is 30 mins
        if missed at waitFetch

        only see the timing in
        pm2 log

        default calendar working, right?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Jan 27, 2025, 11:15 PM Reply Quote 0
        • E Offline
          emlowe Module Developer @sdetweil
          last edited by Jan 27, 2025, 11:15 PM

          @sdetweil No, I’m stopped testing Ext3 and I am only testing the default calendar.

          it is not working - I see Loading... for some number of minutes or hours, I haven’t determined any consistency. This test run is now past 45 mins and it still says Loading… despite having broadcast the events 9 times:

          [2025-01-27 14:25:24.525] [LOG]   Starting MagicMirror: v2.31.0-develop 
          ...
          [2025-01-27 14:25:31.806] [LOG]   Create new calendarfetcher for URL ...
          [2025-01-27 14:26:21.083] [INFO]  Calendar-Fetcher: Broadcasting 22 events from ...
          [2025-01-27 14:32:08.812] [INFO]  Calendar-Fetcher: Broadcasting 22 events from ...
          [2025-01-27 14:37:55.863] [INFO]  Calendar-Fetcher: Broadcasting 22 events from
          [2025-01-27 14:43:42.948] [INFO]  Calendar-Fetcher: Broadcasting 22 events from
          [2025-01-27 14:49:30.144] [INFO]  Calendar-Fetcher: Broadcasting 22 events from 
          ...
          [2025-01-27 15:12:37.552] [INFO]  Calendar-Fetcher: Broadcasting 21 events from 
          

          still says Loading ... - if I refresh the browser page - then they all appear immediately

          S 1 Reply Last reply Jan 27, 2025, 11:57 PM Reply Quote 0
          • S Offline
            sdetweil @emlowe
            last edited by Jan 27, 2025, 11:57 PM

            @emlowe can you extract those events out to a file

            curl -sL theurl >somefile.txt
            and share the file and your calendar config in an email to me
            same userid at gmail

            so i can look at it

            one other thing is open the developers window console tab
            ctrl-shift-i, select the console tab
            or do
            npm run start:dev

            and see if there are any errors
            the browser side broadcasts so it GOT the events block
            then it processes for the ui

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Jan 28, 2025, 12:17 AM Reply Quote 0
            • 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 Offline
                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 Offline
                    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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        26/35
                        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