Read the statement by Michael Teeuw here.
MMM-CalendarExt
-
Hi :),
Is it possible to start MMM-CalendarExt hidden and let it show up with this.sendNotification(‘CHANGED_PROFILE’, {to:‘daddy’}) or something like that?`
Background ist that I want to use Buttons at my Mirror to hide all other modules and show CalendarExt in fullscreen (MMM-Toggle).
Problem is that Calendar do not refresh in hidden mode.my config:
{ module: 'MMM-CalendarExt', position: "top_left", //anywhere. It is not related to real position of view config: { system: { show: ["weeks"], //you can select views which you want to show. locale: 'de', showEmptyView: 1, }, views: { weeks: { position: "middle_center", showWeeks: 1, weeksTitle: 'Woche', weeksFormat: 'WW', weekdayFormat: 'dd', titleFormat : 'D', overTitleFormat : 'D. MMM', monthTitleFormat: "MMMM", counts: 6, overflowRolling: 1, oneLineEvent: 1, }, }, calendars: [ { name: "Kalender", styleName:"style5", url: "https://calendar.google.com... }, { name: "Geburtstage", styleName:"style15", symbol:"birthday@em", url: "https://calendar.google.com... }, { name: "Müllabfuhr", styleName:"style3", symbol:"wastebasket@em", url: "https://calendar.google.com... }, { name: "WM Kalender", symbol:"soccer@em", url: "https://calendar.google.com.... }, ], } },
Thanks in advance :)
-
I am having problems with my mirror, and I can’t figure out which module is the culprit. In my logs, I am seeing something related to this one, so maybe someone could help me out. Any ideas what the error below means?
0|mm | Whoops! There was an uncaught exception... 0|mm | TypeError: Cannot read property 'replace' of null 0|mm | at new Calendar (/home/pi/MagicMirror/modules/MMM-CalendarExt/components/Calendar.js:38:32) 0|mm | at Calendars.registerCalendar (/home/pi/MagicMirror/modules/MMM-CalendarExt/components/Calendars.js:37:18) 0|mm | at Class.cmd_ADD_CALENDAR (/home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js:45:20) 0|mm | at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js:36:14) 0|mm | at Socket. (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11) 0|mm | at emitTwo (events.js:125:13) 0|mm | at Socket.emit (events.js:213:7) 0|mm | at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12 0|mm | at _combinedTickCallback (internal/process/next_tick.js:131:7) 0|mm | at process._tickCallback (internal/process/next_tick.js:180:9) 0|mm | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
@Sean
I have done an update from your module.
But know the view of my “bank holidays” does not work anymore (the google calender dates are still working fine)
Can it be that there is some problem accordingly.
I am using via “webcal” these datas from the following adress:
www.ecoline-media.de/ics/bayern_gf.icsThanks for you help and your great work
Cheers -
@vauxdvihl
In my system, it works.
Log:
[CALEXT] http://www.ecoline-media.de/ics/bayern_gf.ics >> Fetch starts. [CALEXT] http://www.ecoline-media.de/ics/bayern_gf.ics >> { state: 'renewed', lastFetchedTime: '18-09-03 08:52:25', lastFetchedEvents: 8, lastFetchedOldEvents: 0, lastServedEvents: 8, error: null }
Config:
{ //disabled:true, module: 'MMM-CalendarExt', position: "top_left", config: { system: { show: ['monthly'] }, views: { monthly: { counts:6 } }, calendars: [ { url: "http://www.ecoline-media.de/ics/bayern_gf.ics" } ] } },
Is there any symptom (eg. error logs) for your issue?
-
@Sean
It is strange
I have copied the file to the systemLog:
[CALEXT] http://localhost:8080/modules/bayern_gf.ics >> 0|mm | { state: 'renewed', 0|mm | lastFetchedTime: '18-09-08 09:07:31', 0|mm | lastFetchedEvents: 17, 0|mm | lastFetchedOldEvents: 0, 0|mm | lastServedEvents: 17, 0|mm | error: null }
Config:
calendars: [ { name: "Ferien Bayern", url: "http://localhost:8080/modules/bayern_gf.ics", styleName: "style1", symbol: 'de@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, },
But the module will not show the datas in the calendar.
Other google calendars are shownAny idea?
Thank
-
@vauxdvihl
Show me the full config of this module. -
@Sean
Here u rThanks
{ module: 'MMM-CalendarExt', position: "lower_third", //anywhere. It is not related to real position of view config: { // Read below system: { show: [/*'current','upcoming',*/'weeks'], locale: 'de', //when omitted, default value would be your system default locale by moment.js showEmptyView: 0, fullDayEventLocalize: 1, redrawInterval: 30*60*1000, //minimum 60000 useProfileConfig: 0, startProfile: '' }, views: { current: { position: "top_center", title: "Heute", limit: 2, }, upcoming: { position: "top_center", title: "Demnächst", limit: 2, }, weeks: { position: "bottom_bar", title: "Überblick", counts: 2, } }, calendars: [ { name: "Ferien Bayern", url: "http://localhost:8080/modules/bayern_gf.ics", styleName: "style1", symbol: 'de@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Müllabfuhr", url: "http://localhost:8080/modules/abfallkalender.ics", classPattern: [["/Gelber Sack/g", "style7"], ["/Restmülltonne/g", "style18"], ["/Biotonne/g", "style20"],["/Papiertonne/g", "style5"],["/Problemabfälle/g", "style1"]], symbol: 'put_litter_in_its_place@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Sascha", url: "https://calendar.google.com/calendar______", styleName: "style19", symbol: 'guitar@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Familie Warneke", url: "https://calendar.google.com/calendar______", styleName: "style6", symbol: 'man-woman-boy-boy@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Benjamin", url: "https://calendar.google.com/calendar_____", styleName: "style11", symbol: 'bike@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Geburtstag", url: "https://calendar.google.com/calendar_____", styleName: "style12", symbol: 'birthday@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Steffi", url: "https://calendar.google.com/calendar______", styleName: "style12", symbol: 'crown@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, { name: "Elyas", url: "https://calendar.google.com/calendar____", styleName: "style11", symbol: 'baby@em', maxEntries: 50, maxDays:365, interval: 24*60*60*1000, }, ], },
-
@vauxdvihl
Hmmm, in my memory of last test, there is no event of Byern holiday in September. Your config would show events in 2 weeks. I think it seems to be normal. Isn’t it? -
@Sean
Sorry no
Currently school is out (summer)
Starts again on tuesday next week
So there should be an entry called “Sommerferien” in the calendar for this week and for next monday.
But i will set it like your requestThanks
-
@vauxdvihl I’ve found what was wrong and fixed it. sorry. update and try again.