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

Scheduled Pinned Locked Moved Utilities
34 Posts 9 Posters 25.0k 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.
  • J Offline
    j.e.f.f Project Sponsor Module Developer @clumsy_ninja
    last edited by May 16, 2017, 4:01 AM

    @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 May 23, 2017, 3:48 AM Reply Quote 0
    • J Offline
      j.e.f.f Project Sponsor Module Developer @borrigan
      last edited by j.e.f.f May 17, 2017, 6:03 PM May 17, 2017, 6:03 PM

      @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 May 21, 2017, 5:25 PM Reply Quote 1
      • M Offline
        michael_klatt
        last edited by May 18, 2017, 6:24 PM

        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

        L 1 Reply Last reply May 21, 2017, 3:15 PM Reply Quote 0
        • L Offline
          lucallmon @michael_klatt
          last edited by May 21, 2017, 3:15 PM

          @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 May 23, 2017, 3:44 AM Reply Quote 0
          • B Offline
            borrigan @j.e.f.f
            last edited by May 21, 2017, 5:25 PM

            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 May 22, 2017, 1:35 PM May 21, 2017, 6:44 PM

              @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 May 23, 2017, 3:42 AM Reply Quote 0
              • M Offline
                michael_klatt
                last edited by May 21, 2017, 7:32 PM

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

                B 1 Reply Last reply May 22, 2017, 1:35 PM Reply Quote 0
                • B Offline
                  borrigan @michael_klatt
                  last edited by May 22, 2017, 1:35 PM

                  @michael_klatt sorry about that, I edited the post.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    clumsy_ninja @borrigan
                    last edited by May 23, 2017, 3:42 AM

                    @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 May 23, 2017, 3:44 AM

                      @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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        27/34
                        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