• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 296.4k 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.
  • B Offline
    berne
    last edited by Aug 11, 2019, 5:42 PM

    This post is deleted!
    1 Reply Last reply Reply Quote 0
    • B Offline
      berne @dolanmiu
      last edited by Aug 12, 2019, 10:29 PM

      @dolanmiu i am done install this, havet test it yet,
      but i got the code for config.js

      But i allso got this:

      Full response from Amazon

      {
        "_body": "{\"error_description\":\"Client authentication failed\",\"error\":\"invalid_client\"}",
        "status": 401,
        "ok": false,
        "statusText": "Unauthorized",
        "headers": {
          "pragma": [
            "no-cache"
          ],
          "date": [
            "Mon",
            " 12 Aug 2019 08:06:35 GMT"
          ],
          "x-amzn-errortype": [
            "OA2InvalidClientException:http://internal.amazon.com/coral/com.amazon.panda/"
          ],
          "x-amzn-requestid": [
            "sdsdfgergegegege0e"
          ],
          "content-type": [
            "application/json;charset=UTF-8"
          ],
          "cache-control": [
            "no-cache",
            " no-store",
            " must-revalidate"
          ],
          "content-length": [
            "85"
          ]
        },
        "type": 2,
        "url": "https://api.amazon.com/auth/o2/token"
      }````
      
      Do i need to do anything with this? or what does this go, and what does i do?
      
      Regards
      P 1 Reply Last reply Sep 7, 2019, 12:32 AM Reply Quote 0
      • Q Offline
        Quberch
        last edited by Aug 13, 2019, 9:52 AM

        First I’ve to say awesome work @dolanmiu ! I’ve installed as described in your documentation. For auto start I’m still using PM2 with the mm.sh script and can’t get the wake word to trigger. ALSA ist configured and recording. Any ideas what could be the problem? Do I have to get rid completely of PM2? Many thanks in advance for your help!

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cordetx
          last edited by Aug 18, 2019, 9:29 PM

          Can you please add the wake word “Mirror Mirror On The Wall”?

          B 1 Reply Last reply Aug 19, 2019, 10:07 PM Reply Quote 1
          • B Offline
            berne @Cordetx
            last edited by Aug 19, 2019, 10:07 PM

            what mic are people using, i have this: USB MIC
            but cant get it to work so looking for a new one

            1 Reply Last reply Reply Quote 0
            • M Offline
              menanr @Canterrain
              last edited by Aug 22, 2019, 1:50 PM

              @Canterrain said in MMM-awesome-alexa:

              @Cr4z33
              Well dang. I’m doing something wrong here. Whether I use the helper config or the tool above, I get a broken error page.

              And I know an error page is expected, but it’s not a long url with a code in it.
              It’s like… amazon.com/wpa

              and that’s it.

              Was the right choice “device with alexa built in” and “no companion app” ? I figure I must have done something wrong on the Amazon developer page, since that’s the part with no guide and it’s working for other people.

              Hey
              did you get it working. I am stuck at the same spot.

              Thanks

              P 1 Reply Last reply Sep 7, 2019, 12:36 AM Reply Quote 0
              • P Offline
                prpun311 @berne
                last edited by prpun311 Sep 7, 2019, 12:36 AM Sep 7, 2019, 12:32 AM

                @berne No, its just telling you what the amazon site is doing, you only need the top portion.

                1 Reply Last reply Reply Quote 0
                • P Offline
                  prpun311 @menanr
                  last edited by Sep 7, 2019, 12:36 AM

                  @menanr try this out,
                  https://www.howtogeek.com/423233/how-to-add-alexa-to-your-smart-mirror/

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Blackhawk50000
                    last edited by Blackhawk50000 Sep 10, 2019, 8:37 PM Sep 10, 2019, 8:05 PM

                    I would LOVE to get this work… i have done everything that is written in the guide:

                    2nd hand guide

                    and of course in your normal regular guide…
                    i have testet my microphone and my speaker… everything is okay. but when i set up the config and a try tu say something… NOTHING works.
                    even with wireshark i dont see, that everything is trying to do something.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Blackhawk50000
                      last edited by Sep 11, 2019, 8:58 PM

                      Okay, little Update, why i think the module dont work.

                      I saw that the part:

                      rm -rf node_modules
                      npm install nan --save 
                      npm install node-pre-gyp@0.12.0 --save 
                      npm install 
                      npm run prepublish 
                      

                      throws some erros:

                      
                      Found 2 errors.
                      
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 2
                      npm ERR! snowboy@1.3.1 prepublish: `tsc --listFiles`
                      npm ERR! Exit status 2
                      npm ERR!
                      npm ERR! Failed at the snowboy@1.3.1 prepublish script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/pi/.npm/_logs/2019-09-11T20_53_08_308Z-debug.log
                      
                      

                      after a bit googeling i found this: https://www.gitmemory.com/issue/eouia/MMM-Hotword/65/507582634

                      so i editet the package.json and set up the typescript version ti 3.5.2 and gor this errors by npm run prepublish:

                      
                      > snowboy@1.3.1 prepublish /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy
                      > tsc --listFiles
                      
                      node_modules/@types/node/index.d.ts:43:11 - error TS2300: Duplicate identifier 'IteratorResult'.
                      
                      43 interface IteratorResult<T> { }
                                   ~~~~~~~~~~~~~~
                      
                        node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6
                          41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
                                  ~~~~~~~~~~~~~~
                          'IteratorResult' was also declared here.
                      
                      node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6 - error TS2300: Duplicate identifier 'IteratorResult'.
                      
                      41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
                              ~~~~~~~~~~~~~~
                      
                        node_modules/@types/node/index.d.ts:43:11
                          43 interface IteratorResult<T> { }
                                       ~~~~~~~~~~~~~~
                          'IteratorResult' was also declared here.
                      
                      

                      i think this is a current problem, that snowboy is not correct installed… can anyone confiorm this?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 24
                      • 25
                      • 8 / 25
                      • 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