@sdetweil
Hurray!
That did it. I must have used my ‘fat fingers’ when in the MMM-NHL file.
Thanks so much!
Read the statement by Michael Teeuw here.
Posts
-
RE: Back to Booting to black
-
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 :) -
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.
-
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’ -
Back to 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:checkmagicmirror@2.6.0 config:check /home/pi/MagicMirror
node tests/configs/check_config.jsChecking 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.
-
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?
-
RE: MM booting to black
@dwleo That was a convoluted effort but it did the trick.
Thanks lavolp3 -
RE: MM booting to black
@dwleo OK. I got in and will try to edit the config.js file somehow.
-
RE: MM booting to black
@lavolp3 cannot get pm stop all to work. It gives ‘process stop all not found’.
As to ssh, all derivatives of this, either command line or remote, requires some additions to Raspberry and I cannot get that as I cannot get a command line.
All I need is to stop the boot up process just prior to MM booting up. -
RE: MM booting to black
@lavolp3
Also while booting up, in the ‘road pic’ phase, I got to click at the menu bar for the cmd screen and typed in pm2 stop mm. Just before the screen went black I got an error msg stating ‘process mm not found’. Then it quickly went to black. -
RE: MM booting to black
@lavolp3
OK. I cannot ssh directly into the mirror. Once it goes through the bootup process, it goes black and I cannot get out of it. If I could, I could probably correct the error. -
RE: MM booting to black
Thanks lavolp3,
I am too new on this. What is ssh? -
MM booting to black
Hi,
Still getting to know this device. I had it working exactly the way I wanted to (almost - PIR still isn’t working, but thats another story).
My current problem is I have MMM-NFL in the middle screen and want to use Carousel to change it out to MMM-NHL every 5 minutes or so. Installed the Carousel module, rebooted and after the ‘road’ picture, instead of opening the usual screen, it goes to black and I cannot recover from it. I tried opening the config.js but the screen jumps to black after a few seconds. I just need to get access to find the error.
Suggestions? -
NFL is still in 2017
I installed the MMM-NFL module a few month back and it displayed as NFL 2017 Pre-season. I didn’t think too much about it as the season wasn’t on. Now that the season has started, it still shows as 2017. Anyone else run into this problem?
Thanks. -
Would like revolving modules
Hi all,
There are so many modules I like and only limited space. I got rid of the complements module ‘cause I thought it was silly. I have the holidays, weather, news feed and nfl results on a select set of teams. As the latter takes up a lot of room in the center, I think it would work better if, as an example, three or four or more modules share the same area and rotate out every 30 seconds. Is this possible? -
Can't Update
Hi,
Very new to this but getting there.
My mirror works well but I cannot seem to update to the new version.
I get the following error message:Error: Your local changes to the following files would be overwritten by merge:
package-lock.json
Please, commit your changes or stash them before you can merge.The thing is, I haven’t touched the file in question.
Any ideas?- Dwleo