• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 16.7k 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.
  • S Offline
    sdetweil @caw
    last edited by Sep 4, 2024, 6:08 PM

    @caw because the ics generated by MMM-Caldav is only needed on this same machine I would use

    http://localhost:mmport/CALDAV

    in the calendar module.

    I am guessing your cert is connected to your internet IP address (ISP router)
    which is then port forwarded to the MM machine…

    this is an external (from MM’s perspective) request

    MM is configured (be default) to be a closed system on the wall, not allowing any external systems to request the MM page (external means outside the machine MM is running on)

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • C Offline
      caw @sdetweil
      last edited by Sep 4, 2024, 10:07 PM

      @sdetweil i searched for a guide to get the Khassel container running on a Synology NAS but didn’t found anything about it. I tried it by my own but did not work. Do you have a clue how to get it on the Docker on a Synology NAS?

      S 1 Reply Last reply Sep 4, 2024, 10:12 PM Reply Quote 0
      • S Offline
        sdetweil @caw
        last edited by sdetweil Sep 4, 2024, 10:14 PM Sep 4, 2024, 10:12 PM

        @caw my older 416j only has 512mb storage, not enough room to run docker things

        but docker is docker. i thought he specified a compose or command line

        see this
        https://forum.magicmirror.builders/topic/18952/docker-install-on-synology-nas

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Sep 5, 2024, 8:59 PM Reply Quote 0
        • C Offline
          caw @sdetweil
          last edited by Sep 5, 2024, 8:59 PM

          @sdetweil @MMRIZE

          so i got the khassel image running and i think the calendars are found but i get an error:

          [2024-09-05 22:42:56.488] [ERROR] Error: EACCES: permission denied, open ‘/opt/magic_mirror/modules/MMM-CalDAV/service/.SYNOLOGY_Familien_20Kalender.ics’
          2024/09/05 22:42:56 stderr [2024-09-05 22:42:56.486] [ERROR] Whoops! There was an uncaught exception…

          do you have a clue how to fix this? im irritated by the “20” between Familien_20Kalender.ics thats no part of the calendar name…

          S 1 Reply Last reply Sep 5, 2024, 9:02 PM Reply Quote 0
          • S Offline
            sdetweil @caw
            last edited by Sep 5, 2024, 9:02 PM

            @caw 20 is typically part of a name with a space in it, %20

            also you have a . (dot) in front of SYNOLOGY_

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Sep 5, 2024, 9:33 PM Reply Quote 0
            • C Offline
              caw @sdetweil
              last edited by Sep 5, 2024, 9:33 PM

              @sdetweil

              and do you have any clue where the misstake is? and how can i fix it?

              S 1 Reply Last reply Sep 5, 2024, 10:35 PM Reply Quote 0
              • S Offline
                sdetweil @caw
                last edited by Sep 5, 2024, 10:35 PM

                @caw i am going to guess

                remove the dot in front of SYNOLOGY
                and in the MagicMirror config mke sure there is a space where you see the 20, or make it %20

                one change at a time

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Sep 5, 2024, 11:28 PM Reply Quote 0
                • C Offline
                  caw @sdetweil
                  last edited by Sep 5, 2024, 11:28 PM

                  @sdetweil i dont have a dot in front of the Prefix

                  module :“MMM-CalDAV”,
                  config: {
                  servers: [
                  {
                  envPrefix: “SYNOLOGY_”,

                  2024/09/06 01:23:15 stderr path: ‘/opt/magic_mirror/modules/MMM-CalDAV/service/.SYNOLOGY_Simon.ics’
                  2024/09/06 01:23:15 stderr syscall: ‘open’,
                  2024/09/06 01:23:15 stderr code: ‘EACCES’,
                  2024/09/06 01:23:15 stderr errno: -13,
                  2024/09/06 01:23:15 stderr at async saveIcs (/opt/magic_mirror/modules/MMM-CalDAV/node_helper.js:76:7) {
                  2024/09/06 01:23:15 stderr at async Object.writeFile (node:internal/fs/promises:1212:14)
                  2024/09/06 01:23:15 stderr at async open (node:internal/fs/promises:639:25)
                  2024/09/06 01:23:15 stderr [2024-09-06 01:23:15.709] [ERROR] Error: EACCES: permission denied, open ‘/opt/magic_mirror/modules/MMM-CalDAV/service/.SYNOLOGY_Simon.ics’
                  2024/09/06 01:23:15 stderr [2024-09-06 01:23:15.707] [ERROR] Whoops! There was an uncaught exception…

                  2024/09/06 01:23:14 stderr at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                  2024/09/06 01:23:14 stderr at NodeHelper.checkFetchStatus (/opt/magic_mirror/js/node_helper.js:110:9)
                  2024/09/06 01:23:14 stderr [2024-09-06 01:23:14.687] [ERROR] Calendar Error. Could not fetch calendar: http://localhost:8080/CALDAV/SYNOLOGY_Simon.ics Error: Not Found

                  2024/09/06 01:23:14 stdout [2024-09-06 01:23:14.671] [LOG] [CALDAV] /opt/magic_mirror/modules/MMM-CalDAV/service/.SYNOLOGY_Simon.ics is not found.

                  2024/09/06 01:23:14 stdout [2024-09-06 01:23:14.606] [LOG] Create new calendarfetcher for url: http://localhost:8080/CALDAV/SYNOLOGY_Simon.ics - Interval: 3600000
                  2024/09/06 01:23:14 stdout [2024-09-06 01:23:14.539] [LOG] [CALDAV] Fetching SYNOLOGY_ : caldav …

                  S M K 3 Replies Last reply Sep 5, 2024, 11:54 PM Reply Quote 0
                  • S Offline
                    sdetweil @caw
                    last edited by sdetweil Sep 6, 2024, 10:29 AM Sep 5, 2024, 11:54 PM

                    @caw said in MMM-CalDAV:

                    @sdetweil i dont have a dot in front of the Prefix

                    module :“MMM-CalDAV”,
                    config: {
                    servers: [
                    {
                    envPrefix: “SYNOLOGY_”,

                    2024/09/06 01:23:15 stderr path: ‘/opt/magic_mirror/modules/MMM-CalDAV/service/.SYNOLOGY_Simon.ics’
                    2024/09/06 01:23:15 stderr syscall: ‘open’,
                    2024/09/06 01:23:15 stderr code: ‘EACCES’,
                    2024/09/06 01:23:15 stderr errno: -13,
                    2024/09/06 01:23:15 stderr at async saveIcs (/opt/magic_mirror/modules/MMM-CalDAV/node_helper.js:76:7) {
                    2024/09/06 01:23:15 stderr at async Object.writeFile (node:internal/fs/promises:1212:14)
                    2024/09/06 01:23:15 stderr at async open (node:internal/fs/promises:639:25)
                    2024/09/06 01:23:15 stderr [2024-09-06 01:23:15.709] [ERROR] Error: EACCES: permission denied, open ‘/opt/magic_mirror/modules/MMM-CalDAV/service/.SYNOLOGY_Simon.ics’
                    2024/09/06 01:23:15 stderr [2024-09-06 01:23:15.707] [ERROR] Whoops! There was an uncaught exception…

                    i dont know what caldav wants in its setup,
                    sorry. you’ll have to wait for @MMRIZE to help

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MMRIZE @caw
                      last edited by Sep 6, 2024, 7:57 AM

                      @caw

                      [ERROR] Error: EACCES: permission denied, open ‘/opt/magic_mirror/modules/MMM-CalDAV/service/.SYNOLOGY_Simon.ics’

                      I’m not familiar with the Docker setting. Anyway, it seems to be a permission issue. The docker container creation and execution might be performed by different accounts. Or you may need proper permission for those files or directories. However, I have no idea of Docker environment, so that’s all I can say.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 5 / 10
                      5 / 10
                      • First post
                        49/93
                        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