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 15.9k 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

      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

        @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:[email protected]/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 Reply Quote 0
        • K Offline
          kruf @bdream
          last edited by

          @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 Reply Quote 0
          • B Offline
            bdream
            last edited by

            @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 Reply Quote 0
            • S Offline
              sdetweil @kruf
              last edited by

              @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

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

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  kruf @kruf
                  last edited by

                  @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 Reply Quote 0
                  • S Offline
                    sdetweil @kruf
                    last edited by

                    @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

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

                      url: "https://NAME:[email protected]/Nextcloud/remote.php/dav/calendars/CALENDARNAME/contact_birthdays?export"
                      
                      url: "https://NAME:[email protected]/Nextcloud/remote.php/dav/calendars/CALENDARNAME/pers%c3%b6nlich?export"
                      

                      May this help you

                      –
                      cheers, bdream

                      K 1 Reply Last reply Reply Quote 1
                      • K Offline
                        kruf @bdream
                        last edited by

                        @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
                          OSZAR »