• 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 Refresh Issue

Scheduled Pinned Locked Moved Unsolved Troubleshooting
4 Posts 2 Posters 568 Views 2 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.
  • D Offline
    dpnguyen
    last edited by Aug 27, 2023, 8:42 PM

    When doing a forced refresh, the calendar correctly displays as the following.
    Calendar correct.jpg
    But when it automatically refreshes, it merges the three calendars together as the follwing.
    Calendar error.jpg
    Each of the calendars are using the secret iCal URL from Google Calendar and the issue happens with all the views, not just the month View.

    M 1 Reply Last reply Aug 28, 2023, 6:22 AM Reply Quote 0
    • M Offline
      MMRIZE @dpnguyen
      last edited by Aug 28, 2023, 6:22 AM

      @dpnguyen
      Officially, I stopped CX2 maintenance.
      However, Show me your config for the module.

      D 1 Reply Last reply Aug 28, 2023, 10:54 AM Reply Quote 0
      • D Offline
        dpnguyen @MMRIZE
        last edited by Aug 28, 2023, 10:54 AM

        @MMRIZE
        Here is the code but I removed some of the calendar URLs since they are private.

        {
          module: 'MMM-CalendarExt2',
          config: {
            calendars : [
              {
        		name: "General",
                url: "https://calendar.google.com/calendar/ical/xxxxxxxxxxgmail.com/private-846ceced2e0290a002c3001467418bdd/basic.ics", 
                className: "cal_General",
                icon: "majesticons:home-simple-line",
               
              },
        	  {
        		name: "Sitter Schedule",
        		url:  "https://calendar.google.com/calendar/ical/1463089b79744857e15df07987xxxxx",
        		className: "cal_Sitter",
        		icon: "mingcute:baby-carriage-fill",
        	
              },
              {
        		name: "Nora",
                url: "https://calendar.google.com/calendar/ical/1fd46fcaa274e6fd25359cc305b1238207adf22b60265d115fb4c49eeeb6xxxx", 
                className: "cal_Nora",
                icon: "fluent-emoji-high-contrast:giraffe",
               
              },
              {
        		name: "Gracie",
                url: "https://calendar.google.com/calendar/ical/2838b64ca8d28895fc555822b6f7d12c3d3c71f3919418766e3cdce496xxxx", 
                className: "cal_Gracie",
                icon: "fluent-emoji-high-contrast:unicorn",
               
              },
            ],
            views: [
              {
          name: "VIEW1",
          mode: "month",
          position: "middle_center",
          title: "Family Schedule",
          timeFormat: "h:mm A",
          dateFormat: "M/D",
          hideFooter:true,
          calendars: ["General", "Misty Shifts", "Sitter Schedule", "Nora", "Gracie"],
        },
        {
          name: "VIEW3",
          mode: "legend",
          position: "top_left",
          calendars: ["General", "Misty Shifts", "Sitter Schedule", "Nora", "Gracie"],
        },
        {
          name: "VIEW4",
          mode: "month",
          position: "lower_third",
          dateFormat: "M/D",
          hideFooter:true,
          timeFormat: "h:mm A",
          fromNow:1,
          positionOrder:2,
          calendars: ["General", "Misty Shifts", "Sitter Schedule", "Nora", "Gracie"],
        },
        {
          name: "VIEW2",
          mode: "upcoming",
          className: "cal_Upcoming",
          position: "top_left",
          timeFormat: "h:mm A",
          slotTitle: "Upcoming",
          hideOverflow:false,
          calendars: ["General", "Misty Shifts", "Sitter Schedule", "Nora", "Gracie"],
        },
            ],
            scenes: [
              {
                name: "Family Schedule",
              },
            ],
          },
        },
        
        M 1 Reply Last reply Aug 29, 2023, 7:00 AM Reply Quote 0
        • M Offline
          MMRIZE @dpnguyen
          last edited by Aug 29, 2023, 7:00 AM

          @dpnguyen
          Hmmm… Weird.
          In my test (with my calendars), I cannot find anything wrong.

          Try self-testing more.

          1. Remove all other modules except CX2 from config. (You can backup your original config.js), Then try again.
          2. You have two month views on a screen. Usually, screen is not so huge to hold multi month views. Is there any special reason? Anyway try with just one month view.
          3. Investigate the Front-end Log and Backend-log. Is there any suspicious message in both? Especially in scanning result in back log, how it shows?
          (EXAMPLE)
          [29.08.2023 08:58.32.610] [LOG]   [CALEXT2] calendar:Gracie >> Scanning start with interval:60000
          [29.08.2023 08:58.32.843] [LOG]   [CALEXT2] calendar:Gracie >> Scanned: 18, Selected: 18
          [29.08.2023 08:58.33.977] [LOG]   [CALEXT2] calendar:General >> Scanning start with interval:60000
          [29.08.2023 08:58.34.360] [LOG]   [CALEXT2] calendar:General >> Scanned: 23, Selected: 23
          [29.08.2023 08:58.34.662] [LOG]   [CALEXT2] calendar:Nora >> Scanning start with interval:60000
          [29.08.2023 08:58.35.435] [LOG]   [CALEXT2] calendar:Nora >> Scanned: 96, Selected: 96
          

          Were the scanned/selected results changed in close cycles? (You can test it with short scanInterval of calendar)

          Without original ical data and environment, I cannot reproduce your issue. Could you send me the original config.js and custom.css privately? (eouia0819@gmail.com) I’ll drop your ical after investigation.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            3/4
            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