• 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.

Maximum File Size of ics FIle?

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 2 Posters 4.0k Views 2 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.
  • N Offline
    ninjabreadman @Stef
    last edited by ninjabreadman Feb 1, 2018, 1:05 PM Feb 1, 2018, 3:54 AM

    @Stef Just checked, and my largest calendar is 425Kb, so I can’t say what is “too big”.

    Is this from an online service like Google or Outlook? You may be able to use query parameters to specify start/end dates (edit: more detailed description and API links here) for your query to return fewer results. If not, apparently some CalDAV servers (like DAVDroid) also allow you to pass parameters for start/end dates for the calendar. You can then create a query to (e.g.) only return events for this month and next.

    Alternatively, you might instead look at this post. You may have to change the config for whatever service you’re using, but in vdirsyncer you can set start_date and end_date options which should slice your calendar into something reasonable that you can then serve locally from your Pi. It’s not as simple as pointing a module at a URL, but once set up with a cron job should be pretty reliable.

    Problem with config or JavaScript? Copy/paste it into JSHint.
    Check out the detailed walkthroughs on install, config, modules, etc.

    1 Reply Last reply Reply Quote 0
    • S Offline
      Stef
      last edited by Stef Feb 2, 2018, 8:33 PM Feb 2, 2018, 8:33 PM

      @ninjabreadman (nice name btw)
      Thanks for your headsup.
      Yes this is directly from Google.
      Unfortuantley, adding the start/end dates won’t work. It seems to me, that i have to make my calendar public, in order to use this… and i do not want this.

      I’ll try to find the time to check out your other Hint with vdirsyncer. Looks easy enough.

      I’ll keep you posted!

      Thanks and a nice weekend

      1 Reply Last reply Reply Quote 0
      • S Offline
        Stef
        last edited by Feb 3, 2018, 9:09 PM

        Ok… I am stuck…

        The Google API creation wasn’t a problem, and installing the vdirsyncer worked well also.

        But now i am supposed to create a conifg file in ~/.vdirsyncer/config - but i get an error everytime, that this File or Folder can’t be found…

        If i run ls -l in usr/bin, i get the following output:
        lrwxrwxrwx 1 root root 30 Feb 3 21:32 vdirsyncer -> /home/pi/.local/bin/vdirsyncer

        So… it is an folder… but why can’t i access it??
        Am i missing something?

        thanks!

        N 1 Reply Last reply Feb 3, 2018, 9:17 PM Reply Quote 0
        • N Offline
          ninjabreadman @Stef
          last edited by ninjabreadman Feb 3, 2018, 9:17 PM Feb 3, 2018, 9:17 PM

          @Stef You first need to create the config file (i.e. via touch):

          touch ~/.vdirsyncer/config
          nano ~/.vdirsyncer/config
          

          Yes, .vdirsyncer exists, but config doesn’t (yet).

          Problem with config or JavaScript? Copy/paste it into JSHint.
          Check out the detailed walkthroughs on install, config, modules, etc.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Stef
            last edited by Feb 3, 2018, 9:18 PM

            Yes i know :(
            But everytime i enter

            touch ~/.vdirsyncer/config

            i get, that it can’t find the directory…
            (" touch: ‘/home/pi/.vdirsyncer/config’ kann nicht ber▒hrt werden: Datei oder Verzeichnis nicht gefunden")

            N 1 Reply Last reply Feb 3, 2018, 9:25 PM Reply Quote 0
            • N Offline
              ninjabreadman @Stef
              last edited by ninjabreadman Feb 3, 2018, 9:25 PM Feb 3, 2018, 9:25 PM

              @Stef Ah, i think you have the symlink to vdirsyncer but not the hidden folder, .vdirsyncer (in your home folder) for config options.

              Type mkdir ~/.vdirsyncer then try again to create the config file.

              Problem with config or JavaScript? Copy/paste it into JSHint.
              Check out the detailed walkthroughs on install, config, modules, etc.

              1 Reply Last reply Reply Quote 0
              • S Offline
                Stef
                last edited by Feb 3, 2018, 9:53 PM

                YES! Thanks!
                I didn’t realised that…

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Stef
                  last edited by Feb 5, 2018, 9:23 PM

                  Uhoh… i almost forgot:
                  It all works like a charme now!

                  Thank you @ninjabreadman!

                  …Maybe i will write a litlle howto… but after all it was pretty straight forward.

                  This Thread can be closed now.

                  N 1 Reply Last reply Feb 6, 2018, 1:23 AM Reply Quote 1
                  • N Offline
                    ninjabreadman @Stef
                    last edited by Feb 6, 2018, 1:23 AM

                    @Stef That’s awesome, congrats. Thanks for letting us know!

                    If anything, comment on @Beh’s post with any edits or additions you suggest to help others.

                    Cheers!

                    Problem with config or JavaScript? Copy/paste it into JSHint.
                    Check out the detailed walkthroughs on install, config, modules, etc.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      6/10
                      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