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: Black screen after 2.13 update - tentatively resolved

      Thanks for your help, Sam, this is very much appreciated.

      Ok, so I went into

      /MagicMirror/node_modules

      did a

      sudo rm -r electron

      went back to /MagicMirror

      and did an npm install

      This reinstalled electron. Unfortunately, I still got a black screen.

      So, I renamed MagicMirror

      made a git pull && npm install of the MagicMirror repo
      and moved my css, config and modules folder from the old directory.

      And I still get a black screen. :-(

      posted in Troubleshooting
      R
      requiemmg
    • Black screen after 2.13 update - tentatively resolved

      Hi,

      after updating both of my MM installations (raspi 3B+ on Raspian Buster) with git pull && npm install, I only get a black screen.
      I went into every modules directory and also did a npm install there, still the same.

      This is the MagicMirror-out.log

      > magicmirror@2.13.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [2020-10-01 17:24:12.728] [LOG]    Starting MagicMirror: v2.13.0
      [2020-10-01 17:24:12.765] [LOG]    Loading config ...
      [2020-10-01 17:24:12.785] [LOG]    Loading module helpers ...
      [2020-10-01 17:24:12.790] [LOG]    No helper found for module: MMM-pages.
      [2020-10-01 17:24:12.792] [LOG]    No helper found for module: alert.
      [2020-10-01 17:24:12.810] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:12.812] [LOG]    Module helper loaded: mmpm
      [2020-10-01 17:24:12.954] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:12.955] [LOG]    Module helper loaded: updatenotification
      [2020-10-01 17:24:13.936] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:13.939] [LOG]    Module helper loaded: newsfeed
      [2020-10-01 17:24:13.945] [LOG]    No helper found for module: MMM-page-indicator.
      [2020-10-01 17:24:13.947] [LOG]    No helper found for module: clock.
      [2020-10-01 17:24:13.962] [LOG]    No helper found for module: MMM-Callmonitor-Current-Call.
      [2020-10-01 17:24:15.487] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:15.488] [LOG]    Module helper loaded: MMM-Spotify
      [2020-10-01 17:24:15.698] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:15.701] [LOG]    Module helper loaded: calendar
      [2020-10-01 17:24:16.895] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:16.897] [LOG]    Module helper loaded: MMM-MyCommute
      [2020-10-01 17:24:16.902] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:16.903] [LOG]    Module helper loaded: MMM-Vrr
      [2020-10-01 17:24:17.868] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:17.869] [LOG]    Module helper loaded: MMM-AVStock
      [2020-10-01 17:24:17.879] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:17.879] [LOG]    Module helper loaded: MMM-News
      [2020-10-01 17:24:18.990] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:18.992] [LOG]    Module helper loaded: MMM-MovieListings
      [2020-10-01 17:24:19.001] [LOG]    No helper found for module: MMM-PlexNowPlaying.
      [2020-10-01 17:24:19.031] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:19.032] [LOG]    Module helper loaded: MMM-teamspeak3
      [2020-10-01 17:24:19.613] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:19.614] [LOG]    Module helper loaded: MMM-FRITZ-Box-Callmonitor
      [2020-10-01 17:24:20.530] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:20.532] [LOG]    Module helper loaded: MMM-DWD-WarnWeather
      [2020-10-01 17:24:20.812] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:20.812] [LOG]    Module helper loaded: MMM-Fuel
      [2020-10-01 17:24:20.815] [LOG]    No helper found for module: MMM-WeatherOrNot.
      [2020-10-01 17:24:20.966] [LOG]    Initializing new module helper ...
      [2020-10-01 17:24:20.967] [LOG]    Module helper loaded: MMM-Bring
      [2020-10-01 17:24:20.967] [LOG]    All module helpers loaded.
      [2020-10-01 17:24:21.297] [LOG]    Starting server on port 8080 ... 
      [2020-10-01 17:24:21.301] [INFO]   You're using a full whitelist configuration to allow for all IPs
      [2020-10-01 17:24:21.311] [LOG]    Server started ...
      [2020-10-01 17:24:21.312] [LOG]    Connecting socket for: mmpm
      [2020-10-01 17:24:21.314] [LOG]    Starting module helper: mmpm
      [2020-10-01 17:24:21.315] [LOG]    Connecting socket for: updatenotification
      [2020-10-01 17:24:21.316] [LOG]    Connecting socket for: newsfeed
      [2020-10-01 17:24:21.317] [LOG]    Starting node helper for: newsfeed
      [2020-10-01 17:24:21.318] [LOG]    Connecting socket for: MMM-Spotify
      [2020-10-01 17:24:21.320] [LOG]    Connecting socket for: calendar
      [2020-10-01 17:24:21.321] [LOG]    Starting node helper for: calendar
      [2020-10-01 17:24:21.322] [LOG]    Connecting socket for: MMM-MyCommute
      [2020-10-01 17:24:21.323] [LOG]    ====================== Starting node_helper for module [MMM-MyCommute]
      [2020-10-01 17:24:21.325] [LOG]    Connecting socket for: MMM-Vrr
      [2020-10-01 17:24:21.325] [LOG]    Starting module helper: MMM-Vrr
      [2020-10-01 17:24:21.327] [LOG]    Connecting socket for: MMM-AVStock
      [2020-10-01 17:24:21.328] [LOG]    Connecting socket for: MMM-News
      [2020-10-01 17:24:21.330] [LOG]    Connecting socket for: MMM-MovieListings
      [2020-10-01 17:24:21.331] [LOG]    MMM-MovieListing helper started...
      [2020-10-01 17:24:21.332] [LOG]    Connecting socket for: MMM-teamspeak3
      [2020-10-01 17:24:21.333] [LOG]    Connecting socket for: MMM-FRITZ-Box-Callmonitor
      [2020-10-01 17:24:21.334] [LOG]    Starting module: MMM-FRITZ-Box-Callmonitor
      [2020-10-01 17:24:21.335] [LOG]    Connecting socket for: MMM-DWD-WarnWeather
      [2020-10-01 17:24:21.336] [LOG]    MMM-DWD-WarnWeather helper started...
      [2020-10-01 17:24:21.338] [LOG]    Connecting socket for: MMM-Fuel
      [2020-10-01 17:24:21.339] [LOG]    Starting module helper: MMM-Fuel
      [2020-10-01 17:24:21.340] [LOG]    Connecting socket for: MMM-Bring
      [2020-10-01 17:24:21.341] [LOG]    Sockets connected & modules started ...
      [2020-10-01 17:24:22.250] [LOG]    Launching application.
      
      

      And this is the MagicMirror-Error.log

      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
          at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T14_50_30_431Z-debug.log
      /home/pi/MagicMirror/node_modules/electron/index.js:14
          throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
          ^
      
      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
          at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T14_50_32_599Z-debug.log
      /home/pi/MagicMirror/node_modules/electron/index.js:14
          throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
          ^
      
      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
          at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T14_50_34_933Z-debug.log
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T14_56_00_612Z-debug.log
      
      (electron:8618): Gtk-WARNING **: 16:56:06.132: cannot open display: :0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T14_56_06_222Z-debug.log
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T15_04_56_267Z-debug.log
      
      (electron:2030): Gtk-WARNING **: 17:05:00.111: cannot open display: :0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T15_05_00_173Z-debug.log
      
      (electron:2083): Gtk-WARNING **: 17:05:02.621: cannot open display: :0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T15_05_02_681Z-debug.log
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T15_22_33_870Z-debug.log
      
      (electron:2078): Gtk-WARNING **: 17:22:37.845: cannot open display: :0
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.13.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.13.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-10-01T15_22_37_929Z-debug.log
      

      Looks like there is a problem with electron, but why, and more important, how do I fix it?

      posted in Troubleshooting
      R
      requiemmg
    • RE: MMM-COVID19-SPARKLINE

      HI,

      have been using this for a while now, nice work.
      I used this on my starting page on my Mirror (i use multiple pages).

      And I wondered, why another module (MMM-AVStock) did not draw its graphs.
      Just learned that if you use 2 modules which use highline, one will not work, unfortunately.

      Just FYI if someone else runs into this experience.
      (https://github.com/lavolp3/MMM-AVStock/issues/40)

      All credits for finding this to lavlop3!

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

      So far, no maintainer.

      Anyone else noticing that the module is not working with FRITZ!OS 7.20 anymore? (FB6590 Cable here, was working with the betas).

      posted in Troubleshooting
      R
      requiemmg
    • RE: MMM-Spotify

      I understand the CPU and traffic issue, but would there be any chance to check at least 2 accounts at the same time in a future version?

      posted in Entertainment
      R
      requiemmg
    • RE: MMM-Fuel does not show any data

      Uncomment (remove) the // from types and provider.
      I suppose you registered on tankerkoenig.de and obtained an actual API key and are not running with xxxxxxx-xxx-xxx API key?

      posted in Troubleshooting
      R
      requiemmg
    • RE: MMPM 2.01 Now Available on PyPI!

      Addition: mmpm log shows this.
      No errors in pm2 log.

      Excerpt from my config:

      var config = {
      	address: "0.0.0.0", // 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: 8080,
      	ipWhitelist: [], // Set [] to allow all IP addresses
      

      This is mmpm log:

      2020/07/29 10:49:53 [error] 735#735: *35 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.0.100, server: _, request: "GET / HTTP/1.1", upstream: "http://[::1]:7891/", host: "192.168.0.123:7890"
      2020/07/29 10:49:53 [error] 735#735: *35 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.0.100, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "http://[::1]:7891/favicon.ico", host: "192.168.0.123:7890"
      
      posted in Utilities
      R
      requiemmg
    • RE: MMPM 2.01 Now Available on PyPI!

      Now I have a strange problem:

      MMPM 2.01 worked for me for a few days.
      Yesterday, on one of my 2 mirrors (they are both exactly the same hardware, config and setup, in fact I have set up one and cloned its drive to the others SD card) i got a Nginx 502 Bad gateway error when I tried to open up the MMPM GUI.
      I did a full uninstall of MMPM and reinstalled. Worked as intended.
      This morning the error again (the Pi does a scheduled reboot in the night).
      Reinstalled again.
      Browser cache is cleared.

      Mirror 1 - works perfectly
      Mirror 2 - works after reinstallation until i make a reboot.

      Installed with --force-reinstall, --no-cache-dir and --upgrade

      Anyone having an idea?

      posted in Utilities
      R
      requiemmg
    • RE: MMPM 2.01 Now Available on PyPI!

      Uninstalled MMPM 1 and installed MMPM 2. Problem:
      mmpm install --gui # to install the GUI (needs sudo permissions)

      When I execute this without sudo, I get a bad Gateway error by nginx when I try to call the URI.

      Wenn I do “sudo mmpm install --gui” it tells me “mmpm not found”, as well as when I try “sudo su” and then execute the command. How do I fix this?

      posted in Utilities
      R
      requiemmg
    • RE: MMPM 2.01 Now Available on PyPI!

      Thanks for your work!
      Do I start the upgrade process from mmpm’s CLI if I have 1.x installed or do i need to uninstall and reinstall?

      posted in Utilities
      R
      requiemmg
    • 1 / 1