MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bougle
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 0

    bougle

    @bougle

    1
    Reputation
    1
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    bougle Unfollow Follow

    Best posts made by bougle

    • RE: I can't for the love of god understand what's wrong with my config

      UPDATE!!

      Today, I re-ran

      vdirsyncer discover
      vdirsyncer sync
      

      And was able to sync with the calendar and it works!! I am not exactly sure why but I did perform a iCloud sync too earlier.

      Thanks @chrisfr1976 and @sdetweil for your help:)

      posted in Tutorials
      B
      bougle

    Latest posts made by bougle

    • RE: I can't for the love of god understand what's wrong with my config

      UPDATE!!

      Today, I re-ran

      vdirsyncer discover
      vdirsyncer sync
      

      And was able to sync with the calendar and it works!! I am not exactly sure why but I did perform a iCloud sync too earlier.

      Thanks @chrisfr1976 and @sdetweil for your help:)

      posted in Tutorials
      B
      bougle
    • RE: I can't for the love of god understand what's wrong with my config

      @sdetweil
      Sorry for the late reply. Super swamped because of university.

      here is the log:

      [2024-11-09 10:34:54.714] [INFO]  Checking git for module: MMM-CalendarExt3Agenda 
      [2024-11-09 10:34:55.000] [INFO]  Calendar-Fetcher: Broadcasting 0 events from http://0.0.0.0:8080/modules/calendars/9F91CE4D-8088-4518-9239-C4FCC3DA0EC4.ics. 
      [2024-11-09 10:34:55.041] [INFO]  Calendar-Fetcher: Broadcasting 0 events from http://0.0.0.0:8080/modules/calendars/D8CC2057-AD72-45D1-9AC7-942E8C2A5DD1.ics. 
      [2024-11-09 10:34:55.055] [INFO]  Calendar-Fetcher: Broadcasting 0 events from http://0.0.0.0:8080/modules/calendars/1AAA8AEA-457E-487D-92E2-3060BF33C468.ics. 
      

      It shows that there are 0 events. And btw, the .ics files are completely empty.

      posted in Tutorials
      B
      bougle
    • RE: I can't for the love of god understand what's wrong with my config

      @chrisfr1976 Thanks for the suggestion. I will try it out today and report back.

      posted in Tutorials
      B
      bougle
    • RE: I can't for the love of god understand what's wrong with my config

      @sdetweil Thank you for your reply.

      Yes I do already have all the three .ics files in

      ~/MagicMirror/modules/calendars
      
      posted in Tutorials
      B
      bougle
    • I can't for the love of god understand what's wrong with my config

      Re: Sync private iCloud calendar with MagicMirror

      I followed this tutorial and was able to install and add everything as instructed (not without any issues but yes). I added the .ics file links to the calendar module in the config file but it just shows that there are no events.

      I am relatively new to this and have no clue what am I doing wrong. I am able to discover and sync vdirsyncer. I do not get any errors. Could someone please help me out here?

      I have attached my config file.

      let config = {
              address: "localhost",   // Address to listen on, can be:
                                                              // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                                              // - another specific IPv4/6 to listen on a specific interface
                                                              // - "0.0.0.0", "::" to listen on any interface
                                                              // Default, when address config is left out or empty, is "localhost"
              port: 8080,
              basePath: "/",  // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
                                                                              // you must set the sub path here. basePath must end with a /
              ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],  // Set [] to allow all IP addresses
                                                                              // or add a specific IPv4 of 192.168.1.5 :
                                                                              // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                                                                              // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                                                                              // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
              useHttps: false,                        // Support HTTPS or not, default "false" will use HTTP
              httpsPrivateKey: "",    // HTTPS private key path, only require when useHttps is true
              httpsCertificate: "",   // HTTPS Certificate path, only require when useHttps is true
      
              language: "en",
              locale: "en-US",
              logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
              timeFormat: 24,
              units: "metric",
      
              modules: [
                      {
                              module: "alert",
                      },
                      {
                              module: "updatenotification",
                              position: "top_bar"
                      },
                      {
                              module: "clock",
                              position: "top_left"
                      },
                      {
                              module: "calendar",
                              position: "top_left",
                              config: {
                                      broadcastPastEvents: true, // <= IMPORTANT to see past events
                                       calendars: [
                                         {
                                           url: "http://localhost:8080/modules/calendars/D8CC2057-AD72-45D1-9AC7-942E8C2A5DD1.ics",
                                           name: "errinerungen", // <-- specify calendar name
                                           color: "skyblue", // <-- if you don't want to get color, just remove this line.
                                           broadcastPastEvents: true, // <-- need to broadcast past events
                                           maximalNumberOfDays: 30, // <-- how old events would be broadcasted
                                           maximumEntries: 100, // <-- assign enough number to prevent truncating new events by old events.
                                           symbol: 'camera', // <-- when you want to display simbol. If you don't want, just set as `symbol:[],`
                                         },
                                         {
                                                      name: "privat",
                                                      symbol: "calendar-check",
                                                      url: "http://localhost:8080/modules/calendars/9F91CE4D-8088-4518-9239-C4FCC3DA0EC4.ics",
                                                      color: "red"
                                         },
                                         {
                                                      name: "arbeit",
                                                      symbol: "calendar-check",
                                                      url: "http://localhost:8080/modules/calendars/1AAA8AEA-457E-487D-92E2-3060BF33C468.ics",
                                                      color: "purple"
                                         }
                                      ]
                              }
                      },
                      {
                              module: "MMM-CalendarExt3Agenda",
                              position: "top_left",
                               header: "My Agenda",
                              config: {
                                 instanceId: "basicCalendar",
                                 locale: 'en-US',
                                 firstDayOfWeek: 1,
                                 startDayIndex: -1,
                                              endDayIndex: 10,
                                 calendarSet: ['errinerungen', 'privat', 'arbeit'],
      
                      }
                      },
                      /*{
                              module: "compliments",
                              position: "lower_third"
                      },*/
                      {
                              module: "weather",
                              position: "top_right",
                              config: {
                                      weatherProvider: "openmeteo",
                                      type: "current",
                                      lat: 52.2659,
                                      lon: 10.5267
                              }
                      },
                      {
                              module: "weather",
                              position: "top_right",
                              header: "Weather Forecast",
                              config: {
                                      weatherProvider: "openmeteo",
                                      type: "forecast",
                                      lat: 52.2659,
                                      lon: 10.5267
                              }
                      },
                      {
                              module: "newsfeed",
                              position: "bottom_bar",
                              config: {
                                     feeds: [
                                              {
                                                      title: "New York Times",
                                                      url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                                              }
                                      ],
                                      showSourceTitle: true,
                                      showPublishDate: true,
                                      broadcastNewsFeeds: true,
                                      broadcastNewsUpdates: true
                              }
                      },
              ]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") { module.exports = config; }
      

      vdirsyncer discover

      pi@raspberrypi:~ $ vdirsyncer discover
      Discovering collections for pair iCloud_to_MagicMirror
      Mirror:
        - "1AAA8AEA-457E-487D-92E2-3060BF33C468"
        - "9F91CE4D-8088-4518-9239-C4FCC3DA0EC4"
        - "D8CC2057-AD72-45D1-9AC7-942E8C2A5DD1"
      iCloud:
        - "1AAA8AEA-457E-487D-92E2-3060BF33C468" ("Arbeit")
        - "D8CC2057-AD72-45D1-9AC7-942E8C2A5DD1" ("Erinnerungen")
        - "9F91CE4D-8088-4518-9239-C4FCC3DA0EC4" ("Privat")
      Saved for iCloud_to_MagicMirror: collections = ["9F91CE4D-8088-4518-9239-C4FCC3DA0EC4", "D8CC2057-AD72-45D1-9AC7-942E8C2A5DD1", "1AAA8AEA-457E-487D-92E2-3060BF33C468"]
      

      vdirsyncer sync

      pi@raspberrypi:~ $ vdirsyncer sync
      Syncing iCloud_to_MagicMirror/9F91CE4D-8088-4518-9239-C4FCC3DA0EC4
      Syncing iCloud_to_MagicMirror/D8CC2057-AD72-45D1-9AC7-942E8C2A5DD1
      Syncing iCloud_to_MagicMirror/1AAA8AEA-457E-487D-92E2-3060BF33C468
      
      posted in Tutorials
      B
      bougle