• 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 14.0k 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.
  • K Offline
    kruf
    last edited by Oct 16, 2019, 6:38 PM

    Hi,

    I got a Problem with the calender module, since it shows no dates.
    The standart calender works just fine, but when I try to connect my Nextcloud calender nothing shows. With my iPhone the link works, so I am sure it works.
    Had somebody the same expirience and knows some tips.

    Thank You
    kruf

    1 Reply Last reply Reply Quote 0
    • B Offline
      bdream
      last edited by Oct 16, 2019, 7:41 PM

      @kruf said in Problems with calender and Nextcloud:

      Had somebody the same expirience and knows some tips.

      If I’m right you talk about standard calendar module and getting connected to your nextcloud.

      I have done my config as you can see and it works fine

      {
      	module: "calendar", 
      	header: "  WHAT CALENDAR YOU WILL SHOW", // see help for more information
      	position: "bottom_left",
      	config: {
      		colored: true,
      		displaySymbol: true,
      		wrapEvents: true,
      		fetchInterval: 120000,
      		fade: false,
       		fullDateEventDateFormat: "ddd DD. MMM",
      		maximumNumberOfDays: 30,
      		maximumEntries: 15,
      		maxTitleLength: 50,
      		displayRepeatingCountTitle: true,
      		fade: false,
      		timeFormat: "absolute",
      		dateFormat: "ddd DD. MMM - HH:mm",
      		dateEndFormat: "ddd DD. MMM - HH:mm",
      		showEnd: true,
      		joiningWord: "AT", // see help for more information
      		maxTitleLength: 500,
      		useRelativeDates: false,
      		getRelative: 6,
      		dayOfWeekFormat: "dddd",
      		urgency: 1,
      		calendars: [
      			{
      				symbol: "birthday-cake",
      				color: "#a9a9a9", 
      				url: "https://NAME:PASSWORD@DOMAIN.TLD/Nextcloud/remote.php/dav/calendars/CALENDARNAME/contact_birthdays?export"
      			},
      			{
      				symbol: "plane ",
      				color: "#ffd700", // gold
      				url: "https://www.schulferien.org/media/ical/deutschland/ferien_hessen_2019.ics?k=A1phwzkCPxzt2pDVDT3ZeJvHfv9hq0Wo39uxgoplWmpDqdjNn4diAxd9kVfib72HpVThoNV9WGIF3Pjs5BrYIpOZ2F97U0Mbdbo_c3mxjo0"
      			},
                     		]
      	}
      },
      

      If I’m wrong, please provide some information enable helpers to help.

      –
      cheers, bdream

      K 1 Reply Last reply Oct 17, 2019, 6:07 AM Reply Quote 0
      • K Offline
        kruf @bdream
        last edited by Oct 17, 2019, 6:07 AM

        @bdream
        thank you very much for your answer, I tried to use the link setup with the user and password in the name, but it does not work for me. I also tried to use a public link.
        I do not know why my dates do not appear.

        Greetings

        S 1 Reply Last reply Oct 17, 2019, 10:54 AM Reply Quote 0
        • B Offline
          bdream
          last edited by Oct 17, 2019, 8:36 AM

          @kruf said in Problems with calender and Nextcloud:

          I do not know why my dates do not appear.

          than start the config as first with only an official calendar as shown in the README.md on GitHub ad default value:

          config: {
          	colored: false,
          	coloredSymbolOnly: false,
          	calendars: [
          		{
          			url: 'http://www.calendarlabs.com/templates/ical/US-Holidays.ics',
          			symbol: 'calendar',
          			auth: {
          			    user: 'username',
          			    pass: 'superstrongpassword',
          			    method: 'basic'
          			}
          		},
          	],
          }
          

          If this don’t work your problem is on other place and as I said in my first post: “If I’m wrong, please provide some information enable helpers to help.”

          –
          cheers, bdream

          K 1 Reply Last reply Oct 25, 2019, 4:49 PM Reply Quote 0
          • S Offline
            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 Offline
                  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
                      • 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