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.

    Adding Multiple Calendars

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 3 Posters 520 Views 3 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.
    • R Offline
      reachforthestars
      last edited by

      Hello,
      I can’t seem to get 2 calendars working.
      I added my google calendars which works fine, but I want to add the default US-Holidays calendar back in and it won’t load it. I have tried searching online, and copying other’s code, but I don’t know what is wrong.
      Here is the code:

      {
      			module: "calendar",
      			header: "Calendar",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check",
      						url: "https://calendar.google.com/calendar/ical/XXXMYNAMEXXX%40gmail.com/private-XXXPRIVATEIDXXX/basic.ics",		
      					},
      					{
      						symbol: "calendar-check",
      						url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics",					
      					},
      				]
      			}
      		},
      

      Thanks for reading.

      ? S 2 Replies Last reply Reply Quote 0
      • ? Offline
        A Former User @reachforthestars
        last edited by

        @reachforthestars said in Adding Multiple Calendars:

        webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics

        I don’t know it’s right solution, but,
        Worthy to try to change webcall:// to http://.

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

          @reachforthestars the default calendar has been generating errors lately cause the data changed

          to fix in the short term

          edit MagicMirror/node_modules/rrule/dist/es5/rrule.js

          insert the two lines shown below

                      case 'BYEASTER':
                          options.byeaster = Number(value);
                          break;
                      case '':                                        // add this
                          break;                                      // add this
                      default:
          

          also, the calendar file has duplicate entries so u will see 2 entries for all events

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          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