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.

    Amazon Echo/Alexa

    Scheduled Pinned Locked Moved Unsolved Requests
    interaction
    22 Posts 14 Posters 29.4k Views 14 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.
    • VendittelliV Offline
      Vendittelli Module Developer
      last edited by paviro

      I saw that someone managed to turn their raspberry pi into an Amazon Echo and was wondering whether anyone was interested?

      I can’t work on it until after exams (yay student life). So if somebody wanted to try it in the interim then I thought I’d throw the suggestion out there!

      1 Reply Last reply Reply Quote 0
      • MichMichM Offline
        MichMich
        last edited by

        Well, I’m not specifically interested in a Amazon Echo plugin. But I do want to built a voice recognition plugin. Unfortunately, I’m still looking for a simple, stable and powerful recognition library that plays nice with Electron and doesn’t need any Python (or other external solutions …).

        1 Reply Last reply Reply Quote 1
        • KirAsh4K Offline
          KirAsh4 Moderator
          last edited by

          I feel this bit is mandatory. It comes courtesy of a friend who happens to have their house wired up and then this exchange happened one night:

          Her: "XBox, turn off all lights"
          Lights stay on
          Her (louder): "XBox, turn off all lights!"
          Lights stay on
          Kid4: "Mum, lights are Alexa, not XBox. Alexa, turn off all lights"
          Lights turn off
          Alexa: "okay"
          

          A Life? Cool! Where can I download one of those from?

          MichMichM 1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich @KirAsh4
            last edited by

            @KirAsh4 lol. :)

            1 Reply Last reply Reply Quote 0
            • J Offline
              joerod
              last edited by

              Voice control will be great, I’d be super interested in this. I know there is a fork of this MagicMirror that does user voice control with googles API. The problem with this is that google only allows 50 API calls a day and there is no option to even buy more calls. As you can imagine the 50 calls get used up pretty quickly.

              I’ve seen another Mirror that uses Jasper which is open source and does not have the API limitation, but I found this application difficult to install.

              1 Reply Last reply Reply Quote 0
              • nhubbardN Offline
                nhubbard
                last edited by

                I was thinking more like Wit.ai, but that would be a little complicated to add. It requires you to make your own system, but you could automate anything you want using your mirror as the audio input source!

                Just because something doesn’t do what you planned it to do doesn’t mean it’s useless.

                – Thomas Edison

                1 Reply Last reply Reply Quote 0
                • N Offline
                  Nichollsg
                  last edited by

                  Hey, I am actually interested in adding Amazon Alexa at some point, and I found a tutorial for adding this. Once I finish some other stuff going on, I will be back to start working on combining the magic mirror with amazon Alexa. I think the most difficult thing is going to be getting Alexa to feed stuff directly into the magic mirror. I am looking to have her used to search and play podcast videos from NPR/YouTube, but I think this might be a bit too much for the mirror- at least for right now.

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    patm189
                    last edited by

                    I thought I heard somewhere that the Alexa’s open source software doesn’t actually allow for voice activation, but rather a button must be used to activate voice commands… perhaps that’s incorrect. I’d love to add voice command to my mirror.

                    paviroP N 2 Replies Last reply Reply Quote 0
                    • paviroP Offline
                      paviro @patm189
                      last edited by

                      @patm189 maybe CMU Sphinx could be used as the always listening part and as a button for Amazon Echo.

                      We're all stories in the end. Just make it a good one, eh?

                      – The Doctor

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        Nichollsg @patm189
                        last edited by

                        @patm189 I see why that might be an inconvenience, and I feel the same. I would much rather use something similar to just saying “OK Google” or “Alexa, turn on…” to activate the service. However, if this is true then I will find a way to use the MMM-Button to activate it and have the omxplayer either activate default the first time the screen comes on after a certain time or change the number of times the button has to be pressed for each. Either way, I think any voice recognition software would be a cool addition to the mirror!

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          PtrBld Module Developer
                          last edited by PtrBld

                          I have just rewritten the MMM-Button module so it can support more than one Button at a time. Thereby we can theoretically take one Button to start omxplayer and one to listen for speech.

                          1 Reply Last reply Reply Quote 1
                          • T Offline
                            TerryW
                            last edited by

                            I have a pi set up with the Alexa Voice services and indeed you must use a push button to activate listening mode. It does work pretty well. What I have started on is using the Rasberry Pi/Magic Mirror as a MQTT client. If you have an echo, you could call up and interact with Magic Mirror and your home automation and maybe have some fun “conversations” with your Magic Mirror. I think the mirror would make a great feedback device for some simple sensors around the home. You kind of end up with a home-brewed JIbo without the 500 dollar cost!

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

                              I also have Amazon alexa running on my rpi alongside the MM2. I say mirror, mine is on a monitor on my desk and I use it as dashboard/calendar/newscenter. I also have amazon alexa running on it. I used the guide amazon uploaded.

                              So the way I currently have it set up is I have the MM running on full screen and have put the alexa module as always “show on top” so I can use a mouse button to click and control alexa, while at the same time still see the other modules. Ideally, I would like to embed the alexa voice control module in the MM2. Is that something that would be possible to do?

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

                                Yesterday I found an update on amazons developer blog: https://developer.amazon.com/public/community/post/Tx1WVAG8L2OOXF0/Alexa-Voice-Service-Introduces-API-Update-that-Makes-It-Easier-to-Build-Hands-Fr

                                Now the wake up word (or voice activation) is provided. I will test the AVS/Alexa sample code during the next weeks: https://github.com/alexa/alexa-avs-sample-app/wiki/Raspberry-Pi

                                Or do I missed a „ready to use“ Alexa module for magic mirror?

                                kin regards, mick

                                PS: about limitations (of request etc.) I do not know, and I did not read the AVS documentation now.

                                1 Reply Last reply Reply Quote 1
                                • G Offline
                                  gismo2006
                                  last edited by

                                  I habe post this yeasterday unser General Forum. :-)

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

                                    You didn´t need to push a Button now but there was a time limit of 120 days befor you have to renew the libarys…

                                    greets gismo

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

                                      I’m not a programmer so I have yet to figure out how to make a module, but I was able to follow the instructions from Amazon to get AVS/Alexa running on my rpi3 while MM2 is also running. It’s kinda cool cause Alexa just runs in the background and takes commands with the wake word “Alexa”.

                                      The only feature I wish it had is visual feedback on the mirror. I also wish the Alexa sample app could autorun anytime I have the mirror loaded.

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

                                        I’ve started looking at this too. I tried the AVS link as above - functionally great and easy to setup but I’m unsure how practical it is to implement.

                                        I’m just starting to look at @whyjustin 's module here which looks to address the MM integration aspect but I think as has been mentioned, you only get 120 days of usage before you need to revisit it.

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

                                          I think there is a confusion about the time limit. Alexa pi comes with 2 wake word engines, Sensory and kitt.ai. Sensory will expire in at least 120 days and will need to be re setup but but the kitt.ai engine doesn’t seem to have a time limit. Kitt.ai is free for personal use but needs to be licensed when used commercial.

                                          C 1 Reply Last reply Reply Quote 2
                                          • C Offline
                                            carteblanche @d3r
                                            last edited by

                                            @d3r Yes you are correct.

                                            I have tried out both wake word engines with the Alexa pi sample app and for me the sensory engine performed much better in picking up the wake word. For some reason with snowboy (kitt.ai) I always seem to have to be very close to the mic for it to be picked up.

                                            1 Reply Last reply Reply Quote 1

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