• 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.

Office 365 calendar issues

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 5 Posters 10.8k Views 5 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.
  • H Offline
    hermpi
    last edited by hermpi Apr 17, 2017, 9:02 PM Apr 17, 2017, 9:01 PM

    Hi all,
    I’m trying to add my private calendar feed from the office 365 calendar of my job. I successfully added my google calendar but with the office 365 from work I ran in to some issues.

    If I try to load in my main calendar named “agenda” the MagicMirror is constantly displaying loading. Then I added a new agenda and put in one appointment to test if this will work. The answers is not quite: It displayed the appointment but it says its ending within an Invalid date (see attached picture)
    0_1492462116526_test1.jpg

    The question is if there is something wrong with the ics generated by Office 365 for business? Does anyone managed to get his work-agenda up and running? Here is he code from my config file:

    {
    module: "calendar",
    position: "bottom_left",
    config: {
    calendars: [
    //{
    // url: 'https://calendar.google.com/calendar/ical/mailadres@gmail.com/private-string/basic.ics'
    //},
    {
    symbol: 'calendar',
    url: 'https://outlook.office365.com/owa/calendar/string@work.com/private-string/calendar.ics'
    },
    {
    symbol: 'calendar',
    url: 'https://outlook.office365.com/owa/calendar/string@work.com/private-string/calendar.ics'
    },
    ],
    }
    },
    
    1 Reply Last reply Reply Quote 0
    • C Offline
      cohron
      last edited by Apr 18, 2017, 4:43 PM

      I have my work calendar functioning properly. I believe this is where I got my link from. also make sure permissions are good.
      0_1492533744284_upload-1b76a225-5e5e-4f64-933a-9fb1e3546671

      H 1 Reply Last reply Apr 19, 2017, 7:17 AM Reply Quote 0
      • H Offline
        hermpi @cohron
        last edited by Apr 19, 2017, 7:17 AM

        @cohron Yeah that’s exactly the page were i generated my ICS with Full details in the permissions ;) Maybe it has something to do with the tasks in my agenda that returns weekly and are scheduled till infinity in the calendar.? This weekend I will troubleshoot the problem again and maybe i come to a answer why my calendar won’t load…

        C 1 Reply Last reply Apr 19, 2017, 11:22 AM Reply Quote 0
        • C Offline
          cohron @hermpi
          last edited by Apr 19, 2017, 11:22 AM

          @hermpi I have a few weekly and monthly and annual re-occurring meetings with no end date, they show up fine, I wouldnt think that is the issue. I notice your config is not populated, probably not neccessary but different than mine. Here is mine:

          config: {
          colored: true,
          maxTitleLength: 25,
          warpEvents: true,
          maximumEntries: 30,
          getRelative: 0,
          dateFormat: “ddd, MMM Do h:mm A”,
          timeFormat: “absolute”,
          urgency: 0,
          calendars: [
          {
          symbol: “bank”,
          color: “#00e5ee”, //work ical
          url: "https://outlook.office365.com/owa/…
          },
          {
          symbol: “heartbeat”,
          color: “#fa4616”, //Shelby UF ical
          url: "http://p07-calendarws.icloud.com/ca/…

          H 1 Reply Last reply Apr 19, 2017, 5:03 PM Reply Quote 0
          • H Offline
            hermpi @cohron
            last edited by Apr 19, 2017, 5:03 PM

            @cohron I just start up my PI and yes the calendar works partially… I don’t know if the reason is the deleting of the re-announcing tasks or there was something wrong with the server Sunday night. De strange thing is that most of my tasks show a invalid date error. Only the tasks that have the “whole day” option checked are displaying correctly. I don’t know if you familiar with ICS files but I think it has to do with these line of codes:

            // This works (Whole day checked) 
            DTSTART;VALUE=DATE:20170421
            DTEND;VALUE=DATE:20170423
            
            // This gives invalid date error 
            DTSTART;TZID="(UTC+01:00) Amsterdam, Berlijn, Bern, Rome, Stockholm, Wenen":2
             0170412T080000
            DTEND;TZID="(UTC+01:00) Amsterdam, Berlijn, Bern, Rome, Stockholm, Wenen":201
             70412T090000
            

            Could you check what is set for DTSTART and DTEND in your ICS file?

            C 2 Replies Last reply Apr 19, 2017, 6:24 PM Reply Quote 0
            • C Offline
              cohron @hermpi
              last edited by Apr 19, 2017, 6:24 PM

              @hermpi

              Oh, yes some of my tasks had the invalid date error, only 4 or 5 tasks though. It was only occurring on appointments that had the timezone showing. Unfortunately I already fixed it by removing the (show) timezones and resaving the appointment. Sorry didnt catch that earlier. I set up a test appointment and will look at the MM when I get home. I havent picked apart the Calendar MMM but im guessing you found the same bug i had. Wont know if i recreated the error until i get him and look at MM.

              Keep your “bad” ICS file for the programmers (or you) to test, recreate, and fix if you submit a bug report.

              0_1492625512666_upload-34952624-9688-450d-8dd1-228c1a1e4996

              0_1492626000390_upload-b53fa3a9-eb5a-4678-abe3-c9a1afa4d953

              0_1492626080044_upload-e7bc8dc2-946f-46fa-a163-a11fe089a2d2

              1 Reply Last reply Reply Quote 0
              • C Offline
                cohron @hermpi
                last edited by Apr 20, 2017, 7:33 PM

                @hermpi
                Well i checked my calendar and everything looked fine. I havent been able to get the invalid date to show up again (even with timezones enabled/showing). I’d say open a bug report and send them your ICS file.

                should be fine really.

                H 2 Replies Last reply Apr 21, 2017, 4:12 PM Reply Quote 0
                • H Offline
                  hermpi @cohron
                  last edited by Apr 21, 2017, 4:12 PM

                  @cohron Oke, I will do that. I just checked my own calendar again and only if I save the appointment in timezone “Coordinated Universal Time” it works. Or if I set my overall timezone to UTC… But that’s not a solution because then everything is set to that time and I’m living in the UTC+1 zone.

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hermpi @cohron
                    last edited by Apr 21, 2017, 5:58 PM

                    @cohron (#*$&,. I just figured out that this only happens when you set to a time zone with multiple cities… So i can set the timezone to a same one as I live in with only one name like: “UTC+01:00 Windhoek”. I ask if this is a problem we/they need to fix in MM or that our big friend from Microsoft had to set up there ical files right. I keep you updated ;)

                    C 1 Reply Last reply Apr 21, 2017, 6:57 PM Reply Quote 0
                    • C Offline
                      cohron @hermpi
                      last edited by Apr 21, 2017, 6:57 PM

                      @hermpi said in Office 365 calendar issues:

                      is a problem we/they need to fix in MM

                      I’m going to guess MM is going to have to fix their parsing, it appears to be a well formed ics file (or at least the portion you and i looked at), I doubt we are going to get Microsoft to change.

                      H 1 Reply Last reply May 8, 2017, 10:31 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/16
                        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