Read the statement by Michael Teeuw here.
Sync private iCloud calendar with MagicMirror
-
Yes, this should allow multiple coloured calendars.
You just have to add the UUIDs for each calendar you want to sync to thecollections
array in yourvdirsyncer
config.
This should create multiple.ics
files. One for each calendar. Then you could add each calendar to your MagicMirror config and use thecolor
option described in the default calendar module for your calendars. Just add thecolored
option to your “global” module config and add acolor
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 } ] } },
-
hello how do we get the links calendars icloud thank you
-
@Doubleve What do you mean?
-
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 -
@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.
-
@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’ -
@Doubleve Did you change the first line of the file to
#!/usr/bin/python3
? -
everything is good
-
That sounds good for me. Does it work with reminders on the same way?
-
@Doubleve Hmmm…
Maybe you have to allow your localhost address to the MagicMirror
ipWhiteList
option in your config. Just addipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1"],
to your config right before themodules
option. Maybe the calendar module can not access the.ics
file if this is not allowed…