@agentJames Can you share your config for the module? Which calendar are you using?
Read the statement by Michael Teeuw here.
Posts
-
RE: CSS: Color And Style
-
Mirror Crashing
Hey Guys. I am having an issue. I recently updated my mirror to 2.12.0 and I have noticed that it crashes a few times a day. Below the error log.
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ] 2 info using npm@6.1.0 3 info using node@v9.11.2 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle magicmirror@2.12.0~prestart: magicmirror@2.12.0 6 info lifecycle magicmirror@2.12.0~start: magicmirror@2.12.0 7 verbose lifecycle magicmirror@2.12.0~start: unsafe-perm in lifecycle true 8 verbose lifecycle magicmirror@2.12.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/nod$ 9 verbose lifecycle magicmirror@2.12.0~start: CWD: /home/pi/MagicMirror 10 silly lifecycle magicmirror@2.12.0~start: Args: [ '-c', 10 silly lifecycle 'DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js' ] 11 silly lifecycle magicmirror@2.12.0~start: Returned: code: 1 signal: null 12 info lifecycle magicmirror@2.12.0~start: Failed to exec start script 13 verbose stack Error: magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16) 13 verbose stack at EventEmitter.emit (events.js:180:13) 13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:180:13) 13 verbose stack at maybeClose (internal/child_process.js:936:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) 14 verbose pkgid magicmirror@2.12.0 15 verbose cwd /home/pi/MagicMirror 16 verbose Linux 4.14.52-v7+ 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" 18 verbose node v9.11.2 19 verbose npm v6.1.0 20 error code ELIFECYCLE 21 error errno 1 22 error magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` 22 error Exit status 1 23 error Failed at the magicmirror@2.12.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]I have also noticed this font error in the pm2 logs. Not sure if this is an issue and which module it refers to.
Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" ATTENTION: default value of option force_s3tc_enable overridden by environment. [2020-07-09 20:17:13.954] [ERROR] Thu Jul 09 2020 20:17:13 GMT+0200 (South Africa Standard Time) - WatchDog: Heartbeat timeout. Frontend migh$ npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.12.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-07-09T18_17_14_885Z-debug.log Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" ATTENTION: default value of option force_s3tc_enable overridden by environment.Any help or advice would be appreciated.
Thanks
-
RE: CSS: Color And Style
@agentJames Have you set the config option for colored to true?
colored: true, -
RE: Cannot exit MM after recent update
@tasanford11 ctrl+alt+t usually works for me. This pops open a terminal window immediately.
-
RE: Exclude certain events from Calendar
@theaddies said in Exclude certain events from Calendar:
excludedEvents [ ‘Workout’],
I might be wrong but I think you might be missing a colon. It should read like this:
excludedEvents: [ 'Workout'], -
RE: Introduce yourself!
So, I am Bernard from South Africa. I have been running my mirror for almost 2 years now and loving it. Remodeled my place last week and now I need to find a new home for my mirror. I am a Systems Analyst by trade and code in my spare time. This is an awesome project and I love helping people on the forum who are facing issues etc. Great project guys.
-
RE: MMM-AssistantMk2 youtube : start video
@MisterT said in MMM-AssistantMk2 youtube : start video:
MMM-AssistantMk2
I believe from other issues posted on the forum that in the MM-AssistantMk2.js file the
console.logentries should be changed toLog.log. I think there are 8 entries in the file that need changing. -
RE: After adding MMM-GPIO-Notifications, config.js doesn't work...
@tomXGames IF not mistaken, the “,” after the last module should not be there either.
-
RE: After adding MMM-GPIO-Notifications, config.js doesn't work...
@tomXGames THis certainly doesn’t look right:
notification: "'CURRENT_PROFILE', 'Tom'", -
RE: Problem with the Module "email"
@CyruS1337 Please remember, for the emails to display you need to set
fade: false. -
RE: Error with launching the magic mirror Applicants. it said i need to create a config file.
@dearco said in Error with launching the magic mirror Applicants. it said i need to create a config file.:
EADDRINUSE
That usually means that something else is running on port 8080. Maybe you have two instances of MM running?
-
RE: MMM-YouTube
@sdetweil I thought it was the other way around? Tilda (~) was shifted and back tick (`) non shifted? :smiling_face_with_open_mouth_smiling_eyes:
-
RE: Problem with the Module "email"
@CyruS1337 I assume that you meant that you replace your password with the generated key? When you run
pm2 logswhat do you get? Does it show anything for email? Have you in the /modules/email folder run npm install? -
RE: Problem with the Module "email"
@CyruS1337 I just setup the module and created my app key and email is working for me.

And my config: I also had to change fade to false in order for email to display properly
module: 'email', position: 'top_right', header: 'Email', config: { accounts: [ { user: 'xxxxxxxxxxxxx@gmail.com', password: 'xxxxxxxxxxxxxxxx', host:'imap.gmail.com', port: 993, tls: true, authTimeout: 10000, numberOfEmails: 5, } ], fade: false, maxCharacters: 30 } }, -
RE: Problem with the Module "email"
@sdetweil Strange. I had to generate a key to get email to work. Not sure why you guys don’t see the option.
Edit:
Maybe because your 2FA is turned off. -
RE: Update Magic Mirror error
@MisterT Great it worked for you. Please mark the post as Resolved if you are happy that it worked.
-
RE: Problem with the Module "email"
@CyruS1337 No problem:
When loggin into gmail, on the right hand side there is the “hamburger menu”:

When you click that you get a list of apps, select Account from there. On the left click security:

On the right you will see Signing into Google. Click on the “>” on the line “App Passwords”

On the next screen enter your password and then on the next screen you will be able to create the key.

-
RE: Update Magic Mirror error
@MisterT You will not lose your modules and configs.
-
RE: Update Magic Mirror error
@MisterT You could also just do a
git reset --hardand thengit pull $$ npm install. I have had this issue every time I had to update my mirror. -
RE: Problem with the Module "email"
@CyruS1337 In gmail, you need to select the Google Apps menu:

Next click on Account. On the left hand side click on Security.
On the right Select App Passwords and create a password for your app. Copy that key into your mirror where you need to enter the password and that should work.