MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Multiple Calendars



  • Below is the code I am attempting to use to display 2 calendars. When I launch MM i see the Birthday calendar for just a second and it gets over written with the Holiday calendar.

    Thanks
    MW

                    {
                            module: "MMM-GoogleBirthdaysProvider",
                            config: {}
                    },
    
                    {
                            module: "calendar",
                            header: "Birthdays and US Holidays",
                            position: "top_left",
                            config:
                            {
                               calendars:
                               [
                                  {
                                     symbol: 'birthday-cake',
                                     url: 'http://localhost:8080/mmm-googlebirthdaysprovider',
                                  },
    
                                  {
                                     symbol: "calendar-check",
                                     url: 'https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics'
                                  }
    
                               ]
                            }
                    },
    
    

  • Project Sponsor

    Hello, Try this. I removed a comma after gogglebirhdaysprovider and inserted a comma after the curly bracket
    below the holidays-url. Hope it works. /Nisse

    @MwMagicMirror said in Multiple Calendars:

    {
    module: “MMM-GoogleBirthdaysProvider”,
    config: {}
    },

                {
                        module: "calendar",
                        header: "Birthdays and US Holidays",
                        position: "top_left",
                        config:
                        {
                           calendars:
                           [
                              {
                                 symbol: 'birthday-cake',
                                 url: 'http://localhost:8080/mmm-googlebirthdaysprovider'
                              },
    
                              {
                                 symbol: "calendar-check",
                                 url: 'https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics'
                              },
    
                           ]
                        }
                },


  • Nilnik,
    I did sort it out, I ended up putting Birthdays and Holidays in there own section, it now displays birthdays above the holidays.
    My only issue now is its only showing 1 persons birthday when I know there are many within the next month. Funny the one that is showing is 5 months from now.

    Thanks for the quick reply.
    MW


Log in to reply