A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Problem with the Module "email"
-
Exactly, I replaced the password with the key. I have also installed npm.
cd MagicMirror/modules cd email npm install
npm WARN email@0.0.1 No repository field. npm WARN email@0.0.1 No license field. audited 24 packages in 2.521s found 0 vulnerabilities
pm2 logs
pi@raspberrypi_LOL:~/MagicMirror/modules/email $ pm2 logs [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 15 lines: PM2 | 2019-09-07T04:30:05: PM2 log: App [mm:0] online PM2 | 2019-09-07T07:40:45: PM2 log: Process 0 in a stopped status, starting it PM2 | 2019-09-07T07:40:45: PM2 log: Stopping app:mm id:0 PM2 | 2019-09-07T07:40:46: PM2 log: pid=20666 msg=failed to kill - retrying in 100ms PM2 | 2019-09-07T07:40:46: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2019-09-07T07:40:46: PM2 log: pid=20666 msg=process killed PM2 | 2019-09-07T07:40:46: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2019-09-07T07:40:46: PM2 log: App [mm:0] online PM2 | 2019-09-07T07:55:09: PM2 log: Process 0 in a stopped status, starting it PM2 | 2019-09-07T07:55:09: PM2 log: Stopping app:mm id:0 PM2 | 2019-09-07T07:55:10: PM2 log: pid=5504 msg=failed to kill - retrying in 100ms PM2 | 2019-09-07T07:55:10: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT] PM2 | 2019-09-07T07:55:10: PM2 log: pid=5504 msg=process killed PM2 | 2019-09-07T07:55:10: PM2 log: App [mm:0] starting in -fork mode- PM2 | 2019-09-07T07:55:10: PM2 log: App [mm:0] online /home/pi/.pm2/logs/mm-error.log last 15 lines: 0|mm | SyntaxError: Unexpected token u in JSON at position 0 0|mm | at JSON.parse (<anonymous>) 0|mm | at Request._callback (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:146:29) 0|mm | at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22) 0|mm | at Request.emit (events.js:182:13) 0|mm | at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:881:8) 0|mm | at ClientRequest.emit (events.js:182:13) 0|mm | at TLSSocket.socketErrorListener (_http_client.js:382:9) 0|mm | at TLSSocket.emit (events.js:182:13) 0|mm | at emitErrorNT (internal/streams/destroy.js:82:8) 0|mm | at emitErrorAndCloseNT (internal/streams/destroy.js:50:3) 0|mm | ATTENTION: default value of option force_s3tc_enable overridden by environment. 0|mm | (node:5525) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. 0|mm | ATTENTION: default value of option force_s3tc_enable overridden by environment. 0|mm | (node:7860) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. /home/pi/.pm2/logs/mm-out.log last 15 lines: 0|mm | Connecting socket for: email 0|mm | email helper started ... 0|mm | Connecting socket for: MMM-MyCalendar 0|mm | Starting node helper for: MMM-MyCalendar 0|mm | Sockets connected & modules started ... 0|mm | Launching application. 0|mm | [AVSTOCK] Initialized. 0|mm | Working notification system. Notification: MMM-GOOGLE_MAPS_TRAFFIC-GET payload: { style: 'standard' } 0|mm | listening for emails... 0|mm | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/zeptrion%40gmail.com/private-75149d8982f910a209e0fe7d0363d75f/basic.ics - Interval: 300000 0|mm | NEW MAIL 0|mm | NEW MAIL 0|mm | NEW MAIL 0|mm | NEW MAIL 0|mm | NEW MAIL
-
@CyruS1337 MMM-SoccerLiveScore/ is the one throwing the error… not email
-
I have disabled the module, but the mails are still not displayed :(
/*{ module: 'MMM-SoccerLiveScore', position: 'top_right', header: 'Fussball Rangliste', config: { leagues: [215,399,1], showNames: true, showLogos: true, displayTime: 60 * 1000, showTables: true } },*/
-
@CyruS1337 i don’t know anything about email module, i remember it was hard to get working, i didn;t like the results…
anyhow… for the commenting out module,
you can also just adddisabled: true,
to the module info, before/after the module name
disabled: false,
is the default -
@sdetweil I do not really like the module any more. I’m trying to get it up and running for a year :)
Thank you very much for your great support
-
@CyruS1337 Please remember, for the emails to display you need to set
fade: false
.