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

CalDAV

Scheduled Pinned Locked Moved Troubleshooting
26 Posts 8 Posters 18.3k Views 8 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.
  • P Offline
    PointPubMedia
    last edited by Jul 31, 2016, 4:21 PM

    Hey guys… would like to be able to use CalDAV for the calendar module…

    1 Reply Last reply Reply Quote 0
    • M Offline
      magicsunday
      last edited by Dec 20, 2016, 9:24 PM

      If you are using the baikal calendar server (https://github.com/fruux/Baikal/releases) you could specify “?export” in you caldav calendar url to get the stuff exported as ICS which will work with the MagicMirror calendar module.

      1 Reply Last reply Reply Quote 1
      • P Offline
        poekel
        last edited by Mar 4, 2017, 2:45 PM

        Hi,
        I am using Baikal on my Synology and want to create an ics file of the data.
        Can you explain the ?export principle

        Thanx!

        B 1 Reply Last reply Mar 5, 2017, 12:24 PM Reply Quote 0
        • B Offline
          Beh @poekel
          last edited by Mar 5, 2017, 12:24 PM

          @poekel You just add ?export to your calendar URL like this (example for baikal):

          https://dav.example.org/dav.php/calendars/[username]/[calendarname]?export

          Note, that [calendarname] is the internal name of your calendar in baikal. You can look it up in the baikal admin interface.

          In addition: You can use digest authentication instead of basic auth for the calendar module, if you set the sendImmediately option to false.

          1 Reply Last reply Reply Quote 0
          • P Offline
            poekel
            last edited by Mar 5, 2017, 12:38 PM

            Hi,
            I have tried this -> https://dav.example.org/dav.php/calendars/[username]/[calendarname]?export already and it ask for a login and password.
            When i try this on my mac i get this:

            Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 296 bytes) in /volume1/web/baikal/vendor/sabre/vobject/lib/Parser/MimeDir.php on line 633

            Its the calendar op my wife and she holds a lot of entries (4000)in the calendar and I think that is the problem (memory exhausted) . I does not work…

            Any ideas welcome

            1 Reply Last reply Reply Quote 0
            • B Offline
              Beh
              last edited by Beh Mar 5, 2017, 1:06 PM Mar 5, 2017, 12:50 PM

              Hey @poekel,

              You can limit the export with some options. Since baikal uses sabre/dav you can use the options provided on the sabre/dav website here.

              Maybe it is helpful for you, if you limit the export with the start and/or end options. You have to use unix timestamps for this. Converters can be found easily via a google search.

              Here’s an example:

              http://dav.example.org/calendars/user1/mycalendar?export&start=1391707119&end=1391707215

              Maybe you just want to use the start option with today’s value. This would suffice for now I think…

              1 Reply Last reply Reply Quote 0
              • P Offline
                poekel
                last edited by Mar 5, 2017, 1:07 PM

                Hi,
                Thanx for all the help. It looks like a short workshop Baikal :)
                I dont know if i am on the right track. I want to automate it. That is that items in the calendar show up on the mirror.
                Is’nt there a simple way ? ( Export to some ics file ?)

                Thanx!
                Poekel

                B 1 Reply Last reply Mar 5, 2017, 1:10 PM Reply Quote 0
                • B Offline
                  Beh @poekel
                  last edited by Mar 5, 2017, 1:10 PM

                  @poekel I don’t know, if I understand this right. But the ?export option already triggers a download for an .ics file (with all calendar events). I’m using this on my mirror with baikal and it works fine…

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    poekel
                    last edited by Mar 5, 2017, 1:28 PM

                    Hi,
                    The command works fine and i converted the time/datestamps. I think there is something wrong with the stamps, because
                    i get a file of 146 bytes whatever i do…
                    I have to play with it. :)
                    How do you keep the calendar up-to-date on the mirror ?
                    ( my wife holds the calendars for all the family members so …)

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      poekel
                      last edited by Mar 5, 2017, 10:41 PM

                      Hi,
                      How do you append the username and password ?
                      I think it works but it gives me a Authorization failed.

                      Poekel

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      • 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