• 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 334.2k 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.
  • C Offline
    Cr4z33 @sdetweil
    last edited by Jun 11, 2019, 10:29 AM

    @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
    • C Offline
      Cr4z33 @sdetweil
      last edited by Cr4z33 Jun 11, 2019, 2:15 PM Jun 11, 2019, 1:39 PM

      @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 Jun 11, 2019, 2:57 PM

        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

        C 2 Replies Last reply Jun 11, 2019, 3:30 PM Reply Quote 0
        • C Offline
          Cr4z33 @sdetweil
          last edited by Jun 11, 2019, 3:30 PM

          @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 Jun 12, 2019, 12:26 AM

            @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.

            C 1 Reply Last reply Jun 12, 2019, 8:19 AM Reply Quote 0
            • C Offline
              Cr4z33 @Canterrain
              last edited by Jun 12, 2019, 8:19 AM

              @Canterrain follow this guide.

              It worked for me.

              C 1 Reply Last reply Jun 13, 2019, 11:25 PM Reply Quote 0
              • C Offline
                Cr4z33 @sdetweil
                last edited by Cr4z33 Jun 12, 2019, 8:25 AM Jun 12, 2019, 8:25 AM

                @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 Jun 13, 2019, 11:25 PM

                  @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.

                  C 1 Reply Last reply Jun 14, 2019, 5:10 AM Reply Quote 0
                  • C Offline
                    Cr4z33 @Canterrain
                    last edited by Jun 14, 2019, 5:10 AM

                    @Canterrain no that is correct. ;)

                    C 1 Reply Last reply Jun 14, 2019, 6:50 PM Reply Quote 0
                    • C Offline
                      Canterrain @Cr4z33
                      last edited by Jun 14, 2019, 6:50 PM

                      @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.

                      M J 2 Replies Last reply Aug 22, 2019, 1:50 PM Reply Quote 0
                      • 1
                      • 2
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 24
                      • 25
                      • 7 / 25
                      7 / 25
                      • First post
                        64/241
                        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