MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-awesome-alexa

    Scheduled Pinned Locked Moved Utilities
    241 Posts 43 Posters 391.7k Views 47 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      Ghost2000 @sdetweil
      last edited by

      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:~ $
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Ghost2000
        last edited by

        @Ghost2000 ok, lets do without pm2 while testing

        cd ~/MagicMirror
        npm start 
        

        to get back to console, alt-spacebar, n is minimize

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          Ghost2000
          last edited by

          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.
          
          
          
          1 Reply Last reply Reply Quote 0
          • G Offline
            Ghost2000 @sdetweil
            last edited by

            @sdetweil

            Error was in the config ipWhitelist: []

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Ghost2000
              last edited by

              @Ghost2000 does that mean alexa is working?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                Ghost2000 @sdetweil
                last edited by

                @sdetweil
                no

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Ghost2000
                  last edited by

                  @Ghost2000 hm… I installed on pi4, pi3 and my ubuntu desktop with the script and it worked in each case.

                  I am using english

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Ghost2000
                    last edited by

                    Glaub es liegt an deutsch

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil
                      last edited by sdetweil

                      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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        Ghost2000 @sdetweil
                        last edited by

                        @sdetweil
                        Yes i can i have time.

                        Befehl ?

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @Ghost2000
                          last edited by sdetweil

                          @Ghost2000 from the awesome-alexa instructions, come on man

                          node config_helper.js
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          G 1 Reply Last reply Reply Quote 0
                          • G Offline
                            Ghost2000 @sdetweil
                            last edited by

                            @sdetweil

                            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 $
                            
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @Ghost2000
                              last edited by

                              @Ghost2000

                              sheesh

                              node config-helper.js

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                Ghost2000
                                last edited by

                                i have see :D

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  Ghost2000
                                  last edited by

                                  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."}}
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    aclertant
                                    last edited by

                                    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

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @aclertant
                                      last edited by

                                      @aclertant so it would seem. the code is very hard to work with. I am not the author, just trying to help

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        aclertant
                                        last edited by

                                        Yes I know ;)

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          aclertant
                                          last edited by

                                          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 :)

                                          1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            Ghost2000
                                            last edited by Ghost2000

                                            /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."}}
                                            
                                            
                                            
                                            S 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 11 / 13
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy