MMM-CalendarExt2



  • So, I tried a public google calendar as well as 2 of my private shared google calendars. The shared public one does not work, 1 of my shared one works, and 1 does not within the module. However, all of these calendars work in the default upcoming events module. Any suggestions on why this is? Also, I tried changing the “calendarfetcher.js” in the default calendar folder and with that change the default calendar stopped working, but the mmm-calendarext2 worked.



  • I think I figured out the problem. I can see other recent events added to these calendars. I think since they are older calendars they fall outside of the maxItems: 100, beforeDays: 60, afterDays: 365, maxIterations: 100 ranges. I tried adjusting those to go back to the start of the calendars and when I do it doesn’t pull in any events from any of my calendars. I’m not sure how to fix this.


  • Module Developer

    @wegz15
    maybe some repeated events couldn’t be parsed. this is using different parser with default module. it is faster and has more features. but occasionally it fails some repeated events.
    i’m researching how to improve but not yet success. i may return but need more time to consider.


  • Module Developer

    @wegz15
    anyway, can you send me your ics url and configuration? my mail is eouia0819@gmail.com


  • Module Developer

    @wegz15
    Now I think found something. set your maxIteration to 1000.
    The reason is, your “Red Shift” events is started from too past, so even after 100(default value) occurrences it couldn’t reach to present age.
    0_1558100157025_redshift.png



  • Yep, that worked. Thank you. I tried that, but I had it in the wrong spot. Its been trial and error trying to learn which values effect what on the main screen. If any one knows, is there a way to make the calendar not try to take up the full screen with the normal size text? Maybe use the % somewhere? I also have not been able to figure out how to get rid of the week number, I’m somehow missing a day, and I can’t figure out a way to get rid of the “last tuesday, Yesterday, today”. I’d also like to make that bottom weather “shorter”.
    Im just not sure how or where to edit these values. Is there maybe a tutorial or video to learn how to “edit” magicmirror and modules?
    0_1558109955904_mm_screenshot.png


  • Module Developer

    @wegz15
    month or week view might be too huge even for 1920*1080 size.

    • To get rid of week number, open your css/custom.css then add this.
    .CX2 .weeksmark {
      display:none;
    }
    
    • To adjust day format, add this in your view configuration
    slotTitleFormat: "D",
    slotSubTitleFormat: "ddd",
    

    I think you’ve set above fields in defaultSet, but each view can have it’s own setting. Especially, week and month could have different behaviors with other views for settings. Read the wiki carefully. https://github.com/eouia/MMM-CalendarExt2/wiki/2d.-Configuration:defaultSet



  • I guess what is confusing me the most is where to actually put each piece. I have that in currently and I am still seeing the “last, next today…”

    module: 'MMM-CalendarExt2',
    	config: {
    		scenes:[
    			{
    				name: "DEFAULT",
    				views: ["Monthly"],
    			},
    		],
    		views:[
    			{
    				name: "Monthly",
    				mode: "Month",
    				position: "top_right",
    				locale: "en",
    				slotMaxHeight: "70px",
    				dateFormat: "M/D",
    				weeksFormat: " ",
    				slotSubTitle:"ddd",
    				slotTitleFormat: "D",
    				slotSubTitle:"",
    				dateTimeFormat: "ddd mm/dd",
    				timeFormat:"h:mm A",
    				slotCount: 5,
    				showWeekends: true,
    				hideOverflow: true,
    				filterPassedEvent: false,
    				calendars: ["Work"],
    			},
    		],
    

    And I guess I’m asking if in general there is a way to scale the whole module so I can have a whole calendar fit into the open space. Thank you for all the help so far. This is my 3rd “day” working with magicmirror.


  • Module Developer

    Very weird. I use your configuration (even with your ics)
    And this is what my screen shows.
    0_1558116297242_te.png
    There might be more configuration values than you posted. Give me whole configuration.



  • I emailed you my whole set up earlier. I think there is something, somewhere in another folder I must have messed with. I deleted everything but my clock and pasted just the calendar and it is showing up as pictured. Maybe a fresh install of MM or MMM-calendarext2. 0_1558118108866_Screenshot (1).png