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