@KirAsh4
Ahhh, okay, that´s an explanation why I have sometimes problems with some modules.
Thank you.
@KirAsh4
Ahhh, okay, that´s an explanation why I have sometimes problems with some modules.
Thank you.
I read the instruction and I executed the nmp install
in the MagicMirror folder and thought that onoff
would be installed automaticly.
But I had to execute npm install onoff
extra in the MagicMirror folder to get the module run.
Maybe there should a step 3, that tells you to execute npm install onoff
.
Sebastian
Solved the problem…
I hat forgotten to install onoff (pi@raspberrypi:~/MagicMirror $ npm install onoff
)
@strawberry-3.141
I checked the double checked the spelling. Everthing is correct.
The screen stays white…
I tried node serveronly
pi@raspberrypi:~/MagicMirror $ node serveronly
Loading config …
Loading module helpers …
No helper found for module: alert.
No helper found for module: clock.
Initializing new module helper …
WARNING! Could not find config. Please create one.
Loading module helpers …
No helper found for module: alert.
No helper found for module: clock.
Initializing new module helper …
Whoops! There was an uncaught exception…
{ Error: Cannot find module ‘onoff’
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/MagicMirror/modules/MMM-Button/node_helper.j s:10:14)
at Module._compile (module.js:541:32)
at Object.Module._extensions…js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3) code: ‘MODULE_NOT_FOUND’ }
MagicMirror will not quit, but it might be a good idea to check why this happene d. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://gi thub.com/MichMich/MagicMirror/issues
Here is the error log:
pi@raspberrypi:~ $ tail -f /home/pi/.pm2/logs/mm-error-0.log
at Module._resolveFilename (module.js:438:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron-prebuilt/dist/resources/electron.asar/comm/reset-search-paths.js:35:12)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Button/node_helper.js:10:14)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12) code: 'MODULE_NOT_FOUND' }
Hello,
I have installed the MMM Button. When I restart my PI3 I only get a white screen.
When I uncomment the butten module in the config with //, the screen is after a new start normal.
I have also tried it with a connected and unconneted butten. Always the same.
Has anybody an idea, why I have a white screen?
Sebastian
@CommanderB
Hi,
is it possible to show your config.js.
I am interested in how you configure the modules. It would be very nice, if you could.
Sebastain
Okay, thanks for the information. I will try it.
@strawberry-3.141
My understanding is, that the button in your link is only a virtual button. The other button is a physical button. I have no touch screen, so I need a physikal one. With the physical one i could start the video rss stream.
That´s the reason for my question. Is it possible to adopt MM1 modules easily to MM2 or is it a lot of effort.
Sebastian
@strawberry-3.141
For examlpe, this guy has a smart mirror witih a speech module, what I also like to have. Smart Mirror
And this guy, his homepage is in german, has an video rss stream from a news magazine, what I like to have. dracary Here you can download his API. His Interface comes from here.
To start the video rss stream a physikal button is needed. Here he explains how to install the button and here you can download his interface with the button.
Sebastian