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

Scheduled Pinned Locked Moved Utilities
486 Posts 83 Posters 779.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 @Jas
    last edited by A Former User Jan 5, 2020, 1:37 AM Jan 5, 2020, 1:36 AM

    @Jas

    1. Weird. if you are using timeFormat: "h:mm A", it will show 11:00 AM not 11 or 11AM.
      https://github.com/eouia/MMM-CalendarExt2/wiki/Event-Time
    2. In that case, just use daily view with filterPassedEvent: true
      https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View
    3. use fromNow to skip days.
      https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View
    4. like this?
      0_1578188119325_7897ec12-3972-4d80-a7d6-ee3545b69220-image.png
      add this into your css/custom.css
    .CX2 .view.upcoming .eventCount_0 .slotFooter::after {
      content: "There is no event."
    }
    

    https://github.com/eouia/MMM-CalendarExt2/wiki/4.-Styling

    J 1 Reply Last reply Jan 6, 2020, 12:03 AM Reply Quote 0
    • V Offline
      vulkandosii
      last edited by Jan 5, 2020, 3:59 PM

      I seem to be having an issue with the month view and hope someone here might have a solution.

      Currently I have 7 calendars setup and am using daily view in the top left with month view in the fullscreen_below section.

      The daily view displays all events just fine when setting the slotCount to 2 or even 10 (although I cant figure out how to not overlap the month view) and it correctly displays all calendar events from all 7 calendars. All the calendars are from gmail and pulled from each gmail account using the link under “secret address in iCal format”. I have omitted that part in the code I shared below.

      The month view is only displaying a few events for the entire month, Dec 29 through Jan 7 is populated and it doesn’t have all the events listed for January 7th, the rest of the days in the month are completely empty. Last month (December) was displaying all events just fine. Is there something I am missing?

      I have recently update MM and MMM-CalendarExt2. The updates showed that they were completed successfully.

      module: "MMM-CalendarExt2",
      config:
      {
      	rotateInterval: 5 * 60 * 1000,
      calendars: [
      	{ // Calendar 1
      		name: "Calendar One",
      		className: "Cal1",
      		url: '<omitted>',
      	},
      	{ // Calendar 2
      		name: "Calendar Two",
      		className: "Cal2",
      		url: '<omitted>',
      	},
      	{ // Calendar 3
      		name: "Calendar Three",
      		className: "Cal3",
      		url: '<omitted>',
      	},
      	{ // Calendar 4
      		name: "Calendar Four",
      		className: "Cal4",
      		url: '<omitted>',
      	},
      	{ // Calendar 5
      		name: "Calendar Five",
      		className: "Cal5",
      		url: '<omitted>',
      	},
      	{ // Calendar 6
      		name: "Calendar Six",
      		className: "Cal6",
      		url: '<omitted>',
      	},
      	{ // Calendar 7
      		name: "Calendar Seven",
      		className: "Cal7",
      		url: '<omitted>',
      	},
      ],
      views: [
      	{
      		name: "MONTHVIEW",
      		mode: "month",
      		position: "fullscreen_below",
      		showWeekends: false,
      		timeFormat: "h:mm A",
      	},
      	{
      		name: "DAILYVIEW",
      		mode: "daily",
      		title: "Upcoming Events",
      		slotCount: 10,
      		timeFormat: "h:mm A",
      		hideOverflow: false,
      		filterPassedEvent: true,
      	},
      ],
      scenes: [
      {
      	name: "DEFAULT",
      },
      ],
      }
      
      ? 1 Reply Last reply Jan 5, 2020, 4:07 PM Reply Quote 0
      • ? Offline
        A Former User @vulkandosii
        last edited by A Former User Jan 5, 2020, 4:08 PM Jan 5, 2020, 4:07 PM

        @vulkandosii set maxItems of month view to a bigger value. Current Default is 100. See the log and find enough value for that view.
        The reason is, you might have tons (at least over 100) of events in your ical files. Unless you filter or sort events(In other views, those are somehow filtered already), the first 100 items will be loaded for month view. And probably those events would be too old to display. Because you might have many repeated events before this month, so 100 would be consumed already for old events.

        V 1 Reply Last reply Jan 5, 2020, 4:36 PM Reply Quote 0
        • T Offline
          Thekk
          last edited by Jan 5, 2020, 4:28 PM

          Thanks for your amazing work. I was wondering if events have a property that marks them as part of a repeating sequence. I would like to filter based on that. I couldn’t find anything about that in the (very complete) documentation.

          ? 1 Reply Last reply Jan 5, 2020, 4:42 PM Reply Quote 0
          • V Offline
            vulkandosii @Guest
            last edited by Jan 5, 2020, 4:36 PM

            @Sean I added maxItems: 2000 to the month view. This fixed the issue. Is there any concerns having the maxItems set this high? will this slow it down or cause issues later?

            Also a side note, the daily view overlaps if I set the slotCount past 2 or 3 when there are many events populated. Is there a way to cut it off if it hits the month calendar? Currently I just have slotCount set to 2 and this usually works to keep it small enough. Just wondering if there is a better solution.

            Also thanks for this mod, it has been a huge benefit to my whole family. We use this to keep track of all the kids’ events and don’t think we can go back to anything else after using this.

            ? 1 Reply Last reply Jan 5, 2020, 4:45 PM Reply Quote 0
            • ? Offline
              A Former User @Thekk
              last edited by A Former User Jan 5, 2020, 4:49 PM Jan 5, 2020, 4:42 PM

              @Thekk
              Hmmm… I think there is no flag about repeated events. I’ll research about it.
              For filtering; See this; https://github.com/eouia/MMM-CalendarExt2/wiki/Filtering-and-Sorting
              And this also; https://github.com/eouia/MMM-CalendarExt2/wiki/Event-Object

              T 1 Reply Last reply Jan 6, 2020, 10:19 AM Reply Quote 0
              • ? Offline
                A Former User @vulkandosii
                last edited by Jan 5, 2020, 4:45 PM

                @vulkandosii
                Well, 2000 seems not too burdensome. I think it will be OK.

                Your second question… hmmm Sorry I can’t catch the meaning. Would u tell me more detailly? Picture will be a great help to understand.

                Thanks for using.

                V 1 Reply Last reply Jan 5, 2020, 5:02 PM Reply Quote 0
                • V Offline
                  vulkandosii @Guest
                  last edited by Jan 5, 2020, 5:02 PM

                  @Sean I have attached the MM image of what I am seeing. This is what it looks like when the Daily view is overlapping the monthly calendar. I would like to get as many events listed before it hits the calendar. So far the only solution I have found is to just have 2 days listed, since anymore than that can cause an overlap, depending on how many events occur in any given day.

                  0_1578243483317_screenshot-name.jpg

                  ? S 2 Replies Last reply Jan 5, 2020, 5:04 PM Reply Quote 0
                  • ? Offline
                    A Former User @vulkandosii
                    last edited by Jan 5, 2020, 5:04 PM

                    @vulkandosii
                    Frankly, MM screen is not so big enough to display many things. :)
                    set slotMaxHeight of month view to smaller value might be a help.

                    V 1 Reply Last reply Jan 5, 2020, 5:17 PM Reply Quote 0
                    • V Offline
                      vulkandosii @Guest
                      last edited by Jan 5, 2020, 5:17 PM

                      @Sean I was hoping to control the daily view to prevent it from moving down too far. I like having the monthly calendar large as it is now. I will just go back to controlling it with slotCount since hideOverflow and SlotMaxHeight doesn’t seem to affect Daily views. Thanks.

                      ? 1 Reply Last reply Jan 5, 2020, 5:20 PM Reply Quote 0
                      • 1
                      • 2
                      • 22
                      • 23
                      • 24
                      • 25
                      • 26
                      • 48
                      • 49
                      • 24 / 49
                      24 / 49
                      • First post
                        238/486
                        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