Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED calendar *.ics file from local path

    Troubleshooting
    4
    9
    8238
    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.
    • C
      co8 last edited by

      Hi,
      Is it possible to use in config.js file a calendar from e.g. /home/…/birthdays.ics or something alike?
      I tried various things, but nothing worked yet.

      Any sugestions?

      1 Reply Last reply Reply Quote 0
      • MichMich
        MichMich Admin last edited by

        Officially it’s not supported. There might be a workaround, but I can’t help you with that.

        Of course you can always just put the local file behind a simple webserver to feed it using an URL.

        1 Reply Last reply Reply Quote 0
        • C
          co8 last edited by

          How should that look like?

          I tried it with my webserver on qnap nas. I copied the ics files into the web root folder and tried to access them as following

          https://serverip:8081/birthdays.ics

          but that didn’t work either.
          I couldn’t find a solution to access my owncloud calendars directly, so I have to extract them to a ics file and try to host them as that.

          1 Reply Last reply Reply Quote 0
          • MichMich
            MichMich Admin last edited by

            That should just work. Maybe there is an other issue with your calendar file or network.

            1 Reply Last reply Reply Quote 0
            • C
              co8 last edited by

              Well, I can access them with firefox and it shows me to open or download them.
              But it won’t work with mm2.

              1 Reply Last reply Reply Quote 0
              • S
                Shockwave last edited by Shockwave

                @co8
                Yes, I got it working after a bit of experimenting. It wouldn’t read the ics file from other places like /MagicMirror which I assumed to be the root of the webserver.

                I created a new directory in /MagicMirror/modules, named birthdays, and placed by birthdays.ics file in there.

                Then in my config I added a 2nd calendar:

                				{
                					symbol: 'birthday-cake',
                					url: 'webcal://localhost:8080/modules/birthdays/birthdays.ics'
                				}
                1 Reply Last reply Reply Quote 2
                • C
                  co8 last edited by

                  Thank you shockwave.

                  This works like a charm.

                  1 Reply Last reply Reply Quote 0
                  • C
                    co8 last edited by

                    How can I set the topic to solved?

                    1 Reply Last reply Reply Quote 0
                    • KirAsh4
                      KirAsh4 Moderator last edited by

                      I did it for you. For future reference, you will have to set the topic as a question first, then you can change it later to solved. On the bottom right of the posts, there are three dots in a vertical line. Click on that to change the topic to a question (which will mark it 'Unsolved'), then when you’re ready to change it, click on the three dots again and you’ll have an option to set it to 'Solved'.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy