Read the statement by Michael Teeuw here.
Can't get MMM-CalendarExt2 module to load
-
I’m very new to this so bear with me. I’m trying to create a magicMirror for my wife for a Christmas present and I’m having trouble getting MMM-CalendarExt2 to load. I don’t see any errors in the console. It just doesn’t load the module when loading the other modules in my configuration.
Here’s the console log:
loader.js:184 Load script: modules/MMM-CalendarExt2/CALEXT2_ViewUpcoming.js
loader.js:184 Load script: modules/MMM-CalendarExt2/CALEXT2_ViewWeek.js
loader.js:184 Load script: modules/MMM-CalendarExt2/CALEXT2_ViewWeekly.js
loader.js:184 Load script: modules/MMM-CalendarExt2/CALEXT2_Legend.js
loader.js:184 Load script: //code.iconify.design/1/1.0.0-rc3/iconify.min.js
loader.js:160 Scripts loaded for: MMM-CalendarExt2
loader.js:203 Load stylesheet: modules/MMM-CalendarExt2/MMM-CalendarExt2.css
loader.js:162 Styles loaded for: MMM-CalendarExt2
loader.js:164 Translations loaded for: MMM-CalendarExt2
loader.js:184 Load script: modules/default/alert/alert.js
module.js:509 Module registered: alert
loader.js:155 Bootstrapping module: alert
loader.js:184 Load script: modules/default/alert/notificationFx.js
loader.js:160 Scripts loaded for: alert
loader.js:203 Load stylesheet: vendor/css/font-awesome.css
loader.js:203 Load stylesheet: modules/default/alert/./styles/notificationFx.css
loader.js:203 Load stylesheet: modules/default/alert/./styles/center.css
loader.js:162 Styles loaded for: alert
translator.js:107 alert - Load translation: translations/en.json
VM1530 sandbox_bundle:53 Electron Security Warning (Insecure
Resources) This renderer process loads resources using insecure
protocols. This exposes users of this app to unnecessary security risks.
Consider loading the following resources over HTTPS or FTPS.For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
VM1530 sandbox_bundle:53 Electron Security Warning (Insecure
Content-Security-Policy) This renderer process has either no Content
Security
Policy set or a policy with “unsafe-eval” enabled. This exposes users of
this app to unnecessary security risks.For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
translator.js:107 alert - Load translation fallback: translations/bg.json
loader.js:164 Translations loaded for: alert
loader.js:184 Load script:
modules/default/updatenotification/updatenotification.js
module.js:509 Module registered: updatenotification
loader.js:155 Bootstrapping module: updatenotification
loader.js:160 Scripts loaded for: updatenotification
loader.js:203 Load stylesheet:
modules/default/updatenotification/updatenotification.css
loader.js:162 Styles loaded for: updatenotification
loader.js:164 Translations loaded for: updatenotification
loader.js:184 Load script: modules/default/clock/clock.js
module.js:509 Module registered: clock
loader.js:155 Bootstrapping module: clock
loader.js:244 File already loaded: moment.js
loader.js:184 Load script:
vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
loader.js:184 Load script: vendor/node_modules/suncalc/suncalc.js
loader.js:160 Scripts loaded for: clock
loader.js:203 Load stylesheet: modules/default/clock/clock_styles.css
loader.js:162 Styles loaded for: clock
loader.js:164 Translations loaded for: clock
loader.js:184 Load script: modules/default/weather/weather.js
module.js:509 Module registered: weather
loader.js:155 Bootstrapping module: weather
loader.js:244 File already loaded: moment.js
loader.js:184 Load script: modules/default/weather/weatherprovider.js
loader.js:184 Load script: modules/default/weather/weatherobject.js
loader.js:244 File already loaded: suncalc.js
loader.js:184 Load script: modules/default/weather/providers/openweathermap.js
loader.js:160 Scripts loaded for: weather
loader.js:244 File already loaded: font-awesome.css
loader.js:203 Load stylesheet:
vendor/node_modules/weathericons/css/weather-icons.css
loader.js:203 Load stylesheet: modules/default/weather/weather.css
loader.js:162 Styles loaded for: weather
loader.js:164 Translations loaded for: weather
loader.js:203 Load stylesheet: css/custom.css
alert.js:47 Starting module: alert
updatenotification.js:18 Starting module: updatenotification
clock.js:48 Starting module: clock
weatherprovider.js:35 Weather provider: OpenWeatherMap initialized.
weatherprovider.js:46 Weather provider: OpenWeatherMap started.
main.js:501 All modules started!Here’s my very simple configuration to get proof of concept:
modules: [
{
module: ‘MMM-CalendarExt2’,
config: {
calendars : [
{
name: “usHoliday”,
url: “http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics”,
},
],
views: [
{
name: “daily”,
mode: “daily”,
type: “row”,
position: “bottom_bar”,
slotCount: 7,
locale: “en”,
hideOverflow: false,
filterPassedEvent: true,
calendars: [“usHoliday”,],
},
],
scenes: [
{
name: “DEFAULT”,
views: [“daily”,],
},
],
},
},
{
module: “alert”,
},
{
module: “updatenotification”,
position: “top_bar”
},
{
module: “clock”,
position: “top_left”
},
{
module: “weather”,
position: “top_right”,
config: {
weatherProvider: “openweathermap”,
type: “current”,
location: “Fort Collins”,
locationID: “5577147”, //ID from http://bulk.openweathermap.org/sample/city.list.json.gz;
apiKey: “92e11e9f351f49fe4c1039ba63f42f76”
}
},
]
};Any ideas?
TIA -
@katalopapi ext2 is no longer supported, I recommend u look at EXT3. it gets it’s info from the default calendar. only one app loading cal info.