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.

    AlexaPI and MagigMirror at same raspberry

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 3 Posters 3.7k Views 3 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.
    • E Offline
      ezarlive
      last edited by

      Hi,
      I have not been able to run AlexaPi with MagicMirror.
      I installed AlexaPi in the same RPi where MagicMirror is.

      The microphone is a webcam and the speaker output 3.5mm. I hear Hello on boot up, but I can not call Alexa. I say “Alexa” but there is no way!

      Can you help me? Somebody can share Alexa config?

      Alsa test:
      http://www.alsa-project.org/db/?f=c06c9e25569d46621bb6cb0c92c08edf318ea32c

      Regards,

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @ezarlive
        last edited by

        @ezarlive my experience with using AlexaPi with a webcam was dismal. Are you also using the webcam for facial recognition? If so I think the video capture saturates the USB connection and leaves little left over for the microphone. I switched to using the Pi camera connected to the CSI header and a standalone USB microphone and my results are much better.

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

          I test using mic usb but doesn’t works too.

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @ezarlive
            last edited by

            @ezarlive Have you verified recording is working? If not, try this:
            https://zedic.com/raspberry-pi-usb-webcam-built-in-microphone/

            It helped me get my microphone working.

            Hope this helps!
            -Jeff

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

              Do you really need alexapi? I use the code which was made available by amazon. [https://github.com/alexa/alexa-avs-sample-app](link url)
              Unless you need a specific alexapi module on MM2 you could try this one.

              1 Reply Last reply Reply Quote 0
              • E Offline
                ezarlive @j.e.f.f
                last edited by

                @j.e.f.f thanks! arecord test.wav and aplay test.wav works fine.
                I install pulse too, but still not detect Alexa trigger…

                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 / 1
                • 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