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.
    • J Offline
      joanaz @savage_gr1nd
      last edited by

      @savage_gr1nd you can setup AlexaPi to run automatically after reboot

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

        @Journeytojah @zman3 see whether this thread helps you.
        https://github.com/lorenwest/node-config/issues/275

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

          @joanaz nice. I’ll look at switching over after work.
          You need to work on the YouTube functions lol

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

            I tried all that last time you posted it with the exeption of process.env.NODE_CONFIG_DIR=‘/var/task/config’;

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

              @joanaz been there, tried it… nothing worked…

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

                @zman3 no, that’s not the point, he uses the config library, we don’t. They mentioned some good points, such as “OSX makes node_modules readable only by the user so AWS cannot read it”, so you need to check the permission of your node_modules folder. And also make sure the node_modules inside the zip file is not empty.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  savage_gr1nd @Journeytojah
                  last edited by

                  @Journeytojah don’t sudo anything in this git. I made that mistake also.

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

                    @savage_gr1nd will try, i can imagine i had done that without realizing…

                    I like the response time of alexa, and would love to get this integrated, but like i said with less talking and more text.

                    Will try again some time and update…

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

                      I’m just revisiting this project as i was getting nowhere. I think i am now even more confused. Can someone tell me ‘where’ the certs folder needs copying to? Is it into the MagicMirror folder or is it somewhere else??

                      Thanks anyone :)

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

                        @Gunwoody I gave up on it too. The git is not user friendly and there’s no step by step guide. Pit that together and I’ll come back.

                        G 1 Reply Last reply Reply Quote 1
                        • G Offline
                          Gunwoody @lucallmon
                          last edited by

                          @lucallmon I’m just getting nowhere. I can setup MagicMirror2. I can configure it and get it to run no problem. Where it gets fuzzy is
                          a) where does MMM-Mirroronthewall module go - is it inside the modules folder of MagicMirror2?
                          b) Where do you run the aws-iot-device-sdk ?
                          c) Where does the certs folder go?

                          Just a simple step guide would be ace - anyone??

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

                            @Gunwoody @lucallmon sorry, you do have to have a little of programming experience and experience of using AWS services to setup this module. I do have a step by step guide in the companion Alexa skill repo, but it would still be hard for people without any software experience.

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

                              I haven’t had any trouble setting up AWS/Lambda - i just can’t get it running loxcally - can you just answer the above questions for me.
                              Thanks

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

                                I’ve also got Alexa-avs running with sensory wakeword engine - so i’m not a complete idiot :)

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

                                  @Gunwoody Hold the front page - i may have cracked it :)

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

                                    @Gunwoody OK - getting closer.

                                    Upload of zip to Lambda finally worked ok.
                                    I can now enter Utterances in the service simulator on developer console and get a Lambda response
                                    I can see the response properly logged in Cloudwatch logs with no errors

                                    But i must be missing something fundamental because when i load Magic Mirror ir run perfectly but doesn’t seem to be listening for the Alexa wake words etc.

                                    Oh well getting closer all the time :)

                                    S M 2 Replies Last reply Reply Quote 0
                                    • S Offline
                                      savage_gr1nd @Gunwoody
                                      last edited by savage_gr1nd

                                      @Gunwoody mmm is in modules folder inside magicmirror. Sdk is inside mmm and also inside the skill located in the root. Certs is inside mmm and skill.
                                      Iot runs on its own. Alexa-as you need to run your three terminal executions. Then npm start magic mirror after that.
                                      Add mmm to magicmirror config and voila. :)

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

                                        Thanks Savage - all that seems to be ok as far as i can see. I’ve got new problem now (that didn’t exist before) and i can’t seem to get to the bottom of it. When i start the wakeword engine i get this.

                                        INFO:main: Starting Wake Word Agent
                                        INFO:WakeWordAgent: State set to IDLE(2)
                                        INFO:Initializing Sensory library | library name: TrulyHandsfree | library version: 5.0.0-avs.1 | model file: …/ext/resources/spot-alexa-rpi.snsr
                                        WARNING:Library expires on: License expires on 28 May 2017 00:00:00 GMT
                                        wakeWordAgent: pcm.c:694: snd_pcm_close: Assertion `pcm’ failed.
                                        Aborted

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

                                          OK fixed the sound issue. So i can talk to Alexa but it doesn’t seem to invoke the Mirror at all - any ideas??

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            savage_gr1nd @Gunwoody
                                            last edited by

                                            @Gunwoody it only invokes mirror if you ask her to ask mirror.
                                            Alexa, ask mirror to show me a video of…
                                            Alexa, ask mirror to close calendar…
                                            Etc.

                                            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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 9 / 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