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

Sync private iCloud calendar with MagicMirror

Scheduled Pinned Locked Moved Tutorials
162 Posts 58 Posters 325.0k Views 65 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.
  • R Offline
    ribermon @Beh
    last edited by Nov 27, 2017, 11:25 PM

    @Beh I manage to discover the calendars from my second iCloud account but then I don’t manage to sync my calendars there, any idea, thanks

    B 1 Reply Last reply Nov 28, 2017, 1:07 PM Reply Quote 0
    • B Offline
      Beh @ribermon
      last edited by Beh Nov 28, 2017, 1:07 PM Nov 28, 2017, 1:07 PM

      @ribermon No I have no idea. But since this is actually a vdirsyncer-problem and has nothing to do with the mirror itself, I suggest you dig the vdirsyncer-Documentation:

      https://vdirsyncer.pimutils.org/en/stable/

      1 Reply Last reply Reply Quote 0
      • B Offline
        bgz
        last edited by Dec 22, 2017, 11:16 PM

        Hi Beh

        Sorry if I´m too newbie… I´m following your step-by step and I get stuck in one place…

        When creating a config file, I type:

         touch ~/.vdirsyncer/config
        

        and I get:
        Can´t do ‘touch’ on ‘/home/pi.vdirsyncer/config’: The file or directory doesn´t exist

        What am I doing wrong?

        Thanks.

        B 1 Reply Last reply Dec 22, 2017, 11:22 PM Reply Quote 0
        • B Offline
          Beh @bgz
          last edited by Dec 22, 2017, 11:22 PM

          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 Reply Last reply Reply Quote 0
          • B Offline
            bgz
            last edited by Dec 23, 2017, 6:59 PM

            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

            B S 2 Replies Last reply Dec 23, 2017, 7:13 PM Reply Quote 0
            • B Offline
              Beh @bgz
              last edited by Dec 23, 2017, 7:13 PM

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

              M 1 Reply Last reply Dec 23, 2017, 9:08 PM Reply Quote 2
              • M Offline
                Mykle1 Project Sponsor Module Developer @Beh
                last edited by Dec 23, 2017, 9:08 PM

                @Beh said in Sync private iCloud calendar with MagicMirror:

                Please read answers carefully

                Amen

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • S Offline
                  schwoediauer @Beh
                  last edited by schwoediauer Dec 27, 2017, 4:34 AM Dec 26, 2017, 5:41 AM

                  @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 Reply Last reply Reply Quote 0
                  • S Offline
                    schwoediauer @bgz
                    last edited by Dec 26, 2017, 5:47 AM

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

                    B 1 Reply Last reply Jan 4, 2018, 3:12 PM Reply Quote 0
                    • R Offline
                      ribermon
                      last edited by Dec 31, 2017, 9:30 AM

                      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 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 16
                      • 17
                      • 3 / 17
                      • 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