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 installation issue

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    138 Posts 11 Posters 150.7k 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.
    • H Offline
      HavannaSurf
      last edited by HavannaSurf

      Hey @richland007 The installation is hard :) had the same problems with it. Did you changed your aws iot username or is it MirrorMirror? Did you changed anything?Or whats the name standing infront of your cert files?

      richland007R 1 Reply Last reply Reply Quote 0
      • richland007R Offline
        richland007 @HavannaSurf
        last edited by

        @havannasurf @joanaz Ok what AwS IoT username are you referring to and where??
        My Lambda function is called MMotW when i try to test the Lamda function i get these errors for logs
        0_1534200935660_Lambda2.png
        I followed all the instructions to the T so i used the exact same names as per instructions …i did not change anything that was not written there in the instructions …was i was supposed to change any?
        What names in cert files are we talking about?
        Here is what my certs and src insides look like :)
        0_1534202212432_src.jpg
        0_1534202229825_certs.jpg

        Let get this done :)

        Denis

        1 Reply Last reply Reply Quote 0
        • richland007R Offline
          richland007
          last edited by

          Anyone that got this module figured out and wokring please help me
          Denis

          1 Reply Last reply Reply Quote 0
          • O Offline
            OceanK
            last edited by

            Im also trying to get this to work. I have come that far that I can test the skill.

            so when I type “on the wall” in the test, I get “what can I do for you my queen”

            but if I then ask like “find video of how to make slime” it just tells me there is a problem with the skill. BUT, if I check the logs at clodwatch I can actually se that its looking for slime on youtube and find the videos, but then nothing on my mirror.

            1 Reply Last reply Reply Quote 0
            • richland007R Offline
              richland007
              last edited by

              @OceanK OK so how did you get to that point??? i have tried to install it from scratch 2 times but still no luck …when i test the skill i get null for response on the right (please check out the above pics) … Do you test the Lamda function does it give you any errors (before communicating with Alexa, just Lamda by itself with its test button not the skill) cause my Lamda does not compile and i dont know where am i making the mistake??
              Here is my question do you put the node_modules folder inside the certs folder or outside of it just on the src folder?? …before you zip it into Archive is what i am talking about !!
              Lets keep talking i am sure by bouncing off ideas of each other we will get it
              Denis

              O 1 Reply Last reply Reply Quote 0
              • O Offline
                OceanK @richland007
                last edited by

                @richland007 Hey!
                I will try write down all the steps I did and post it for you. How can I test the lamda function? could you direct me on howto? and I will post the log here aswell.

                1 Reply Last reply Reply Quote 0
                • richland007R Offline
                  richland007
                  last edited by

                  Here is the test button on AWS Lamda ( i have read that a lot of people get errors here i don’t know why but then it works for them at the Alexa test just like yours did)
                  0_1535055135303_LambdaTest.png

                  And here is the error that i get which seems to come form the “…/src/node_modules/aws-iot-device-sdk/device” file … so something on the index file on the aws-iot-device-sdk inside node_modules its what its not liking

                  0_1535055416803_LambdaError.png

                  I don’t get it what i am doing wrong i am following the steps exactly …please show me how you did it
                  Denis

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    OceanK
                    last edited by

                    Yes I will make a list and tell step by step. I can see the Test buttom but witch test did you create ?

                    There are allot of different one to choose from when you create the test button. Please tell witch and I will try.

                    regards K

                    richland007R 1 Reply Last reply Reply Quote 0
                    • richland007R Offline
                      richland007 @OceanK
                      last edited by

                      @oceank I may be doing something wrong but i just clicked on create test even and entered a name and clicked test and that’s what i got …maybe i had to select something different but i doubt it cause i am trying to redo it again with something common from the list like Hello World and it is still giving me the same results
                      Denis

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        OceanK
                        last edited by OceanK

                        Hey!

                        OK so I have figuerd out some parts. If I make a test in the lamda and choose “Alexa start session”

                        I get a nice green log, So that means the alexa skill is fine However when I try some other test for the lamda itself I get an error like you.:

                        {
                        “version”: “1.0”,
                        “response”: {
                        “shouldEndSession”: false,
                        “outputSpeech”: {
                        “type”: “SSML”,
                        “ssml”: “ Hello my Queen, what can I do for you? ”
                        },
                        “reprompt”: {
                        “outputSpeech”: {
                        “type”: “SSML”,
                        “ssml”: “ I can show you text and images, if you give me commands like ‘say you are the fairest of them all’ or ‘find Snow White’. I can also open or close a magic mirror module, if you say commands like ‘open compliments’, or ‘close weather forecast’. What can I do for you, my Queen? ”
                        }
                        },
                        “card”: {
                        “type”: “Simple”,
                        “title”: “Hello”,
                        “content”: “Hello my Queen, what can I do for you? I can show you text and images, if you give me commands like ‘say you are the fairest of them all’ or ‘find Snow White’. I can also open or close a magic mirror module, if you say commands like ‘open compliments’, or ‘close weather forecast’. What can I do for you, my Queen?”
                        }
                        },
                        “sessionAttributes”: {},
                        “userAgent”: “ask-nodejs/1.0.25 Node/v6.10.3”
                        }

                        lambda test:

                        at AlexaRequestEmitter.HandleLambdaEvent (/var/task/node_modules/alexa-sdk/lib/alexa.js:112:38)
                        at AlexaRequestEmitter.value (/var/task/node_modules/alexa-sdk/lib/alexa.js:100:31)
                        at exports.handler (/var/task/index.js:37:11)

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 13
                        • 14
                        • 5 / 14
                        • 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