MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED MMM-CalendarExt2 month view for Sept not showing all views

    Troubleshooting
    2
    5
    1204
    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.
    • A
      aunrea last edited by

      I installed the MMM-CalendarExt2 back in August and it was working great. Now that it is September I am having a problem. Now it only shows events up to 3 days after the current day. It shows no events for the rest or the month or the next month. I can’t figure out why it is doing that.

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

        @aunrea
        show me your config.

        A 1 Reply Last reply Reply Quote 0
        • A
          aunrea @Guest last edited by aunrea

          {
          module: ‘MMM-CalendarExt2’,
          config: {
          updateInterval: 1000 * 60,
          calendars: [
          {
          url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
          name: “Candace’s Events”,
          className: “candace-event”,
          },
          {
          url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
          name: “Sam’s Events”,
          className: “sam-event”,
          },
          {
          url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
          name: “Liam’s Events”,
          className: “liam-event”,
          },
          {
          url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
          name: “Casey’s Events”,
          className: “casey-event”,
          },
          {
          url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
          name: “Family Events”,
          className: “family-event”,
          },
          {
          url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
          name: “Birthdays”,
          className: “birthday-event”,
          },
          {
          url: “https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics”,
          name: “Holidays”,
          className: “birthday-event”,
          },

              		],
              		views: [
          				{
          						mode: "month",
          						name: "Monthly Calendar",
          						position: "middle_center",
          						hideOverflow: false,
          						timeFormat: "h:mm A",
          				},
          				{
          						mode: "month",
          						name: "Next Month",
          						position: "middle_center",
          						hideOverflow: false,
          						timeFormat: "h:mm A",
          						fromNow: 1,
          				},
          				{
          						mode: "month",
          						name: "Next Next Month",
          						position: "middle_center",
          						hideOverflow: false,
          						timeFormat: "h:mm A",
          						fromNow: 2,
          				},
          				{
          						mode: "month",
          						name: "Last Month",
          						position: "middle_center",
          						hideOverflow: false,
          						timeFormat: "h:mm A",
          						fromNow: -1,
          				},
              		],
              		scenes: [
          				{
          					name: "current",
          					views: ["Monthly Calendar"],
          				},
          				{
          					name: "next",
          					views: ["Next Month"],
          				},
          				{
          					name: "next_next",
          					views: ["Next Next Month"],
          				},
          				{
          					name: "before",
          					views: ["Last Month"],
          				},
          
              		],
              	}
          	},
          
          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @aunrea last edited by

            @aunrea
            Default items to display in a view is set to 100. Your calendars have more than 100 so some events have been cut off.
            0_1567439845641_a1.png

            The purpose of this default limitation is for whom has too many events in his calendar from old history.
            Usually, user can select the events by filter and sort feature.

            However in your case, you want total 4 views for 4 months, so it needs to get over 100 events.
            You can set maxItems to bigger number (e.g: 500)
            https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View#common

            {
              module: 'MMM-CalendarExt2',
              config: {
                updateInterval: 1000 * 60,
                calendars: [
                  ...
                ],
                defaultSet: {
                  view: {
                    hideOverflow:false,
                    timeFormat: "h:mm A",
                    maxItems: 500,  // < ------ THIS VALUE
                  }
                },
                views: [
                  {
                      mode: "month",
                      name: "Monthly Calendar",
                      position: "middle_center",
                  },
                  ...
                ],
                scenes: [
                  {
                    name: "current",
                    views: ["Monthly Calendar"],
                  },
                  ...
                ],
              }
            },
            

            You can get this.
            0_1567440157685_a2.png

            A 1 Reply Last reply Reply Quote 0
            • A
              aunrea @Guest last edited by

              @Sean Thank you that workd.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy