MMM-CalendarExt2



  • Thanks for the quick reply!

    I think it’s much closer to where I want it now. It takes some time for the data to load initially, but it seems to be working. Still some visual tweaks to make.

    I kinda miss the built in styles from CalendarExt. It made it easy to just make each calendar different.



  • Howdy @Sean something weird is happening. I have this module setup and it’s been working great for a while. It is a scene with two views. The first view is great, but the second view which has the exact same calendars only shows today. The rest of the month is blank. Have you seen this happen before?


  • Module Developer

    @Fr8Trayne
    show me the configuration.



  • I’ve removed the actual links to calendars solely for this . Please note that it has been working up until 2 days ago. I love this module just not sure this stopped working. Also note I have a second version of this one a weekly view that still is working just fine.
    {
    module: “MMM-CalendarExt2”,
    pages: {second: “fullscreen_above”},
    defaultset: {
    view: {
    slotCount: 5,
    },
    },

    		config: {
    
    				scenes: [
      					{
        				name: "Month Calendar",
    				views: ["family"],
    				className: "scene_1",
      					},
    					],
    			
    				views: [
      					{
    				    name: "family",
        				    mode: "week",
    				    fromNow:0,
    				    className: "view_1",
    				    calendars: [],
    				    slotTitleFormat:"MM/DD",
    				    slotSubTitleFormat: "dddd",
    				    beforeDays: "7",
    				    hideOverflow: false,
    				    type: "row",
      					},
    					],
    
    				calendars: [
    				    {
    				    name: "Family Calendar",
    				    url: "https://calendar.google.com/calendar/ical",
    				    scanInterval: 2000,
    				    className: "family_calendar",
    				    maxIterations: 100,
    				    },
    
    				    {
    				    name: "Dad's Calendar",
    				    url: "https://calendar.google.com/calendar/ical",
    					    scanInterval: 2000,
    				    className: "dads_calendar",
    				    maxIterations: 100,
    				    },
    
    				    {
    				    name: "Mom's Calendar",
    				    url: "https://calendar.google.com/calendar/ical",
    				    scanInterval: 2000,	
    				    className: "moms_calendar",
    				    maxIterations: 100,
    				    },
    
    				    {
    				    name: "Alana's Calender",
    				    url: "https://calendar.google.com/calendar/ical",
    				    scanInterval: 2000,
    				    className: "alanas_calendar",
    				    maxIterations: 100,
    				    },
    
    				    {
    				    name: "John's Calendar",
    				    url: "https://calendar.google.com/calendar/ical",
    				    scanInterval: 2000,
    				    className: "johns_calendar",
    				    maxIterations: 100,
    				    },
    
    				    {
    				    name: "Holiday Calendar",
    				    url: "https://calendar.google.com/calendar/ical,
    				    scanInterval: 2000,
    				    className: "holiday_calendar",
    				    maxIterations: 100,
    				    },
    				],
    			},
    	},

  • Module Developer

    @Fr8Trayne
    I think this could be also maxItems issue of view.
    You have several calendars in a view, it means you might have tons of events in the memory of RPI.(You can check how much events are selected to load on your log.)
    Which events should be displayed would be decided by some rules with some condition - filter, sort, … In this case, you haven’t set your rule, so the view would contain 100 events(set as default, sorted by time) from whole calendars. And most(or all) of them would be too old events to display in this view.

    Just set the maxItems of view bigger, or set your rule of filter or sort events to display.



  • @Sean thanks. I have added those changes with no effect. Would you mind guiding me to find those stores events in the RPI? I’d like to see if that is the issue.


  • Module Developer

    @Fr8Trayne
    Could you share with me your real ical url or file to inspect? you can send it via email. (eouia0819@gmail.com)



  • Can someone show me what I am doing wrong. I have this configuration:

    	{
    		module: 'MMM-CalendarExt2',
    		config: {
    			//firstDrawingDelay: 1000*10,
    			scenes:[
    				{
    					name: "DEFAULT",
    					views: ["VIEW1"],
    				},
    				],
    			views:[
    				{
    					name: "VIEW1",
    					mode: "daily",
    					title: "Bard Family Schedule",
    					position: "bottom_right",
    					maxItems: 100,
    					maxDays: 5,
    					locale: "en",
    					hideOverflow: true,
    					filterPassedEvent: true,
    					slotCount: 4,
    					calendars: ["Steve","Tracie","Alex"],
    				},
    				],
    			calendars: [
    			    
    				{
    					name: "Steve",
    					url: "https://calendar.google.com/calendar/ical/",
    					beforeDays:0,
    					afterDays: 5,
    				},
    				
    				{
    					name: "Tracie",
    					url: "https://calendar.google.com/calendar/ical/",
    					beforeDays:0,
    					afterDays: 5,
    				},
    				{
    					name: "Alex",
    					url: "https://calendar.google.com/calendar/ical/",
    					beforeDays:0,
    					afterDays: 5,
    				},
    				
    				
    				
    				],
    			},
    	},
    

    The actual calendars have the correct url in my setup. If I set one calendar to show in the view ie. [“Alex”] it works but if I try to do all of them I get nothing. Only the headings for the days.

    Here is the startup sequence:

    Starting MagicMirror: v2.9.0
    Loading config …
    Loading module helpers …
    No helper found for module: alert.
    Initializing new module helper …
    Module helper loaded: updatenotification
    No helper found for module: clock.
    Initializing new module helper …
    Module helper loaded: MMM-GooglePhotos
    No helper found for module: currentweather.
    No helper found for module: weatherforecast.
    Initializing new module helper …
    Module helper loaded: MMM-MyScoreboard
    No helper found for module: MMM-pages.
    Initializing new module helper …
    Module helper loaded: MMM-OnScreenMenu
    No helper found for module: MMM-SmartWebDisplay.
    Initializing new module helper …
    Module helper loaded: MMM-CalendarExt2
    All module helpers loaded.
    Starting server on port 8080 …
    Server started …
    Connecting socket for: updatenotification
    Connecting socket for: MMM-GooglePhotos
    MMM-GooglePhotos started
    Connecting socket for: MMM-MyScoreboard
    Starting node_helper for module [MMM-MyScoreboard]
    Connecting socket for: MMM-OnScreenMenu
    Connecting socket for: MMM-CalendarExt2
    Sockets connected & modules started …
    Launching application.
    MMM-GooglePhotos initialized after loading.
    [CALEXT2] calendar:Steve >> Scanning start with interval:1800000
    [CALEXT2] calendar:Tracie >> Scanning start with interval:1800000
    [CALEXT2] calendar:Alex >> Scanning start with interval:1800000
    [CALEXT2] calendar:Alex >> Scanned: 3, Selected: 3
    [GPHOTO] Scan finished : 66
    [CALEXT2] calendar:Steve >> Scanned: 0, Selected: 0
    [CALEXT2] calendar:Tracie >> Scanned: 7, Selected: 7

    Can you see anything I am doing wrong?


  • Module Developer

    @lotusvball
    Could you share with me your real ical(.ics) file or URL? By only inspection of real ical, I can tell what’s wrong.
    email : eouia0819@gmail.com



  • @Sean Just emailed it. from sabard@gmail.com