MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Can not add more than ONE calendar??

    Troubleshooting
    3
    5
    490
    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.
    • I
      ironman_DK last edited by sdetweil

      I have tries almost everything, looked at youtube and others here in the forum, but I can not find the answer, how do I put some callendars in my MM ? how do I add one or two calendars more ?:

      module: "calendar",
      			header: "Kalender",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check",
      						url: "https://calendar.google.com/calendar/ical/XXXXXXXXXXXX/private-XXXXXXXXXXXXXXXXX/basic.ics"					}
      				]
      			}
      		},
      
      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @ironman_DK last edited by sdetweil

        @ironman_DK it would be

        { 
         module: "calendar",
             config : {
                  calendars:[
                        {
                           Cal 1 info
                         },
                         {
                           Cal 2 info
                         }
                    ]
             }
        }
        

        Sam

        Create a working config
        How to add modules

        I 1 Reply Last reply Reply Quote 0
        • Meidlmarkus
          Meidlmarkus last edited by

          @ironman_DK , I had the same challenge. I would like to add to add another possible solution to @sdetweil 's :

          By just creating additional instances of the calendar module, you can even give each its own header, which I find adds to clarity. You may want to look at my configuration which I posted here (unfortunately still a prototype, still waiting for the glass to arrive 😉 )
          https://forum.magicmirror.builders/topic/12104/glass-on-the-way-but-still-eager-to-share-my-first-try

          So here’s how I configured it:

          		{
          			module: "calendar",
          			header: "Familie",
          			position: "top_left",
          			config: {
          				maximumEntries: "5",
          				calendars: [
          					{
          						symbol: "calendar-check-o ",
          						url: "https://calendar.google.com/calendar/ical/XXXXXXXXXXXXXXXX/basic.ics"
          					}
          				]
          			}
          		},
                          {
                                  module: "calendar",
                                  header: "Markus",
                                  position: "top_left",
                                  config: {
          				maximumEntries: "5",
                                          calendars: [
                                                  {
                                                          symbol: "calendar-check-o ",
                                                          url: "https://calendar.google.com/calendar/ical/markusXXXXXXXXXXXXX.ics" 
                                                  }
                                          ]
                                  }
                          },
          
          

          Hope it helps

          1 Reply Last reply Reply Quote 0
          • I
            ironman_DK @sdetweil last edited by

            @sdetweil It is not possible to do that, It will fail when I do this are you sure this is the right code ?

            S 1 Reply Last reply Reply Quote 0
            • S
              sdetweil @ironman_DK last edited by sdetweil

              @ironman_DK here is my calendar setup, with dual calendars…

              		{
              			module: "calendar",
              			disabled:false,
              			position: "top_left",
              			config: {
              				//maximumEntries: 100,
              				tableClass:"foo",
              				fetchInterval: 10*60*1000,
              				calendars: [
              					{
              						symbol: "calendar-check",
              						url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"					
              					},
              					{
              						url: "https://calendar.google.com/calendar/ical/...basic.ics"
              					}
              				]
              			}
              		},
              

              Sam

              Create a working config
              How to add modules

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy