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.
    • 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
                    • S Offline
                      sdetweil @Ghost2000
                      last edited by

                      @Ghost2000 you will have to redo the code process as it as expired

                      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

                        O
                        How can I prevent this?

                        How long is the code valid?

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

                          @Ghost2000 the code is valid for 24 hours… MM has to be running all the time so it can fresh the token

                          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

                            photo_2020-10-20_00-47-50.jpg

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bsisco95
                              last edited by

                              For some reason the wake word “Jarvis” will not work for me. Both “Alexa” and “Smart Mirror” do work when changed in the config file. Anyone else had this problem and know how to fix it? Thanks!

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                JonatanPN
                                last edited by

                                After many attempts, I managed to install MMM-awesome-alexa, but I have a problem, no device from my account appears. I have tried saying “Alexa, search devices” it says it will search but then it says nothing.

                                If I try to run routines they don’t exist either, however from the Alexa application for my mobile, I can run routines, control devices and also, in the list of devices I see that “Jonatan’s Magic_Mirror_Alexa” appears although as offline.

                                It is as if it were an account with another profile, since it does not show devices or routines. But it works fine for the rest like asking the time and other information.
                                I tried creating a new amazon account but the same thing happens.

                                Does anyone know what can I do? 😔

                                1 Reply Last reply Reply Quote 1
                                • R Offline
                                  rguardaya2008
                                  last edited by

                                  Guys can somebody help me…

                                  i tried installing this module into my magic mirror and i have been following the step by step process and i am already in the part were i already received the full config with refreshToken. However, when i tried to encode it in the config and restarts the magic mirror it only shows black/blank screen. please somebody help me what to do next…

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

                                    @rguardaya2008 look in the console window were u start magic mirror , npm start or pm2,
                                    if pm2, use the pm2 logs --lines=??? command (??? is 15 by default)

                                    also, open the developers window, ctrl-shift-i,
                                    and select the console tab and scroll up…

                                    I made a script of the steps for the install , and there as a missing piece, which the scrip corrects
                                    u can download it, make it executable, and it will do the whole install steps… (but not the auth step u just did, so keep that)

                                    https://www.dropbox.com/s/omrx3vztjp738hf/do-install.sh?dl=0

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    R 1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rguardaya2008 @sdetweil
                                      last edited by

                                      @sdetweil thank you! i did the step by step process you showed me and when i run it magic mirror was just running fine not like the black/blank screen like before. however i cannot find the alexa on it.

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

                                        @rguardaya2008 u have to speak, alexa…

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        R 1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          rguardaya2008 @sdetweil
                                          last edited by

                                          @sdetweil i think i have a problem with my mic… i tried troubleshooting but i get the same reply “rec WARN alsa: can’t encode 0-bit Unknown or not applicable
                                          rec FAIL formats: can’t open input `default’: snd_pcm_open error: No such file or directory” when i record…

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

                                            @rguardaya2008 arecord -l
                                            will list the devices

                                            arecord -D plughw:card#:0 test.wav
                                            speak some words
                                            ctrl-c to end record
                                            aplay test.wav, do you hear your words?

                                            but if the mic is bad, nothing software can do to fix it…

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            R 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
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 9 / 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