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

                Documentation website up:

                https://awesome-alexa.js.org

                Has detailed install instructions and on how to get past snowboy issues

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bast.
                  last edited by

                  Hey there, I’m totally new to this topic.
                  I hope you understand my English and my problem.

                  So my Mirror is already working but when i’m adding the module Awesome Alexa my weather module is loading in the middle of the screen instead of Top_right. It doesn’t matter if i change all positions, every time Weather is in the middle.
                  When i delete the alexa module, weather is back in the original position.

                  Can somebody help me with this problem?

                  thank you a lot…

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

                    Trying to finish setup of the module.

                    I’m in the helper config, and when I get to the point of supplying a return URL I enter:
                    https://localhost:3000/authresponse
                    But terminal tells me that’s an invalid URL.

                    I’ve put https://localhost:3000/authresponse as my return URL and https://localhost:3000/ as my authorized URL on the Amazon developer site. What I am I doing wrong here?

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

                      I am struggling since 4 hours getting this module to work. 😩

                      When I say ‘Alexa’ the module seems to wake up, but then after ie a question nothing happens.

                      There’s no evidence of errors when running MM by npm start.

                      All the setup went fine so I am out of ideas now…

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

                        @Cr4z33 how does the module play audio? I had an alexa module that used mpg321, which wasn’t installed… so it never made any sound

                        looks like the awesome alex debug says to test play with

                        omxplayer -o alsa myAudioFile.mp3
                        

                        https://github.com/dolanmiu/MMM-awesome-alexa/blob/master/docs/audio-setup.md

                        now that the author has one lined the source, it is hard to help as much…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        Cr4z33C 1 Reply Last reply Reply Quote 0
                        • Cr4z33C Offline
                          Cr4z33 @sdetweil
                          last edited by Cr4z33

                          @sdetweil said in MMM-awesome-alexa:

                          @Cr4z33 how does the module play audio? I had an alexa module that used mpg321, which wasn’t installed… so it never made any sound

                          looks like the awesome alex debug says to test play with

                          omxplayer -o alsa myAudioFile.mp3
                          

                          https://github.com/dolanmiu/MMM-awesome-alexa/blob/master/docs/audio-setup.md

                          now that the author has one lined the source, it is hard to help as much…

                          I actually didn’t check that part yet because every other module using sound (ie. MMM-AssistantMk2, MMM-Spotify, etc.) is already working perfectly.

                          Also I see there’s no option in the module to set the audio output so… :man_shrugging_medium_skin_tone:

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

                            @Cr4z33 said in MMM-awesome-alexa:

                            every other module using sound (ie. MMM-AssistantMk2, MMM-Spotify, etc.) is already working perfectly.

                            yes, doesn’t mean anything… every module can use their own methods to make sound…

                            let us know if/when u get there

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            Cr4z33C 2 Replies Last reply Reply Quote 0
                            • Cr4z33C Offline
                              Cr4z33 @sdetweil
                              last edited by

                              @sdetweil sure.

                              I might have some spare time later today and I definitely need a working Alexa module ASAP.

                              1 Reply Last reply Reply Quote 0
                              • Cr4z33C Offline
                                Cr4z33 @sdetweil
                                last edited by Cr4z33

                                @sdetweil so I followed the Audio guide, but immediately had to go to the Audio Troubleshooting section because no sound was coming out.

                                Created the suggested audio settings file, rebooted, but the module keeps working like in my first post here…

                                I am using HDMI output and a USB mic.
                                They work perfectly with other modules or ie. with VLC playing.

                                Edit
                                My fault I didn’t run MM into dev mode so now I notice there’s actually an error when waking up the module, but I don’t know what it means.

                                Does anybody have please a clue about what’s written below?

                                MMM-awesome-alexa.js:1 Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD
                                
                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil
                                  last edited by

                                  yep, not your fault… new browser restriction…

                                  fix in next version july

                                  workaround

                                  edit
                                  MagicMirror/js/electron.js
                                  add the line marked below

                                  let mainWindow;
                                  
                                  function createWindow() {
                                      app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required');  //< -------- added
                                  

                                  save, and restart Mm

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  Cr4z33C 2 Replies Last reply Reply Quote 0
                                  • Cr4z33C Offline
                                    Cr4z33 @sdetweil
                                    last edited by

                                    @sdetweil cheers going to try it now! :thumbs_up_medium_skin_tone:

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

                                      @Canterrain said in MMM-awesome-alexa:

                                      Trying to finish setup of the module.

                                      I’m in the helper config, and when I get to the point of supplying a return URL I enter:
                                      https://localhost:3000/authresponse
                                      But terminal tells me that’s an invalid URL.

                                      I’ve put https://localhost:3000/authresponse as my return URL and https://localhost:3000/ as my authorized URL on the Amazon developer site. What I am I doing wrong here?

                                      Bump on this question, still can’t get past the local url section. Any help would be appreciated.

                                      Cr4z33C 1 Reply Last reply Reply Quote 0
                                      • Cr4z33C Offline
                                        Cr4z33 @Canterrain
                                        last edited by

                                        @Canterrain follow this guide.

                                        It worked for me.

                                        C 1 Reply Last reply Reply Quote 0
                                        • Cr4z33C Offline
                                          Cr4z33 @sdetweil
                                          last edited by Cr4z33

                                          @sdetweil finally I could hear the sound output of Alexa in my mirror!

                                          However for some reason it plays like if in slow motion. :persevering_face:

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            Canterrain @Cr4z33
                                            last edited by

                                            @Cr4z33
                                            Oddly that’s not working for me either. Maybe I’m doing something wrong?

                                            What should I be using for the Device ID? I’ve been using the product ID, but maybe that’s wrong.

                                            Cr4z33C 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