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-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images

    Scheduled Pinned Locked Moved System
    184 Posts 25 Posters 364.6k Views 23 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.
    • lucallmonL Offline
      lucallmon
      last edited by

      @joanaz Do you have a video demo of this running? This may be pretty close to what I’m looking for on my MM.

      Here is my module request page: https://forum.magicmirror.builders/topic/1577/alexa-responses-displayed-on-mirror/6

      Do you have to say “Mirror, mirror, on the wall” to activate it? Does it display the words that it says on the screen along with any pictures as if you were using an Amazon Fire TV stick?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        joanaz @schlachtkreuzer6
        last edited by

        @schlachtkreuzer6 yes, but you need to install my Alexa skill

        1 Reply Last reply Reply Quote 1
        • J Offline
          joanaz @lucallmon
          last edited by

          @lucallmon I changed my Alexa wake word to “Mirror mirror” instead of “Alexa”, and my Skill’s invocation name is “on the wall”, but you can change them to whatever you want. It displays the text you say after the command word “say”. Look at my sample utterances for the commands you can use. It doesn’t show text for other Alexa skills or Alexa general commands. But you can change my Alexa skill to do that.

          1 Reply Last reply Reply Quote 0
          • zman3Z Offline
            zman3
            last edited by

            welll I just cannot seem to get this to work she always says she doesnt understand I think it tried just once because she said there was a error with the skill that one time. :/
            any ideas of what i can look for?

            1 Reply Last reply Reply Quote 0
            • zman3Z Offline
              zman3
              last edited by

              well i guess one thing i didnt do is in your directions it says
              open MirrorMirror.js, replace the keyPath, certPath, and host to your own

              where am I getting the host information from?

              lucallmonL J 2 Replies Last reply Reply Quote 0
              • lucallmonL Offline
                lucallmon @zman3
                last edited by

                @zman3 from the Lambda site maybe?

                1 Reply Last reply Reply Quote 0
                • J Offline
                  joanaz @zman3
                  last edited by

                  @zman3 From AWS IoT, the instructions are in the readme in my repo. You also need to install my Alexa skill, by following the instructions in that repo.

                  1 Reply Last reply Reply Quote 0
                  • zman3Z Offline
                    zman3
                    last edited by

                    I have those installed still not seeing where i would get a host to put in there .
                    if I say alexa, on the wall. she says theres a problem with the requested skills respones the lambda cloud watch error shows the following

                    17:21:45
                    START RequestId: 931bbc00-e710-11e6-b7a7-b3bf469e814d Version: $LATEST
                    
                    17:21:45
                    Unable to import module 'index': Error at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/var/task/MirrorMirror.js:1:76) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.
                    
                    17:21:45
                    END RequestId: 931bbc00-e710-11e6-b7a7-b3bf469e814d
                    
                    17:21:45
                    REPORT RequestId: 931bbc00-e710-11e6-b7a7-b3bf469e814d Duration: 36.31 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 17 MB
                    
                    17:21:45
                    START RequestId: 9342f35b-e710-11e6-872c-f9454aa4f261 Version: $LATEST
                    
                    17:21:45
                    Unable to import module 'index': Error at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/var/task/MirrorMirror.js:1:76) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (modul
                    
                    17:21:45
                    END RequestId: 9342f35b-e710-11e6-872c-f9454aa4f261
                    
                    17:21:45
                    REPORT RequestId: 9342f35b-e710-11e6-872c-f9454aa4f261 Duration: 0.61 ms Billed Duration: 100 ms Memory Size: 128 MB Max Memory Used: 17 MB 
                    
                    1 Reply Last reply Reply Quote 0
                    • zman3Z Offline
                      zman3
                      last edited by

                      so another thing in your skill code theres
                      var MirrorMirror = require(‘./MirrorMirror’); does that expect the MMM-MirrorMirrorOnTheWall module folder to be called MirrorMirror because mines call MMM-MirrorMirrorOnTheWall

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

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Journeytojah
                          last edited by

                          I can’t get the module to work, I get this error:

                          { Error: getaddrinfo ENOTFOUND data.iot.us-east-1.amazonaws.com data.iot.us-east-1.amazonaws.com:8883
                              at errnoException (dns.js:28:10)
                              at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
                            code: 'ENOTFOUND',
                            errno: 'ENOTFOUND',
                            syscall: 'getaddrinfo',
                            hostname: 'data.iot.us-east-1.amazonaws.com',
                            host: 'data.iot.us-east-1.amazonaws.com',
                            port: 8883 }
                          
                          1 Reply Last reply Reply Quote 0
                          • lucallmonL Offline
                            lucallmon
                            last edited by

                            @joanaz I really want to get excited about this but the install info is confusing at best. Could you please post a video demo of how it’s working currently and a more step-by-step installation guide? This sound like exactly what I’m looking for, but… I just don’t need more info.

                            1 Reply Last reply Reply Quote 1
                            • J Offline
                              joanaz
                              last edited by

                              I’ve updated my readmes and code, you can do a git pull to get the latest files.

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

                                @joanaz I have AlexaPi working great right now. I’m a bit reluctant to stop it and try something else right now. Can you post a video of how it’s currently working?

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

                                  Okay, i will try again with the new instructions.

                                  Do you have any advice regarding names for the certs or other names that would need changing?

                                  J 1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    joanaz @lucallmon
                                    last edited by

                                    @lucallmon Where do I say you have to use something else? You definitely need AlexaPi to get it working.

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      joanaz @Journeytojah
                                      last edited by

                                      @Journeytojah I think names do not matter, but make sure the names in MirrorMirror.js match with your certs. I called my AWS IoT Device “MagicMirror”.

                                      J 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        Journeytojah @joanaz
                                        last edited by

                                        @joanaz Okay, thanks.

                                        Do you have any idea why i got that error? The function runs in lambda when testing but in the logs i see that application ID is missing.

                                        I made sure to put my app ID in the js script and update the lambda function.

                                        It would get an error on 3s timeout so i set it to 15.

                                        Ill try setting it up from scratch again and let you know how it goes. Thanks!

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

                                          So i have to have alexapi?
                                          Because I’m running this
                                          https://github.com/alexa/alexa-avs-sample-app
                                          Which works great you said earlier that it should work with that. Do I need both

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            joanaz @Journeytojah
                                            last edited by

                                            @Journeytojah do you still have the same error? I thought you got it running.

                                            J 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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 9
                                            • 10
                                            • 4 / 10
                                            • 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