Read the statement by Michael Teeuw here.
MMM-awesome-alexa
-
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 startto 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?
-
@sdetweil
no -
@Ghost2000 hm… I installed on pi4, pi3 and my ubuntu desktop with the script and it worked in each case.
I am using english
-
Glaub es liegt an deutsch
-
did u redo the node config_helper.js ??
the refresh token only lasts an hour
Hast du den Knoten config_helper.js wiederholt?
Das Aktualisierungstoken dauert nur eine Stunde
-
@sdetweil
Yes i can i have time.Befehl ?
-
@Ghost2000 from the awesome-alexa instructions, come on man
node config_helper.js -
pi@MagicMirror:~/MagicMirror/modules/MMM-awesome-alexa $ node config_helper.js internal/modules/cjs/loader.js:638 throw err; ^ Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-awesome-alexa/config _helper.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) pi@MagicMirror:~/MagicMirror/modules/MMM-awesome-alexa $ -
-
i have see :D
-
Es kamm ein Weißer Punkt in der Mitte .
pi@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 21:53:01.834] [LOG] Connecting socket for: updatenotification 0|MagicMir | [2020-10-10 21:53:01.835] [LOG] Connecting socket for: MMM-awesome-alexa 0|MagicMir | [2020-10-10 21:53:01.837] [LOG] Connecting socket for: calendar 0|MagicMir | [2020-10-10 21:53:01.837] [LOG] Starting node helper for: calendar 0|MagicMir | [2020-10-10 21:53:01.838] [LOG] Connecting socket for: newsfeed 0|MagicMir | [2020-10-10 21:53:01.839] [LOG] Starting node helper for: newsfeed 0|MagicMir | [2020-10-10 21:53:01.840] [LOG] Sockets connected & modules started ... 0|MagicMir | [2020-10-10 21:53:01.923] [LOG] Launching application. 0|MagicMir | [2020-10-10 21:53:04.573] [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 21:53:04.587] [LOG] Create new news fetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|MagicMir | [2020-10-10 21:53:04.639] [INFO] Checking git for module: MMM-awesome-alexa 0|MagicMir | [2020-10-10 21:53:05.080] [INFO] Newsfeed-Fetcher: Broadcasting 49 items. 0|MagicMir | [2020-10-10 21:53:18.720] [LOG] transiting to state: listening 0|MagicMir | [2020-10-10 21:53:24.107] [LOG] transiting to state: busy 0|MagicMir | [2020-10-10 21:53:24.641] [LOG] transiting to state: idle /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | [2020-10-10 21:47:03.578] [ERROR] (node:955) 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 21:47:03.579] [ERROR] (node:955) [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 21:47:03.580] [ERROR] (node:955) [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 21:53:05.121] [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 21:53:05.401] [ERROR] (node:2042) 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 21:53:05.402] [ERROR] (node:2042) 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 21:53:05.403] [ERROR] (node:2042) 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 21:53:05.403] [ERROR] (node:2042) 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 21:53:05.403] [ERROR] (node:2042) [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 21:53:05.404] [ERROR] (node:2042) [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 21:53:24.640] [ERROR] {"error":{"code":"com.amazon.alexahttpproxy.exceptions.InvalidAccessTokenException","message":"AVS was not able to validate the provided access token."}} -
Hello guys @sdetweil @Ghost2000 ,
You are fighting hard :o) Thanks a lot this is usefull !
To distract you lol is there a way to command a blue led ribbon like seen in some videos ? Of course the best way for a noob like me would be a gpio pin to choose in the config… but as the git module is dead, looks impossible right ?Thanks in advance
-
@aclertant so it would seem. the code is very hard to work with. I am not the author, just trying to help
-
Yes I know ;)
-
BTW is this new alexa instance will appear in my alexa app ? as a dot or something very similar ?
The idea is to know if I could control this new alexa as usual with my homeAssistant and nodered :)
-
/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | [2020-10-19 14:17:29.092] [ERROR] (node:1019) [DEP0005] Deprecatio nWarning: Buffer() is deprecated due to security and usability issues. Please us e the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. 0|MagicMir | [2020-10-19 14:17:29.093] [ERROR] (node:1019) [DEP0005] Deprecatio nWarning: Buffer() is deprecated due to security and usability issues. Please us e the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. 0|MagicMir | [2020-10-19 14:17:29.939] [ERROR] (node:1019) UnhandledPromiseReje ctionWarning: Error: [object Object] 0|MagicMir | at /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_helper.j s:1:6073 0|MagicMir | at processTicksAndRejections (internal/process/task_queues.js:8 9:5) 0|MagicMir | [2020-10-19 14:17:29.940] [ERROR] (node:1019) UnhandledPromiseReje ctionWarning: Error: [object Object] 0|MagicMir | at /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_helper.j s:1:6073 0|MagicMir | at processTicksAndRejections (internal/process/task_queues.js:8 9:5) 0|MagicMir | [2020-10-19 14:17:29.941] [ERROR] (node:1019) UnhandledPromiseReje ctionWarning: Unhandled promise rejection. This error originated either by throw ing 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-19 14:17:29.942] [ERROR] (node:1019) UnhandledPromiseReje ctionWarning: Unhandled promise rejection. This error originated either by throw ing 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-19 14:17:29.942] [ERROR] (node:1019) [DEP0018] Deprecatio nWarning: Unhandled promise rejections are deprecated. In the future, promise re jections that are not handled will terminate the Node.js process with a non-zero exit code. 0|MagicMir | [2020-10-19 14:17:29.943] [ERROR] (node:1019) [DEP0018] Deprecatio nWarning: Unhandled promise rejections are deprecated. In the future, promise re jections that are not handled will terminate the Node.js process with a non-zero exit code. 0|MagicMir | [2020-10-19 23:45:02.464] [ERROR] {"error":{"code":"com.amazon.ale xahttpproxy.exceptions.InvalidAccessTokenException","message":"AVS was not able to validate the provided access token."}} 0|MagicMir | [2020-10-19 23:45:10.761] [ERROR] {"error":{"code":"com.amazon.ale xahttpproxy.exceptions.InvalidAccessTokenException","message":"AVS was not able to validate the provided access token."}} 0|MagicMir | [2020-10-19 23:45:18.513] [ERROR] {"error":{"code":"com.amazon.ale xahttpproxy.exceptions.InvalidAccessTokenException","message":"AVS was not able to validate the provided access token."}}
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