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

      I am rebuilding my Magic Mirror with the new CalendarExt3Agenda control after having used the CalendarExt2 controls for years to manage my multiple family calendars and activities. I can’t get all the entries to show up on the CalendarExt3Agenda control. It sometimes loads one or two of the calendar events from the Soccer calendar, but none from the others. Below is a screenshot with the basic calendar control shown and the CalendarExt3Agenda section of my config file. What am I missing?

      {	
      			module: "calendar",
      			position: "top_left",
      			//hiddenOnStartup: true,
      			config: 
      			{
      			broadcastPastEvents: false, 
      			hiddenOnStartup: true,
      			calendars: 
      			[
      				{
      					url: "https://calendar.google.com/calendar/file.ics",
      					name: "Molly", 
      					color: "Magenta", 
      					broadcastPastEvents: false, 
      					maximumEntries: 100, 
      					symbol: 'person-dress', 
      				},
      				{
      					url: "https://calendar.google.com/calendar/file.ics",
      					name: "Soccer", 
      					color: "Green", 
      					broadcastPastEvents: false, 
      					maximumEntries: 100, 
      					symbol: 'futbol', 
      				},
      			],
      			},
      		},
      		
      		{
      			module: "MMM-CalendarExt3Agenda",
      			position: "top_left",
      			title: "Family Agenda",
      			config: 
      			{
      				useWeather: false,
      				showMiniMonthCalendar: false,
      				hiddenOnStartup: true,
      			}
      		},
      

      Calendar Screenshot.JPG

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

        @schwarem bug in 2.26, maximumEntries not by calendar url… only overall, above the calendars list

        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

          @sdetweil

          I switched it to only about the calendar list, but I still have the same issue.

          {	
          			module: "calendar",
          			position: "top_left",
          			config: 
          			{
          			broadcastPastEvents: false, 
          			fade: false,
          			coloredText: true,
          			maximumEntries: 15,
          			showLocation: true,
          			calendars: 
          			[
          				{
          
          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @schwarem
            last edited by

            @schwarem ok, try the prior parser

            cd ~/MagicMirror
            npm install node-ical@0.16.1
            

            restart MagicMirror

            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

              @sdetweil
              Thanks for the update. Still no luck.

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                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 Do not disturb
                    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 Do not disturb
                        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

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 1 / 1
                                • 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