@sdetweil Thank you. Took me a while to find the time but now I apllied your fix (mentioned above, saw your updated script afterwars only) and had to reinstall “request”-library to some addons.
Now working.
@sdetweil Thank you. Took me a while to find the time but now I apllied your fix (mentioned above, saw your updated script afterwars only) and had to reinstall “request”-library to some addons.
Now working.
Hi,
does anybody know it LG Thinq connected devices are also compatible with Home Connect OR if there is something like a “bridge to home connect” app OR if there is a way to display the device status og LG Thinq devices on MagicMirror?
With my new kitchen, I have three different standards…Miele@home, Home Connect and LG Thinq…
Well, redone everything, now working. No idea what went wrong in first place…
@sdetweil Yes, only if indicated in the installation instructions to do so.
Well, redone everything, now working. No idea what went wrong in first place…
@sdetweil I just go into the MagicMirror/modules folder, git clone https://repository.of.module, enter the modules directory and npm install. Thats it…
Hi,
I just reinstalled my Pi from scratch (Raspbian Buster) and installed MM current version through @sdetweil 's installation script.
Everything worked at once, MM started up on boot.
Then I startet installing my modules, just git cloning them and doing npm install in the modules directories. No edit of config.js, I intend to use my old config.js.
At some point I noticed that MM would not display - it is running, but electron throws an error:
$ pm2 logs MagicMirror --lines=50
[TAILING] Tailing last 50 lines for [MagicMirror] process (change the value with --lines option)
/home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
0|MagicMir |
0|MagicMir |
0|MagicMir | > magicmirror@2.22.0 start
0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMir |
0|MagicMir |
0|MagicMir | > magicmirror@2.22.0 start
0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMir |
0|MagicMir |
0|MagicMir | > magicmirror@2.22.0 start
0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMir |
0|MagicMir |
0|MagicMir | > magicmirror@2.22.0 start
0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMir |
0|MagicMir | [05.01.2023 21:54.19.799] [LOG] Starting MagicMirror: v2.22.0
0|MagicMir | [05.01.2023 21:54.19.819] [LOG] Loading config ...
0|MagicMir | [05.01.2023 21:54.19.830] [LOG] Loading module helpers ...
0|MagicMir | [05.01.2023 21:54.19.835] [LOG] No helper found for module: alert.
0|MagicMir | [05.01.2023 21:54.19.866] [LOG] Initializing new module helper ...
0|MagicMir | [05.01.2023 21:54.19.867] [LOG] Module helper loaded: updatenotification
0|MagicMir | [05.01.2023 21:54.19.869] [LOG] No helper found for module: clock.
0|MagicMir | [05.01.2023 21:54.20.499] [LOG] Initializing new module helper ...
0|MagicMir | [05.01.2023 21:54.20.504] [LOG] Module helper loaded: calendar
0|MagicMir | [05.01.2023 21:54.20.508] [LOG] No helper found for module: compliments.
0|MagicMir | [05.01.2023 21:54.20.512] [LOG] No helper found for module: weather.
0|MagicMir | [05.01.2023 21:54.20.584] [LOG] Initializing new module helper ...
0|MagicMir | [05.01.2023 21:54.20.586] [LOG] Module helper loaded: newsfeed
0|MagicMir | [05.01.2023 21:54.20.587] [LOG] All module helpers loaded.
0|MagicMir | [05.01.2023 21:54.20.876] [LOG] Starting server on port 8080 ...
0|MagicMir | [05.01.2023 21:54.21.957] [LOG] Server started ...
0|MagicMir | [05.01.2023 21:54.21.964] [LOG] Connecting socket for: updatenotification
0|MagicMir | [05.01.2023 21:54.21.967] [LOG] Starting module helper: updatenotification
0|MagicMir | [05.01.2023 21:54.21.968] [LOG] Connecting socket for: calendar
0|MagicMir | [05.01.2023 21:54.21.970] [LOG] Starting node helper for: calendar
0|MagicMir | [05.01.2023 21:54.21.972] [LOG] Connecting socket for: newsfeed
0|MagicMir | [05.01.2023 21:54.21.976] [LOG] Starting node helper for: newsfeed
0|MagicMir | [05.01.2023 21:54.21.978] [LOG] Sockets connected & modules started ...
0|MagicMir | [05.01.2023 21:54.22.107] [LOG] Launching application.
0|MagicMir | [05.01.2023 21:54.29.651] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
0|MagicMir | [05.01.2023 21:54.29.678] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
0|MagicMir | [05.01.2023 21:54.29.745] [INFO] Checking git for module: default
0|MagicMir | [05.01.2023 21:54.30.830] [INFO] Newsfeed-Fetcher: Broadcasting 32 items.
0|MagicMir | [05.01.2023 21:54.31.214] [INFO] Calendar-Fetcher: Broadcasting 15 events.
0|MagicMir |
0|MagicMir | > magicmirror@2.22.0 start
0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMir |
/home/pi/.pm2/logs/MagicMirror-error.log last 50 lines:
0|MagicMir | at f._load (node:electron/js2c/asar_bundle:2:13328)
0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1035:19)
0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:16:24)
0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1141:14)
0|MagicMir | at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
0|MagicMir | [2805:0105/214507.331437:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
0|MagicMir | [2825:0105/214507.549549:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
0|MagicMir | [3628:0105/215425.860928:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
0|MagicMir | [3670:0105/215426.220444:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
0|MagicMir | [3641:0105/215426.273319:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
0|MagicMir | [05.01.2023 21:56.59.668] [ERROR] App threw an error during load
0|MagicMir | [05.01.2023 21:56.59.690] [ERROR] Error: Cannot find module '/home/pi/MagicMirror/js/../modules/default/defaultmodules'
0|MagicMir | Require stack:
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:963:15)
0|MagicMir | at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
0|MagicMir | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|MagicMir | at Module._load (node:internal/modules/cjs/loader:811:27)
0|MagicMir | at f._load (node:electron/js2c/asar_bundle:2:13328)
0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1035:19)
0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:16:24)
0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1141:14)
0|MagicMir | at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
0|MagicMir | A JavaScript error occurred in the main process
0|MagicMir | Uncaught Exception:
0|MagicMir | Error: Cannot find module '/home/pi/MagicMirror/js/../modules/default/defaultmodules'
0|MagicMir | Require stack:
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:963:15)
0|MagicMir | at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
0|MagicMir | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|MagicMir | at Module._load (node:internal/modules/cjs/loader:811:27)
0|MagicMir | at f._load (node:electron/js2c/asar_bundle:2:13328)
0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1035:19)
0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:16:24)
0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1141:14)
0|MagicMir | at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
0|MagicMir | [1780:0105/215705.238610:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
0|MagicMir | [1804:0105/215706.349139:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
0|MagicMir | [1830:0105/215706.819295:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
I renamed the MM directory and installed again. MM was running fine. Then I copied back the modules folder - and got this error back.
Can anyone point out what is going wrong here?
@mickecarlsson Thanks, “request” had to be installed there and for another module, now my mirror is working again.
Hi,
just updated my MM from 2.18 to 2.19, @sdetweil’s update script threw no errors.
Now I get a black screen with mouse pointer only.
pm2 logs --lines=50 output:
0|MagicMir | [02.04.2022 09:09.59.133] [WARN] [yahoo-finance2] Please upgrade to yahoo-finance2@latest, i.e. 2.x. The only breaking change is a fix in quoteSummary to correctly return Date objects instead of numerical timestamps in these submodules: defaultKeyStatistics, earningsHistory, insiderHolders. For more info see: https://github.com/gadicc/node-yahoo-finance2/commit/4cf1f624d55d92f80db4b36b3afe9414f5eb5a3c
0|MagicMir | [02.04.2022 09:09.59.764] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
0|MagicMir | Require stack:
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCommute/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 | [02.04.2022 09:09.59.774] [ERROR] App threw an error during load
0|MagicMir | [02.04.2022 09:09.59.780] [ERROR] Error: Cannot find module 'request'
0|MagicMir | Require stack:
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCommute/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:13331)
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-MyCommute/node_helper.js:9:17)
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 | [02.04.2022 09:09.59.783] [ERROR] Whoops! There was an uncaught exception...
0|MagicMir | [02.04.2022 09:09.59.795] [ERROR] Error: Cannot find module 'request'
0|MagicMir | Require stack:
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCommute/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:13331)
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-MyCommute/node_helper.js:9:17)
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-MyCommute/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 | [02.04.2022 09:09.59.798] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [02.04.2022 09:09.59.800] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [3003:0402/091001.395115:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
0|MagicMir | [3030:0402/091001.541186:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
The pi has a internet connection.
Any ideas?
Thanks for the update. So I just ignore it and wait for fix.
Just noticed that I get this message on MM startup. Everything is running, current update installed this morning.
0|MagicMirror | [26.01.2022 11:04.50.818] [ERROR]
0|MagicMirror | ERROR! Could not validate main module js file.
0|MagicMirror | [26.01.2022 11:04.50.839] [ERROR]
0|MagicMirror | ReferenceError: Log is not defined
0|MagicMirror | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Jast/MMM-Jast.js:14:4347)
0|MagicMirror | at Module._compile (node:internal/modules/cjs/loader:1116:14)
0|MagicMirror | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
0|MagicMirror | at Module.load (node:internal/modules/cjs/loader:988:32)
0|MagicMirror | at Module._load (node:internal/modules/cjs/loader:829:12)
0|MagicMirror | at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
0|MagicMirror | at Module.require (node:internal/modules/cjs/loader:1012:19)
0|MagicMirror | at require (node:internal/modules/cjs/helpers:94:18)
0|MagicMirror | at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:313:30)
0|MagicMirror | at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:267:26
0|MagicMirror | [2805:0126/110450.830713:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
@jalibu Das ging schnell, danke.
Klappt bei mir aber noch nicht. Die lhp-Informationen werden jetzt gelb statt rot (statt gar nicht mehr) angezeigt, eine vorher rote Aufhebung einer Warnung ist jetzt grau.
Config:
{
module: "MMM-NINA",
header: "NINA-Warnmeldungen",
position: "top_center",
config: {
ags: ["removed", "removed"], // Liste der Gemeinden, die abgefragt werden sollen
maxAgeInHours: 24,
excludeProviders: ['lhp'],
maxWidth: "400px",
mergeAlerts: true,
showIcon: true,
showDate: true,
showCity: true,
showNoWarning: true,
theme: "side", // Erlaubte Werte: top, side
updateIntervalInSeconds: 120,
}
},
Die Hochwasserinformationen nerven in der Tat, zumal sie ständig aktualisiert werden und ständig eingeblendet sind. Wäre toll, die ausfiltern zu können (excludeProviders wie oben hat bei mir nicht funktioniert).