Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
Hello, I’m having several issues. Im new to coding for the most part. I took a couple basic web design classes about 12 years ago.
I was working on my magic mirror for about 12 hours yesterday. The major issue being my events are not loading from my Google calendar. I used it in the standard upcoming holidays module to make sure I was linking it correctly. They show up there, but not in the calenderext2. The other issue is sizing. Its larger than the screen viewing area. I’m sure I’m doing something wrong. I copied the example that was posted in the file and it changes the css look but not the size and events still dont show up. Any help would be appreciated. -
@Sean
Damn, I appreciate you trying to take a look but I technically cant due to HIPAA compliance.Have you heard of anyone having any issues with the auth before?
-
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.
-
@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. -
@wegz15
anyway, can you send me your ics url and configuration? my mail is eouia0819@gmail.com -
@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.
-
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?
-
@wegz15
month
orweek
view might be too huge even for 1920*1080 size.- To get rid of
week
number, open yourcss/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 eachview
can have it’s own setting. Especially,week
andmonth
could have different behaviors with other views for settings. Read the wiki carefully. https://github.com/eouia/MMM-CalendarExt2/wiki/2d.-Configuration:defaultSet - To get rid of
-
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.