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 171.1k 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.
    • richland007R Offline
      richland007
      last edited by

      Yeap exactly like yours …so does that mean that Lambda is not communicating back with Alexa and why not is the million dollar question question??
      Another thing i noticed when you ask for images or display text no errors get recorded on Lambda …does this mean that our Api are missing for searches we have something wrong
      I really don’t know at this point

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

        @richland007 Hey!

        that is exactly what im trying to figure out. For some reason the lamda is not talking to the mirror.

        As you say abt the picture search I have the sam “problem”

        Can you check your iot core(the monitor), on my iot core I can see successful connections.

        So I guess it means that the root.ca is working and talking to the iot core.

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

          Any progress on this at all i have not done anything i was out of town since last Wednesday.
          I don’t know which direction we should look towards … maybe the api keys and requests are the one messing up
          i went back on the google developer console and i see my YouTube api hit a few times and with zero errors i also see the CSE (custom search engine) api hit also but with 100% errors …why ??
          Since it is presenting the data by api numbers that means that the keys are working right but what is the error about??? where do you read more info about that???

          D

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

            Well here it is the 100% Error on CSE is this
            "400 badRequest

            Indicates that the query was invalid. E.g., parent ID was missing or the combination of dimensions or metrics requested was not valid.

            Do not retry without fixing the problem. You need to make changes to the API query in order for it to work."

            How do we fix this??

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

              Hey!

              well I havent tryed for a week or so with this project. Im out of ideas for now =(, I can see that the coder has done some minor changes at github but not likley to help us I guess.

              have you seen the new updates at github?

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

                I did check my CSE and I have actually 8 sucessful picture search…

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

                  OK si I checked My CSE again after my test yesterday, I can see its hitting my gse everytime I ask for searching of pictures…but the mirror ansers there is a problem…but the statistics showing its working.

                  so the bad link is between the mirror and the lamda funtions. Because the video and picture search are all fine. But all functions like ask to turn all modules off etc is not working at all.

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

                    Ok so may be it is the Magic Mirrors configuration fault the keys copied to the magic mirror config etc?? maybe we need to redo that one more time
                    have you tried reinstalling (delete completely, download again and reinstall) the MMM- MirrorMirrorOnTheWall part only?? than play around with the key paths and files again etc.
                    Because there is zero communication back with the mirror… all we are doing so far is fine tuning a skill within Alexa…but what worries me the most is why isn’t Alexa showing any videos or images on my Echo Spot …although now that i think about it is that i have not tested it with the Echo Spot since I made the code changes.

                    If you got the MMM module on github the readme file was updated 15 hours ago but i see no other changes since the 3 months ago for mirrormirror.js file
                    anyhow all we got to do is keep trying

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

                      @richland007 Hey!

                      I will try to start all over again. See whats happening. I can see there are some new changes in the files from the github. but im not that optimistic.

                      what abt u? have u started from scratch?

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

                        @OceanK Any news my friend??? I am so upset that we are not progressing with this module…it is exactly what i need and we can not get it to work.
                        I am going to try to mess with it a bit next week and see whats up
                        D

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

                          @richland007 hey mate!

                          Well no progress here, I have reached out to the code maker without sucess:(

                          I have tried everything from scratch but no luck. Everything is triggered but not send back to the mirror itself.

                          I dunno where what to do next. Please report back when you have time even if it’s not successful.

                          I guess we are kinda stuck here.

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

                            @oceank No news…anything on your part ??? I tried to use another voice module for MM control but that ruins my Alexa installation and it does not work itself after that either so that was no-go.

                            I think we should start reading again that long thread where people said they had gotten it to work and see what else we may find. I think it is only the return part form the Lampda to the mirror that is not working it cant be that complicated probably something simple but what do i know.
                            D

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

                              @OceanK Yesterday i tried all afternoon to play with this again … i tried to change the keys path on the MirorMirrorOnTheWallSKILL before uploading it to Lambda and nothing changed. Well it gave errors that it was not working so i reverted back to the old working zip file that i had where “everything” was last seem to be fine and another error surfaced but the skill works fine.
                              The error is this

                              2018-11-05T04:11:36.100Z	e2223a43-e0b0-11e8-a28e-557bbecf4c24	The applicationIds don't match: amzn1.ask.skill.[unique-value-here] and amzn1.ask.skill.eXXXXX-dXXX-48bd-9b1c-3d309a950fcf
                              2018-11-05T04:11:36.122Z	e2223a43-e0b0-11e8-a28e-557bbecf4c24
                              {
                                  "errorMessage": "Invalid ApplicationId: amzn1.ask.skill.eXXXXXXX-XXX-48bd-9b1c-3d309a950fcf",
                                  "errorType": "Error",
                                  "stackTrace": [
                                      "AlexaRequestEmitter.ValidateRequest (/var/task/node_modules/alexa-sdk/lib/alexa.js:157:27)",
                                      "HandleLambdaEvent.i18n.use.init (/var/task/node_modules/alexa-sdk/lib/alexa.js:123:29)",
                                      "/var/task/node_modules/i18next/dist/commonjs/i18next.js:190:9",
                                      "done (/var/task/node_modules/i18next/dist/commonjs/i18next.js:281:21)",
                                      "/var/task/node_modules/i18next/dist/commonjs/i18next.js:302:7",
                                      "I18n.loadResources (/var/task/node_modules/i18next/dist/commonjs/i18next.js:238:7)",
                                      "I18n.changeLanguage (/var/task/node_modules/i18next/dist/commonjs/i18next.js:301:10)",
                                      "load (/var/task/node_modules/i18next/dist/commonjs/i18next.js:186:14)",
                                      "I18n.init (/var/task/node_modules/i18next/dist/commonjs/i18next.js:195:7)",
                                      "AlexaRequestEmitter.HandleLambdaEvent (/var/task/node_modules/alexa-sdk/lib/alexa.js:114:32)"
                                  ]
                              }
                              

                              the xxx are my changes to hide my id.
                              I went and checked my appid and it has not changed and like i said the skill works when you go on the Alexa console and it responds with “Hello my queen…” however i do not see any video or photo requests coming though n the logs on the youtube api etc.

                              Another thing that has changed and i do no know why is the IoT endpoint on IoT Core at the bottom under settings.

                              Can you check yours ne more time please run an error test on lambda and see if you see any changes and check your IoT Core endpoint that we copy paste on index.js file

                              Denis

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

                                @richland007 Hey!

                                I will try later tonite! Im going to do this from scratch again. I will report back. I have been on vaccation for coupple of weeks in dubai. But now Im back!

                                So lets try this again!

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

                                  hey!

                                  its not possible to build the alexa module with the intentmodel.json

                                  The intentmodel.json is depricated, and I cannot build the model =(

                                  what to do now?

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

                                    So im back again!

                                    I started it all from scratch!

                                    still getting this:

                                    {
                                    “errorMessage”: “In state: . No handler function was defined for event SessionEndedRequest and no ‘Unhandled’ function was defined.”,
                                    “errorType”: “Error”,
                                    “stackTrace”: [
                                    “AlexaRequestEmitter.EmitEvent (/var/task/node_modules/alexa-sdk/lib/alexa.js:212:15)”,
                                    “AlexaRequestEmitter.ValidateRequest (/var/task/node_modules/alexa-sdk/lib/alexa.js:181:23)”,
                                    “HandleLambdaEvent.i18n.use.init (/var/task/node_modules/alexa-sdk/lib/alexa.js:123:29)”,
                                    “/var/task/node_modules/i18next/dist/commonjs/i18next.js:190:9”,
                                    “done (/var/task/node_modules/i18next/dist/commonjs/i18next.js:281:21)”,
                                    “/var/task/node_modules/i18next/dist/commonjs/i18next.js:302:7”,
                                    “I18n.loadResources (/var/task/node_modules/i18next/dist/commonjs/i18next.js:238:7)”,
                                    “I18n.changeLanguage (/var/task/node_modules/i18next/dist/commonjs/i18next.js:301:10)”,
                                    “load (/var/task/node_modules/i18next/dist/commonjs/i18next.js:186:14)”,
                                    “I18n.init (/var/task/node_modules/i18next/dist/commonjs/i18next.js:195:7)”
                                    ]
                                    }

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

                                      Something is not right with the lamda function.

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

                                        Nothing from your side @richland007 ?

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

                                          nothing at all my friend

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

                                            @oceank this looks very interesting to control themirror with alexa installed already likemy case is https://forum.magicmirror.builders/topic/9211/mmm-alexaonoff-simple-mirror-control-from-external-home-assistant-alexa-google-home-hass-io

                                            D

                                            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
                                            • 7
                                            • 1 / 7
                                            • 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