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

    Posts

    Recent Best Controversial
    • RE: Applied change to config.txt, MM fails to boot.

      Comment out the dtoverlay=vc4-kms-v3d change, and Pi boots, MM starts OK.

      Does it matter where in config.txt that the new line is placed?

      posted in Troubleshooting
      R
      Richard238
    • Applied change to config.txt, MM fails to boot.

      Update to 2.4.0, and made the sudo nano /boot/config.txt dtoverlay=vc4-kms-v3d change.

      Shut down Pi, powered Pi back on, and now fails to boot, showing just a cursor top left of monitor.

      posted in Troubleshooting
      R
      Richard238
    • RE: Weather forecast only displays 'invalid date'

      Same issue here

      posted in Troubleshooting
      R
      Richard238
    • RE: So ... to update MagicMirror I would ... ??

      @richard238 said in So ... to update MagicMirror I would ... ??:

      @MichMich said in So ... to update MagicMirror I would ... ??:

      @Richard238 Please share the steps you took to upgrade and the log files which shows errors.

      I followed the usual update routine.
      I don’t have any logs, as I’ve restored MM from an earlier SD card backup.

      MM working OK everywhere, it’s just telling me I’m 150 commits out-of-date.
      I’ll live with that until the electron black screen issue is resolved.

      Found the error logs from a backup I forgot I’d taken:

      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error-0.log last 15 lines:
      0|mm       |     at Function.Module._load (module.js:424:3)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:81:44)
      0|mm       | Error: Module version mismatch. Expected 50, got 57.
      0|mm       |     at Error (native)
      0|mm       |     at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
      0|mm       |     at Object.Module._extensions..node (module.js:583:18)
      0|mm       |     at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
      0|mm       |     at Module.load (module.js:473:32)
      0|mm       |     at tryModuleLoad (module.js:432:12)
      0|mm       |     at Function.Module._load (module.js:424:3)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:81:44)
      
      
      /home/pi/.pm2/logs/mm-out-0.log last 15 lines:
      0|mm       | Initializing new module helper ...
      0|mm       | Module helper loaded: MMM-MyTemps
      0|mm       | Initializing new module helper ...
      0|mm       | Module helper loaded: updatenotification
      0|mm       | No helper found for module: clock.
      0|mm       | Initializing new module helper ...
      0|mm       | Module helper loaded: calendar
      0|mm       | No helper found for module: compliments.
      0|mm       | No helper found for module: currentweather.
      0|mm       | No helper found for module: weatherforecast.
      0|mm       | No helper found for module: MMM-doomsDay.
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | Launching application.
      

      I hope that helps find what’s wrong, and how to fix it.

      Thanks!

      posted in Troubleshooting
      R
      Richard238
    • RE: So ... to update MagicMirror I would ... ??

      @MichMich said in So ... to update MagicMirror I would ... ??:

      @Richard238 Please share the steps you took to upgrade and the log files which shows errors.

      I followed the usual update routine.
      I don’t have any logs, as I’ve restored MM from an earlier SD card backup.

      MM working OK everywhere, it’s just telling me I’m 150 commits out-of-date.
      I’ll live with that until the electron black screen issue is resolved.

      posted in Troubleshooting
      R
      Richard238
    • RE: So ... to update MagicMirror I would ... ??

      Installed MM2.3.1, still got black screen
      Installed earlier version electron, still got black screen.

      Shutdown and restarted.

      Now nothing on :8080 either :(

      posted in Troubleshooting
      R
      Richard238
    • RE: So ... to update MagicMirror I would ... ??

      Node version = v6.9.5

      posted in Troubleshooting
      R
      Richard238
    • RE: So ... to update MagicMirror I would ... ??

      Power off & on restores VNC, and LAN access displaying MM. (Hurrah!).

      Pi. Electron window is black, but shows cursor.

      posted in Troubleshooting
      R
      Richard238
    • RE: So ... to update MagicMirror I would ... ??

      PIR disabled in config (as a precaution, elimination)
      Pi shutdown, powered off, and restarted.
      MM Still blank on Pi.
      MM OK on a LAN PC, via :8080

      Logs:

      pi@raspberrypi:~ $ pm2 log mm
      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error-0.log last 15 lines:
      0|mm       |     at exports._exceptionWithHostPort (util.js:1047:20)
      0|mm       |     at Server.setupListenHandle [as _listen2] (net.js:1319:14)
      0|mm       |     at listenInCluster (net.js:1367:12)
      0|mm       |     at doListen (net.js:1493:7)
      0|mm       |     at _combinedTickCallback (internal/process/next_tick.js:141:11)
      0|mm       |     at process._tickCallback (internal/process/next_tick.js:180:9)
      0|mm       |     at Function.Module.runMain (module.js:607:11)
      0|mm       |     at startup (bootstrap_node.js:167:16)
      0|mm       |     at bootstrap_node.js:589:3
      0|mm       |   code: 'EADDRINUSE',
      0|mm       |   errno: 'EADDRINUSE',
      0|mm       |   syscall: 'listen',
      0|mm       |   address: '0.0.0.0',
      0|mm       |   port: 8080 }
      0|mm       | [1745:0401/150319.460996:FATAL:bus.cc(1189)] D-Bus connection was disconnected. Aborting.
      
      /home/pi/.pm2/logs/mm-out-0.log last 15 lines:
      0|mm       | You're using a full whitelist configuration to allow for all IPs
      0|mm       | Server started ...
      0|mm       | Connecting socket for: MMM-MyTemps
      0|mm       | Starting module helper: MMM-MyTemps
      0|mm       | Connecting socket for: updatenotification
      0|mm       | Connecting socket for: calendar
      0|mm       | Starting node helper for: calendar
      0|mm       | Connecting socket for: newsfeed
      0|mm       | Starting module: newsfeed
      0|mm       | Sockets connected & modules started ...
      0|mm       | Launching application.
      0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/[###################] Interval: 300000
      0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/[##############}/basic.ics - Interval: 300000
      0|mm       | Create new news fetcher for url: http://feeds.reuters.com/reuters/UKTopNews - Interval: 120000
      0|mm       | Create new news fetcher for url: http://feeds.skynews.com/feeds/rss/world.xml - Interval: 120000
      
      posted in Troubleshooting
      R
      Richard238
    • RE: So ... to update MagicMirror I would ... ??

      I’ve just applied the latest update and get a blank, black screen.

      If I kill electron, I get back to the Pi desktop, until electron auto restarts.

      Any advice on how to get MM back again, please?

      Thanks!

      posted in Troubleshooting
      R
      Richard238
    • RE: PIR gives black screen

      Perfect, thank you! :)

      posted in Troubleshooting
      R
      Richard238
    • RE: PIR gives black screen

      That seems to have fixed it, thank you.
      There’s now a prompt at the top of MM saying there’s an update available for the PIR module.
      How do I go about updating an individual module?

      posted in Troubleshooting
      R
      Richard238
    • PIR gives black screen

      I added a PIR to my MM, and I get a black screen, and no MM in browser on other LAN devices.
      Hitting the ‘Windows’ key brings up the Pi start menu, where I can lunch terminal and stop MM.
      A simple test script confirms the PIR device is working correctly without MM running.

      Any ideas on how to fix this, please?

      Here are the errors, and my config.

      { Error: Cannot find module 'onoff'
          at Module._resolveFilename (module.js:455:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (module.js:403:25)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_helper.js:11:14)
          at Module._compile (module.js:556:32)
          at Object.Module._extensions..js (module.js:565:10)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
      

      Config:

      		{
      		module: 'MMM-PIR-Sensor',
      		config: {
      				sensorPIN:22,
                      powerSaving: true,
                      relayPIN: false,
      				powerSavingDelay: 0,
                      relayOnState: 1
      			// See 'Configuration options' for more information.
      		}
      	},
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Error on update: "Please tell me who you are." ?

      Ah, OK, seems simple enough.
      But why has this not been an issue before with previous MM updates?

      Thanks.

      posted in Troubleshooting
      R
      Richard238
    • PM2 - how to access terminal?

      With PM2 installed, MM starts OK.
      Ctrl+Q to access desktop, but PM2 kicks in, so how do you get access to the terminal, and desktop with PM2 running?!

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • Error on update: "Please tell me who you are." ?

      Trying to apply the latest updates:

      pi@raspberrypi:~/MagicMirror $ git pull && npm install

      *** Please tell me who you are.

      Run

      git config --global user.email “you@example.com”
      git config --global user.name “Your Name”

      to set your account’s default identity.
      Omit --global to set the identity only in this repository.

      fatal: empty ident name (for ) not allowed

      posted in Troubleshooting
      R
      Richard238
    • RE: [MMM-PIR-Sensor] Install failing

      Hmmmm, black screen, and nothing on a browser at http://192.168.n.nn:8080/ either.

      		module: 'MMM-PIR-Sensor',
      		config: {
      		sensorPIN: 22,
                      powerSaving: true,
                      relayPIN: false,
                      powerSavingDelay: 0,
                      relayOnState: 1
      			// See 'Configuration options' for more information.
      		}
      	},
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      That’s what I have done now, but it is only a fudge, a workaround.

      What’s the problem with using config.js to make changes to the compliments module, why doesn’t it work?

      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Another day, still no change, compliments ignoring whatever is in config.js.

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 10 / 12