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

MMM-CalendarExt



  • I am new to all this, forgive me if I am missing something easy. I am trying to add the calendar into my Dashboard I am trying to create. I am using 2 calendars, my personal calendar(google) and a US Holidays calendar. On December 1st I have 2 events but one is showing up the day before and on December 9th I have an event that shows up on December 8th and the same for December 11th, It shows up on December the 10th. I am not sure how to fix that, Also you can see the Holidays show up 2 days in a row. Thanksgiving is on Wednesday and Thursday, and Christmas is 2 days. Also on the MMM config(and in Google) i have the time set to 12 hours and in the calendar it displays 24. Does anyone have any ideas on how to fix these problems? Hopefully the picture uploads. Here is my config. I tried somethings and commented them out.

    module: ‘MMM-CalendarExt’,
    position: “top_bar”,
    config: {
    system:{
    show:[‘weeks’],
    redrawInterval:60000,
    },
    views:{
    weeks:{
    position:‘bottom_bar’,
    counts:5,
    showWeeks:1,
    weeksTitle: ‘weeks’,
    weeksFormat: ‘wo’,
    weekdayFormat: ‘dd’,
    titleFormat: ‘D’,
    OverTitleFormat: ‘MMM D’,
    monthTitleFormat:“MMMM”,
    //overflowRolling: 1,
    //overflowHeight: 80,
    //overflowDuration: 50,
    //oneLineEvent: 0,

      },
    },
    calendars :[
      {
        //symbol:"calendar-o",
        styleName: "style6",
        symbol: 'us@md',
        url: "/basic.ics"
     
     },
     { 
       styleName: "style6",
       symbol: 'us@md',   
       url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
     },
    ],
    

    }
    },

    IMG_0133.JPG



  • Here is the code again in easier to read format:

    {
    module: 'MMM-CalendarExt',
      position: "top_bar",
      config: {
         system:{
           show:['weeks'],
           redrawInterval:60000,
         },
         views:{
            weeks:{
            position:'bottom_bar',
            counts:5,
            showWeeks:1,
            weeksTitle: 'weeks',
            weeksFormat: 'wo',
            weekdayFormat: 'dd',
            titleFormat: 'D',
            OverTitleFormat: 'MMM D',
            monthTitleFormat:"MMMM",
            //overflowRolling: 1,
           //overflowHeight: 80,
           //overflowDuration: 50,
           //oneLineEvent: 0,
         
          },
        },
        calendars :[
          {
            //symbol:"calendar-o",
            styleName: "style6",
            symbol: 'us@md',
            url: "/basic.ics"
         
         },
         { 
           styleName: "style6",
           symbol: 'us@md',   
           url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"
         },
        ],
      }
    },
    

  • Module Developer

    I suspect the timezone is set for one event and not the other. The parser is getting confused.



  • Turns out there is some type of miscommunication if an event is reoccurring. I deleted those events and just put them in 1 at a time and if worked fine. The times are still in 24 hours instead of 12 but I can live with that.


Log in to reply