Read the statement by Michael Teeuw here.
my mirror freezes!
-
this one :
MMM-Logging ? -
@Manu85 yes,
make sure to do this
Note: You can find more detailed information on debugging your MagicMirror here: Module Debugging. If you also want the Electron rederer (web browser) console logs to be printed to the standard console (or PM2 logs), change the following line to the very top of ~/MagicMirror/run-start.sh
export ELECTRON_ENABLE_LOGGING=true
-
@sdetweil thank you for your answer i will follow your advice, but it exceeds my skills, can you tell me exactly what to do please?
-
@Manu85 install the module(note that it wants to be first in the module list in config.js), and add this to the batch file starting the mirror
export ELECTRON_ENABLE_LOGGING=true
-
The you lost me :-), "and add this to the batch file starting the mirror
export ELECTRON_ENABLE_LOGGING = true " -
@Manu85 how does MM get started? pm2?
if so, it usually uses a batch file (script)
~/MagicMirror/installers/mm.sh
make it look like thiscd ~/MagicMirror export ELECTRON_ENABLE_LOGGING = true DISPLAY=:0 npm start -
I have this error message:
pi@raspberrypi:~/MagicMirror $ export ELECTRON_ENABLE_LOGGING = true
-bash: export: « = » : identifiant non valable -
-bash: export: “=”: invalid identifier
-
-
ok perfect the line has passed,
pi@raspberrypi:~/MagicMirror $ export ELECTRON_ENABLE_LOGGING=true
pi@raspberrypi:~/MagicMirror $
i downloaded the module, now i set it in config.js? -
This post is deleted! -
@Manu85 yes, follow the modules readme
-
ok i try …
-
I installed it at the top of the config.js file and I have an error when starting the MM “please create a config file”
language: “fr”,
timeFormat: 24,
units: “metric”,modules: [ { module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. } } ]}
-
{ module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. }, // < ---- missing comma (like behind all modules) -
I installed it at the top of the config.js file and I have an error when starting the MM “please create a config file”
language: “fr”,
timeFormat: 24,
units: “metric”,modules: [ { module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. } } ]}
-
excuse me I sent the message twice because the site had crashed …, I test what you sent me
-
I still have the same message.
language: “fr”,
timeFormat: 24,
units: “metric”,modules: [ { module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. }, // < ---- missing comma (like behind all modules) -
@Manu85 sorry, copy error on my part
{ module: 'MMM-Logging', config: { // Module functions out of the box with nothing set here. // See below for configurable options. } } , // < --- add comma here means continued -
impeccable, you’re the best, the mirror has restarted, and now what’s next please
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login