Read the statement by Michael Teeuw here.
Default Calendar Stopped Showing Recurring Events
-
I’m using MM 2.13.0 and I’m seeing some weird behavior with the default calendar. I set up a Google calendar this past weekend, configured it in MM using the secret address and it was looking good. Then when I checked it today to tweak the date formatting there were no events showing. I’ve tried everything I can think of and it’s just not loading. I created a new calendar with one test event and loaded it using the secret address, looks good. I then exported this original calendar and imported the events into this new calendar, and no events show up. Not even the test event that was previously working.
Are there any known issues with the # of events the default calendar can handle? The only thing that’s a bit unique about this calendar is there are a lot (34) of recurring events each day.
Thanks in advance for any troubleshooting suggestions…
-
There have been a lot of work done by @sdetweil on the calendar module. Try the develop branch which handles recurring events much better.
-
@BigSky as suggested. Please get the develop branch.
See here for instructions
https://forum.magicmirror.builders/topic/13770/2-13-calendar-fix-for-office-365-users/2Also, be careful. broadcastPastEvents conflicts w number of entries
Past events are not shown, but count against number of entries
-
-
@BigSky can u show one failing vevent from the ics file?
ics is just text -
@sdetweil also set “DEBUG” in the log levels in config.js and the npm start >somefile to capture the log. Or,
pm2 flush
pm2 restart 0
pm2 logs --lines=200 -
Thanks for the tip on the log files. I’m actually seeing it sporadically working now. Other times it will say “No more events.” (or similar, I don’t recall exactly), and at other times it will appear to hang with the “Loading…” message. When I look at the log file the thing that jumps out at me is all the data it’s pulling for each recurring event. This calendar has something like 37 short events happening each weekday, and for each event I see the following in the log file (with the calendar URL anonymized). It appears to be pulling a full year of future events which may just be too much?
[2020-11-25 12:36:13.418] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/MYCALENDARNAME.ics - Interval: 300000 [2020-11-25 12:36:27.689] [LOG] Create new news fetcher for url: http://feeds.bbci.co.uk/sport/formula1/rss.xml - Interval: 300000 start=Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) end=Thu Sep 03 2020 09:40:00 GMT-0600 (Mountain Daylight Time) between=Tue Nov 24 2020 17:00:00 GMT-0700 (Mountain Standard Time) to Wed Nov 24 2021 16:59:59 GMT-0700 (Mountain Standard Time) title=Academic Time dates=["2020-11-25T14:55:00.000Z","2020-11-26T14:55:00.000Z","2020-11-27T14:55:00.000Z","2020-11-30T14:55:00.000Z","2020-12-01T14:55:00.000Z","2020-12-02T14:55:00.000Z","2020-12-03T14:55:00.000Z","2020-12-04T14:55:00.000Z","2020-12-07T14:55:00.000Z","2020-12-08T14:55:00.000Z","2020-12-09T14:55:00.000Z","2020-12-10T14:55:00.000Z","2020-12-11T14:55:00.000Z","2020-12-14T14:55:00.000Z","2020-12-15T14:55:00.000Z","2020-12-16T14:55:00.000Z","2020-12-17T14:55:00.000Z","2020-12-18T14:55:00.000Z","2020-12-21T14:55:00.000Z","2020-12-22T14:55:00.000Z","2020-12-23T14:55:00.000Z","2020-12-24T14:55:00.000Z","2020-12-25T14:55:00.000Z","2020-12-28T14:55:00.000Z","2020-12-29T14:55:00.000Z","2020-12-30T14:55:00.000Z","2020-12-31T14:55:00.000Z","2021-01-01T14:55:00.000Z","2021-01-04T14:55:00.000Z","2021-01-05T14:55:00.000Z","2021-01-06T14:55:00.000Z","2021-01-07T14:55:00.000Z","2021-01-08T14:55:00.000Z","2021-01-11T14:55:00.000Z","2021-01-12T14:55:00.000Z","2021-01-13T14:55:00.000Z","2021-01-14T14:55:00.000Z","2021-01-15T14:55:00.000Z","2021-01-18T14:55:00.000Z","2021-01-19T14:55:00.000Z","2021-01-20T14:55:00.000Z","2021-01-21T14:55:00.000Z","2021-01-22T14:55:00.000Z","2021-01-25T14:55:00.000Z","2021-01-26T14:55:00.000Z","2021-01-27T14:55:00.000Z","2021-01-28T14:55:00.000Z","2021-01-29T14:55:00.000Z","2021-02-01T14:55:00.000Z","2021-02-02T14:55:00.000Z","2021-02-03T14:55:00.000Z","2021-02-04T14:55:00.000Z","2021-02-05T14:55:00.000Z","2021-02-08T14:55:00.000Z","2021-02-09T14:55:00.000Z","2021-02-10T14:55:00.000Z","2021-02-11T14:55:00.000Z","2021-02-12T14:55:00.000Z","2021-02-15T14:55:00.000Z","2021-02-16T14:55:00.000Z","2021-02-17T14:55:00.000Z","2021-02-18T14:55:00.000Z","2021-02-19T14:55:00.000Z","2021-02-22T14:55:00.000Z","2021-02-23T14:55:00.000Z","2021-02-24T14:55:00.000Z","2021-02-25T14:55:00.000Z","2021-02-26T14:55:00.000Z","2021-03-01T14:55:00.000Z","2021-03-02T14:55:00.000Z","2021-03-03T14:55:00.000Z","2021-03-04T14:55:00.000Z","2021-03-05T14:55:00.000Z","2021-03-08T14:55:00.000Z","2021-03-09T14:55:00.000Z","2021-03-10T14:55:00.000Z","2021-03-11T14:55:00.000Z","2021-03-12T14:55:00.000Z","2021-03-15T14:55:00.000Z","2021-03-16T14:55:00.000Z","2021-03-17T14:55:00.000Z","2021-03-18T14:55:00.000Z","2021-03-19T14:55:00.000Z","2021-03-22T14:55:00.000Z","2021-03-23T14:55:00.000Z","2021-03-24T14:55:00.000Z","2021-03-25T14:55:00.000Z","2021-03-26T14:55:00.000Z","2021-03-29T14:55:00.000Z","2021-03-30T14:55:00.000Z","2021-03-31T14:55:00.000Z","2021-04-01T14:55:00.000Z","2021-04-02T14:55:00.000Z","2021-04-05T14:55:00.000Z","2021-04-06T14:55:00.000Z","2021-04-07T14:55:00.000Z","2021-04-08T14:55:00.000Z","2021-04-09T14:55:00.000Z","2021-04-12T14:55:00.000Z","2021-04-13T14:55:00.000Z","2021-04-14T14:55:00.000Z","2021-04-15T14:55:00.000Z","2021-04-16T14:55:00.000Z","2021-04-19T14:55:00.000Z","2021-04-20T14:55:00.000Z","2021-04-21T14:55:00.000Z","2021-04-22T14:55:00.000Z","2021-04-23T14:55:00.000Z","2021-04-26T14:55:00.000Z","2021-04-27T14:55:00.000Z","2021-04-28T14:55:00.000Z","2021-04-29T14:55:00.000Z","2021-04-30T14:55:00.000Z","2021-05-03T14:55:00.000Z","2021-05-04T14:55:00.000Z","2021-05-05T14:55:00.000Z","2021-05-06T14:55:00.000Z","2021-05-07T14:55:00.000Z","2021-05-10T14:55:00.000Z","2021-05-11T14:55:00.000Z","2021-05-12T14:55:00.000Z","2021-05-13T14:55:00.000Z","2021-05-14T14:55:00.000Z","2021-05-17T14:55:00.000Z","2021-05-18T14:55:00.000Z","2021-05-19T14:55:00.000Z","2021-05-20T14:55:00.000Z","2021-05-21T14:55:00.000Z","2021-05-24T14:55:00.000Z","2021-05-25T14:55:00.000Z","2021-05-26T14:55:00.000Z","2021-05-27T14:55:00.000Z","2021-05-28T14:55:00.000Z","2021-05-31T14:55:00.000Z","2021-06-01T14:55:00.000Z","2021-06-02T14:55:00.000Z","2021-06-03T14:55:00.000Z","2021-06-04T14:55:00.000Z","2021-06-07T14:55:00.000Z","2021-06-08T14:55:00.000Z","2021-06-09T14:55:00.000Z","2021-06-10T14:55:00.000Z","2021-06-11T14:55:00.000Z","2021-06-14T14:55:00.000Z","2021-06-15T14:55:00.000Z","2021-06-16T14:55:00.000Z","2021-06-17T14:55:00.000Z","2021-06-18T14:55:00.000Z","2021-06-21T14:55:00.000Z","2021-06-22T14:55:00.000Z","2021-06-23T14:55:00.000Z","2021-06-24T14:55:00.000Z","2021-06-25T14:55:00.000Z","2021-06-28T14:55:00.000Z","2021-06-29T14:55:00.000Z","2021-06-30T14:55:00.000Z","2021-07-01T14:55:00.000Z","2021-07-02T14:55:00.000Z","2021-07-05T14:55:00.000Z","2021-07-06T14:55:00.000Z","2021-07-07T14:55:00.000Z","2021-07-08T14:55:00.000Z","2021-07-09T14:55:00.000Z","2021-07-12T14:55:00.000Z","2021-07-13T14:55:00.000Z","2021-07-14T14:55:00.000Z","2021-07-15T14:55:00.000Z","2021-07-16T14:55:00.000Z","2021-07-19T14:55:00.000Z","2021-07-20T14:55:00.000Z","2021-07-21T14:55:00.000Z","2021-07-22T14:55:00.000Z","2021-07-23T14:55:00.000Z","2021-07-26T14:55:00.000Z","2021-07-27T14:55:00.000Z","2021-07-28T14:55:00.000Z","2021-07-29T14:55:00.000Z","2021-07-30T14:55:00.000Z","2021-08-02T14:55:00.000Z","2021-08-03T14:55:00.000Z","2021-08-04T14:55:00.000Z","2021-08-05T14:55:00.000Z","2021-08-06T14:55:00.000Z","2021-08-09T14:55:00.000Z","2021-08-10T14:55:00.000Z","2021-08-11T14:55:00.000Z","2021-08-12T14:55:00.000Z","2021-08-13T14:55:00.000Z","2021-08-16T14:55:00.000Z","2021-08-17T14:55:00.000Z","2021-08-18T14:55:00.000Z","2021-08-19T14:55:00.000Z","2021-08-20T14:55:00.000Z","2021-08-23T14:55:00.000Z","2021-08-24T14:55:00.000Z","2021-08-25T14:55:00.000Z","2021-08-26T14:55:00.000Z","2021-08-27T14:55:00.000Z","2021-08-30T14:55:00.000Z","2021-08-31T14:55:00.000Z","2021-09-01T14:55:00.000Z","2021-09-02T14:55:00.000Z","2021-09-03T14:55:00.000Z","2021-09-06T14:55:00.000Z","2021-09-07T14:55:00.000Z","2021-09-08T14:55:00.000Z","2021-09-09T14:55:00.000Z","2021-09-10T14:55:00.000Z","2021-09-13T14:55:00.000Z","2021-09-14T14:55:00.000Z","2021-09-15T14:55:00.000Z","2021-09-16T14:55:00.000Z","2021-09-17T14:55:00.000Z","2021-09-20T14:55:00.000Z","2021-09-21T14:55:00.000Z","2021-09-22T14:55:00.000Z","2021-09-23T14:55:00.000Z","2021-09-24T14:55:00.000Z","2021-09-27T14:55:00.000Z","2021-09-28T14:55:00.000Z","2021-09-29T14:55:00.000Z","2021-09-30T14:55:00.000Z","2021-10-01T14:55:00.000Z","2021-10-04T14:55:00.000Z","2021-10-05T14:55:00.000Z","2021-10-06T14:55:00.000Z","2021-10-07T14:55:00.000Z","2021-10-08T14:55:00.000Z","2021-10-11T14:55:00.000Z","2021-10-12T14:55:00.000Z","2021-10-13T14:55:00.000Z","2021-10-14T14:55:00.000Z","2021-10-15T14:55:00.000Z","2021-10-18T14:55:00.000Z","2021-10-19T14:55:00.000Z","2021-10-20T14:55:00.000Z","2021-10-21T14:55:00.000Z","2021-10-22T14:55:00.000Z","2021-10-25T14:55:00.000Z","2021-10-26T14:55:00.000Z","2021-10-27T14:55:00.000Z","2021-10-28T14:55:00.000Z","2021-10-29T14:55:00.000Z","2021-11-01T14:55:00.000Z","2021-11-02T14:55:00.000Z","2021-11-03T14:55:00.000Z","2021-11-04T14:55:00.000Z","2021-11-05T14:55:00.000Z","2021-11-08T14:55:00.000Z","2021-11-09T14:55:00.000Z","2021-11-10T14:55:00.000Z","2021-11-11T14:55:00.000Z","2021-11-12T14:55:00.000Z","2021-11-15T14:55:00.000Z","2021-11-16T14:55:00.000Z","2021-11-17T14:55:00.000Z","2021-11-18T14:55:00.000Z","2021-11-19T14:55:00.000Z","2021-11-22T14:55:00.000Z","2021-11-23T14:55:00.000Z","2021-11-24T14:55:00.000Z"] initial tz=America/Denver corrected tz=America/Denver start date/time=Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) start offset=-360 start date/time w tz =Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) event date=Wed Nov 25 2020 07:55:00 GMT-0700 (Mountain Standard Time) event offset=-420 hour=7 event date=Wed Nov 25 2020 07:55:00 GMT-0700 (Mountain Standard Time) offset adjust up 1 hour dst change adjustHours=1 duration=2700000 initial tz=America/Denver corrected tz=America/Denver start date/time=Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) start offset=-360 start date/time w tz =Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) event date=Thu Nov 26 2020 07:55:00 GMT-0700 (Mountain Standard Time) event offset=-420 hour=7 event date=Thu Nov 26 2020 07:55:00 GMT-0700 (Mountain Standard Time) offset adjust up 1 hour dst change adjustHours=1 duration=2700000 initial tz=America/Denver corrected tz=America/Denver start date/time=Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) start offset=-360 start date/time w tz =Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) event date=Fri Nov 27 2020 07:55:00 GMT-0700 (Mountain Standard Time) event offset=-420 hour=7 event date=Fri Nov 27 2020 07:55:00 GMT-0700 (Mountain Standard Time) offset adjust up 1 hour dst change adjustHours=1 duration=2700000 initial tz=America/Denver corrected tz=America/Denver start date/time=Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) start offset=-360 start date/time w tz =Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) event date=Mon Nov 30 2020 07:55:00 GMT-0700 (Mountain Standard Time) event offset=-420 hour=7 event date=Mon Nov 30 2020 07:55:00 GMT-0700 (Mountain Standard Time) offset adjust up 1 hour dst change adjustHours=1 duration=2700000
-
@BigSky You can limit the number of days in the future by setting the parameter maximumNumberOfDays to something like 30 which will fetch events occuring within the next month.
-
@Alvinger Ugh. Of course. I knew that. Limiting it to 3 days prevents it from hanging but it’s still saying “No upcoming events” when there should be.
Below is the beginning and the end of the log file - it looks like some of these events should be displaying.
> magicmirror@2.14.0-develop start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-11-25 13:47:38.222] [LOG] Starting MagicMirror: v2.14.0-develop [2020-11-25 13:47:38.248] [LOG] Loading config ... [2020-11-25 13:47:38.259] [LOG] Loading module helpers ... [2020-11-25 13:47:38.267] [LOG] No helper found for module: alert. [2020-11-25 13:47:38.556] [LOG] Initializing new module helper ... [2020-11-25 13:47:38.559] [LOG] Module helper loaded: updatenotification [2020-11-25 13:47:38.563] [LOG] No helper found for module: clock. [2020-11-25 13:47:39.427] [LOG] Initializing new module helper ... [2020-11-25 13:47:39.429] [LOG] Module helper loaded: calendar [2020-11-25 13:47:39.432] [LOG] No helper found for module: currentweather. [2020-11-25 13:47:39.434] [LOG] No helper found for module: weatherforecast. [2020-11-25 13:47:39.479] [LOG] Initializing new module helper ... [2020-11-25 13:47:39.480] [LOG] Module helper loaded: newsfeed [2020-11-25 13:47:39.481] [LOG] All module helpers loaded. [2020-11-25 13:47:39.686] [LOG] Starting server on port 8080 ... [2020-11-25 13:47:39.715] [LOG] Server started ... [2020-11-25 13:47:39.717] [LOG] Connecting socket for: updatenotification [2020-11-25 13:47:39.718] [LOG] Connecting socket for: calendar [2020-11-25 13:47:39.719] [LOG] Starting node helper for: calendar [2020-11-25 13:47:39.720] [LOG] Connecting socket for: newsfeed [2020-11-25 13:47:39.721] [LOG] Starting node helper for: newsfeed [2020-11-25 13:47:39.723] [LOG] Sockets connected & modules started ... [2020-11-25 13:47:40.178] [LOG] Launching application. [2020-11-25 13:47:44.284] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/MYCALENDARURLHERE/basic.ics - Interval: 300000 [2020-11-25 13:47:44.451] [LOG] Create new news fetcher for url: http://feeds.bbci.co.uk/sport/formula1/rss.xml - Interval: 300000 [2020-11-25 13:47:44.788] [INFO] Newsfeed-Fetcher: Broadcasting 12 items. start=Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) end=Thu Sep 03 2020 09:40:00 GMT-0600 (Mountain Daylight Time) between=Tue Nov 24 2020 17:00:00 GMT-0700 (Mountain Standard Time) to Fri Nov 27 2020 16:59:59 GMT-0700 (Mountain Standard Time) title=Academic Time dates=["2020-11-25T14:55:00.000Z","2020-11-26T14:55:00.000Z","2020-11-27T14:55:00.000Z"] initial tz=America/Denver corrected tz=America/Denver start date/time=Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) start offset=-360 start date/time w tz =Thu Sep 03 2020 08:55:00 GMT-0600 (Mountain Daylight Time) event date=Wed Nov 25 2020 07:55:00 GMT-0700 (Mountain Standard Time) event offset=-420 hour=7 event date=Wed Nov 25 2020 07:55:00 GMT-0700 (Mountain Standard Time) offset adjust up 1 hour dst change adjustHours=1 duration=2700000 . . . initial tz=America/Denver corrected tz=America/Denver start date/time=Thu Sep 03 2020 09:40:00 GMT-0600 (Mountain Daylight Time) start offset=-360 start date/time w tz =Thu Sep 03 2020 09:40:00 GMT-0600 (Mountain Daylight Time) event date=Thu Nov 26 2020 08:40:00 GMT-0700 (Mountain Standard Time) event offset=-420 hour=8 event date=Thu Nov 26 2020 08:40:00 GMT-0700 (Mountain Standard Time) offset adjust up 1 hour dst change adjustHours=1 duration=600000 initial tz=America/Denver corrected tz=America/Denver start date/time=Thu Sep 03 2020 09:40:00 GMT-0600 (Mountain Daylight Time) start offset=-360 start date/time w tz =Thu Sep 03 2020 09:40:00 GMT-0600 (Mountain Daylight Time) event date=Fri Nov 27 2020 08:40:00 GMT-0700 (Mountain Standard Time) event offset=-420 hour=8 event date=Fri Nov 27 2020 08:40:00 GMT-0700 (Mountain Standard Time) offset adjust up 1 hour dst change adjustHours=1 duration=600000 [2020-11-25 13:47:47.798] [INFO] Calendar-Fetcher: Broadcasting 10 events. [2020-11-25 13:47:56.453] [LOG] Shutting down server... [2020-11-25 13:47:56.456] [LOG] Stopping module helper: updatenotification [2020-11-25 13:47:56.464] [LOG] Stopping module helper: calendar [2020-11-25 13:47:56.469] [LOG] Stopping module helper: newsfeed
-
@BigSky I know, recurring events is not where the calendar module really shines…
There is work ongoing to address as many issues as possible. Could you provide an ICS-file that can be used for testing the above?