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.

    calendar *.ics file from local path

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 4 Posters 12.7k Views 4 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.
    • C Offline
      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
      • MichMichM Offline
        MichMich
        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 Offline
          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
          • MichMichM Offline
            MichMich
            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 Offline
              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 Offline
                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 Offline
                  co8
                  last edited by

                  Thank you shockwave.

                  This works like a charm.

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

                    How can I set the topic to solved?

                    1 Reply Last reply Reply Quote 0
                    • KirAsh4K Offline
                      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'.

                      A Life? Cool! Where can I download one of those from?

                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • 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