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 @jnstnr
      last edited by

      @jnstnr Yeah, sorry for the complexity! I tried hard to make this as easy as possible

      But due to the nature of this project, there are a lot of variables. Everyones machine and setup is different etc

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

        @dolanmiu no worries, I totally understand that it’s quite complicated

        1 Reply Last reply Reply Quote 0
        • S Offline
          smyvy @jnstnr
          last edited by

          @jnstnr said in MMM-awesome-alexa:

          @cowboysdude just got home and tried it, replaced all " with ’

          And now I get another error:
          pi@raspberrypi:~ $ bash auth_code.sh
          auth_code.sh: line 10: syntax error near unexpected token (' auth_code.sh: line 10: perl -MURI::Escape -ne ‘chomp;print uri_escape($_),’\n’‘’

          Pretty sure there’s a simple fix for line 10, but haven’t figured it out yet!

          Hi, what was you fix? Thanks

          J M 2 Replies Last reply Reply Quote 0
          • J Offline
            jnstnr @smyvy
            last edited by

            @smyvy I went to this url:
            https://sakirtemel.github.io/MMM-alexa/

            Put in the Client Id, Device ID & set serial number as 1234. I also added the above url as an allowed return url in the Amazon developer console before I clicked the “Request code” button.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              smyvy @jnstnr
              last edited by

              This post is deleted!
              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jnstnr @smyvy
                last edited by jnstnr

                @smyvy the config that’s included in the mmm-awesome-alexa repo wasn’t working for me, so I adjusted it to make it look like other modules in my config. here’s my setup, I was actually missing a comma after the closing }, which fixed the black screen:

                {
                module: ‘MMM-awesome-alexa’,
                position: “bottom_bar”,
                config: {
                wakeWord: “Alexa”,
                clientId: “amzn1…”,
                clientSecret: “…”,
                deviceId: “magicmirror”,
                refreshToken: “…”,
                lite: false
                }
                },

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

                  @g_nandagpl please share images of the visualisation, if any.

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

                    @g_nandagpl is it possible to send notifications or load modules through voice?

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

                      @g_nandagpl Visualization is now done! It looks like a talking/breathing circle, kind of like cortana.

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

                        @dolanmiu Thanks for the visualisation.

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

                          Has anyone run into this problem:

                          Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/electron-v1.4-linux-arm/snowboy.node’
                          at Module._resolveFilename (module.js:455:15)
                          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)

                          Happens when I try to run my mirror with MMM-awesome-alexa.

                          Thanks,

                          James

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

                            @smyvy Yes, its a very common issue, run this:

                            npm run electron-rebuild

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

                              Thanks for the speedy reply. Although I have tried this several times and I get

                              “sh: 1 electron-rebuild: not found…”

                              I’ve started over a couple of times but get the same. Sorry if this is a real NOOB problem.

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

                                @smyvy which directory are you running that command on?

                                It needs to be in the MMM-awesome-Alexa directory

                                That command is most definitely there

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

                                  Hi, yes inside that directory.

                                  I’m going to completely restart and see if it is something I’ve messed up.

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    manojjena78 @smyvy
                                    last edited by

                                    @smyvy

                                    I am also getting the above error. @Jnstnt- can you please share the findings… A sample copy would help
                                    Thanks
                                    MKJ

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      manojjena78 @jnstnr
                                      last edited by

                                      @jnstnr ,
                                      Hi, Please let me the fix , I am getting this error and nothing is helping out so far…
                                      MKJ

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        hnperkins @jnstnr
                                        last edited by

                                        @jnstnr said in MMM-awesome-alexa:

                                        @cowboysdude just got home and tried it, replaced all " with ’

                                        And now I get another error:
                                        pi@raspberrypi:~ $ bash auth_code.sh
                                        auth_code.sh: line 10: syntax error near unexpected token (' auth_code.sh: line 10: perl -MURI::Escape -ne ‘chomp;print uri_escape($_),’\n’‘’

                                        Pretty sure there’s a simple fix for line 10, but haven’t figured it out yet!

                                        what was your fix for this? i am currently having this exact issue

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

                                          @hnperkins That post “seem” wrong as it show’s a “back-tick” (`) or even forward-tick, instead of a single quote (').
                                          You need to replace all double-quotes with single quotes, not back-ticks!
                                          Unfortunately the single quotes are not rendered clearly, in this forum.

                                          # Here is a single-quote:  '
                                          # Here is a back-tick:     `
                                          # Here is a double-quote:  "
                                          

                                          But that said, I’m not sure that is the problem.

                                          "Everything I do (here) is for free – altruism is the way!"
                                          MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            ruhulayaan
                                            last edited by

                                            It doesnt work with ifttt. Whenever i try to send the command, it gives a response “i dont see any ifttt trigger” . But from alexa app on my android it works normally with the same account, i used to generate my token.

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