MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Office365 Calendar load error

  • I’m trying to configure MagicMirror and everything is working pretty well except I can’t get my Office365 calendar do load. I can confirm that the ICS is accessible and the link works with other similar solutions like Dakboard, but it’s not working with MagicMirror. Below is the response I get. I can get the default Holiday calendar working without any issue. Also, I’ve modified the link below slightly so my calendar isn’t broadcast to the world so the ICS link will most likely not work if you try and download it, but the actual link I’m using does work and downloads a functional ics file.

    Starting MagicMirror: v2.6.0
    Loading config …
    Loading module helpers …
    No helper found for module: alert.
    Initializing new module helper …
    Module helper loaded: updatenotification
    No helper found for module: clock.
    Initializing new module helper …
    Module helper loaded: calendar
    Initializing new module helper …
    Module helper loaded: newsfeed
    Initializing new module helper …
    Module helper loaded: MMM-Wallpaper
    Initializing new module helper …
    Module helper loaded: MMM-3Day-Forecast
    All module helpers loaded.
    Starting server on port 8080 …
    Server started …
    Connecting socket for: updatenotification
    Connecting socket for: calendar
    Starting node helper for: calendar
    Connecting socket for: newsfeed
    Starting module: newsfeed
    Connecting socket for: MMM-Wallpaper
    Starting node helper for: MMM-Wallpaper
    Connecting socket for: MMM-3Day-Forecast
    MMM-3Day-Forecast helper, started…
    Sockets connected & modules started …
    Launching application.
    Create new calendar fetcher for url: - Interval: 300000
    Create new news fetcher for url: - Interval: 300000
    Whoops! There was an uncaught exception…
    TypeError: curr.exdates[i].toISOString is not a function
    at Object.ical.objectHandlers.END (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:44:44)
    at Object.handleObject (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:267:41)
    at Object.parseICS (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/ical.js:308:20)
    at Request._callback (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:11:24)
    at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1157:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    If you think this really is an issue, please open an issue on GitHub:

  • Project Sponsor

  • Thanks for that reference. That worked. Basically use Microsoft Flow to sync your O365 calendar to a Google Calendar and then tie the Google Calendar into MM. It would be great if at some point in the future we could find a way to sort out the date format issue so the ICS link direct from O365 could work.

    Thanks again for the response and the tutorial!

  • Project Sponsor

    Glad to help, have a nice day

Log in to reply