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-CalendarExt3Agenda Only loading a few items.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    14 Posts 3 Posters 3.6k Views 3 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 @schwarem
      last edited by

      @schwarem can you show the messages from npm start where the deault calendar module says how many events it broadcast.

      like

      Calendar-Fetcher: Broadcasting 11 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil

        Below is the screenshot. It is loading everything, but not displaying in CalendarExt3. I also noticed in the debug console there was the message below. I don’t know what it means.

        c92f6168-d3c0-4a42-8a26-05a585321316-image.png

        dce7f440-1f51-42db-9f39-01f94dbb6fd9-image.png

        S M 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @schwarem
          last edited by

          @schwarem i erased your image, one line at top had full url, please fix and then edit post and add it back in

          did you do

          npm install
          

          in the module folder after git clone??

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil Yes. and I just ran it again.

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

              @schwarem it should have done the extension install too

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

                @schwarem
                Only events from some specific calendars seem being missed.
                Usually, that case happens when CX3* will be displayed before all the calendars’ fetching is completed.
                Give enough waitFetch of CX3*'s config. By default, it would be 5000ms(5 sec). I think 10_000 or something may be enough for you.
                Generally, 5 seconds is enough for most of the environment, but in some low-powered devices, too many calendars or events, slow internet speed or many various other reasons could make the case.

                S 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @schwarem
                  last edited by

                  @schwarem said in MMM-CalendarExt3Agenda Only loading a few items.:

                  @sdetweil

                  Below is the screenshot. It is loading everything, but not displaying in CalendarExt3. I also noticed in the debug console there was the message below. I don’t know what it means.

                  dce7f440-1f51-42db-9f39-01f94dbb6fd9-image.png

                  Not error, just info. You can ignore it.

                  1 Reply Last reply Reply Quote 1
                  • S Offline
                    schwarem @MMRIZE
                    last edited by

                    @MMRIZE

                    Increasing the WaitFetch worked. Thanks to everyone for the suggestions.

                    By the way, I have a Raspberry Pi 4 B with 1 gb of RAM which had enough power for CalendarExt2.

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MMRIZE @schwarem
                      last edited by MMRIZE

                      @schwarem
                      That’s not your or your RPI’s fault. :)

                      With your previous log image, at least 7 calendars had to be parsed. The first calendar (12 events) was fetched on 11:06:27, and the last calendar(93 events) was fetched on 11:06:40. These 7 calendars need almost 13 seconds to parse completely.

                      But CX3* would appear after 5 seconds(by default) from the first fetching. Nobody can’t foresee when the last calendar will finish the fetching (or even whether it is complete or not). So CX3* will wait a few seconds and then show only the events from the current aggregated regardless of whether some unfetched calendars remain.

                      CX2 parsed events of the calendar by itself so it could know whether all events were fetched or not.(At least I made so), but CX3 doesn’t parse the calendar, only using the feed from another module. That’s the difference.

                      No worry. Until the next cycle(defined by refreshInterval), the unfetched calendars would be fetched until then. In the following refreshInterval, your missing events will be shown adequately.

                      Or, increase waitFetch to wait more seconds for more calendars to fetch.

                      1 Reply Last reply Reply Quote 0
                      • S sdetweil referenced this topic on
                      • C Como referenced this topic on
                      • 1
                      • 2
                      • 1 / 2
                      • 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