A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-awesome-alexa
-
@Ghost2000 computer says not… make sure there is no leading or trailing space on the file name… (or folder name)
-
@sdetweil Do I have to delete everything?
-
@Ghost2000 do
mv MagicMirror MagicMirror.save
then run install script
then run alexa do-install.sh
fixup config.js for alexastart MM and try
-
pi@MagicMirror:~ $ pm2 log MagicMirror [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option) /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | [2020-10-10 17:31:02.630] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|MagicMir | [2020-10-10 17:42:52.587] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [2020-10-10 17:42:52.588] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080 0|MagicMir | at Server.setupListenHandle [as _listen2] (net.js:1226:14) 0|MagicMir | at listenInCluster (net.js:1274:12) 0|MagicMir | at GetAddrInfoReqWrap.doListen [as callback] (net.js:1413:7) 0|MagicMir | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) { 0|MagicMir | code: 'EADDRINUSE', 0|MagicMir | errno: 'EADDRINUSE', 0|MagicMir | syscall: 'listen', 0|MagicMir | address: '127.0.0.1', 0|MagicMir | port: 8080 0|MagicMir | } 0|MagicMir | [2020-10-10 17:42:52.595] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [2020-10-10 17:42:52.595] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | [2020-10-10 18:02:44.397] [LOG] Module helper loaded: newsfeed 0|MagicMir | [2020-10-10 18:02:44.397] [LOG] All module helpers loaded. 0|MagicMir | [2020-10-10 18:02:44.496] [LOG] Starting server on port 8080 ... 0|MagicMir | [2020-10-10 18:02:44.509] [LOG] Server started ... 0|MagicMir | [2020-10-10 18:02:44.509] [LOG] Connecting socket for: updatenotification 0|MagicMir | [2020-10-10 18:02:44.510] [LOG] Connecting socket for: calendar 0|MagicMir | [2020-10-10 18:02:44.511] [LOG] Starting node helper for: calendar 0|MagicMir | [2020-10-10 18:02:44.511] [LOG] Connecting socket for: newsfeed 0|MagicMir | [2020-10-10 18:02:44.512] [LOG] Starting node helper for: newsfeed 0|MagicMir | [2020-10-10 18:02:44.512] [LOG] Sockets connected & modules started ... 0|MagicMir | [2020-10-10 18:02:44.590] [LOG] Launching application. 0|MagicMir | [2020-10-10 18:02:47.001] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 0|MagicMir | [2020-10-10 18:02:47.045] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|MagicMir | [2020-10-10 18:02:47.496] [INFO] Newsfeed-Fetcher: Broadcasting 54 items. 0|MagicMir | [2020-10-10 18:02:48.059] [INFO] Calendar-Fetcher: Broadcasting 5 events.
-
@Ghost2000 pm2 stop 0
gotta stop the current version -
pi@MagicMirror:~ $ pm2 stop 0 [PM2] Applying action stopProcessId on app [0](ids: 0) [PM2] [MagicMirror](0) ✓ ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ default │ 2.13.0 │ fork │ 0 │ 0 │ 2 │ stopped │ 0% │ 0b │ pi │ disabled │ └─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘ pi@MagicMirror:~ $
-
@Ghost2000 ok, lets do without pm2 while testing
cd ~/MagicMirror npm start
to get back to console, alt-spacebar, n is minimize
-
pi@MagicMirror:~/MagicMirror $ pm2 log MagicMirror [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option) /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | [2020-10-10 18:21:34.355] [LOG] Starting server on port 8080 ... 0|MagicMir | [2020-10-10 18:21:34.359] [INFO] You're using a full whitelist configuration to allow for all IPs 0|MagicMir | [2020-10-10 18:21:34.365] [LOG] Server started ... 0|MagicMir | [2020-10-10 18:21:34.366] [LOG] Connecting socket for: updatenotification 0|MagicMir | [2020-10-10 18:21:34.367] [LOG] Connecting socket for: MMM-awesome-alexa 0|MagicMir | [2020-10-10 18:21:34.368] [LOG] Connecting socket for: calendar 0|MagicMir | [2020-10-10 18:21:34.368] [LOG] Starting node helper for: calendar 0|MagicMir | [2020-10-10 18:21:34.369] [LOG] Connecting socket for: newsfeed 0|MagicMir | [2020-10-10 18:21:34.369] [LOG] Starting node helper for: newsfeed 0|MagicMir | [2020-10-10 18:21:34.370] [LOG] Sockets connected & modules started ... 0|MagicMir | [2020-10-10 18:21:34.458] [LOG] Launching application. 0|MagicMir | [2020-10-10 18:21:37.148] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/fhemrittel%40gmail.com/public/basic.ics - Interval: 300000 0|MagicMir | [2020-10-10 18:21:37.169] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|MagicMir | [2020-10-10 18:21:37.229] [INFO] Checking git for module: MMM-awesome-alexa 0|MagicMir | [2020-10-10 18:21:37.699] [INFO] Newsfeed-Fetcher: Broadcasting 52 items. /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | [2020-10-10 18:20:17.779] [ERROR] (node:2631) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 0|MagicMir | [2020-10-10 18:20:17.779] [ERROR] (node:2631) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 0|MagicMir | [2020-10-10 18:20:17.780] [ERROR] (node:2631) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 0|MagicMir | [2020-10-10 18:20:17.780] [ERROR] (node:2631) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 0|MagicMir | [2020-10-10 18:21:37.737] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/fhemrittel%40gmail.com/public/basic.ics 404: Not Found 0|MagicMir | [2020-10-10 18:21:37.855] [ERROR] (node:2785) UnhandledPromiseRejectionWarning: Error: [object Object] 0|MagicMir | at /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_helper.js:1:6073 0|MagicMir | at processTicksAndRejections (internal/process/task_queues.js:89:5) 0|MagicMir | [2020-10-10 18:21:37.856] [ERROR] (node:2785) UnhandledPromiseRejectionWarning: Error: [object Object] 0|MagicMir | at /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_helper.js:1:6073 0|MagicMir | at processTicksAndRejections (internal/process/task_queues.js:89:5) 0|MagicMir | [2020-10-10 18:21:37.856] [ERROR] (node:2785) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 0|MagicMir | [2020-10-10 18:21:37.857] [ERROR] (node:2785) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 0|MagicMir | [2020-10-10 18:21:37.857] [ERROR] (node:2785) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 0|MagicMir | [2020-10-10 18:21:37.858] [ERROR] (node:2785) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
-
Error was in the config ipWhitelist: []
-
@Ghost2000 does that mean alexa is working?