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 11.7k 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 @cohron
      last edited by

      @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 Reply Quote 0
      • C Offline
        cohron @hermpi
        last edited by

        @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

          @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 Reply Quote 0
          • H Offline
            hermpi @cohron
            last edited by

            @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

              @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 Reply Quote 0
              • C Offline
                cohron @hermpi
                last edited by

                @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 Reply Quote 0
                • H Offline
                  hermpi @cohron
                  last edited by

                  @cohron Everything works fine now thanks to: https://github.com/MichMich/MagicMirror/pull/875

                  cheers!

                  bheplerB 1 Reply Last reply Reply Quote 0
                  • bheplerB Offline
                    bhepler Module Developer @hermpi
                    last edited by

                    @hermpi Curious. I dropped those changes into my mirror and it didn’t resolve the problem at all. Hrm.

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      hermpi @bhepler
                      last edited by

                      @bhepler Oke first off all, sorry for my late reaction I was luckily enough to have a long vacation… :) I finally finished the housing of the mirror and planning to fasten it in my bedroom today. The last time I checked (3 days ago) my office 365 calendar runs just fine. Maybe you cant make an test appointment in your agenda and DM me the Ical file so I can check how my MM response to your generated Ical file.

                      bheplerB 1 Reply Last reply Reply Quote 0
                      • bheplerB Offline
                        bhepler Module Developer @hermpi
                        last edited by

                        @hermpi Will do. I’ll try to get that file to you this evening. Thanks.

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