MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. requiemmg
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 71
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Error on new installation

      @sdetweil Yes, only if indicated in the installation instructions to do so.

      posted in Troubleshooting
      R
      requiemmg
    • RE: Error on new installation

      Well, redone everything, now working. No idea what went wrong in first place…

      posted in Troubleshooting
      R
      requiemmg
    • RE: Error on new installation

      @sdetweil I just go into the MagicMirror/modules folder, git clone https://repository.of.module, enter the modules directory and npm install. Thats it…

      posted in Troubleshooting
      R
      requiemmg
    • Error on new installation

      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?

      posted in Troubleshooting
      R
      requiemmg
    • RE: Black screen after updating to 2.19

      @mickecarlsson Thanks, “request” had to be installed there and for another module, now my mirror is working again.

      posted in Troubleshooting
      R
      requiemmg
    • Black screen after updating to 2.19

      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?

      posted in Troubleshooting
      R
      requiemmg
    • RE: [MMM-JaST] Just another Stock Ticker (new: version 2.x)

      Thanks for the update. So I just ignore it and wait for fix.

      posted in Utilities
      R
      requiemmg
    • RE: [MMM-JaST] Just another Stock Ticker (new: version 2.x)

      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
      
      posted in Utilities
      R
      requiemmg
    • RE: MMM-NINA

      @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,
      
                  }
              },
      
      posted in Utilities
      R
      requiemmg
    • RE: MMM-NINA

      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).

      posted in Utilities
      R
      requiemmg
    • RE: MMM-Spotify

      @skuethe Thanks. U was asking about Multi-user way back in this thread before you started maintenance. I’d think this might be great for visualization. But I think It’d need an additional multi-user view (and personally, I like to use the bar menu)

      posted in Entertainment
      R
      requiemmg
    • RE: MMM-AVStock

      @lavolp3 Is this module still being maintained?

      posted in Productivity
      R
      requiemmg
    • RE: MMM-Spotify

      @skuethe Thanks for maintaining this project. I understand that it is still not possible to display multiple accounts at the same time? (Family account, different devices; e.g. display “x is playing for user y on device z” or so?)

      Another feature request: I’d like the module to be hidden when nothing is being played. I am just using this for status display, not for control of spotify. Possible to add in a coming version?

      posted in Entertainment
      R
      requiemmg
    • RE: MMM-FRITZ-Box-Callmonitor

      @sdetweil Thanks. That’s way beyond my abilities.

      posted in Troubleshooting
      R
      requiemmg
    • RE: MMM-FRITZ-Box-Callmonitor

      @sdetweil When I put it in the script in the first line, it will thow an invalid syntax error. Sorry, I guess I have to stick with the current functionality, I have no programming skills.
      Thanks for your help.

      posted in Troubleshooting
      R
      requiemmg
    • RE: MMM-FRITZ-Box-Callmonitor

      from where I executed this command? from the modules’ directory.

      The module is working if I use the .vcf method. But not if I want to log in via the module to fetch the latest calls.

      posted in Troubleshooting
      R
      requiemmg
    • RE: MMM-FRITZ-Box-Callmonitor

      @sdetweil Tried to fix this with
      export PATH=“$PATH:/usr/local/bin/fritzconnection”

      and
      export PATH=“$PATH:/usr/local/bin/python”

      to no avail…error stays the same

      posted in Troubleshooting
      R
      requiemmg
    • RE: MMM-FRITZ-Box-Callmonitor

      @sdetweil Thanks, yes, this has been installed with sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev && sudo pip install fritzconnection as stated on the plugins’ page (https://github.com/paviro/MMM-FRITZ-Box-Callmonitor) and https://pypi.org/project/fritzconnection/

      And as stated above: When I call fritzconnection from shell, it works. But when I call the script used by the plugin, it fails on the import of the library and I have no idea why.

      posted in Troubleshooting
      R
      requiemmg
    • RE: MMM-FRITZ-Box-Callmonitor

      @shadowmg
      Just did a fresh install today. Installed MMM-FRRITZ-Box-Callmonitor, did npm install and installed fritzconnection.
      Also installed fritzconnection.

      pi@smartmirror:~/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor $ fritzconnection
      
      fritzconnection v1.8.0
      FRITZ!Box 6591 Cable at http://169.254.1.1
      FRITZ!OS: 7.29
      

      But when I use

      python fritz_access.py -u user -p pass -i 192.168.0.1
      

      i get

      Traceback (most recent call last):
        File "fritz_access.py", line 1, in <module>
          import argparse, os, fritzconnection, urllib2, sys, json
      ImportError: No module named fritzconnection
      

      Any idea on how to fix this? @paviro @sdetweil?

      posted in Troubleshooting
      R
      requiemmg
    • RE: MM fails to start after update

      @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.

      posted in Troubleshooting
      R
      requiemmg
    • 1 / 1