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.
    • S Offline
      sdetweil @Tiller
      last edited by

      @Tiller if you are not using pm2 then the errors would be shown where you do npm start

      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 no reinstall

        can you show us the new url(#2) in config.js,
        assume you are still using the env variables

        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 @Tiller
          last edited by

          @Tiller
          CalDAV is different to general ics hosting.

          Usually, the URL of Synology CalDAV accessing would be;

          https://IP_OR_URL:5001/caldav/
          http://IP_OR_URL:5000/caldav/
          

          Anyway, there would be some log to diagnosis. Can you show the frontend and backend logs?

          C T 2 Replies Last reply Reply Quote 0
          • C Offline
            caw @MMRIZE
            last edited by

            @MMRIZE

            Hi,

            i´ve got the same problem. I´m completly new to magicmirror but the integration of my Synology CalDAV should be the main part of it.

            i´ve tried several combinations and addresses but no one worked for me.

            maybe its possible to get a “step - by - step” Tutorial.

            hopefully you can help :)

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE @caw
              last edited by

              @caw

              https://github.com/MMRIZE/MMM-CalDAV/wiki

              1. Install
              cd <Your MagicMirror directory>/modules
              git clone https://github.com/MMRIZE/MMM-CalDAV
              cd MMM-CalDAV
              npm install
              
              1. There would be .env (It would be hidden, so you should check it with ls -al or equivalent for your environment/OS)
                image

              If not there, copy it from env.example

              cp env.example .env
              
              1. Open your Synology Calendar. You can open it from your Synology Package Center Or installed app lists. Usually it will have http(s)://<IP_OR_URL>:<PORT(5000 or 5001)>/?launchApp=SYNO.Cal.Application as URL so you can open it on the browser.

              You will see something like this.
              image

              1. Get the CadDAV account. Copy or memo the URL. Usually URL will have http(s)://<IP_OR_URL>:<PORT_5000_OR_5001>/caldav/ format.
                image
              image
              1. Back to the terminal. Open the .env file with your favourite editor. Then, fulfil these lines.
                image

              2. Then configure the MMM-CalDAV module and the calendar module like this.
                image

              Carefully See the configuration of the calendar module.

              1. Then run the MagicMirror.
                At the very first execution, some time would be needed for CalDAV calendars to be reflected on the screen. So, just stop the MagicMirror.

              If CalDAV calendars would be success to be derived, the log will say something like this.

              [2024-09-03 22:52:01.461] [LOG]   [CALDAV] File: SYNOLOGY_test.ics is refreshed.
              

              And there be files to be hosted in the service directory like these;
              image

              I have two calendars, My Calendar and test, so there would be 2 hidden ics files generated, service/.SYNOLOGY_My_20Calendar.ics and service/.SYNOLOGY_test.ics.

              But the real URL consumed by the calendar module would be http://localhost:8080/CALDAV/SYNOLOGY_test.ics, don’t be confused.

              1. Rerun the MM again. Now on the screen, your hosting calendar will be served.
                image
              C 1 Reply Last reply Reply Quote 0
              • C Offline
                caw @MMRIZE
                last edited by

                @MMRIZE said in MMM-CalDAV:

                Hi thank you very much for the really fast supply.

                the strange thing is that i configured it like you said. but if im running it the magicmirror it is showing me that the “Site is not reachable” (The Synology default page)

                if im running MM just without the CALDAV Module it´s working.

                I´m running the MM in Docker on the Synology.

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @caw
                  last edited by

                  @caw could you show me the capture of error message to know what happened?

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    caw @MMRIZE
                    last edited by sdetweil

                    @MMRIZE if i´m adding the

                     {
                    		module :"MMM-CalDAV",
                    		config: {
                    			servers: [
                    				{
                    					envPrefix: "SYNOLOGY_",
                    					serverUrl: "https://myownsynologyadress.de/caldav/",
                    			],
                    		},
                    	},
                    

                    following error occurs

                    67dabd85-84e5-4b0a-bd0e-749d4ba4e3c6-grafik.png

                    M S 3 Replies Last reply Reply Quote 0
                    • M Offline
                      MMRIZE @caw
                      last edited by

                      @caw said in MMM-CalDAV:

                      following error occurs

                      67dabd85-84e5-4b0a-bd0e-749d4ba4e3c6-grafik.png

                      ???
                      I cannot understand the context. What did you do? The image seems like that something on the browser.

                      Does your MagicMirror is executed on the Synology NAS with Docker?

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        MMRIZE @caw
                        last edited by

                        @caw said in MMM-CalDAV:

                        {
                        module :“MMM-CalDAV”,
                        config: {
                        servers: [
                        {
                        envPrefix: “SYNOLOGY_”,
                        serverUrl: “https://myownsynologyadress.de/caldav/”,
                        ],
                        },
                        },

                        And you’ve missed a closing brace in your code.

                         {
                        		module :"MMM-CalDAV",
                        		config: {
                        			servers: [
                        				{
                        					envPrefix: "SYNOLOGY_",
                        					serverUrl: "https://myownsynologyadress.de/caldav/",
                                                         }, // <-- HERE
                        			],
                        		},
                        	},
                        
                        C 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 9
                        • 10
                        • 3 / 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