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

Problems with calender and Nextcloud

Scheduled Pinned Locked Moved Unsolved Troubleshooting
44 Posts 6 Posters 13.8k Views 6 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.
  • S Away
    sdetweil @kruf
    last edited by Oct 17, 2019, 10:54 AM

    @kruf so two things to test

    1. with the calendar URL, open a browser on the pi, and put in the URL… it should download the ICS file
      if not, u need to solve this part. Mirror does not run as any particular user, so it needs access without
      credentials (unless they are part of the actual url)

    2. I helped another user who did some download process, and then use the ics file locally, and had a similar problem. it turned out the ics reader is expecting windows line ends (cr+lf, \r\n), but the file had only unix line ends (lf, \n). so he had to do a unix2dos conversion as part of the download process

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • K Offline
      kruf @bdream
      last edited by kruf Oct 25, 2019, 4:50 PM Oct 25, 2019, 4:49 PM

      @bdream
      I tried your holiday calender in hessen, and it works. The standart calender also works just fine.

      K 1 Reply Last reply Oct 25, 2019, 4:57 PM Reply Quote 0
      • K Offline
        kruf @kruf
        last edited by Oct 25, 2019, 4:57 PM

        @kruf There is no download, it says "its a webdav interface and you need a client for it.
        Do you know how to do the conversion?

        S 1 Reply Last reply Oct 25, 2019, 5:00 PM Reply Quote 0
        • S Away
          sdetweil @kruf
          last edited by Oct 25, 2019, 5:00 PM

          @kruf see

          https://help.nextcloud.com/t/sharing-nextcloud-calendar-with-google-calendar/12935

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            bdream
            last edited by Oct 26, 2019, 5:59 PM

            @kruf
            I use Nextcloud and have URL like this working.

            url: "https://NAME:PASSWORD@DOMAIN.TLD/Nextcloud/remote.php/dav/calendars/CALENDARNAME/contact_birthdays?export"
            
            url: "https://NAME:PASSWORT@DOMAIN.TLD/Nextcloud/remote.php/dav/calendars/CALENDARNAME/pers%c3%b6nlich?export"
            

            May this help you

            –
            cheers, bdream

            K 1 Reply Last reply Oct 31, 2019, 7:19 PM Reply Quote 1
            • K Offline
              kruf @bdream
              last edited by Oct 31, 2019, 7:19 PM

              @bdream has CALENDERNAME to be changed? Or is the phrase after that important?

              1 Reply Last reply Reply Quote 0
              • B Offline
                bdream
                last edited by Nov 3, 2019, 12:13 PM

                @kruf said in Problems with calender and Nextcloud:

                @bdream has CALENDERNAME to be changed? Or is the phrase after that important?

                All UPPERCASE need to change as your calendar.
                Exml for the birthdays from my personal calendar:

                url: "https://NAME:PASSWORD@DOMAIN.TLD/Nextcloud/remote.php/dav/calendars/myname/pers%c3%b6nlich?export"
                

                You have to change
                NAME -> name you access your calendar
                PASSWORD -> your Password
                DOMAIN.TLD -> the url where ever you have your domain with nextcloud installed
                !!! If you don’t use default installation of nextcloud you might change Nextcloud also!!!
                CALENDARNAME -> How you named the calendar (expl.: myname, yourname, yourwivesname, yoursonsname…)

                I have different calendars for all people in my family so I have for each calendar diffent NAME, PASSWORD, CALENDARNAME

                –
                cheers, bdream

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Pakmann
                  last edited by Nov 16, 2019, 12:06 PM

                  hey together,

                  i have the same issue here, but on my side i had a working system in the past.

                  My MagicMirror was broken and offline for half an year. Now he is up and running. I made an update to the current MM Version. For Nextcloud i am always on the current version.

                  So, now the problem is that on MM no Calender content will shown. I did not change somethink on the configuration. I use the same links what you mentioned here. When i put it in a browser i can download the ICS file and the content is correct.

                  It is a bit pitty that i had a software update on Nextcloud and MM side. Any ideas what i can test ?

                  S 1 Reply Last reply Nov 16, 2019, 12:31 PM Reply Quote 0
                  • S Away
                    sdetweil @Pakmann
                    last edited by Nov 16, 2019, 12:31 PM

                    @Pakmann

                    two ways to see things

                    1… use npm start to start the mirror, not pm2… then messages will be displayed on the terminal window.
                    you should see the fetcher for calendar created and any errors in the fetch process
                    2. on the Mirror UI do ctrl-shift-i to open the developers window, and then select the tab labeled console, and scroll up… you can also filter the messages, by putting part of the module name in the filter field.
                    ‘calendar’ for example (no quotes)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pakmann
                      last edited by Nov 16, 2019, 1:26 PM

                      @sdetweil
                      Great, Thanks for the instructions.

                      I try step one and obviously i get an error during loading calender content (Link to calender replaced):

                      Calendar Error. Could not fetch calendar:  CALENDER LINK { Error: write EPROTO 19413              98784:error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version:../../vendor/node/deps/openssl/openssl/ssl/record/rec_layer_s3.c:1407:SSL alert n              umber 70
                      
                          at WriteWrap.afterWrite [as oncomplete] (net.js:833:14) errno: 'EPROTO', code: 'EPROTO', syscall: 'write' }
                      
                      

                      For Step 2 i have the problem to have only access with an putty terminal at the moment.

                      Any idea so far what the error message means ?

                      S 1 Reply Last reply Nov 16, 2019, 1:27 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 1 / 5
                      • 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