MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

MMM-Calendar not showing calendar

  • Hi,

    I have the default MMM-Calendar module working fine with a Google ical link:

    url: "webcal://"

    I am now trying to view a CalDav calendar from NextCloud, with:

    url: "",
        auth: {
        user: 'USER',
        pass: 'PASSWORD',
        method: 'basic'

    As this does not work, I have exported/downloaded the Nextcloud CalDav calendar to a local .ics file:

    curl -L > /var/www/html/calendars/personal.ics
    chown www-data:www-data /var/www/html/calendars/personal.ics

    …but still cannot get it to display, using:

    url: "webcal://"

    I then tried this approach with the working Google calendar. I downloaded the Google basic.ics file, confirmed that it is accessible (via a web browser at, but disappointingly, MMM-Calendar cannot display it using:

    url: "webcal://"

    Is there anything obvious that I’m missing / should be doing?

    I’m trying to ditch Google and use my own servers, with Nextcloud providing the calendar, but can’t fathom why MMM-Calendar won’t take my Nextcloud link (CalDav being ?exported to .ics).

    In summary, my options appear to be to access direct the Nextloud calendar, or to download it and access it locally. Neither of these options seem to work; and accessing the working Google calendar, locally, does not work either, even though it is accessible by Apache.

    Please help… 😞

  • @castletonroad I’m not sure this will help, but the local mirror web server is not on port 80, but typically on 8080 (port setting in config.js)

    so, your url should be

    url: ""

    and the mirror web server base directory is the modules folder… so your file would need to be located in that directory tree somewhere

    I downloaded my calendar, and it works fine locally

              url: "http://localhost:8086/modules/cals/basic.ics"

    my mirror is running on port 8086.

  • @sdetweil

    Solved, thank you so much!

    Using port 8080, and placing the CalDav exported files (.ics format) in the …MagicMirror/modules/… tree is the answer.

    (Still unsure why I can’t view the CalDav directly, but I run an hourly script to download the calendars, so no real issue.)

    I am VERY happy! 🙂

    Thanks again.