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.
    • dolanmiuD Offline
      dolanmiu
      last edited by dolanmiu

      https://github.com/dolanmiu/MMM-awesome-alexa

      Chat on Gitter dependencies Status Build Status

      Demo GIF

      MMM-awesome-alexa

      A hands free Alexa module for the Magic Mirror, which is activated when you say ‘Alexa’.
      At the moment, this only works for MacOS and Ubuntu. Raspberry Pi has experimental support, it works when I tried it, but please try yourself and let us know on Gitter!

      Installation

      Refer to the official documentation on how to install the module: https://awesome-alexa.js.org

      Usage

      Boot up Magic Mirror and say “Alexa, what time is it?”, or “Alexa, tell me a joke” 😊.

      Note: If you are using Raspberry Pi, you most likely will experience a snowboy issue. Please go to the Troubleshoot section down below

      Features

      • Wake Word support
      • Custom Wake Word
      • Very easy set up
      • Easy config tool
      • All-in-one solution.
      • Visualisation

      Supported Wake Words

      • Alexa
      • Smart Mirror
      • Snowboy
      • Jarvis
      • Computer

      Troubleshoot

      First check if your mic works by typing in:

      rec t.wav
      

      If the above command doesn’t work, please fix that before continuing. Here is a link to help you (Raspberry pi)

      PM2 problems

      For some reason, running MagicMirror on PM2 with this module doesn’t seem to work on Raspberry Pi. The mic does not pick up. If anyone has a solution or cause for this, it would be greatly appreciated. I would recommend to start the MagicMirror the traditional way of npm start.

      Snowboy problems

      Make sure you followed the install steps correctly. It involves manually downloading snowboy and manually building snowboy:

      https://awesome-alexa.js.org/#/installation?id=step-2-install-module

      Follow snowboy’s official guide on how to recompile their package:
      https://github.com/Kitt-AI/snowboy#compile-a-node-addon


      Made with 💖 by Dolan

      P B 2 Replies Last reply Reply Quote 1
      • P Offline
        psm9 @dolanmiu
        last edited by

        @dolanmiu
        Thanks for making this.
        I tried to go to your site to generate a config file, but I get an error from amazon.
        I entered my ClientID and Client Secret.
        What goes in the Device ID box? - Is it the Security Profile ID or the Device Type ID?

        Thanks!

        dolanmiuD 1 Reply Last reply Reply Quote 0
        • P Offline
          pepemujica
          last edited by

          So what can we do with this module? Sorry, I don’t get it

          dolanmiuD 1 Reply Last reply Reply Quote 0
          • dolanmiuD Offline
            dolanmiu @psm9
            last edited by

            @psm9 The website isn’t working properly right now :( So right now, you will have to do it manually. I am working on it!

            P 1 Reply Last reply Reply Quote 0
            • dolanmiuD Offline
              dolanmiu @pepemujica
              last edited by

              @pepemujica You know Amazon Echo?

              https://www.amazon.com/Amazon-Echo-Bluetooth-Speaker-with-Alexa-Black/dp/B00X4WHP5E/ref=sr_1_1?ie=UTF8&qid=1495760076&sr=8-1&keywords=echo

              Essentially, this module turns your Magic Mirror into an “Amazon Echo” for free! Click on the link to find out more

              You just say: “Alexa, what is the time?”, and the MagicMirror will respond to you.

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                pepemujica @dolanmiu
                last edited by

                @dolanmiu I get it.
                Now I’m stuck at the refreshtoken part, Ican’t move on

                dolanmiuD 1 Reply Last reply Reply Quote 0
                • dolanmiuD Offline
                  dolanmiu @pepemujica
                  last edited by

                  @pepemujica So sorry about this

                  There will be a proper guide on how to get a refresh token soon

                  The Helper Website currently is experiencing issues

                  I will message on this thread and reply to you once its done!

                  Keep an eye out! And thanks for your interest :)

                  P 2 Replies Last reply Reply Quote 0
                  • P Offline
                    pepemujica @dolanmiu
                    last edited by

                    @dolanmiu That would be awesome! Hope you can fix it soon.
                    Kind regads!

                    dolanmiuD 1 Reply Last reply Reply Quote 0
                    • P Offline
                      pepemujica @dolanmiu
                      last edited by

                      @dolanmiu Hi @dolanmiu hope you’re finding very well!
                      could you fix the helper website?
                      Kind regards

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        ezarlive
                        last edited by

                        Seems… doesn’t work!

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          ezarlive
                          last edited by

                          It works!

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            jnstnr @ezarlive
                            last edited by

                            @ezarlive how did you get it to work? I’ve been trying and trying to get this to work nothing works :/

                            dolanmiuD 1 Reply Last reply Reply Quote 0
                            • dolanmiuD Offline
                              dolanmiu @pepemujica
                              last edited by

                              @pepemujica For me, the helper website works

                              Where do you live? I live in the UK, and it just works for me, perhaps Amazon has location blocking?

                              1 Reply Last reply Reply Quote 0
                              • dolanmiuD Offline
                                dolanmiu @jnstnr
                                last edited by

                                @jnstnr Can you post on the issues section of the Repo? Tell me the exact error, you can find the error by running:

                                npm start dev

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mc_landin @dolanmiu
                                  last edited by

                                  @dolanmiu I have a similar issue: https://forum.magicmirror.builders/topic/4227/mmm-awesome-alexa-black-screen-installation-error

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    mydiva
                                    last edited by

                                    I have tried to install this module, but it didn’t work. If I disable this module in config everything works fine. If i start with this module i get a black screen. In dev mode, i get an error DevTools was disconnected from the page …
                                    Do someone knows whats going wrong? I followed the instruction during the installation.

                                    1 Reply Last reply Reply Quote 1
                                    • F Offline
                                      Fonfon
                                      last edited by

                                      this module is only in english ?

                                      1 Reply Last reply Reply Quote 0
                                      • X Offline
                                        xchribiza
                                        last edited by

                                        Please help!
                                        I am trying to install this module and I am stuck at the refreshtoken thing…
                                        I always get error from amazon .
                                        Please any ideas ?

                                        1 Reply Last reply Reply Quote 0
                                        • ArzegA Offline
                                          Arzeg
                                          last edited by Arzeg

                                          Hello Guys,
                                          i stuck … i tried the last days to configure the module right but i dont understand the step with auth_token.sh from the site How to get AVS Token.
                                          I got at the previous step the code for the second script “auth_token.sh” changed the client id, client secret and the code to my options all fine.
                                          When i will execute the script nothing happens or what should i do with the script?

                                          CLIENT_ID="amzn1.application-oa2-client.7efb5005320644ba9..."
                                          CLIENT_SECRET="a14de78ce1096593718..."
                                          CODE="ANXsEuOxBhQDk..."
                                          GRANT_TYPE="authorization_code"
                                          REDIRECT_URI="https://localhost:9745/authresponse"
                                          
                                          curl -X POST --data "grant_type=${GRANT_TYPE}&code=${CODE}&client_id=${CLIENT_ID}&client_secret=${CLIENT_SECRET}&redirect_uri=${REDIRECT_URI}" https://api.amazon.com/auth/o2/token
                                          

                                          my auth_token.sh script

                                          greets Arzeg

                                          1 Reply Last reply Reply Quote 0
                                          • U Offline
                                            uzumon
                                            last edited by uzumon

                                            Hello i need help.

                                            How to get refresh token?

                                            Now without refresh token in config i have problem with run module:

                                             2017-08-24 10:49 +02:00: Whoops! There was an uncaught exception...
                                            0|mm       | 2017-08-24 10:49 +02:00: { Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/electron-v1.6-linux-arm/snowboy.node'
                                            0|mm       |     at Module._resolveFilename (module.js:470:15)
                                            0|mm       |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
                                            0|mm       |     at Function.Module._load (module.js:418:25)
                                            0|mm       |     at Module.require (module.js:498:17)
                                            0|mm       |     at require (internal/module.js:20:19)
                                            0|mm       |     at Object. (/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/index.js:8:29)
                                            0|mm       |     at Object. (/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/index.js:132:3)
                                            0|mm       |     at Module._compile (module.js:571:32)
                                            0|mm       |     at Object.Module._extensions..js (module.js:580:10)
                                            0|mm       |     at Module.load (module.js:488:32) code: 'MODULE_NOT_FOUND' }
                                            
                                            

                                            Someone can help? Please.

                                            Edit: for error with snowboy. I fixed it by:

                                            npm run electron-rebuild
                                            
                                            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