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 333.3k 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
      last edited by

      For people struggling with setting up Lambda and Alexa Skill, here’s a good visual instructions for a different Skill. Use your judgment when dealing with differences with my skill.
      https://github.com/alexa/skill-sample-nodejs-calendar-reader

      Here’s Amazon’s instructions for setting up a AWS IoT device, it’ll also be slightly different when you setup your own device, but it’s good enough.

      http://docs.aws.amazon.com/iot/latest/developerguide/iot-console-signin.html

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

        So exactly which files need to be in the zip?
        And also, when testing on the lambda site I get an error about alexa-sdk not being detected… are there other steps for installation? I’ve hit a wall

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

          So redid everything. Same thing. When I test with my device and try to invoke it says there was a problem with the requested skills response…

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

            @savage_gr1nd you need to include node_modules in the src folder. run ‘npm install’ inside src folder.

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

              Yea I did that. Then made the zip. The zip was too large and my page kept crashing so I used s3. Or will that not work?

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

                And one more thing I’m confused on and it might be why, when putting the path to certs to keys.json is it the FULL path /home etc…?

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

                  @savage_gr1nd the zip shouldn’t be too large, mine was 5.1MB. I’m not sure what you are saying about path to certs and keys.json. have a look of my folder structure

                  0_1486617474942_Screen Shot 2017-02-09 at 00.16.26.png

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

                    I figured out the path problem.
                    But every module ever is in my folder. Which are required so I can delete the rest.

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

                      I’m sorry lol
                      More specific in my node_modules folder

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

                        Okay I’m really sorry for bugging.
                        But literally got everything figured out except why my file is too large. I deleted node_modules and redid npm installs on all 4 dependencies. The node folder alone is 69mb…
                        How is yours 5.1mb…?

                        Since mine is so big. The only error I get now in lambda is time out. I just don’t understand why mine is so large.

                        J 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 18
                        • 19
                        • 7 / 19
                        • 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