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 20.8k 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
      poekel
      last edited by

      Your the Greatest!

      Man , it works ! Unbelievable ! Many thanks!!!

      1 Reply Last reply Reply Quote 0
      • O Offline
        OsCourt
        last edited by

        Hi gentlemen,

        I’m sorry to reopen this old topic.
        What you are succeeded to do here it’s exactly what I search to do but it doesn’t work on my MagicMirror.

        • I have a Syno with Baikal (http://ipaddress/baikal/admin)
        • I have a user (homemagic) with his calendar (default)
        • My calendarfetcher.js is up-to-date (v2.2.0)

        URL I use for :
        http://ipaddress/baikal/cal.php/calendars/homemagic/default?export&start= 1514761200&componentType=VEVENT

        • Work on my android mobile with Caldav Sync Free Beta (PlayStore)
        • Work on ThunderBird
        • Doesn’t work on my MagicMirror :'(
        • My web browser (IE) return an error when I try to export

        Someone could help me please :)

        BehB 1 Reply Last reply Reply Quote 0
        • BehB Offline
          Beh @OsCourt
          last edited by

          @OsCourt I think you need to use dav.php instead of cal.php on newer baikal versions. Also you need to use digest authentication with the calendar module of the mirror. It’s described in the readme of the module.

          1 Reply Last reply Reply Quote 0
          • O Offline
            OsCourt
            last edited by

            Thanks @Beh.

            I don’t have dav.php file in my baikal folder on my Syno :/
            I had already read the readme and I have the digest authentication in the mirror:

            config: {
                                            calendars: [
                                                    {
                                                            symbol: "calendar-check-o ",
                                                            url: 'http://ipaddress/baikal/cal.php/calendars/homemagic/default?export&start=1514761200&componentType=VEVENT',
                                                            auth: {
                                                                   user: "homemagic",
                                                                   password: "pass",
                                                                   method: "digest"
                                                                  }
                                                    },
                                            ]
                                    }
            
            
            P 1 Reply Last reply Reply Quote 0
            • O Offline
              OsCourt
              last edited by

              Hi @poekel,

              How have you installed baikal on your Syno ?

              1 Reply Last reply Reply Quote 0
              • P Offline
                poekel @OsCourt
                last edited by

                @Beh

                Since sometime my calendar will not start. It keeps saying “loading”

                Does anyone have an idea to solve this ?

                1 Reply Last reply Reply Quote 0
                • Z Offline
                  zeisolf
                  last edited by zeisolf

                  Dear all,

                  it definitely sounds interesting to have Baikal-calenders on a MM as well.
                  I am using Baikal (0.2.7, for my understanding the most recent version) on Synology for some time already now.
                  By defnition i have the old-style path like http://MYSYNO/baikal/cal.php/calendars/USER/default/.
                  To export any .ics-files for my understanding i will need to add the export plugin.
                  How can i add this to Baikal on Synology or should this already be integrated in version 0.2.7?
                  If not how can i update to any other version for Synology to enable this function?

                  After some testing this is how i got it working:
                  Add the Export-Plugin to Baikal:
                  Edit cal.php
                  near the end of the file add to the plugins:
                  $server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin());
                  Edit card.php
                  near the end of the file add to the plugins:
                  $server->addPlugin(new \Sabre\CardDAV\VCFExportPlugin());

                  URL in the web browser (i.e. Magic Mirror):
                  http(s)://SERVER/baikal/cal.php/calendars/USER/default?export
                  http(s)://SERVER/baikal/card.php/addressbooks/USER/default?export
                  No additional parameters needed, if you want you can as described earlier in this thread…

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    matt216
                    last edited by

                    Hoping to get some up-to-date help with getting a self-hosted baikal (container) server on to my MagicMirror.
                    I am currently seeing “Error in the calendar module. Authorization failed” which points to user/password.
                    Config looks like:

                    {
                    module: "calendar",
                    header: "family calendar",
                    position: "top_left",
                    config: {
                                  calendars: [
                                                     {
                                                      url: "https://mydomain.tld/dav.php/calendars/family/default/',
                                                      auth:   {
                                                                   user: 'user',
                                                                   pass: 'pass',
                                                                   method: 'basic'
                                                                    }
                                                       }
                                                       ],
                                  maximumEntries: 5
                                  }
                    },
                    
                    

                    I’ve had a play with ?export and &start flags but still getting the auth error.

                    Anyone have any recent success with a local baikal container?

                    Thank you for the help,
                    Matt

                    M M 2 Replies Last reply Reply Quote 0
                    • M Offline
                      MMRIZE @matt216
                      last edited by

                      @matt216
                      Try MMM-CalDAV.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        matt216 @matt216
                        last edited by matt216

                        @matt216

                        Resolved.

                        Adding ?export to the end of your calendar URL generates the ics file required. Also recommend confirming the auth settings in the baikal web UI.

                        1 Reply Last reply Reply Quote 0
                        • M matt216 referenced this topic on
                        • 1
                        • 2
                        • 3
                        • 3 / 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