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

    Posts

    Recent Best Controversial
    • Blank Screen after update/power outage

      Hi all,

      I recently suffered a power outage uknowingly (happened whilst I was at work) and one morning I updated MagicMirror (using sudo git pull && npm install) and since then my MagicMirror boots up to the raspbian desktop then the screen goes blank. I’ve followed other peoples advice of forcing an update but with no effect. I also tried a “np install” from each of the module folders that contained a package.json file but again - no effect.

      Here’s an outout from the pm2 logs

      pi@raspberrypi:~ $ pm2 logs
      [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 15 lines:
      PM2        | 2019-08-11T17:53:12: PM2 log: Time                 : Sun Aug 11 2019 17:53:12 GMT+0100 (BST)
      PM2        | 2019-08-11T17:53:12: PM2 log: PM2 version          : 3.2.9
      PM2        | 2019-08-11T17:53:12: PM2 log: Node.js version      : 9.11.2
      PM2        | 2019-08-11T17:53:12: PM2 log: Current arch         : arm
      PM2        | 2019-08-11T17:53:12: PM2 log: PM2 home             : /home/pi/.pm2
      PM2        | 2019-08-11T17:53:12: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
      PM2        | 2019-08-11T17:53:12: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
      PM2        | 2019-08-11T17:53:12: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
      PM2        | 2019-08-11T17:53:12: PM2 log: Application log path : /home/pi/.pm2/logs
      PM2        | 2019-08-11T17:53:12: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
      PM2        | 2019-08-11T17:53:12: PM2 log: Concurrent actions   : 2
      PM2        | 2019-08-11T17:53:12: PM2 log: SIGTERM timeout      : 1600
      PM2        | 2019-08-11T17:53:12: PM2 log: ===============================================================================
      PM2        | 2019-08-11T17:53:12: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2019-08-11T17:53:12: PM2 log: App [mm:0] online
      
      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      0|mm       |
      0|mm       |
      0|mm       | > magicmirror@2.8.0 start /home/pi/MagicMirror
      0|mm       | > sh run-start.sh
      0|mm       |
      0|mm       | Starting MagicMirror: v2.8.0
      0|mm       | Loading config ...
      0|mm       | Loading module helpers ...
      0|mm       | No helper found for module: alert.
      0|mm       | Loading module helpers ...
      0|mm       | No helper found for module: alert.
      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.
      
      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm       |     at Module._compile (internal/modules/cjs/loader.js:711:30)
      0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      0|mm       |     at Module.load (internal/modules/cjs/loader.js:620:32)
      0|mm       | { Error: Cannot find module 'node_helper'
      0|mm       |     at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
      0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:528:25)
      0|mm       |     at Module.require (internal/modules/cjs/loader.js:658:17)
      0|mm       |     at require (internal/modules/cjs/helpers.js:20:18)
      0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
      0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
      0|mm       |     at Module._compile (internal/modules/cjs/loader.js:711:30)
      0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      0|mm       |     at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
      0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
      

      The error appears to be due to a module issue but I can’t find one, anyone else have the same issue? Is it a case of rebuilding?

      TIA

      Nick

      posted in Troubleshooting
      N
      nickthebeer
    • RE: Internet Monitor

      @bhepler ok, I’m seriously missing something here…I removed the internet monitor folder and did a git pull from your page (https://github.com/BrianHepler/internet-monitor) and also cleared down my config.js to a simple config but it just doesn’t look right (see attached image) I’m missing the wifi symbol and it defaults to a speedtest server in Norway and not the one specified in the file (12667 in the US).

      Please help, it’s slowly driving me insane.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var 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, is "localhost"
              port: 8080,
              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"],
      
              language: "en",
              timeFormat: 24,
              units: "metric",
      
      modules: [
              {
                  module: 'internet-monitor',
                  position: 'top_center',
                  header: 'Internet Monitor',
                  config:{
                      type: '',
                      maxTime: '20000',
                      updateInterval: '0',
                      verbose: 'true',
                      serverID: '12667',
                      displayStrength: 'true',
                      displaySpeed: 'true',
                      strengthIconSize: '80',
                      maxGaugeScale: '100',
                      wifiSymbol:{
                          size: '50',
                          fullColor: '#3afc25',
                          almostColor: '#ffff0c',
                          halfColor: '#ff8c00',
                          noneColor: '#ff1111'
                      },
                  },
              }
      ]
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      

      0_1557263946936_IMG_20190507_215401.jpg

      posted in Utilities
      N
      nickthebeer
    • RE: Ongoing events

      Anyone able to help?

      posted in Troubleshooting
      N
      nickthebeer
    • RE: Internet Monitor

      Hi, only just discovered this module and it seems like a great idea however I cannot get the wifi symbol to appear.

      Here’s my config for the module:

      module: “internet-monitor”,
      position: “bottom_center”,
      header: “Internet Monitor”,
      config: {
      type: " ",
      maxTime: “20000”,
      updateInterval: “0”,
      verbose: “false”,
      displayStrength: “true”,
      displaySpeed: “false”,
      strengthIconSize: “80”,
      maxGaugeScale: “100”,
      wifiSymbol: {
      size: “50”,
      fullColor: “3afc25”,
      almostColour: “#ffff0c”,
      halfColor: “#ff8c00”,
      noneColor: “#ff1111”
      },
      }
      }

      Am I being thick and have missed something?

      Additionally is the wifi symbol a measure of internet speed on the pi or wifi strength to my AP?

      posted in Utilities
      N
      nickthebeer
    • Ongoing events

      Hi all, newbie here (only to MM not Linux).

      I’m having trouble setting up MM so it shows the current event, once an event starts it removes it from display.

      Here’s my current config:

      modules: [
      {
      module: “alert”,
      },
      {
      module: “updatenotification”,
      position: “top_bar”
      },
      {
      module: “clock”,
      position: “top_left”
      },
      {
      module: “calendar”,
      header: “Upcoming Events”,
      position: “top_left”,
      config: {
      maximumEntries: “15”,
      maximumNumberOfDays: “14”,
      hideOngoing: “false”,
      showEnd: “true”,
      getRelative: “0”,
      fade: “false”,
      fadePoint: “1”,
      calendars: [
      {
      symbol: “calendar-check”,
      url: “webcal://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics”
      },
      {
      url: “https://calendar.google.com/calendar/ical/”
      }
      ]
      }
      },

      I’d like to keep the current view as it is (showing start and end times of the events but also keep the currently ongoing events displayed too.

      I’ve tried different config options but can’t seem to make it work.

      Any ideas?

      TIA

      posted in Troubleshooting
      N
      nickthebeer
    • 1
    • 2
    • 2 / 2