Read the statement by Michael Teeuw here.
MMM-CalDAV
- 
 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=password1Do you have any idea what I could try to do, to sync it? Thank you Tillmann 
- 
 @Tiller can you show any of the output from 
 npm startif using pm2 to autolaunch, then pm2 logs --lines=xxxx xxxx is the number of the most recent lines in the logs, default 15 note that the log data will have full urls for calendar , so this could expose info 
- 
 @Tiller said in MMM-CalDAV: CALDAV_SERVICE_USERNAME= 
 CALDAV_SERVICE_USERNAME=For SYNOLOGYSYNOLOGY_username=username1 
 SYNOLOGY_password=password1I think you may have confusing the username and password for the server and the module. SYNOLOGY_username=username1 SYNOLOGY_password=password1This is for your Synology Caldav Server, usually it is your account id/password to login Synology Server (Or Synology calendar account) CALDAV_SERVICE_USERNAME=username2 CALDAV_SERVICE_PASSWORD=password2This is a different thing. It is used for your MM calendar module. This module provide a secure calendar ics host by itself with this auth information. You should need to set your calendar config like this; // default calendar module. { module: "calendar", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "http://localhost:8080/CALDAV/SYNOLOGY_Family.ics", auth: { // REQUIRED user: 'username2', // <= used here (CALDAV_SERVICE_USERNAME) pass: 'password2', // <= used here (CALDAV_SERVICE_PASSWORD) method: 'basic' } }, ...
- 
 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 passwordBut 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? 
- 
 @Tiller if you are not using pm2 then the errors would be shown where you do npm start 
- 
 @Tiller no reinstall can you show us the new url(#2) in config.js, 
 assume you are still using the env variables
- 
 @Tiller 
 CalDAVis different to generalicshosting.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? 
- 
 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 :) 
- 
 https://github.com/MMRIZE/MMM-CalDAV/wiki - Install
 cd <Your MagicMirror directory>/modules git clone https://github.com/MMRIZE/MMM-CalDAV cd MMM-CalDAV npm install- There would be .env(It would be hidden, so you should check it withls -alor equivalent for your environment/OS)
 
 If not there, copy it from env.examplecp env.example .env- 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.Applicationas URL so you can open it on the browser.
 You will see something like this. 
 - Get the CadDAV account. Copy or memo the URL. Usually URL will have http(s)://<IP_OR_URL>:<PORT_5000_OR_5001>/caldav/format.
 
 - 
Back to the terminal. Open the .envfile with your favourite editor. Then, fulfil these lines.
 
- 
Then configure the MMM-CalDAVmodule and thecalendarmodule like this.
 
 Carefully See the configuration of the calendarmodule.- 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 servicedirectory like these;
 I have two calendars, My Calendarandtest, so there would be 2 hidden ics files generated,service/.SYNOLOGY_My_20Calendar.icsandservice/.SYNOLOGY_test.ics.But the real URL consumed by the calendarmodule would behttp://localhost:8080/CALDAV/SYNOLOGY_test.ics, don’t be confused.- Rerun the MM again. Now on the screen, your hosting calendar will be served.
 
 
- 
 @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. 
