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-CalendarExt2

    Scheduled Pinned Locked Moved Utilities
    486 Posts 83 Posters 827.4k Views 83 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.
    • ? Offline
      A Former User
      last edited by

      @gonzonia

      1. I think maxItems should be bigger for using many calendars at the same time. Your config says 50 events to be loaded in that view and many of those events were old to be displayed in that view.
        Smaller values will make performance better but by that value, some events would be dropped. You can use filter to filter UNNECESSARY events, but somewhat difficult, so just giving a bigger value to maxItems would work.

      2. Width of horizontal MM is not enough wide to display 5 columns :D If you are using 1920x1080 resolution, the width will be 1080(max) or somehow narrower. It means usually each column will take 200px or smaller in 5 columns.
        Anyway, there could be a few solutions.

      • remove the outer frame margin/padding of MagicMirror itself.

      • adjust the column size of MMM-CalendarExt2
        It is not such an easy because it is hard-coded.
        https://github.com/eouia/MMM-CalendarExt2/blob/e7535e8fda1fdad1078af158d6e299f730292174/CALEXT2_View.js#L284

          if (this.config.type == "row") slotDom.style.width = ((100 / count) - 3) + "%"
      

      You can modify this. (change 3 to 1 or 0 and save it) But not recommended.

      • make font smaller
        redefine --font-size in CSS(in your css/custom.css. referenced by MMM-CalendarExt2.css). Adjusting details might be needed.

      • Title as multi-lines. (Recommended)
        add this into your css/custom.css

      .CX2 .period .eventTitle {
        white-space:normal;
      }
      

      0_1570966645163_111111.png

      • Or you can abbreviate long title to shorter by using transform
      1. add this into your css/custom.css
      .CX2 .weeksmark {
        display:none;
      }
      
      1 Reply Last reply Reply Quote 1
      • G Offline
        gonzonia
        last edited by gonzonia

        Thanks for the quick reply!

        I think it’s much closer to where I want it now. It takes some time for the data to load initially, but it seems to be working. Still some visual tweaks to make.

        I kinda miss the built in styles from CalendarExt. It made it easy to just make each calendar different.

        1 Reply Last reply Reply Quote 0
        • F Offline
          Fr8Trayne
          last edited by

          Howdy @Sean something weird is happening. I have this module setup and it’s been working great for a while. It is a scene with two views. The first view is great, but the second view which has the exact same calendars only shows today. The rest of the month is blank. Have you seen this happen before?

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @Fr8Trayne
            last edited by

            @Fr8Trayne
            show me the configuration.

            1 Reply Last reply Reply Quote 0
            • F Offline
              Fr8Trayne
              last edited by

              I’ve removed the actual links to calendars solely for this . Please note that it has been working up until 2 days ago. I love this module just not sure this stopped working. Also note I have a second version of this one a weekly view that still is working just fine.
              {
              module: “MMM-CalendarExt2”,
              pages: {second: “fullscreen_above”},
              defaultset: {
              view: {
              slotCount: 5,
              },
              },

              		config: {
              
              				scenes: [
                					{
                  				name: "Month Calendar",
              				views: ["family"],
              				className: "scene_1",
                					},
              					],
              			
              				views: [
                					{
              				    name: "family",
                  				    mode: "week",
              				    fromNow:0,
              				    className: "view_1",
              				    calendars: [],
              				    slotTitleFormat:"MM/DD",
              				    slotSubTitleFormat: "dddd",
              				    beforeDays: "7",
              				    hideOverflow: false,
              				    type: "row",
                					},
              					],
              
              				calendars: [
              				    {
              				    name: "Family Calendar",
              				    url: "https://calendar.google.com/calendar/ical",
              				    scanInterval: 2000,
              				    className: "family_calendar",
              				    maxIterations: 100,
              				    },
              
              				    {
              				    name: "Dad's Calendar",
              				    url: "https://calendar.google.com/calendar/ical",
              					    scanInterval: 2000,
              				    className: "dads_calendar",
              				    maxIterations: 100,
              				    },
              
              				    {
              				    name: "Mom's Calendar",
              				    url: "https://calendar.google.com/calendar/ical",
              				    scanInterval: 2000,	
              				    className: "moms_calendar",
              				    maxIterations: 100,
              				    },
              
              				    {
              				    name: "Alana's Calender",
              				    url: "https://calendar.google.com/calendar/ical",
              				    scanInterval: 2000,
              				    className: "alanas_calendar",
              				    maxIterations: 100,
              				    },
              
              				    {
              				    name: "John's Calendar",
              				    url: "https://calendar.google.com/calendar/ical",
              				    scanInterval: 2000,
              				    className: "johns_calendar",
              				    maxIterations: 100,
              				    },
              
              				    {
              				    name: "Holiday Calendar",
              				    url: "https://calendar.google.com/calendar/ical,
              				    scanInterval: 2000,
              				    className: "holiday_calendar",
              				    maxIterations: 100,
              				    },
              				],
              			},
              	},
              
              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @Fr8Trayne
                last edited by A Former User

                @Fr8Trayne
                I think this could be also maxItems issue of view.
                You have several calendars in a view, it means you might have tons of events in the memory of RPI.(You can check how much events are selected to load on your log.)
                Which events should be displayed would be decided by some rules with some condition - filter, sort, … In this case, you haven’t set your rule, so the view would contain 100 events(set as default, sorted by time) from whole calendars. And most(or all) of them would be too old events to display in this view.

                Just set the maxItems of view bigger, or set your rule of filter or sort events to display.

                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fr8Trayne
                  last edited by

                  @Sean thanks. I have added those changes with no effect. Would you mind guiding me to find those stores events in the RPI? I’d like to see if that is the issue.

                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @Fr8Trayne
                    last edited by

                    @Fr8Trayne
                    Could you share with me your real ical url or file to inspect? you can send it via email. (eouia0819@gmail.com)

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lotusvball
                      last edited by

                      Can someone show me what I am doing wrong. I have this configuration:

                      	{
                      		module: 'MMM-CalendarExt2',
                      		config: {
                      			//firstDrawingDelay: 1000*10,
                      			scenes:[
                      				{
                      					name: "DEFAULT",
                      					views: ["VIEW1"],
                      				},
                      				],
                      			views:[
                      				{
                      					name: "VIEW1",
                      					mode: "daily",
                      					title: "Bard Family Schedule",
                      					position: "bottom_right",
                      					maxItems: 100,
                      					maxDays: 5,
                      					locale: "en",
                      					hideOverflow: true,
                      					filterPassedEvent: true,
                      					slotCount: 4,
                      					calendars: ["Steve","Tracie","Alex"],
                      				},
                      				],
                      			calendars: [
                      			    
                      				{
                      					name: "Steve",
                      					url: "https://calendar.google.com/calendar/ical/",
                      					beforeDays:0,
                      					afterDays: 5,
                      				},
                      				
                      				{
                      					name: "Tracie",
                      					url: "https://calendar.google.com/calendar/ical/",
                      					beforeDays:0,
                      					afterDays: 5,
                      				},
                      				{
                      					name: "Alex",
                      					url: "https://calendar.google.com/calendar/ical/",
                      					beforeDays:0,
                      					afterDays: 5,
                      				},
                      				
                      				
                      				
                      				],
                      			},
                      	},
                      

                      The actual calendars have the correct url in my setup. If I set one calendar to show in the view ie. [“Alex”] it works but if I try to do all of them I get nothing. Only the headings for the days.

                      Here is the startup sequence:

                      Starting MagicMirror: v2.9.0
                      Loading config …
                      Loading module helpers …
                      No helper found for module: alert.
                      Initializing new module helper …
                      Module helper loaded: updatenotification
                      No helper found for module: clock.
                      Initializing new module helper …
                      Module helper loaded: MMM-GooglePhotos
                      No helper found for module: currentweather.
                      No helper found for module: weatherforecast.
                      Initializing new module helper …
                      Module helper loaded: MMM-MyScoreboard
                      No helper found for module: MMM-pages.
                      Initializing new module helper …
                      Module helper loaded: MMM-OnScreenMenu
                      No helper found for module: MMM-SmartWebDisplay.
                      Initializing new module helper …
                      Module helper loaded: MMM-CalendarExt2
                      All module helpers loaded.
                      Starting server on port 8080 …
                      Server started …
                      Connecting socket for: updatenotification
                      Connecting socket for: MMM-GooglePhotos
                      MMM-GooglePhotos started
                      Connecting socket for: MMM-MyScoreboard
                      Starting node_helper for module [MMM-MyScoreboard]
                      Connecting socket for: MMM-OnScreenMenu
                      Connecting socket for: MMM-CalendarExt2
                      Sockets connected & modules started …
                      Launching application.
                      MMM-GooglePhotos initialized after loading.
                      [CALEXT2] calendar:Steve >> Scanning start with interval:1800000
                      [CALEXT2] calendar:Tracie >> Scanning start with interval:1800000
                      [CALEXT2] calendar:Alex >> Scanning start with interval:1800000
                      [CALEXT2] calendar:Alex >> Scanned: 3, Selected: 3
                      [GPHOTO] Scan finished : 66
                      [CALEXT2] calendar:Steve >> Scanned: 0, Selected: 0
                      [CALEXT2] calendar:Tracie >> Scanned: 7, Selected: 7

                      Can you see anything I am doing wrong?

                      ? 1 Reply Last reply Reply Quote 1
                      • ? Offline
                        A Former User @lotusvball
                        last edited by A Former User

                        @lotusvball
                        Could you share with me your real ical(.ics) file or URL? By only inspection of real ical, I can tell what’s wrong.
                        email : eouia0819@gmail.com

                        L 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 45
                        • 46
                        • 47
                        • 48
                        • 49
                        • 48 / 49
                        • 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