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 345.8k 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

      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

      BehB 1 Reply Last reply Reply Quote 0
      • BehB Offline
        Beh @spesh
        last edited by

        @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 Reply Quote 0
        • D Offline
          Doubleve
          last edited by

          hello how do we get the links calendars icloud thank you

          BehB 1 Reply Last reply Reply Quote 0
          • BehB Offline
            Beh @Doubleve
            last edited by

            @Doubleve What do you mean?

            1 Reply Last reply Reply Quote 0
            • D Offline
              Doubleve
              last edited by Doubleve

              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

              BehB 1 Reply Last reply Reply Quote 0
              • BehB Offline
                Beh @Doubleve
                last edited by

                @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 Reply Quote 0
                • D Offline
                  Doubleve @Beh
                  last edited by

                  @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’

                  BehB F 2 Replies Last reply Reply Quote 0
                  • BehB Offline
                    Beh @Doubleve
                    last edited by

                    @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

                      everything is good

                      BehB 1 Reply Last reply Reply Quote 0
                      • L Offline
                        l0cal
                        last edited by

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

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