Read the statement by Michael Teeuw here.
MMM-CalendarExt2 Refresh Issue
-
When doing a forced refresh, the calendar correctly displays as the following.
But when it automatically refreshes, it merges the three calendars together as the follwing.
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. -
@dpnguyen
Officially, I stopped CX2 maintenance.
However, Show me your config for the module. -
@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", }, ], }, },
-
@dpnguyen
Hmmm… Weird.
In my test (with my calendars), I cannot find anything wrong.Try self-testing more.
- Remove all other modules except CX2 from config. (You can backup your original config.js), Then try again.
- 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.
- 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
andcustom.css
privately? (eouia0819@gmail.com) I’ll drop your ical after investigation.