• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 11.9k 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 Aug 7, 2016, 5:23 PM

    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
    • M Offline
      MichMich Admin
      last edited by Aug 7, 2016, 5:26 PM

      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 Aug 7, 2016, 5:35 PM

        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
        • M Offline
          MichMich Admin
          last edited by Aug 7, 2016, 6:08 PM

          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 Aug 7, 2016, 6:44 PM

            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 Aug 8, 2016, 12:38 AM Aug 8, 2016, 12:37 AM

              @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 Aug 8, 2016, 4:51 AM

                Thank you shockwave.

                This works like a charm.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  co8
                  last edited by Aug 8, 2016, 7:31 PM

                  How can I set the topic to solved?

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    KirAsh4 Moderator
                    last edited by Aug 8, 2016, 8:11 PM

                    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
                    • 1 / 1
                    1 / 1
                    • First post
                      9/9
                      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