• 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 367.3k 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.
  • S Offline
    spesh
    last edited by Oct 21, 2017, 9:26 PM

    Does this allow the option for different icons for different calenders? I’m just starting to build mine and would like to sync two seperate iCloud calenders and have them display with different icons/colours

    B 1 Reply Last reply Oct 22, 2017, 12:52 AM Reply Quote 0
    • B Offline
      Beh @spesh
      last edited by Oct 22, 2017, 12:52 AM

      @spesh

      Yes, this should allow multiple coloured calendars.
      You just have to add the UUIDs for each calendar you want to sync to the collections array in your vdirsyncer config.
      This should create multiple .ics files. One for each calendar. Then you could add each calendar to your MagicMirror config and use the color option described in the default calendar module for your calendars. Just add the colored option to your “global” module config and add a color option to each calendar.

      A calendar config could look like this then (for “Calendar 1” and “Calendar 2” as described above):

      {
          module: 'calendar',
          position: 'top_left',   // This can be any of the regions. Best results in left or right regions.
          config: {
              colored: true,   // Activate coloring
              maximumNumberOfDays: 10,
              maximumEntries: 7,
              calendars: [
                      // "Calendar 1"
                      {
                              url: 'http://localhost:8080/modules/calendars/25CB285C-E163-4E0E-B420-C3FB469B7C00.ics',
                              symbol: 'calendar'
                              color: '#123456'   // Assign color
                      },
                      // "Calendar 2"
                      {
                              url: 'http://localhost:8080/modules/calendars/221FEE8-E8B4-4D07-9402-8638529919EC.ics',
                              symbol: 'calendar'
                              color: '#ABCDEF1'  // Assign color
                      }
              ]
          }
      },
      
      G A 2 Replies Last reply Jan 17, 2018, 7:25 PM Reply Quote 0
      • D Offline
        Doubleve
        last edited by Oct 22, 2017, 1:36 PM

        hello how do we get the links calendars icloud thank you

        B 1 Reply Last reply Oct 22, 2017, 1:40 PM Reply Quote 0
        • B Offline
          Beh @Doubleve
          last edited by Oct 22, 2017, 1:40 PM

          @Doubleve What do you mean?

          1 Reply Last reply Reply Quote 0
          • D Offline
            Doubleve
            last edited by Doubleve Oct 22, 2017, 1:54 PM Oct 22, 2017, 1:47 PM

            I will like my 3 calendars icloud but I do not see the links of the style
            https://p02calendars.icloud.com/published/2/xxxxxxxxxxxxxxxxxxxxxQhtoAvoFiIwGI1
            To have UUID

            B 1 Reply Last reply Oct 22, 2017, 1:52 PM Reply Quote 0
            • B Offline
              Beh @Doubleve
              last edited by Oct 22, 2017, 1:52 PM

              @Doubleve You don’t need these links, since vdircsyncer discovers your calendars automatically on iCloud and identifies them by their IDs.

              It is explained in the “Let vdirsyncer discover the collections and do the inital sync” section of the walkthrough.

              You mirror accesses the calendar saved to a file on your mirror.

              D 1 Reply Last reply Oct 22, 2017, 2:15 PM Reply Quote 0
              • D Offline
                Doubleve @Beh
                last edited by Oct 22, 2017, 2:15 PM

                @Beh error for discover

                Traceback (most recent call last):
                File “/usr/bin/vdirsyncer”, line 7, in
                from vdirsyncer.cli import main
                ImportError: No module named ‘vdirsyncer’

                B F 2 Replies Last reply Oct 22, 2017, 2:22 PM Reply Quote 0
                • B Offline
                  Beh @Doubleve
                  last edited by Oct 22, 2017, 2:22 PM

                  @Doubleve Did you change the first line of the file to #!/usr/bin/python3 ?

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Doubleve
                    last edited by Doubleve Oct 22, 2017, 3:41 PM Oct 22, 2017, 2:24 PM

                    everything is good

                    B 1 Reply Last reply Oct 22, 2017, 3:42 PM Reply Quote 0
                    • L Offline
                      l0cal
                      last edited by Oct 22, 2017, 3:34 PM

                      That sounds good for me. Does it work with reminders on the same way?

                      B S 2 Replies Last reply Oct 22, 2017, 3:44 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 16
                      • 17
                      • 1 / 17
                      1 / 17
                      • First post
                        6/162
                        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