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.

    MMM-CalDAV

    Scheduled Pinned Locked Moved Productivity
    93 Posts 9 Posters 27.3k Views 8 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.
    • T Offline
      Tiller
      last edited by

      Hello and a happy new year to you all.

      I checked the URL, tried different versions. Used the tried the same URL I use on my smartphone (the url is working), but always get the same error.

      I don’t know what to do or try.
      I checked the firewall and port settings on my synology, but still the same error.

      Do you have any other ideas?

      Best
      Tillmann

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Tiller
        last edited by

        @Tiller can you post your config… xx out the personal part of your source calendar

        use the code block wrapper on the config post here

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          Tiller @sdetweil
          last edited by

          @sdetweil

          Hi Sam,

          here is my config.

          Thx

          /* Config Sample
           *
           * For more information on how you can configure this file
           * see https://docs.magicmirror.builders/configuration/introduction.html
           * and https://docs.magicmirror.builders/modules/configuration.html
           *
           * You can use environment variables using a `config.js.template` file instead of `config.js`
           * which will be converted to `config.js` while starting. For more information
           * see https://docs.magicmirror.builders/configuration/introduction.html#enviromnent-variables
           */
          let config = {
                  address: "0.0.0.0",     // 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: [],        // 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: "MMM-CalDAV",
                                  config: {
                                          servers: [
                                          {
                                           accountType: "caldav",
                                            envPrefix: "SYNOLOGY_",
                                           serverURL: "http://synology-ip/CalDav/",
                                          },
                                          ],
                                          },
                          },
                          {
                                  module: "alert",
                          },
                          {
                                  module: "updatenotification",
                                  position: "top_bar"
                          },
                          {
                                  module: "clock",
                                  position: "top_left"
                          },
                          {
                                  module: "calendar",
                                  header: "US Holidays",
                                  position: "top_left",
                                  config: {
                                          calendars: [
                                                  {
                                                          url: "http://localhost:8080/CALDAV/SYNOLOGY_Calendar.ics",
                                                          name: "Calendar",
                                                          auth: {
                                                                  user: 'username1',
                                                                  pass: 'password1',
                                                                  method: 'basic'
                                                          },
                                                  },
                                                  ],
                                          },
                          },
                          {
                                  module: "compliments",
                                  position: "lower_third"
                          },
                          {
                                  module: "weather",
                                  position: "top_right",
                                  config: {
                                          weatherProvider: "openmeteo",
                                          type: "current",
                                          lat: 51.31,
                                          lon: 7.28
                                  }
                          },
                          {
                                  module: "weather",
                                  position: "top_right",
                                  header: "Weather Forecast",
                                  config: {
                                          weatherProvider: "openmeteo",
                                          type: "forecast",
                                          lat: 51.31,
                                          lon: 7.28
                                  }
                          },
                          {
                                  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; }
          
          
          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @Tiller
            last edited by

            @Tiller thanks… just needed caldav and calendar

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Tiller
              last edited by

              @Tiller said in MMM-CalDAV:

              http://localhost:8080/CALDAV/SYNOLOGY_Calendar.ics

              if you open that on browser someplace it works??

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                Tiller @sdetweil
                last edited by

                @sdetweil

                No, it still doesn’t work. I checked the path of the .ics, which should be stored in /MagicMirror/MMM-CalDav/service/
                as a hidden file, but I can only find the placeholder.txt

                Tillmann

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Tiller
                  last edited by

                  @Tiller i do not know… sounds like the MMM-CalDav module didn’t mnake the conversion for some reason

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    Tiller @sdetweil
                    last edited by

                    @sdetweil

                    Hello,
                    it’s working now, but without the MMM-CalDAV module.
                    I checked the url I’m using on my phone and just added it to the standard calendar module and added a “.ics” at the end of the url. Now it’s working. I tried this before and it wasn’t working.
                    Now it is.
                    Thanks for your help and support.

                    Best
                    Tillmann

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Tiller
                      last edited by

                      @Tiller awesome!! thanks for the feedback

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 9 / 10
                      • 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