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 352.3k 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.
    • 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
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by cowboysdude

              I guess he’s given up on getting this working correctly…

              Trust me this thing is a bloody nightmare…

              1 Reply Last reply Reply Quote 0
              • cowboysdudeC Offline
                cowboysdude Module Developer
                last edited by cowboysdude

                Well I have figured this out…it’s VERY simple.

                IF You need the sh files to generate your info please go to my fork of this module…I’ve included them.

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

                J 1 Reply Last reply Reply Quote 1
                • G Offline
                  g_nandagpl
                  last edited by

                  Thanks for this module. It works.
                  If we have visualization, it would be better.

                  dolanmiuD G 2 Replies Last reply Reply Quote 0
                  • dolanmiuD Offline
                    dolanmiu @g_nandagpl
                    last edited by

                    @g_nandagpl Thank you for the feedback, glad you got this working

                    As for visualization, it turned out really laggy on Raspberry Pi, so I postponed it

                    I might re-visit this feature, maybe figure out a way to speed it up if there is enough interest

                    cowboysdudeC 1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @dolanmiu
                      last edited by

                      @dolanmiu OH there’s interest. I"m using a real computer to run mine so not an issue :)

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

                        @cowboysdude thanks for the scripts! I’m trying to run auth_code.sh but I get the following errors, and no code to put in auth_code2.sh:

                        Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
                        BEGIN failed–compilation aborted.
                        Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
                        BEGIN failed–compilation aborted.
                        Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
                        BEGIN failed–compilation aborted.
                        /usr/bin/xdg-open: 1: eval: www-browser: not found
                        /usr/bin/xdg-open: 1: eval: links2: not found
                        /usr/bin/xdg-open: 1: eval: elinks: not found
                        /usr/bin/xdg-open: 1: eval: links: not found
                        /usr/bin/xdg-open: 1: eval: lynx: not found
                        /usr/bin/xdg-open: 1: eval: w3m: not found
                        xdg-open: no method available for opening ‘https://www.amazon.com/ap/oa?client_id=[removed my client id]&scope=&scope_data=&response_type=code&redirect_uri=’

                        Any ideas what could be wrong?

                        cowboysdudeC 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 24
                        • 25
                        • 2 / 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