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

    dwleo

    @dwleo

    0
    Reputation
    418
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    dwleo Unfollow Follow

    Latest posts made by dwleo

    • RE: Back to Booting to black

      @sdetweil
      Hurray!
      That did it. I must have used my ‘fat fingers’ when in the MMM-NHL file.
      Thanks so much!

      posted in Troubleshooting
      D
      dwleo
    • RE: Back to Booting to black

      @sdetweil
      Thank you. I will try that.

      posted in Troubleshooting
      D
      dwleo
    • RE: Back to Booting to black

      @sdetweil
      Yeah, you are right. (sigh)
      Anyway I ran it and got this:
      pi@raspberrypi:~/MagicMirror $ node tests/configs/check_config.js
      Checking file… /home/pi/MagicMirror/config/config.js
      Your configuration file doesn’t contain syntax errors :)

      posted in Troubleshooting
      D
      dwleo
    • RE: Back to Booting to black

      Sometimes I feel like a real noob. Anyway the config.js file is there right where it always has been.

      posted in Troubleshooting
      D
      dwleo
    • RE: Back to Booting to black

      @sdetweil
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘moment-timezone’

      posted in Troubleshooting
      D
      dwleo
    • RE: Back to Booting to black

      @sdetweil

      pi@raspberrypi:~ $ npm start dev
      npm ERR! missing script: start

      That’s what I got.

      posted in Troubleshooting
      D
      dwleo
    • Back to Booting to black

      Re: MM booting to black

      Well, all was going pretty good. I added some modules and removed some. Had Carousel, NHL and NFL working well. Almost.
      Then I changed the Calendar to another module, didn’t like the look so went back to calendar and everything went into the toilet. It was booting to black so I went back into it from my laptop and checked the config.js file and could not find an error. Copied it to Jshint and it gave this:
      One undefined variable
      111 module
      That was in the last line:
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== “undefined”) {module.exports = config;}
      But that is the same in the sample and my backup.
      So I deleted the config.js and renamed the backup as config.js. No change.
      I stopped the process with:
      pm2 stop all and got:
      │ Name │ mode │ status │ ↺ │ cpu │ memory │
      ├─────────────┼──────┼─────────┼───┼─────┼────────┤
      │ MagicMirror │ fork │ stopped │ 0 │ 0% │ 0 B │

      I ran npm config:check and got:
      pi@raspberrypi:~/MagicMirror/config $ npm run config:check

      magicmirror@2.6.0 config:check /home/pi/MagicMirror
      node tests/configs/check_config.js

      Checking file… /home/pi/MagicMirror/config/config.js
      Your configuration file doesn’t contain syntax errors :)

      So now I am not sure which direction to go.

      posted in Troubleshooting
      D
      dwleo
    • MMM-NHL stopped working

      Hi,
      I finally got my MMM-Carousel working with MMM-NFL and MMM-NHL. The only problem now is that the NHL module (which was fine before) displays a header of ‘NHL UNDEFINED UNDEFINED’ and then nothing below that. The NFL is not affected and the Carousel works very well.
      Here is the part of the config involving these three modules.

      {
      module: ‘MMM-Carousel’,
      config: {
      transitionalInterval: 100000,
      mode: ‘positional’,
      middle_center: {enabled: true, ignoreModules: [],
      overrideTransitionalInterval: 100000}, }
      },

      {
      module: ‘MMM-NFL’,
      position: ‘middle_center’,
      config: {
      helmets: false,
      focus_on: [‘LA’, ‘DAL’, ‘SEA’, ‘NE’],
      colored: true,

      }
      },

      {
      module: ‘MMM-NHL’,
      position: ‘middle_center’,
      config: {
      colored: true,
      header: true,
      headlogo: true,
      focus_on: [‘VAN’, ‘ANA’, ‘ARI’, ‘CGY’, ‘EDM’,
      ‘LA’, ‘SJ’, ‘VGK’], matches: 6,
      rotateInterval: 20000,
      reloadInterval: 600000,
      }
      },

      Any ideas as to what is happening?

      posted in Troubleshooting
      D
      dwleo
    • RE: MM booting to black

      @dwleo That was a convoluted effort but it did the trick.
      Thanks lavolp3

      posted in Troubleshooting
      D
      dwleo
    • RE: MM booting to black

      @dwleo OK. I got in and will try to edit the config.js file somehow.

      posted in Troubleshooting
      D
      dwleo