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-AlexaPi

    Scheduled Pinned Locked Moved Utilities
    34 Posts 9 Posters 28.9k Views 10 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.
    • B Offline
      borrigan @clumsy_ninja
      last edited by

      @clumsy_ninja thank you! I think I found the config line and changed it to magicmirror. Still see nothing in Magic Mirror interface. I will keep testing. Still need to resolve microphone input problems :(

      johnnyboyJ J 2 Replies Last reply Reply Quote 0
      • johnnyboyJ Offline
        johnnyboy @borrigan
        last edited by johnnyboy

        This post is deleted!
        1 Reply Last reply Reply Quote 1
        • J Offline
          j.e.f.f Project Sponsor Module Developer @clumsy_ninja
          last edited by

          @clumsy_ninja Hey I just got this working tonight, and I’m having all sorts of fun with it. Thanks for this!

          I’d like to know if it’s possible to get this to directly control the MagicMirror (similar to MirrorMirrorOnTheWallSkill – is it possible to use this skill?). It’s great that I can control things like my lights and such, but I would also like to tell my Mirror who is looking at the mirror (e.g. as a fall back when Facial Recognition doesn’t work), or explicitly show/hide modules by name. Is this possible?

          Would also be amazing if this could receive a notice from the Facial Recognition app to speak out the recognized user (e.g.: “Good Morning, Jeff! Here’s your view.”)

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

            @borrigan I wasn’t able to get mine to show up in the mirror interface either, but otherwise AlexaPi was functional. In my case I needed to enable it for all users in the config:

            {
              module: "MMM-AlexaPi",
              position: "lower_third",
              classes: "default everyone",   // Needed this line
              config: {
                ...
              }
            },
            

            I hope this helps!

            • Jeff
            B 2 Replies Last reply Reply Quote 1
            • M Offline
              michael_klatt
              last edited by

              hy,
              i have Alexa from this site installed:

              http://lifehacker.com/how-to-build-your-own-amazon-echo-with-a-raspberry-pi-1787726931

              Is has a function and goes good.
              I installed the Magic Mirror with my packages what ive done. Problem is to get both in the Mirror.

              Im a Newbie, but i have an Idea:

              Before the MM starts i need an Autostart File that does this:

              Alexa 1: cd ~/Desktop/alexa-avs-sample-app/samples/companionService && npm start
              Alexa 2: cd ~/Desktop/alexa-avs-sample-app/samples/javaclient && mvn exec:exec
              Alexa 3: cd ~/Desktop/alexa-avs-sample-app/samples
              cd wakeWordAgent/src && ./wakeWordAgent -e kitt_ai

              Then i have Alexa in the Back and the Mirrors starts with PM2!

              Is that right???

              Can anyone help me or was my Mind wrong.? Thanks Michael

              lucallmonL 1 Reply Last reply Reply Quote 0
              • lucallmonL Offline
                lucallmon @michael_klatt
                last edited by

                @michael_klatt that’s all good and well, but do you have a script to auto launch at startup that loafs all three of those individual scripts? Nope. That’s what AlaexaPi does. It just loads automatically.

                C 1 Reply Last reply Reply Quote 0
                • B Offline
                  borrigan @j.e.f.f
                  last edited by

                  Hi @j-e-f-f ! Thanks a lot for your response. I tried adding the “classes” line, but still nothing shown in the mirror interface. Alexa responds, but it would be great to see the status in the Mirror. Really weird.

                  Have a great day.

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

                    @j.e.f.f I found a solution. It seems that the font-awesome style sheet is not being loaded by default, so the microphone icon does not show.

                    I edited the index.html file located at the root folder of the MagicMirror installation, and added the following line:

                    < !-- custom.css is loaded by the loader.js to make sure it's loaded after the module css files. -->
                    < link rel="stylesheet" type="text/css" href="vendor/node_modules/font-awesome/css/font-awesome.min.css" >
                    

                    I added a space between the < so it could appear here, apparently the editor won’t allow me to paste these kind of lines directly.

                    Hope this helps.

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

                      Hy,
                      That hears good. But i See a blank Line here. Michael

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        borrigan @michael_klatt
                        last edited by

                        @michael_klatt sorry about that, I edited the post.

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

                          @borrigan Ahh I see. Maybe I was just using a different module that loaded that stylesheet for me?

                          I’m not expert in css/js/html so I kinda just modified this stuff till it worked.

                          Can you do a PR with the fix?

                          Cheers
                          Dion

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

                            @michael_klatt This module doesn’t with work with the AVS sample app. It needs AlexaPi because it has some modifications and starts everything automatically as @lucallmon said.

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

                              @j.e.f.f Thats was my initial plan, to make a custom skill so you could do all sorts of stuff.
                              Unfortunately I just don’t have the time anymore to continue working on this but I’d be really happy if someone else could.

                              I also wanted to add some capacitive buttons at the bottom of my mirror to interact with it (change whats shown, brightness, volume etc) but also to manually trigger alexa incase the voice activation is messing up.

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                McSorley
                                last edited by

                                I set up my AlexaPi with the Device ID “SmartMirror” rather than “magicmirror”

                                Is there anyway I can change what the ID needs to be rather than run through the whole setup again for the Alexa?

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