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 392.6k 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
      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
                              • R Offline
                                rguardaya2008 @sdetweil
                                last edited by

                                @sdetweil thank you for guiding me so far… i was able to record and play using the codes you gave me, the mic seems to be fine. however, still i cannot open alexa on my MM. what did i miss?

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

                                  @rguardaya2008 sorry. I do not know.

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    So i’m at the point in the set pu where it’s saying “Getting response from Amazon…”, but it’s been going for like 30 mins. Any ideas on how long this should take, or did i probably make a mistake above?

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

                                      @stalker401 should be fairly instant.

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

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

                                        @sdetweil Thanks, i’m not sure what i did wrong, but it helps to know that it should be quick

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          cq0q
                                          last edited by

                                          hey guys, i have a problem with this module and i’d really be glad if someone could help me with it …
                                          I tried to install this module in my raspberry pi 4 (Awesome Alexa) … after i installed it and all … after i finished i tried it … and said: Alexa hide all (to hide the modules… for privacy and save power) it hided all the modules (including this module) but then i wanted to say: Alexa show modules (to show them again) but it didn’t respond to me … i had to restart the magic mirror … so what should i do after i hide the modules how can i show them again without restarting the magic mirror ? And how can i make Alexa hide particular modules but not all of them and if it’s possible, how can i make a custom responds (for example when i say: Alexa do you love me? … she responds to me with: yes my love 😅)

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

                                            @cq0q the author is no longer here and the module has not been updated in quite a while.

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 12
                                            • 13
                                            • 5 / 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