MagicMirror Forum
    • Aktuell
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Registrieren
    • Anmelden
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Sync private iCloud calendar with MagicMirror

    Geplant Angeheftet Gesperrt Verschoben Tutorials
    162 Beiträge 58 Kommentatoren 384.3k Aufrufe 65 Watching
    Lade mehr Beiträge
    • Älteste zuerst
    • Neuste zuerst
    • Meiste Stimmen
    Antworten
    • In einem neuen Thema antworten
    Anmelden zum Antworten
    Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
    • BehB Offline
      Beh @bgz
      zuletzt editiert von

      Hey, @bgz! No problem, I’m glad to help if I have time for that :)

      first: the path should be /home/pi/.vdirsyncer/config you forgot the slash after “pi”

      additionally, it seems, that the folder does not exist. Please make sure, that the folder .vdirsyncer exists in your user’s home directory. You can create it by typing mkdir .vdirsyncer when you are inside the home directory

      1 Antwort Letzte Antwort Antworten Zitieren 0
      • B Offline
        bgz
        zuletzt editiert von

        Hi Beh.

        For some reason I have no .vdirsyncer directory under /home/pi/

        Any ideas?

        Thanks for your patience.

        bgz
        0_1514055561829_23-12-2017 19-58-58.jpg

        BehB schwoediauerS 2 Antworten Letzte Antwort Antworten Zitieren 0
        • BehB Offline
          Beh @bgz
          zuletzt editiert von

          @bgz Please read answers carefully. If it doesn’t exist, just create it. I described the creation in my last answer.

          Mykle1M 1 Antwort Letzte Antwort Antworten Zitieren 2
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Beh
            zuletzt editiert von

            @Beh said in Sync private iCloud calendar with MagicMirror:

            Please read answers carefully

            Amen

            Create a working config
            How to add modules

            1 Antwort Letzte Antwort Antworten Zitieren 0
            • schwoediauerS Offline
              schwoediauer @Beh
              zuletzt editiert von schwoediauer

              @Beh Hi Beh, great work it’s a little bit tricky but it works fine on my side. One additional Information. I got an error by syncing after modification of an event on iCloud side. Therefore is necessary to modify the conflict_resolution in the config file as described here: https://vdirsyncer.pimutils.org/en/stable/config.html#pair-section

              I added this section in my configuration:

              CALDAV Sync

              [pair iCloud_to_MagicMirror]
              a = “Mirror”
              b = “iCloud”
              collections = [“65CFC60E-8888-4B7A-B8DB-0043A969A041”]
              conflict_resolution = “b wins”

              after first sync…

              pi@pi_mirror:/etc/systemd/user $ /usr/bin/vdirsyncer sync
              Syncing iCloud_to_MagicMirror/65CFC60E-8888-4B7A-B8DB-0043A969A041
              Doing conflict resolution for item 247C105F-156B-41DC-B1D6-BFDB7C753BDC…

              second sync imports the modified event in my .ics file

              have a nice Day!

              1 Antwort Letzte Antwort Antworten Zitieren 0
              • schwoediauerS Offline
                schwoediauer @bgz
                zuletzt editiert von

                @bgz Good morning Create an “hidden” folder by command mkdir .vdirsyncer, and check it by command ls - lisa

                B 1 Antwort Letzte Antwort Antworten Zitieren 0
                • R Offline
                  ribermon
                  zuletzt editiert von

                  Also you have to create first the file, it does not exist, so first create it following the path said by Beh and inside the folder create the file

                  1 Antwort Letzte Antwort Antworten Zitieren 0
                  • ildottoreI Offline
                    ildottore
                    zuletzt editiert von

                    @Beh: First I want to thank you for this tutorial! Great job!

                    It syncs my iCloud calender fine, but not birthdays which are placed from the contacts app.

                    Can someone advice me?

                    Thanks in advance!

                    BehB 1 Antwort Letzte Antwort Antworten Zitieren 0
                    • B Offline
                      bgz @schwoediauer
                      zuletzt editiert von

                      @schwoediauer

                      Thanks schwoediauer and the others.
                      I finally got it and it is up & syncing!!

                      1 Antwort Letzte Antwort Antworten Zitieren 0
                      • BehB Offline
                        Beh @ildottore
                        zuletzt editiert von

                        @ildottore I configured the syncer config to only synchronize calendar events with the property item_types = ["VEVENT"]. The CalDav function only supports the items like "VEVENT" and "VTODO".

                        I think, that iOS/macOS does not store the birthdays directly in the calendars but adds the birthdays via the Contacts.app to the Calendar.app.

                        Maybe you can achieve showing birthdays by syncing the contacts with vdirsyncer as described in the docs here and somehow extract the birthdays. But I think this would be quite costly…

                        Or you can use the MagicMirror module MMM-iCloud-Client maybe…

                        1 Antwort Letzte Antwort Antworten Zitieren 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 16
                        • 17
                        • 3 / 17
                        • Erster Beitrag
                          Letzter Beitrag
                        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