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.

    Default calender module - two calenders in one module

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 6 Posters 6.3k 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 Offline
      shgmongohh
      last edited by

      Hi,

      is it possible to have two calender.ics in the default module?

      I tried the following, but only the first calender is shown.

      			module: 'calendar',
      			header: 'Kalender',
      			position: 'top_left',
      			config: {
      				maximumEntries: '5',
      				fade: false,
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'https://calendar.google.com/calendar/ical/6eg1noirmh70doip6aa3gsmnis%40group.calendar.google.com/public/basic.ics',
                               symbol: 'calendar',
      						url: 'https://calendar.google.com/calendar/ical/6lmacpjrrr96vi590djoo8nadk%40group.calendar.google.com/public/basic.ics'
      					}
      				]
      			}
      		},
      

      Sebastian

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        kckndrgn @shgmongohh
        last edited by paviro

        @shgmongohh
        Yes, just change the layout slightly.

        calendars: [
                                                {
                                                        symbol: 'calendar-check-o ',
                                                        url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                                                },
                                                {
                                                        symbol: 'calendar-check-o ',
                                                        url: 'https:seconde cal.ics'
                                                },
                                        ],
        

        Note from admin: Please use Markdown on code snippets!

        S L 2 Replies Last reply Reply Quote 1
        • S Offline
          shgmongohh @kckndrgn
          last edited by

          @kckndrgn
          Thank you

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            In addition, is it possible to combine the data from two ics files into one calendar. With this solution I get 10/09/2016 two times on my display, in both seperate calendars.

            1 Reply Last reply Reply Quote 1
            • KirAsh4K Offline
              KirAsh4 Moderator
              last edited by

              At the moment, no.

              A Life? Cool! Where can I download one of those from?

              1 Reply Last reply Reply Quote 0
              • L Offline
                Laca44 @kckndrgn
                last edited by paviro

                @kckndrgn I tried the same and only the first (my personal calendar) is showing. Here is my text:

                config: {
                				calendars: [
                					{
                						symbol: 'calendar-check-o ',
                						url: 'webcal://calendar.google.com/calendar/ical/........./basic.ics'
                					},
                					{
                						symbol: 'calendar-check-o ',
                						url: 'webcal://calendar.google.com/calendar/ical/en.hungarian%23holiday%40group.v.calendar.google.com/public.basic.ics'
                					},
                				],
                

                Thanks in advance!
                Laszlo


                Note from admin: Please use Markdown on code snippets for easier reading!

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

                  @Laca44 I don’t see anything wrong with the config, if you just have the second calendar by itself will it show?

                  1 Reply Last reply Reply Quote 0
                  • KirAsh4K Offline
                    KirAsh4 Moderator
                    last edited by

                    Restart the process so the new fetcher gets created properly.

                    A Life? Cool! Where can I download one of those from?

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      Laca44
                      last edited by

                      Sorry everyone. It was my mistake. The other calendar had its first element to far in the future to show it. Thanks for the assistance! :)

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Plati
                        last edited by

                        I use several calendars, want it were all in one module, but that each could set maximumEntries and / or maximumNumberOfDays

                        Now my config looks like this:

                        	{
                        		module: 'calendar',
                        		header: 'Nadchodzące święta',
                        		position: 'top_left',
                        		config: {
                        			maximumEntries: 2,
                        			fadePoint: 0.25,
                        			calendars: [
                        				{
                        				symbol: 'calendar-o ',
                        				url: 'webcal://www.mozilla.org/media/caldata/PolishHolidays.ics'
                        				}
                        			]
                        		}
                        	},
                        
                        	{
                        		module: 'calendar',
                        		header: 'Google Calendar',
                        		position: 'top_left',
                        		config: {
                        			maximumNumberOfDays: 7,
                        			calendars: [
                        				{
                        				symbol: 'calendar-o',
                        				url: 'https://calendar.google.com/calendar/ical/XXXXXXXXXXX/basic.ics'
                        				}
                        			]
                        		}
                        	},
                        
                        	{
                        		module: 'calendar',
                        		header: 'Facebook Calendar',
                        		position: 'top_left',
                        		config: {
                        			maximumNumberOfDays: 2,
                        			fadePoint: 0.75,
                        			calendars: [
                        				{
                        				symbol: 'calendar-o',
                        				url: 'webcal://www.facebook.com/ical/u.php?uid=XXXXXXXXX'
                        				},
                        				{
                        				symbol: 'birthday-cake',
                        				url: 'webcal://www.facebook.com/ical/b.php?uid=XXXXXXXXX'
                        				}
                        			]
                        		}
                        	},
                        

                        And i want:

                        	{
                        		module: 'calendar',
                        		header: 'Kalendarz',
                        		position: 'top_left',
                        		config: {
                        			maximumEntries: 10,
                        			calendars: [
                        				{
                        				symbol: 'calendar-o ',
                        				maximumEntries: 2,
                        				maximumNumberOfDays: 21,
                        				url: 'webcal://www.mozilla.org/media/caldata/PolishHolidays.ics'
                        				},				
                        				{
                        				symbol: 'calendar-o',
                        				maximumNumberOfDays: 7,
                        				url: 'https://calendar.google.com/calendar/ical/XXXXXXXXXXX/basic.ics'
                        				},
                        				{
                        				maximumNumberOfDays: 2,
                        				symbol: 'calendar-o',
                        				url: 'webcal://www.facebook.com/ical/u.php?uid=XXXXXXXXX'
                        				},
                        				{
                        				maximumNumberOfDays: 2,
                        				symbol: 'birthday-cake',
                        				url: 'webcal://www.facebook.com/ical/b.php?uid=XXXXXXXXX'
                        				}
                        			]
                        		}
                        	},
                        
                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • 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