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

    Posts

    Recent Best Controversial
    • RE: MMM-CalDAV

      @MMRIZE

      Hello again,
      sorry I had a lot of work at my job, but now I’m trying again to get this MM working.
      The sync to my Synology-Calendar still isn’t working.

      Here are my logs:

      pi@raspy:~ $ pm2 logs mm
      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm       |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      0|mm       |     at async davRequest (/home/pi/MagicMirror/modules/MMM-CalDAV/node_modules/tsdav/dist/tsdav.cjs.js:158:25)
      0|mm       |     at async fetchPrincipalUrl (/home/pi/MagicMirror/modules/MMM-CalDAV/node_modules/tsdav/dist/tsdav.cjs.js:1254:24)
      0|mm       |     at async createAccount (/home/pi/MagicMirror/modules/MMM-CalDAV/node_modules/tsdav/dist/tsdav.cjs.js:1307:31)
      0|mm       |     at async DAVClient.login (/home/pi/MagicMirror/modules/MMM-CalDAV/node_modules/tsdav/dist/tsdav.cjs.js:1659:15)
      0|mm       |     at async Fetcher.work (/home/pi/MagicMirror/modules/MMM-CalDAV/node_helper.js:89:7) {
      0|mm       |   [cause]: Error: getaddrinfo ENOTFOUND invalidcaldavserver.com
      0|mm       |       at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      0|mm       |     errno: -3008,
      0|mm       |     code: 'ENOTFOUND',
      0|mm       |     syscall: 'getaddrinfo',
      0|mm       |     hostname: 'invalidcaldavserver.com'
      0|mm       |   }
      0|mm       | }
      

      Probably some auth. problem?
      Maybe you got another idea.
      I’m running the MM on an Raspberry Pi Zero.

      Best
      Till

      posted in Productivity
      T
      Tiller
    • RE: MMM-CalDAV

      Thank you for your quick reply.

      @sdetweil I’m not using pm2 at the moment, but I could try to do it and check the logs.

      @MMRIZE sorry, my bad. I changed the password for the post, it’s correct in my .env but not working.

      I’m not exactly sure about the Synology url
      synology.com says I should use
      http://192.168.x.x:5000/caldav
      and than log in with my username and password

      But an older link is (seems there was an update)
      http://192.168.x.x:5000/caldav/username/ejialfjl/

      If I’m using the last one in the browser, it is downloading an .ics file.

      But it’s not working with both urls.

      Maybe I should try to reinstall everything?

      posted in Productivity
      T
      Tiller
    • RE: MMM-CalDAV

      @MMRIZE

      Hello I’m trying to sync my synology calendar to the MagicMirror calendar with the MMM_CalDAV module. Sadly it’s not working and I don’t know why. I tried different settings and everything I could find online.

      My config.js (without the standard stuff) looks like this:

      {
        module: "MMM-CalDAV", 
        config: {
          timeRangeStart: -30,
          servers: [
            { 
              envPrefix: "SYOLOGY_", 
              serverUrl: "http://192.168.xxx/caldav/",
              targets: ["family" ], 
        },
      },
      },
      
      
      {
        module: "calendar",
        position: "top_left",
        config: {
          servers: [
            {
              symbol: "calendar-check",
              url: "http://localhost:8080/CALDAV/SYNOLOGY_family.ics",
              auth: { 
                user: 'username1',
                pass: 'password1', 
                method: 'basic'
              }
            },
      

      The .env looks like this:

      CALDAV_SERVICE_USERNAME=
      CALDAV_SERVICE_USERNAME=
      
      ### For SYNOLOGY
      SYNOLOGY_username=username1
      SYNOLOGY_password=password1
      

      Do you have any idea what I could try to do, to sync it?

      Thank you

      Tillmann

      posted in Productivity
      T
      Tiller
    • 1
    • 2
    • 2 / 2