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.

    Office365 Calendar load error

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 1.4k 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.
    • F Offline
      fennemaj
      last edited by

      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: https://outlook.office365.com/owa/calendar/b518cb52b20249fda5231010ae758fd2@shop.com/fd2ad49bc3094612b60b2aad2874b0cc16806628755154814078/calendar.ics - Interval: 300000
      Create new news fetcher for url: http://feeds.feedburner.com/TechCrunch/ - 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: https://github.com/MichMich/MagicMirror/issues

      1 Reply Last reply Reply Quote 0
      • N Offline
        Nilnik Project Sponsor
        last edited by

        Hello, look at this link: https://github.com/MichMich/MagicMirror/wiki/Apple-Google-MicroSoft-Calendar-Support

        1 Reply Last reply Reply Quote 0
        • F Offline
          fennemaj
          last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • N Offline
            Nilnik Project Sponsor
            last edited by

            Glad to help, have a nice day

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