@sdetweil
Thx for this information,
but I’ve already done that.
You may remember the other issue where the calendar wasn’t showing and I was able to fix it with that.
It seems to be a problem with Google
@sdetweil
Thx for this information,
but I’ve already done that.
You may remember the other issue where the calendar wasn’t showing and I was able to fix it with that.
It seems to be a problem with Google
@sdetweil
OK
Thought that the author also had the problem and here has a solution for everyone who wants to use the module
module MMM-GoogleSheets has an error in google
TypeError: Cannot read property '0' of undefined (Zeile 11, Datei "Code")
has anybody the same problem and fix it?
Hi @all,
MMM-GoogleSheets not running,
i do all of step1 in the readme, but the module is not running.
all other modules after that will not be loaded.
This message displayed in Chrome
TypeError: Cannot read property '0' of undefined (Zeile 11, Datei "Code")
It seems to be a problem with Google, right? Can someone help
[TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 50 lines:
PM2 | 2022-04-30T18:34:18: PM2 log: ===============================================================================
PM2 | 2022-04-30T18:34:18: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
PM2 | 2022-04-30T18:34:18: PM2 log: Time : Sat Apr 30 2022 18:34:18 GMT+0200 (Mitteleuropäische Sommerzeit)
PM2 | 2022-04-30T18:34:18: PM2 log: PM2 version : 5.2.0
PM2 | 2022-04-30T18:34:18: PM2 log: Node.js version : 16.15.0
PM2 | 2022-04-30T18:34:18: PM2 log: Current arch : arm
PM2 | 2022-04-30T18:34:18: PM2 log: PM2 home : /home/pi/.pm2
PM2 | 2022-04-30T18:34:18: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid
PM2 | 2022-04-30T18:34:18: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock
PM2 | 2022-04-30T18:34:18: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock
PM2 | 2022-04-30T18:34:18: PM2 log: Application log path : /home/pi/.pm2/logs
PM2 | 2022-04-30T18:34:18: PM2 log: Worker Interval : 30000
PM2 | 2022-04-30T18:34:18: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2
PM2 | 2022-04-30T18:34:18: PM2 log: Concurrent actions : 2
PM2 | 2022-04-30T18:34:18: PM2 log: SIGTERM timeout : 1600
PM2 | 2022-04-30T18:34:18: PM2 log: ===============================================================================
PM2 | 2022-04-30T18:34:18: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T18:34:18: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T18:39:52: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T18:39:53: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T18:39:53: PM2 log: pid=1014 msg=process killed
PM2 | 2022-04-30T18:45:45: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T18:45:45: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:43:43: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:43:43: PM2 log: pid=1859 msg=failed to kill - retrying in 100ms
PM2 | 2022-04-30T19:43:43: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:43:43: PM2 log: pid=1859 msg=process killed
PM2 | 2022-04-30T19:44:27: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T19:44:27: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:44:47: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:44:47: PM2 log: pid=2586 msg=failed to kill - retrying in 100ms
PM2 | 2022-04-30T19:44:47: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:44:48: PM2 log: pid=2586 msg=process killed
PM2 | 2022-04-30T19:56:10: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T19:56:10: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:56:37: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:56:37: PM2 log: pid=2916 msg=failed to kill - retrying in 100ms
PM2 | 2022-04-30T19:56:37: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:56:37: PM2 log: pid=2916 msg=process killed
PM2 | 2022-04-30T19:57:51: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T19:57:51: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:58:23: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:58:24: PM2 log: pid=3093 msg=failed to kill - retrying in 100ms
PM2 | 2022-04-30T19:58:24: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:58:24: PM2 log: pid=3093 msg=process killed
PM2 | 2022-04-30T19:58:51: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T19:58:51: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:59:06: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:59:06: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:59:06: PM2 log: pid=3291 msg=process killed
/home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
0|MagicMir | [30.04.2022 19:57.55.534] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:57.55.536] [LOG] Module helper loaded: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:57.55.788] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:57.55.790] [LOG] Module helper loaded: calendar
0|MagicMir | [30.04.2022 19:57.55.792] [LOG] No helper found for module: MMM-OpenmapWeather.
0|MagicMir | [30.04.2022 19:57.55.912] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:57.55.913] [LOG] Module helper loaded: MMM-OpenWeatherForecast
0|MagicMir | [30.04.2022 19:57.56.208] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:57.56.209] [LOG] Module helper loaded: MMM-CalendarExt2
0|MagicMir | [30.04.2022 19:57.56.210] [LOG] All module helpers loaded.
0|MagicMir | [30.04.2022 19:57.56.379] [LOG] Starting server on port 8080 ...
0|MagicMir | [30.04.2022 19:57.56.406] [LOG] Server started ...
0|MagicMir | [30.04.2022 19:57.56.408] [LOG] Connecting socket for: updatenotification
0|MagicMir | [30.04.2022 19:57.56.409] [LOG] Starting module helper: updatenotification
0|MagicMir | [30.04.2022 19:57.56.418] [LOG] Connecting socket for: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:57.56.419] [LOG] Starting module helper: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:57.56.421] [LOG] Connecting socket for: calendar
0|MagicMir | [30.04.2022 19:57.56.422] [LOG] Starting node helper for: calendar
0|MagicMir | [30.04.2022 19:57.56.423] [LOG] Connecting socket for: MMM-OpenWeatherForecast
0|MagicMir | [30.04.2022 19:57.56.425] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
0|MagicMir | [30.04.2022 19:57.56.427] [LOG] Connecting socket for: MMM-CalendarExt2
0|MagicMir | [30.04.2022 19:57.56.428] [LOG] Sockets connected & modules started ...
0|MagicMir | [30.04.2022 19:57.56.847] [LOG] Launching application.
0|MagicMir | [30.04.2022 19:58.01.548] [LOG] Create new calendarfetcher for url: https://outlook.office365.com/owa/calendar/......................../calendar.ics - Interval: 300000
0|MagicMir | [30.04.2022 19:58.02.351] [INFO] Calendar-Fetcher: Broadcasting 21 events.
0|MagicMir |
0|MagicMir | > magicmirror@2.19.0 start
0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMir |
0|MagicMir | [30.04.2022 19:58.55.121] [LOG] Starting MagicMirror: v2.19.0
0|MagicMir | [30.04.2022 19:58.55.133] [LOG] Loading config ...
0|MagicMir | [30.04.2022 19:58.55.144] [LOG] Loading module helpers ...
0|MagicMir | [30.04.2022 19:58.55.158] [LOG] No helper found for module: alert.
0|MagicMir | [30.04.2022 19:58.55.187] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.190] [LOG] Module helper loaded: updatenotification
0|MagicMir | [30.04.2022 19:58.55.193] [LOG] No helper found for module: clock.
0|MagicMir | [30.04.2022 19:58.55.231] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.233] [LOG] Module helper loaded: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:58.55.479] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.481] [LOG] Module helper loaded: calendar
0|MagicMir | [30.04.2022 19:58.55.509] [LOG] Loading module helpers ...
0|MagicMir | [30.04.2022 19:58.55.511] [LOG] No helper found for module: alert.
0|MagicMir | [30.04.2022 19:58.55.513] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.514] [LOG] Module helper loaded: updatenotification
0|MagicMir | [30.04.2022 19:58.55.516] [LOG] No helper found for module: clock.
0|MagicMir | [30.04.2022 19:58.55.518] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.519] [LOG] Module helper loaded: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:58.55.520] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.521] [LOG] Module helper loaded: calendar
0|MagicMir | [30.04.2022 19:58.55.962] [LOG] Launching application.
/home/pi/.pm2/logs/MagicMirror-error.log last 50 lines:
0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
0|MagicMir | -
0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
0|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27)
0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19)
0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:2:15)
0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14)
0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
0|MagicMir | [30.04.2022 19:58.55.535] [ERROR] Whoops! There was an uncaught exception...
0|MagicMir | [30.04.2022 19:58.55.546] [ERROR] Error: Cannot find module 'request'
0|MagicMir | Require stack:
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js
0|MagicMir | - /home/pi/MagicMirror/js/app.js
0|MagicMir | - /home/pi/MagicMirror/js/electron.js
0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
0|MagicMir | -
0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
0|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27)
0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19)
0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:2:15)
0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14)
0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) {
0|MagicMir | code: 'MODULE_NOT_FOUND',
0|MagicMir | requireStack: [
0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js',
0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js',
0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js',
0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js',
0|MagicMir | '/home/pi/MagicMirror/js/app.js',
0|MagicMir | '/home/pi/MagicMirror/js/electron.js',
0|MagicMir | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
0|MagicMir | undefined
0|MagicMir | ]
0|MagicMir | }
0|MagicMir | [30.04.2022 19:58.55.549] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [30.04.2022 19:58.55.550] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [3346:0430/195856.732859:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
0|MagicMir | [3376:0430/195856.878771:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
@sdetweil
I cannot find the it.
:tired_face: :sleepy_face: :sneezing_face:
I don’t know what to look for and where. SORRY
but still a black screen when I activate the module
@sdetweil
now i use your script
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
No LSB modules are available.
doing test run = true, NO updates will be applied!
update log will be in /home/pi/MagicMirror/installers/upgrade.log
Check current Node installation ...
Node currently installed. Checking version number.
Minimum Node version: v16.9.1
Installed Node version: v16.15.0
No Node.js upgrade necessary.
Check current NPM installation ...
NPM currently installed. Checking version number.
Minimum npm version: V7.11.2
Installed npm version: V8.5.5
No npm upgrade necessary.
saving custom.css
upgrading from version 2.19.0 to 2.19.0
fetching latest revisions
there are 2 local files that are different than the master repo
installers/mm.sh
package-lock.json
any *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?Y
Checking for modules with removed libraries
require for valid-url in module MMM-MyCalendar not found in package.json package.json for module MMM-MyCalendar
bypass installing valid-url for module MMM-MyCalendar , doing test run
processing dependency changes for active modules with package.json files
processing for module MMM-bsh-tides please wait
----------------------------------
skipped processing for MMM-bsh-tides, doing test run
processing complete for module MMM-bsh-tides
processing for module MMM-OpenWeatherForecast please wait
----------------------------------
skipped processing for MMM-OpenWeatherForecast, doing test run
processing complete for module MMM-OpenWeatherForecast
restoring custom.css
test run, restoring files stashed
Hi,
after installation MyCalendar and configure the config.js with
{
module: "MMM-MyCalendar",
position: "top_center",
classes: "default everyone",
header: "Upcoming",
disabled: false,
config: {
colored: true,
maximumNumberOfDays: 30,
maximumEntries: 10,
fade: false,
maxTitleLength: 500,
useRelativeDates: false,
dayOfWeekFormat: "dddd",
timeFormat: "HH:mm [Uhr]",
dateFormat: "MMMM D",
joiningWord: "at",
urgency: 1,
calendars: [
{
url: "https://outlook.office365.com/owa/calendar/......./calendar.ics",
color: "#ffb350"
}
]
}
},
and start pm2 the screen ist black.
disable the module all works well.
can anybody help???
I think it´s a problem with CalenderExt2
Hi,
install all new with script.
MMM-CalendarExt2 don´t displayed.
Altenativ Standard Calendar runs
Other options??
tomorrow i would like to install all new (sdcard)
after that i install MM
where can i find your script for install it?
let config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost"
port: 8081,
basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a /
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP
httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
language: "de",
locale: "de-DE",
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
timeFormat: 24,
units: "metric",
// serverOnly: true/false/"local" ,
// local for armv6l processors, default
// starts serveronly and then starts chrome browser
// false, default for all NON-armv6l devices
// true, force serveronly mode, because you want to.. no UI on this device
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_right"
},
{
module: "MMM-DWD-WarnWeather",
position: "top_right",
config: {
warnCellID: "803455020",
changeColor: true,
minutes: false,
displayRegionName: true,
displayInnerHeader: true,
interval: 5 * 60 * 1000, // every 5 minutes
loadingText: "Warnungen werden geladen...",
noWarningText: "Keine Warnungen",
severityThreshold: 1
}
},
{
module: "MMM-bsh-tides",
position: "top_right",
header: "*********",
config: {
filename: "*********", // file from https://tableau.bsh.de/views/Gezeitenvorausberechnung_V02/Download-Bereich
todayLabel: "Heute",
tomorrowLabel: "Morgen",
highTide: "Hochwasser",
lowTide: "Niedrigwasser",
showIcons: false, // Hide or show arrow icons
updateInterval: 60 * 60 * 1000, // 1 hour
}
},
{
module: "MMM-OpenmapWeather",
position: "top_left", // This can be any of the regions. Best results in left or right regions.
header: "Current Weather", //Location is the default value if header is empty or not defined.
config: {
// See 'Configuration options' for more information.
location: "*******",
locationID: "***********", //Location ID from http://openweathermap.org/help/city_list.txt
appid: "***************", //openweathermap.org API key
colorIcon: true
}
},
{
module: "MMM-OpenWeatherForecast",
position: "top_left",
header: "Wettervorhersage Hooksiel",
language: "de",
config: {
apikey: "*****************", //only string here
latitude: 53.640873, //number works here
longitude: 8.093848, //so does a string
units: "metric",
iconset: "5c",
colored: true,
concise: true,
requestDelay: "2000",
showFeelsLikeTemp: true,
showCurrentConditions: false,
showSummary: false,
showExtraCurrentConditions: true,
extraCurrentConditions: {
highLowTemp: true,
precipitation: true,
sunrise: true,
sunset: true,
wind: true,
barometricPressure: true,
humidity: true,
dewPoint: false,
uvIndex: true,
visibility: true
},
}
},
{
module: "MMM-CalendarExt2",
config: {
calendars : [
{
name: "******",
url: "***********",
scanInterval: 7200000, //(already tried: 1000*60*60*2, 2*60*60*1000, )
},
],
views: [
{
name: "view1",
mode: "week",
calendars: ["******"],
hideOverflow: false,
position: "top_bar",
slotCount: 3,
filterPassedEvent: true,
locale: "de-DE",
},
{
name: "upcoming",
mode: "upcoming",
position: "top_center",
maxItems: 5,
maxDays: 7,
locale: "de-DE",
hideOverflow: false,
filterPassedEvent: true,
},
],
scenes: [
{
name: "DEFAULT",
},
],
},
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}